Skip to content

Commit 0eeee6b

Browse files
authored
Update deps (#1536)
1 parent c61c472 commit 0eeee6b

File tree

6 files changed

+627
-367
lines changed

6 files changed

+627
-367
lines changed

docs/openapi-fetch/api.md

+10-6
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,11 @@ const client = createClient({
8888
| form (exploded) | `/users?role=admin&firstName=Alex` |
8989
| **deepObject (default)** | `/users?id[role]=admin&id[firstName]=Alex` |
9090

91-
> [!NOTE]
92-
>
93-
> **deepObject** is always exploded, so it doesn’t matter if you set `explode: true` or `explode: false`—it’ll generate the same output.
91+
::: note
92+
93+
**deepObject** is always exploded, so it doesn’t matter if you set `explode: true` or `explode: false`—it’ll generate the same output.
94+
95+
:::
9496

9597
### Alternate function syntax
9698

@@ -115,9 +117,11 @@ const client = createClient({
115117
});
116118
```
117119

118-
> [!WARNING]
119-
>
120-
> When serializing yourself, the string will be kept exactly as-authored, so you’ll have to call [encodeURI](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/encodeURI) or [encodeURIComponent](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/encodeURIComponent) to escape special characters.
120+
::: warning
121+
122+
When serializing yourself, the string will be kept exactly as-authored, so you’ll have to call [encodeURI](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/encodeURI) or [encodeURIComponent](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/encodeURIComponent) to escape special characters.
123+
124+
:::
121125

122126
## bodySerializer
123127

docs/openapi-fetch/middleware-auth.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,11 @@ const client = createClient<paths>({ baseUrl: "https://myapi.dev/v1/" });
3333
client.use(myMiddleware);
3434
```
3535

36-
> [!TIP]
37-
>
38-
> The order in which middleware are registered matters. For requests, `onRequest()` will be called in the order registered. For responses, `onResponse()` will be called in **reverse** order. That way the first middleware gets the first “dibs” on requests, and the final control over the end response.
36+
::: tip
37+
38+
The order in which middleware are registered matters. For requests, `onRequest()` will be called in the order registered. For responses, `onResponse()` will be called in **reverse** order. That way the first middleware gets the first “dibs” on requests, and the final control over the end response.
39+
40+
:::
3941

4042
### Skipping
4143

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@
1616
"devDependencies": {
1717
"@changesets/changelog-github": "^0.5.0",
1818
"@changesets/cli": "^2.27.1",
19-
"@typescript-eslint/eslint-plugin": "^6.19.1",
20-
"@typescript-eslint/parser": "^6.19.1",
19+
"@typescript-eslint/eslint-plugin": "^7.0.1",
20+
"@typescript-eslint/parser": "^7.0.1",
2121
"del-cli": "^5.1.0",
2222
"eslint": "^8.56.0",
2323
"eslint-config-prettier": "^9.1.0",
2424
"eslint-plugin-import": "^2.29.1",
2525
"eslint-plugin-no-only-tests": "^3.1.0",
2626
"eslint-plugin-prettier": "^5.1.3",
2727
"eslint-plugin-vitest": "^0.2.8",
28-
"prettier": "^3.2.4",
28+
"prettier": "^3.2.5",
2929
"typescript": "^5.3.3"
3030
}
3131
}

packages/openapi-fetch/examples/nextjs/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
"dev": "next dev"
77
},
88
"dependencies": {
9-
"next": "14.0.1",
9+
"next": "14.1.0",
1010
"openapi-fetch": "workspace:^",
1111
"react": "18.2.0",
1212
"react-dom": "18.2.0"
1313
},
1414
"devDependencies": {
15-
"@types/node": "20.5.1",
15+
"@types/node": "20.11.19",
1616
"@types/react": "18.2.20",
1717
"@types/react-dom": "18.2.7",
1818
"openapi-typescript": "workspace:^",

packages/openapi-typescript/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,15 @@
6262
"typescript": "^5.x"
6363
},
6464
"dependencies": {
65-
"@redocly/openapi-core": "^1.8.0",
65+
"@redocly/openapi-core": "^1.9.0",
6666
"ansi-colors": "^4.1.3",
6767
"supports-color": "^9.4.0",
6868
"yargs-parser": "^21.1.1"
6969
},
7070
"devDependencies": {
7171
"@types/degit": "^2.8.6",
7272
"@types/js-yaml": "^4.0.9",
73-
"@types/node": "^20.11.8",
73+
"@types/node": "^20.11.19",
7474
"degit": "^2.8.4",
7575
"del-cli": "^5.1.0",
7676
"esbuild": "^0.20.0",

0 commit comments

Comments
 (0)