@team-supercharge/oasg 15.1.0 → 15.1.2-chore-update-deps-7b65b380.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
@@ -122,7 +122,7 @@ The table below gives an overview of the changes (breaking, non-breaking, bug fi
|
|
122
122
|
| `ios` |➖ |➖ |💥 |🐛 |➖ |➖ |➖ |✨ |➖ |💥 |➖ |➖ |✨ |🆕 |
|
123
123
|
| `kmp` |➖ |🆕 |
|
124
124
|
| `python` |➖ |🐛 |💥 |➖ |➖ |➖ |➖ |➖ |➖ |➖ |➖ |🆕 |
|
125
|
-
| `react`
|
125
|
+
| `react` |🐛 |➖ |💥 |➖ |➖ |➖ |➖ |➖ |➖ |➖ |➖ |➖ |➖ |➖ |🆕 |
|
126
126
|
| **Server Targets** | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 |
|
127
127
|
| `nestjs` |💥 |➖ |💥 |✨ |➖ |➖ |🐛 |➖ |➖ |✨ |🆕 |
|
128
128
|
| `python-fastapi` |➖ |🆕 |
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@team-supercharge/oasg",
|
3
|
-
"version": "15.1.0",
|
3
|
+
"version": "15.1.2-chore-update-deps-7b65b380.0",
|
4
4
|
"description": "Node-based tool to lint OpenAPI documents and generate clients, servers and documentation from them",
|
5
5
|
"author": "Supercharge",
|
6
6
|
"license": "MIT",
|
@@ -15,7 +15,7 @@
|
|
15
15
|
"url": "git@gitlab.com:team-supercharge/oasg.git"
|
16
16
|
},
|
17
17
|
"engines": {
|
18
|
-
"node": "^20.
|
18
|
+
"node": "^20.17",
|
19
19
|
"npm": "^10"
|
20
20
|
},
|
21
21
|
"files": [
|
@@ -31,7 +31,7 @@
|
|
31
31
|
"@redocly/cli": "1.25.11",
|
32
32
|
"@stoplight/prism-cli": "5.12.0",
|
33
33
|
"@stoplight/spectral-cli": "6.14.1",
|
34
|
-
"ajv": "^8.
|
34
|
+
"ajv": "^8.17.1",
|
35
35
|
"command-exists": "^1.2.9",
|
36
36
|
"express": "^4.18.2",
|
37
37
|
"express-http-proxy": "^1.6.3",
|
@@ -18,6 +18,6 @@ npm install
|
|
18
18
|
# This is a workaround for an issue with the angular generator. Root cause is the missing package-lock.json: https://github.com/OpenAPITools/openapi-generator/tree/master/modules/openapi-generator/src/main/resources/typescript-angular
|
19
19
|
# some of the transitive dependency has @types/node@": "*" in their package.json
|
20
20
|
# use "npm explain @types/node" in the generated folder (./out/$TARGET) to get more info
|
21
|
-
npm install --save-dev @types/node@20.
|
21
|
+
npm install --save-dev @types/node@20.17.0
|
22
22
|
npm run build
|
23
23
|
cd ../..
|
@@ -35,7 +35,7 @@ npm install
|
|
35
35
|
npm uninstall bluebird @types/bluebird
|
36
36
|
# schema validator dependencies
|
37
37
|
npm install typescript@4.2
|
38
|
-
npm install ajv@8.
|
38
|
+
npm install ajv@8.17.1 ajv-formats@2.1.1
|
39
39
|
# needed by typescript-node
|
40
40
|
npm install @types/node@8
|
41
41
|
npm run build -- --resolveJsonModule --esModuleInterop
|
@@ -45,7 +45,7 @@ export type {{classname}}{{#lambda.titlecase}}{{nickname}}{{/lambda.titlecase}}P
|
|
45
45
|
{{/isDeprecated}}
|
46
46
|
*/
|
47
47
|
export const use{{classname}}{{#lambda.titlecase}}{{nickname}}{{/lambda.titlecase}}Mutation = <TContext = unknown>(
|
48
|
-
|
48
|
+
options: Omit<UseMutationOptions<{{{returnType}}}{{^returnType}}void{{/returnType}}, Error, {{classname}}{{#lambda.titlecase}}{{nickname}}{{/lambda.titlecase}}Parameters, TContext>, 'mutationFn'> = {}
|
49
49
|
): UseMutationResult<{{{returnType}}}{{^returnType}}void{{/returnType}}, Error, {{classname}}{{#lambda.titlecase}}{{nickname}}{{/lambda.titlecase}}Parameters, TContext> => {
|
50
50
|
const api = useApi({{classname}});
|
51
51
|
return useMutation<{{{returnType}}}{{^returnType}}void{{/returnType}}, Error, {{classname}}{{#lambda.titlecase}}{{nickname}}{{/lambda.titlecase}}Parameters, TContext>({
|