Skip to content

Commit

Permalink
release: 4.0.14 [skip ci]
Browse files Browse the repository at this point in the history
### [4.0.14](v4.0.13...v4.0.14) (2024-10-22)

#### 🪄 Fixes

* **package:** revert breaking change in engines.node ([cde5496](cde5496)) <sup>closes [#1115](https://github.com/Xunnamius/next-test-api-route-handler/issues/1115)</sup>
  • Loading branch information
Xunnamius committed Oct 22, 2024
1 parent 3a09ee3 commit d36bf70
Show file tree
Hide file tree
Showing 11 changed files with 592 additions and 583 deletions.
1,119 changes: 564 additions & 555 deletions CHANGELOG.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/functions/testApiHandler.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ in a Next-like testing environment.

## Defined in

[index.ts:292](https://github.com/Xunnamius/next-test-api-route-handler/blob/b5e826765efbbaf76eed548502c7b8c0b1bfcc0d/src/index.ts#L292)
[index.ts:292](https://github.com/Xunnamius/next-test-api-route-handler/blob/e773623b6be329996aafd723ed43e973bdc65aa6/src/index.ts#L292)
4 changes: 2 additions & 2 deletions docs/interfaces/NtarhInit.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ false

#### Defined in

[index.ts:137](https://github.com/Xunnamius/next-test-api-route-handler/blob/b5e826765efbbaf76eed548502c7b8c0b1bfcc0d/src/index.ts#L137)
[index.ts:137](https://github.com/Xunnamius/next-test-api-route-handler/blob/e773623b6be329996aafd723ed43e973bdc65aa6/src/index.ts#L137)

***

Expand All @@ -64,4 +64,4 @@ one destructured parameter: `fetch`, which is equivalent to

#### Defined in

[index.ts:143](https://github.com/Xunnamius/next-test-api-route-handler/blob/b5e826765efbbaf76eed548502c7b8c0b1bfcc0d/src/index.ts#L143)
[index.ts:143](https://github.com/Xunnamius/next-test-api-route-handler/blob/e773623b6be329996aafd723ed43e973bdc65aa6/src/index.ts#L143)
18 changes: 9 additions & 9 deletions docs/interfaces/NtarhInitAppRouter.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ for details.

#### Defined in

[index.ts:163](https://github.com/Xunnamius/next-test-api-route-handler/blob/b5e826765efbbaf76eed548502c7b8c0b1bfcc0d/src/index.ts#L163)
[index.ts:163](https://github.com/Xunnamius/next-test-api-route-handler/blob/e773623b6be329996aafd723ed43e973bdc65aa6/src/index.ts#L163)

***

Expand All @@ -40,7 +40,7 @@ for details.
#### Defined in

[index.ts:174](https://github.com/Xunnamius/next-test-api-route-handler/blob/b5e826765efbbaf76eed548502c7b8c0b1bfcc0d/src/index.ts#L174)
[index.ts:174](https://github.com/Xunnamius/next-test-api-route-handler/blob/e773623b6be329996aafd723ed43e973bdc65aa6/src/index.ts#L174)

***

Expand All @@ -58,7 +58,7 @@ once.

#### Defined in

[index.ts:184](https://github.com/Xunnamius/next-test-api-route-handler/blob/b5e826765efbbaf76eed548502c7b8c0b1bfcc0d/src/index.ts#L184)
[index.ts:184](https://github.com/Xunnamius/next-test-api-route-handler/blob/e773623b6be329996aafd723ed43e973bdc65aa6/src/index.ts#L184)

***

Expand All @@ -84,7 +84,7 @@ is handled by `Request` automatically.

#### Defined in

[index.ts:194](https://github.com/Xunnamius/next-test-api-route-handler/blob/b5e826765efbbaf76eed548502c7b8c0b1bfcc0d/src/index.ts#L194)
[index.ts:194](https://github.com/Xunnamius/next-test-api-route-handler/blob/e773623b6be329996aafd723ed43e973bdc65aa6/src/index.ts#L194)

***

Expand Down Expand Up @@ -113,7 +113,7 @@ false

#### Defined in

[index.ts:137](https://github.com/Xunnamius/next-test-api-route-handler/blob/b5e826765efbbaf76eed548502c7b8c0b1bfcc0d/src/index.ts#L137)
[index.ts:137](https://github.com/Xunnamius/next-test-api-route-handler/blob/e773623b6be329996aafd723ed43e973bdc65aa6/src/index.ts#L137)

***

Expand All @@ -139,7 +139,7 @@ NextRequest(returnedRequest, { ... })`.

#### Defined in

[index.ts:207](https://github.com/Xunnamius/next-test-api-route-handler/blob/b5e826765efbbaf76eed548502c7b8c0b1bfcc0d/src/index.ts#L207)
[index.ts:207](https://github.com/Xunnamius/next-test-api-route-handler/blob/e773623b6be329996aafd723ed43e973bdc65aa6/src/index.ts#L207)

***

Expand All @@ -166,7 +166,7 @@ unhandled exception occurs _and_ `rejectOnHandlerError` is `true`.

#### Defined in

[index.ts:220](https://github.com/Xunnamius/next-test-api-route-handler/blob/b5e826765efbbaf76eed548502c7b8c0b1bfcc0d/src/index.ts#L220)
[index.ts:220](https://github.com/Xunnamius/next-test-api-route-handler/blob/e773623b6be329996aafd723ed43e973bdc65aa6/src/index.ts#L220)

***

Expand Down Expand Up @@ -194,7 +194,7 @@ one destructured parameter: `fetch`, which is equivalent to

#### Defined in

[index.ts:143](https://github.com/Xunnamius/next-test-api-route-handler/blob/b5e826765efbbaf76eed548502c7b8c0b1bfcc0d/src/index.ts#L143)
[index.ts:143](https://github.com/Xunnamius/next-test-api-route-handler/blob/e773623b6be329996aafd723ed43e973bdc65aa6/src/index.ts#L143)

***

Expand All @@ -207,4 +207,4 @@ NextRequest('your-url', request)`

#### Defined in

[index.ts:225](https://github.com/Xunnamius/next-test-api-route-handler/blob/b5e826765efbbaf76eed548502c7b8c0b1bfcc0d/src/index.ts#L225)
[index.ts:225](https://github.com/Xunnamius/next-test-api-route-handler/blob/e773623b6be329996aafd723ed43e973bdc65aa6/src/index.ts#L225)
18 changes: 9 additions & 9 deletions docs/interfaces/NtarhInitPagesRouter.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ The parameters expected by `testApiHandler` when using `pagesHandler`.
#### Defined in

[index.ts:243](https://github.com/Xunnamius/next-test-api-route-handler/blob/b5e826765efbbaf76eed548502c7b8c0b1bfcc0d/src/index.ts#L243)
[index.ts:243](https://github.com/Xunnamius/next-test-api-route-handler/blob/e773623b6be329996aafd723ed43e973bdc65aa6/src/index.ts#L243)

***

Expand All @@ -42,7 +42,7 @@ will have a typed result.

#### Defined in

[index.ts:242](https://github.com/Xunnamius/next-test-api-route-handler/blob/b5e826765efbbaf76eed548502c7b8c0b1bfcc0d/src/index.ts#L242)
[index.ts:242](https://github.com/Xunnamius/next-test-api-route-handler/blob/e773623b6be329996aafd723ed43e973bdc65aa6/src/index.ts#L242)

***

Expand All @@ -60,7 +60,7 @@ once.

#### Defined in

[index.ts:253](https://github.com/Xunnamius/next-test-api-route-handler/blob/b5e826765efbbaf76eed548502c7b8c0b1bfcc0d/src/index.ts#L253)
[index.ts:253](https://github.com/Xunnamius/next-test-api-route-handler/blob/e773623b6be329996aafd723ed43e973bdc65aa6/src/index.ts#L253)

***

Expand All @@ -86,7 +86,7 @@ is handled automatically.

#### Defined in

[index.ts:263](https://github.com/Xunnamius/next-test-api-route-handler/blob/b5e826765efbbaf76eed548502c7b8c0b1bfcc0d/src/index.ts#L263)
[index.ts:263](https://github.com/Xunnamius/next-test-api-route-handler/blob/e773623b6be329996aafd723ed43e973bdc65aa6/src/index.ts#L263)

***

Expand Down Expand Up @@ -115,7 +115,7 @@ false

#### Defined in

[index.ts:137](https://github.com/Xunnamius/next-test-api-route-handler/blob/b5e826765efbbaf76eed548502c7b8c0b1bfcc0d/src/index.ts#L137)
[index.ts:137](https://github.com/Xunnamius/next-test-api-route-handler/blob/e773623b6be329996aafd723ed43e973bdc65aa6/src/index.ts#L137)

***

Expand All @@ -139,7 +139,7 @@ lowercase.**

#### Defined in

[index.ts:274](https://github.com/Xunnamius/next-test-api-route-handler/blob/b5e826765efbbaf76eed548502c7b8c0b1bfcc0d/src/index.ts#L274)
[index.ts:274](https://github.com/Xunnamius/next-test-api-route-handler/blob/e773623b6be329996aafd723ed43e973bdc65aa6/src/index.ts#L274)

***

Expand All @@ -160,7 +160,7 @@ to edit the response _before_ it's injected into the handler.

#### Defined in

[index.ts:279](https://github.com/Xunnamius/next-test-api-route-handler/blob/b5e826765efbbaf76eed548502c7b8c0b1bfcc0d/src/index.ts#L279)
[index.ts:279](https://github.com/Xunnamius/next-test-api-route-handler/blob/e773623b6be329996aafd723ed43e973bdc65aa6/src/index.ts#L279)

***

Expand Down Expand Up @@ -188,7 +188,7 @@ one destructured parameter: `fetch`, which is equivalent to

#### Defined in

[index.ts:143](https://github.com/Xunnamius/next-test-api-route-handler/blob/b5e826765efbbaf76eed548502c7b8c0b1bfcc0d/src/index.ts#L143)
[index.ts:143](https://github.com/Xunnamius/next-test-api-route-handler/blob/e773623b6be329996aafd723ed43e973bdc65aa6/src/index.ts#L143)

***

Expand All @@ -201,4 +201,4 @@ one destructured parameter: `fetch`, which is equivalent to

#### Defined in

[index.ts:284](https://github.com/Xunnamius/next-test-api-route-handler/blob/b5e826765efbbaf76eed548502c7b8c0b1bfcc0d/src/index.ts#L284)
[index.ts:284](https://github.com/Xunnamius/next-test-api-route-handler/blob/e773623b6be329996aafd723ed43e973bdc65aa6/src/index.ts#L284)
2 changes: 1 addition & 1 deletion docs/type-aliases/FetchReturnType.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@

## Defined in

[index.ts:114](https://github.com/Xunnamius/next-test-api-route-handler/blob/b5e826765efbbaf76eed548502c7b8c0b1bfcc0d/src/index.ts#L114)
[index.ts:114](https://github.com/Xunnamius/next-test-api-route-handler/blob/e773623b6be329996aafd723ed43e973bdc65aa6/src/index.ts#L114)
2 changes: 1 addition & 1 deletion docs/type-aliases/Promisable.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@

## Defined in

[index.ts:109](https://github.com/Xunnamius/next-test-api-route-handler/blob/b5e826765efbbaf76eed548502c7b8c0b1bfcc0d/src/index.ts#L109)
[index.ts:109](https://github.com/Xunnamius/next-test-api-route-handler/blob/e773623b6be329996aafd723ed43e973bdc65aa6/src/index.ts#L109)
2 changes: 1 addition & 1 deletion docs/variables/$isPatched.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@

## Defined in

[index.ts:68](https://github.com/Xunnamius/next-test-api-route-handler/blob/b5e826765efbbaf76eed548502c7b8c0b1bfcc0d/src/index.ts#L68)
[index.ts:68](https://github.com/Xunnamius/next-test-api-route-handler/blob/e773623b6be329996aafd723ed43e973bdc65aa6/src/index.ts#L68)
2 changes: 1 addition & 1 deletion docs/variables/$originalGlobalFetch.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@

## Defined in

[index.ts:63](https://github.com/Xunnamius/next-test-api-route-handler/blob/b5e826765efbbaf76eed548502c7b8c0b1bfcc0d/src/index.ts#L63)
[index.ts:63](https://github.com/Xunnamius/next-test-api-route-handler/blob/e773623b6be329996aafd723ed43e973bdc65aa6/src/index.ts#L63)
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "next-test-api-route-handler",
"version": "4.0.13",
"version": "4.0.14",
"description": "Confidently unit and integration test your Next.js API routes/handlers in an isolated Next.js-like environment",
"keywords": [
"api",
Expand Down

0 comments on commit d36bf70

Please sign in to comment.