Skip to content

Releases: mcansh/packages

@mcansh/[email protected]

30 Sep 18:41
a889cce

Choose a tag to compare

Major Changes

  • c7c8279: add create-temporary-files package

@mcansh/[email protected]

30 Jul 00:13
8a2c2a9

Choose a tag to compare

Minor Changes

  • 63750c9: add vitest response matchers package

    initial set of matchers is the following

    • toHaveBody - check that a Response has a body attatched to it
    • toHaveCookies - check that a Response has any cookies, specified cookies, or a perfect match
    • toHaveHeader - check that a Response has a specific header (and value)
    • toHaveJsonBody - check that a Response's body matches the expected json
    • toHaveStatus - check that a Response's status matches
    • toHaveStatusText - check that a Response's statusText matches
    • toHaveStrictStatusText - a stricter version of the above that uses node:http to look up the status text
    • toHaveTextBody - check that a Response's body matches the expected text
    • toMatchResponse - check that a complete Response matches
    • toThrowResponse - check that a function throws a Response

@mcansh/[email protected]

11 Jul 23:25
3daea1f

Choose a tag to compare

Patch Changes

  • db6e852: explicitly handle case-insensitive Set-Cookie keys. may have already been fine, but added happy-dom to add a test for NonceProvider/useNonce and it popped up
  • 16f4a4e: add createPermissionsPolicy to error message thrown when passing a non array input of permissions

@mcansh/[email protected]

14 Jun 00:47
27d73fd

Choose a tag to compare

Minor Changes

  • 7e1a5fb: add UrlBuilder

    const builder = new UrlBuilder();
    builder.protocol("https").domain("example.com").path("/test").build();
    
    // => https://example.com/test

Patch Changes

  • c79afa8: bump dependencies to latest versions
  • 3826f9d: add license to both packages during build

@mcansh/[email protected]

14 Jun 00:47
27d73fd

Choose a tag to compare

Patch Changes

  • c79afa8: bump dependencies to latest versions
  • 3826f9d: add license to both packages during build