From 3b49cfd5dc9c7a07d5b34a7cb146757fc80d857f Mon Sep 17 00:00:00 2001 From: mkusaka Date: Tue, 12 Apr 2022 22:53:34 +0900 Subject: [PATCH 1/8] [typescript-axios] drop support typescript below 4.0 & update samples --- .../typescript-axios/package.mustache | 4 +- .../builds/es6-target/package.json | 4 +- .../package.json | 4 +- .../builds/with-npm-version/package-lock.json | 44 +++++++++---------- .../builds/with-npm-version/package.json | 4 +- 5 files changed, 30 insertions(+), 30 deletions(-) diff --git a/modules/openapi-generator/src/main/resources/typescript-axios/package.mustache b/modules/openapi-generator/src/main/resources/typescript-axios/package.mustache index 8fb030634644..128715ed059b 100644 --- a/modules/openapi-generator/src/main/resources/typescript-axios/package.mustache +++ b/modules/openapi-generator/src/main/resources/typescript-axios/package.mustache @@ -18,11 +18,11 @@ "prepare": "npm run build" }, "dependencies": { - "axios": "^0.21.4" + "axios": "^0.26.1" }, "devDependencies": { "@types/node": "^12.11.5", - "typescript": "^3.6.4" + "typescript": "^4.0" }{{#npmRepository}},{{/npmRepository}} {{#npmRepository}} "publishConfig": { diff --git a/samples/client/petstore/typescript-axios/builds/es6-target/package.json b/samples/client/petstore/typescript-axios/builds/es6-target/package.json index 86412c07b3db..52a122b7b41c 100644 --- a/samples/client/petstore/typescript-axios/builds/es6-target/package.json +++ b/samples/client/petstore/typescript-axios/builds/es6-target/package.json @@ -18,11 +18,11 @@ "prepare": "npm run build" }, "dependencies": { - "axios": "^0.21.4" + "axios": "^0.26.1" }, "devDependencies": { "@types/node": "^12.11.5", - "typescript": "^3.6.4" + "typescript": "^4.0" }, "publishConfig": { "registry": "https://skimdb.npmjs.com/registry" diff --git a/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/package.json b/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/package.json index 86412c07b3db..52a122b7b41c 100644 --- a/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/package.json +++ b/samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/package.json @@ -18,11 +18,11 @@ "prepare": "npm run build" }, "dependencies": { - "axios": "^0.21.4" + "axios": "^0.26.1" }, "devDependencies": { "@types/node": "^12.11.5", - "typescript": "^3.6.4" + "typescript": "^4.0" }, "publishConfig": { "registry": "https://skimdb.npmjs.com/registry" diff --git a/samples/client/petstore/typescript-axios/builds/with-npm-version/package-lock.json b/samples/client/petstore/typescript-axios/builds/with-npm-version/package-lock.json index 282aba874fce..014e497001ad 100644 --- a/samples/client/petstore/typescript-axios/builds/with-npm-version/package-lock.json +++ b/samples/client/petstore/typescript-axios/builds/with-npm-version/package-lock.json @@ -9,11 +9,11 @@ "version": "1.0.0", "license": "Unlicense", "dependencies": { - "axios": "^0.21.4" + "axios": "^0.26.1" }, "devDependencies": { "@types/node": "^12.11.5", - "typescript": "^3.6.4" + "typescript": "^4.0" } }, "node_modules/@types/node": { @@ -23,17 +23,17 @@ "dev": true }, "node_modules/axios": { - "version": "0.21.4", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz", - "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==", + "version": "0.26.1", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.26.1.tgz", + "integrity": "sha512-fPwcX4EvnSHuInCMItEhAGnaSEXRBjtzh9fOtsE6E1G6p7vl7edEeZe11QHf18+6+9gR5PbKV/sGKNaD8YaMeA==", "dependencies": { - "follow-redirects": "^1.14.0" + "follow-redirects": "^1.14.8" } }, "node_modules/follow-redirects": { - "version": "1.14.3", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.3.tgz", - "integrity": "sha512-3MkHxknWMUtb23apkgz/83fDoe+y+qr0TdgacGIA7bew+QLBo3vdgEN2xEsuXNivpFy4CyDhBBZnNZOtalmenw==", + "version": "1.14.9", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.9.tgz", + "integrity": "sha512-MQDfihBQYMcyy5dhRDJUHcw7lb2Pv/TuE6xP1vyraLukNDHKbDxDNaOE3NbCAdKQApno+GPRyo1YAp89yCjK4w==", "funding": [ { "type": "individual", @@ -50,9 +50,9 @@ } }, "node_modules/typescript": { - "version": "3.9.10", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.10.tgz", - "integrity": "sha512-w6fIxVE/H1PkLKcCPsFqKE7Kv7QUwhU8qQY2MueZXWx5cPZdwFupLgKK3vntcK98BtNHZtAF4LA/yl2a7k8R6Q==", + "version": "4.6.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.6.3.tgz", + "integrity": "sha512-yNIatDa5iaofVozS/uQJEl3JRWLKKGJKh6Yaiv0GLGSuhpFJe7P3SbHZ8/yjAHRQwKRoA6YZqlfjXWmVzoVSMw==", "dev": true, "bin": { "tsc": "bin/tsc", @@ -71,22 +71,22 @@ "dev": true }, "axios": { - "version": "0.21.4", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz", - "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==", + "version": "0.26.1", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.26.1.tgz", + "integrity": "sha512-fPwcX4EvnSHuInCMItEhAGnaSEXRBjtzh9fOtsE6E1G6p7vl7edEeZe11QHf18+6+9gR5PbKV/sGKNaD8YaMeA==", "requires": { - "follow-redirects": "^1.14.0" + "follow-redirects": "^1.14.8" } }, "follow-redirects": { - "version": "1.14.3", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.3.tgz", - "integrity": "sha512-3MkHxknWMUtb23apkgz/83fDoe+y+qr0TdgacGIA7bew+QLBo3vdgEN2xEsuXNivpFy4CyDhBBZnNZOtalmenw==" + "version": "1.14.9", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.9.tgz", + "integrity": "sha512-MQDfihBQYMcyy5dhRDJUHcw7lb2Pv/TuE6xP1vyraLukNDHKbDxDNaOE3NbCAdKQApno+GPRyo1YAp89yCjK4w==" }, "typescript": { - "version": "3.9.10", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.10.tgz", - "integrity": "sha512-w6fIxVE/H1PkLKcCPsFqKE7Kv7QUwhU8qQY2MueZXWx5cPZdwFupLgKK3vntcK98BtNHZtAF4LA/yl2a7k8R6Q==", + "version": "4.6.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.6.3.tgz", + "integrity": "sha512-yNIatDa5iaofVozS/uQJEl3JRWLKKGJKh6Yaiv0GLGSuhpFJe7P3SbHZ8/yjAHRQwKRoA6YZqlfjXWmVzoVSMw==", "dev": true } } diff --git a/samples/client/petstore/typescript-axios/builds/with-npm-version/package.json b/samples/client/petstore/typescript-axios/builds/with-npm-version/package.json index 86412c07b3db..52a122b7b41c 100644 --- a/samples/client/petstore/typescript-axios/builds/with-npm-version/package.json +++ b/samples/client/petstore/typescript-axios/builds/with-npm-version/package.json @@ -18,11 +18,11 @@ "prepare": "npm run build" }, "dependencies": { - "axios": "^0.21.4" + "axios": "^0.26.1" }, "devDependencies": { "@types/node": "^12.11.5", - "typescript": "^3.6.4" + "typescript": "^4.0" }, "publishConfig": { "registry": "https://skimdb.npmjs.com/registry" From d9a0f9946dea50503fe216d20f6b11c3a9567ec9 Mon Sep 17 00:00:00 2001 From: mkusaka Date: Tue, 12 Apr 2022 23:27:30 +0900 Subject: [PATCH 2/8] [typescript-axios] update package.json & package-lock.json --- .../tests/default/package-lock.json | 13 ++++++------- .../typescript-axios/tests/default/package.json | 2 +- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/samples/client/petstore/typescript-axios/tests/default/package-lock.json b/samples/client/petstore/typescript-axios/tests/default/package-lock.json index 42dfae14ef3b..24b2819d42bb 100644 --- a/samples/client/petstore/typescript-axios/tests/default/package-lock.json +++ b/samples/client/petstore/typescript-axios/tests/default/package-lock.json @@ -1,11 +1,11 @@ { - "name": "typescript-fetch-test", + "name": "typescript-axios-test", "version": "1.0.0", "lockfileVersion": 2, "requires": true, "packages": { "": { - "name": "typescript-fetch-test", + "name": "typescript-axios-test", "version": "1.0.0", "hasInstallScript": true, "license": "ISC", @@ -28,11 +28,11 @@ "version": "1.0.0", "license": "Unlicense", "dependencies": { - "axios": "^0.21.4" + "axios": "^0.26.1" }, "devDependencies": { "@types/node": "^12.11.5", - "typescript": "^3.6.4" + "typescript": "^4.0" } }, "../../builds/with-npm-version/node_modules/@types/node": { @@ -1533,7 +1533,6 @@ "dependencies": { "anymatch": "~3.1.1", "braces": "~3.0.2", - "fsevents": "~2.1.2", "glob-parent": "~5.1.0", "is-binary-path": "~2.1.0", "is-glob": "~4.0.1", @@ -2744,8 +2743,8 @@ "version": "file:../../builds/with-npm-version", "requires": { "@types/node": "^12.11.5", - "axios": "^0.21.4", - "typescript": "^3.6.4" + "axios": "^0.26.1", + "typescript": "^4.0" }, "dependencies": { "@types/node": { diff --git a/samples/client/petstore/typescript-axios/tests/default/package.json b/samples/client/petstore/typescript-axios/tests/default/package.json index bd6f7784a350..c723eabd6f38 100644 --- a/samples/client/petstore/typescript-axios/tests/default/package.json +++ b/samples/client/petstore/typescript-axios/tests/default/package.json @@ -19,7 +19,7 @@ "mocha": "^8.2.1", "typescript": "^4.1.2" }, - "name": "typescript-fetch-test", + "name": "typescript-axios-test", "version": "1.0.0", "directories": { "test": "test" From 2b1ad0ad5ec62885bc4d1be360c5ef7c4fb0b0b0 Mon Sep 17 00:00:00 2001 From: mkusaka Date: Tue, 12 Apr 2022 23:49:56 +0900 Subject: [PATCH 3/8] [typescript-node] drop support typescript below 4.0 & update samples --- .../src/main/resources/typescript-node/package.mustache | 8 ++++---- samples/client/petstore/typescript-node/npm/package.json | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/modules/openapi-generator/src/main/resources/typescript-node/package.mustache b/modules/openapi-generator/src/main/resources/typescript-node/package.mustache index 3679a80fadd9..47b53f66c91c 100644 --- a/modules/openapi-generator/src/main/resources/typescript-node/package.mustache +++ b/modules/openapi-generator/src/main/resources/typescript-node/package.mustache @@ -15,13 +15,13 @@ "dependencies": { "bluebird": "^3.5.0", "request": "^2.81.0", - "@types/bluebird": "3.5.33", - "@types/request": "*", "rewire": "^3.0.2" }, "devDependencies": { - "typescript": "^2.4.2", - "@types/node": "8.10.34" + "@types/bluebird": "^3.5.33", + "@types/node": "^12", + "@types/request": "^2.48.8", + "typescript": "^4.0" }{{#npmRepository}}, "publishConfig": { "registry": "{{npmRepository}}" diff --git a/samples/client/petstore/typescript-node/npm/package.json b/samples/client/petstore/typescript-node/npm/package.json index 2bab750c5bab..c35a2b3a0fb5 100644 --- a/samples/client/petstore/typescript-node/npm/package.json +++ b/samples/client/petstore/typescript-node/npm/package.json @@ -15,13 +15,13 @@ "dependencies": { "bluebird": "^3.5.0", "request": "^2.81.0", - "@types/bluebird": "3.5.33", - "@types/request": "*", "rewire": "^3.0.2" }, "devDependencies": { - "typescript": "^2.4.2", - "@types/node": "8.10.34" + "@types/bluebird": "^3.5.33", + "@types/node": "^12", + "@types/request": "^2.48.8", + "typescript": "^4.0" }, "publishConfig": { "registry": "https://skimdb.npmjs.com/registry" From dd3e9b5bfeddea22063e7e411dda29242d4e215d Mon Sep 17 00:00:00 2001 From: mkusaka Date: Wed, 13 Apr 2022 00:00:29 +0900 Subject: [PATCH 4/8] [typescript-nestjs] drop support typescript below 4.0 & update samples --- .../src/main/resources/typescript-nestjs/package.mustache | 2 +- .../builds/default/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/openapi-generator/src/main/resources/typescript-nestjs/package.mustache b/modules/openapi-generator/src/main/resources/typescript-nestjs/package.mustache index 55bd81ca901c..210ebafb4a96 100644 --- a/modules/openapi-generator/src/main/resources/typescript-nestjs/package.mustache +++ b/modules/openapi-generator/src/main/resources/typescript-nestjs/package.mustache @@ -46,7 +46,7 @@ "ts-node": "8.3.0", "tsconfig-paths": "3.8.0", "tslint": "5.18.0", - "typescript": "3.5.3", + "typescript": "^4.0", "wait-on": "^3.2.0" }, "jest": { diff --git a/samples/client/petstore/typescript-nestjs-v6-provided-in-root/builds/default/package.json b/samples/client/petstore/typescript-nestjs-v6-provided-in-root/builds/default/package.json index daba3da51b86..6d90d510ad94 100644 --- a/samples/client/petstore/typescript-nestjs-v6-provided-in-root/builds/default/package.json +++ b/samples/client/petstore/typescript-nestjs-v6-provided-in-root/builds/default/package.json @@ -46,7 +46,7 @@ "ts-node": "8.3.0", "tsconfig-paths": "3.8.0", "tslint": "5.18.0", - "typescript": "3.5.3", + "typescript": "^4.0", "wait-on": "^3.2.0" }, "jest": { From eab3d4928c935c69c0aed107def2e8781e13c06e Mon Sep 17 00:00:00 2001 From: mkusaka Date: Wed, 13 Apr 2022 00:04:22 +0900 Subject: [PATCH 5/8] [typescript-redux-query] drop support typescript below 4.0 & update samples --- .../src/main/resources/typescript-redux-query/package.mustache | 2 +- .../typescript-redux-query/builds/with-npm-version/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/openapi-generator/src/main/resources/typescript-redux-query/package.mustache b/modules/openapi-generator/src/main/resources/typescript-redux-query/package.mustache index 3e42f9a4f668..b0fdd30a34e1 100644 --- a/modules/openapi-generator/src/main/resources/typescript-redux-query/package.mustache +++ b/modules/openapi-generator/src/main/resources/typescript-redux-query/package.mustache @@ -13,7 +13,7 @@ "redux-query": "^3.2.0" }, "devDependencies": { - "typescript": "^3.0" + "typescript": "^4.0" }{{#npmRepository}},{{/npmRepository}} {{#npmRepository}} "publishConfig": { diff --git a/samples/client/petstore/typescript-redux-query/builds/with-npm-version/package.json b/samples/client/petstore/typescript-redux-query/builds/with-npm-version/package.json index 07cc35afb334..4ec80a8583a9 100644 --- a/samples/client/petstore/typescript-redux-query/builds/with-npm-version/package.json +++ b/samples/client/petstore/typescript-redux-query/builds/with-npm-version/package.json @@ -13,7 +13,7 @@ "redux-query": "^3.2.0" }, "devDependencies": { - "typescript": "^3.0" + "typescript": "^4.0" }, "publishConfig": { "registry": "https://skimdb.npmjs.com/registry" From c674dbc2dccf30788bbe8e01c6164597c4027970 Mon Sep 17 00:00:00 2001 From: mkusaka Date: Wed, 13 Apr 2022 00:11:06 +0900 Subject: [PATCH 6/8] [typescript-aurelia] drop support typescript below 4.0 & update samples --- .../src/main/resources/typescript-aurelia/package.json.mustache | 2 +- samples/client/petstore/typescript-aurelia/default/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/openapi-generator/src/main/resources/typescript-aurelia/package.json.mustache b/modules/openapi-generator/src/main/resources/typescript-aurelia/package.json.mustache index 37be6a77b98e..fdf4deea5f53 100644 --- a/modules/openapi-generator/src/main/resources/typescript-aurelia/package.json.mustache +++ b/modules/openapi-generator/src/main/resources/typescript-aurelia/package.json.mustache @@ -18,6 +18,6 @@ }, "devDependencies": { "tslint": "^3.15.1", - "typescript": "^2.4 || ^3.0" + "typescript": "^4.0" } } diff --git a/samples/client/petstore/typescript-aurelia/default/package.json b/samples/client/petstore/typescript-aurelia/default/package.json index 74fcdb9b8841..e7fae1cf8c75 100644 --- a/samples/client/petstore/typescript-aurelia/default/package.json +++ b/samples/client/petstore/typescript-aurelia/default/package.json @@ -18,6 +18,6 @@ }, "devDependencies": { "tslint": "^3.15.1", - "typescript": "^2.4 || ^3.0" + "typescript": "^4.0" } } From 00363e32f7ed0eabc3c5e31345e3e3b9045bb064 Mon Sep 17 00:00:00 2001 From: mkusaka Date: Wed, 13 Apr 2022 00:16:27 +0900 Subject: [PATCH 7/8] [typescript-jquery] drop support typescript below 4.0 & update samples --- .../src/main/resources/typescript-jquery/package.mustache | 2 +- samples/client/petstore/typescript-jquery/npm/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/openapi-generator/src/main/resources/typescript-jquery/package.mustache b/modules/openapi-generator/src/main/resources/typescript-jquery/package.mustache index cba64d11771c..13bd8b9cd510 100644 --- a/modules/openapi-generator/src/main/resources/typescript-jquery/package.mustache +++ b/modules/openapi-generator/src/main/resources/typescript-jquery/package.mustache @@ -15,7 +15,7 @@ }, "devDependencies": { "@types/jquery": "^3.1", - "typescript": "^2.4" + "typescript": "^4.0" }{{#npmRepository}}, "publishConfig": { "registry": "{{npmRepository}}" diff --git a/samples/client/petstore/typescript-jquery/npm/package.json b/samples/client/petstore/typescript-jquery/npm/package.json index 7fb297b8633b..c6985184e509 100644 --- a/samples/client/petstore/typescript-jquery/npm/package.json +++ b/samples/client/petstore/typescript-jquery/npm/package.json @@ -15,7 +15,7 @@ }, "devDependencies": { "@types/jquery": "^3.1", - "typescript": "^2.4" + "typescript": "^4.0" }, "publishConfig": { "registry": "https://skimdb.npmjs.com/registry" From fc8ec5f79648e24e9b98ce02e50a39e5d0764335 Mon Sep 17 00:00:00 2001 From: mkusaka Date: Wed, 13 Apr 2022 01:52:24 +0900 Subject: [PATCH 8/8] [typescript] drop support typescript below 4.0 & update samples --- .../src/main/resources/typescript/package.mustache | 2 +- .../typescript/additional-properties-expected/package.json | 2 +- .../typescript/array-and-object-expected/package.json | 2 +- .../integrationtests/typescript/node-es5-expected/package.json | 2 +- .../typescript/objectsWithEnums-expected/package.json | 2 +- .../integrationtests/typescript/petstore-expected/package.json | 2 +- .../others/typescript/builds/with-unique-items/package.json | 2 +- .../client/petstore/typescript/builds/browser/package.json | 2 +- .../petstore/typescript/builds/composed-schemas/package.json | 2 +- .../client/petstore/typescript/builds/default/package.json | 2 +- .../client/petstore/typescript/builds/inversify/package.json | 2 +- .../client/petstore/typescript/builds/jquery/package.json | 2 +- .../petstore/typescript/builds/object_params/package.json | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/modules/openapi-generator/src/main/resources/typescript/package.mustache b/modules/openapi-generator/src/main/resources/typescript/package.mustache index 1483e4d9eace..a307fa9aa983 100644 --- a/modules/openapi-generator/src/main/resources/typescript/package.mustache +++ b/modules/openapi-generator/src/main/resources/typescript/package.mustache @@ -61,7 +61,7 @@ "url-parse": "^1.4.3" }, "devDependencies": { - "typescript": "^3.9.3", + "typescript": "^4.0", "@types/url-parse": "1.4.4" }{{#npmRepository}},{{/npmRepository}} {{#npmRepository}} diff --git a/modules/openapi-generator/src/test/resources/integrationtests/typescript/additional-properties-expected/package.json b/modules/openapi-generator/src/test/resources/integrationtests/typescript/additional-properties-expected/package.json index 6e30608df673..54e4c8a12a12 100644 --- a/modules/openapi-generator/src/test/resources/integrationtests/typescript/additional-properties-expected/package.json +++ b/modules/openapi-generator/src/test/resources/integrationtests/typescript/additional-properties-expected/package.json @@ -32,7 +32,7 @@ "reflect-metadata": "^0.1.3", "rxjs": "5.0.0-beta.12", "zone.js": "^0.6.17", - "typescript": "^2.0.0", + "typescript": "^4.0", "typings": "^1.3.2" } } diff --git a/modules/openapi-generator/src/test/resources/integrationtests/typescript/array-and-object-expected/package.json b/modules/openapi-generator/src/test/resources/integrationtests/typescript/array-and-object-expected/package.json index 42ba4d5d54fd..16a813c383c1 100644 --- a/modules/openapi-generator/src/test/resources/integrationtests/typescript/array-and-object-expected/package.json +++ b/modules/openapi-generator/src/test/resources/integrationtests/typescript/array-and-object-expected/package.json @@ -32,7 +32,7 @@ "reflect-metadata": "^0.1.3", "rxjs": "5.0.0-beta.12", "zone.js": "^0.6.17", - "typescript": "^2.0.0", + "typescript": "^4.0", "typings": "^1.3.2" } } diff --git a/modules/openapi-generator/src/test/resources/integrationtests/typescript/node-es5-expected/package.json b/modules/openapi-generator/src/test/resources/integrationtests/typescript/node-es5-expected/package.json index e2ef93f0d6dc..e146042b7ed3 100644 --- a/modules/openapi-generator/src/test/resources/integrationtests/typescript/node-es5-expected/package.json +++ b/modules/openapi-generator/src/test/resources/integrationtests/typescript/node-es5-expected/package.json @@ -17,7 +17,7 @@ "request": "^2.72.0" }, "devDependencies": { - "typescript": "^1.8.10", + "typescript": "^4.0", "typings": "^0.8.1" } } diff --git a/modules/openapi-generator/src/test/resources/integrationtests/typescript/objectsWithEnums-expected/package.json b/modules/openapi-generator/src/test/resources/integrationtests/typescript/objectsWithEnums-expected/package.json index 18383fe4b860..b95f70f0d336 100644 --- a/modules/openapi-generator/src/test/resources/integrationtests/typescript/objectsWithEnums-expected/package.json +++ b/modules/openapi-generator/src/test/resources/integrationtests/typescript/objectsWithEnums-expected/package.json @@ -20,7 +20,7 @@ "rewire": "^3.0.2" }, "devDependencies": { - "typescript": "^2.4.2", + "typescript": "^4.0", "@types/node": "8.10.34" } } diff --git a/modules/openapi-generator/src/test/resources/integrationtests/typescript/petstore-expected/package.json b/modules/openapi-generator/src/test/resources/integrationtests/typescript/petstore-expected/package.json index 6fda4434ce15..720ddd966f6e 100644 --- a/modules/openapi-generator/src/test/resources/integrationtests/typescript/petstore-expected/package.json +++ b/modules/openapi-generator/src/test/resources/integrationtests/typescript/petstore-expected/package.json @@ -32,7 +32,7 @@ "reflect-metadata": "^0.1.3", "rxjs": "5.0.0-beta.12", "zone.js": "^0.6.17", - "typescript": "^2.0.0", + "typescript": "^4.0", "typings": "^1.3.2" } } diff --git a/samples/client/others/typescript/builds/with-unique-items/package.json b/samples/client/others/typescript/builds/with-unique-items/package.json index 9e62e7577e7d..0dc1dc48ad4f 100644 --- a/samples/client/others/typescript/builds/with-unique-items/package.json +++ b/samples/client/others/typescript/builds/with-unique-items/package.json @@ -26,7 +26,7 @@ "url-parse": "^1.4.3" }, "devDependencies": { - "typescript": "^3.9.3", + "typescript": "^4.0", "@types/url-parse": "1.4.4" } } diff --git a/samples/openapi3/client/petstore/typescript/builds/browser/package.json b/samples/openapi3/client/petstore/typescript/builds/browser/package.json index 0d3344f8590d..67dd0bc4bc06 100644 --- a/samples/openapi3/client/petstore/typescript/builds/browser/package.json +++ b/samples/openapi3/client/petstore/typescript/builds/browser/package.json @@ -27,7 +27,7 @@ "url-parse": "^1.4.3" }, "devDependencies": { - "typescript": "^3.9.3", + "typescript": "^4.0", "@types/url-parse": "1.4.4" } } diff --git a/samples/openapi3/client/petstore/typescript/builds/composed-schemas/package.json b/samples/openapi3/client/petstore/typescript/builds/composed-schemas/package.json index 8a8ba4a20609..cd7e83b1ec45 100644 --- a/samples/openapi3/client/petstore/typescript/builds/composed-schemas/package.json +++ b/samples/openapi3/client/petstore/typescript/builds/composed-schemas/package.json @@ -26,7 +26,7 @@ "url-parse": "^1.4.3" }, "devDependencies": { - "typescript": "^3.9.3", + "typescript": "^4.0", "@types/url-parse": "1.4.4" } } diff --git a/samples/openapi3/client/petstore/typescript/builds/default/package.json b/samples/openapi3/client/petstore/typescript/builds/default/package.json index b9209fdd8072..c2cd8b50bea8 100644 --- a/samples/openapi3/client/petstore/typescript/builds/default/package.json +++ b/samples/openapi3/client/petstore/typescript/builds/default/package.json @@ -30,7 +30,7 @@ "url-parse": "^1.4.3" }, "devDependencies": { - "typescript": "^3.9.3", + "typescript": "^4.0", "@types/url-parse": "1.4.4" } } diff --git a/samples/openapi3/client/petstore/typescript/builds/inversify/package.json b/samples/openapi3/client/petstore/typescript/builds/inversify/package.json index ee7b3ee8b046..872e96f05c47 100644 --- a/samples/openapi3/client/petstore/typescript/builds/inversify/package.json +++ b/samples/openapi3/client/petstore/typescript/builds/inversify/package.json @@ -31,7 +31,7 @@ "url-parse": "^1.4.3" }, "devDependencies": { - "typescript": "^3.9.3", + "typescript": "^4.0", "@types/url-parse": "1.4.4" } } diff --git a/samples/openapi3/client/petstore/typescript/builds/jquery/package.json b/samples/openapi3/client/petstore/typescript/builds/jquery/package.json index 6b153b5650e4..6c77c71968f9 100644 --- a/samples/openapi3/client/petstore/typescript/builds/jquery/package.json +++ b/samples/openapi3/client/petstore/typescript/builds/jquery/package.json @@ -27,7 +27,7 @@ "url-parse": "^1.4.3" }, "devDependencies": { - "typescript": "^3.9.3", + "typescript": "^4.0", "@types/url-parse": "1.4.4" } } diff --git a/samples/openapi3/client/petstore/typescript/builds/object_params/package.json b/samples/openapi3/client/petstore/typescript/builds/object_params/package.json index b9209fdd8072..c2cd8b50bea8 100644 --- a/samples/openapi3/client/petstore/typescript/builds/object_params/package.json +++ b/samples/openapi3/client/petstore/typescript/builds/object_params/package.json @@ -30,7 +30,7 @@ "url-parse": "^1.4.3" }, "devDependencies": { - "typescript": "^3.9.3", + "typescript": "^4.0", "@types/url-parse": "1.4.4" } }