mirror of
https://github.com/ferdikoomen/openapi-typescript-codegen.git
synced 2025-12-08 20:16:21 +00:00
Updated dependencies, created new release
This commit is contained in:
parent
aa59c50605
commit
728fefaa59
@ -1,6 +1,13 @@
|
||||
# Changelog
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
## [0.25.0] - 2023-07-05
|
||||
### Fixed
|
||||
- Upgraded dependencies
|
||||
### Added
|
||||
- Allow usage of a custom axios instance
|
||||
- Added message in generated files
|
||||
|
||||
## [0.24.0] - 2023-04-10
|
||||
### Fixed
|
||||
- Upgraded dependencies
|
||||
|
||||
@ -9,8 +9,8 @@ If you want to generate the Angular based client then you can specify `--client
|
||||
The Angular client has been tested with the following versions:
|
||||
|
||||
```
|
||||
"@angular/common": "15.0.x",
|
||||
"@angular/core": "15.0.x",
|
||||
"@angular/common": "16.0.x",
|
||||
"@angular/core": "16.0.x",
|
||||
"rxjs": "7.5.x",
|
||||
```
|
||||
|
||||
|
||||
4603
package-lock.json
generated
4603
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
48
package.json
48
package.json
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "openapi-typescript-codegen",
|
||||
"version": "0.24.0",
|
||||
"version": "0.25.0",
|
||||
"description": "Library that generates Typescript clients based on the OpenAPI specification.",
|
||||
"author": "Ferdi Koomen",
|
||||
"homepage": "https://github.com/ferdikoomen/openapi-typescript-codegen",
|
||||
@ -61,28 +61,28 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"camelcase": "^6.3.0",
|
||||
"commander": "^10.0.0",
|
||||
"commander": "^11.0.0",
|
||||
"fs-extra": "^11.1.1",
|
||||
"handlebars": "^4.7.7",
|
||||
"json-schema-ref-parser": "^9.0.9"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@angular-devkit/build-angular": "15.2.5",
|
||||
"@angular/animations": "15.2.6",
|
||||
"@angular/cli": "15.2.5",
|
||||
"@angular/common": "15.2.6",
|
||||
"@angular/compiler": "15.2.6",
|
||||
"@angular/compiler-cli": "15.2.6",
|
||||
"@angular/core": "15.2.6",
|
||||
"@angular/forms": "15.2.6",
|
||||
"@angular/platform-browser": "15.2.6",
|
||||
"@angular/platform-browser-dynamic": "15.2.6",
|
||||
"@angular/router": "15.2.6",
|
||||
"@angular-devkit/build-angular": "16.1.3",
|
||||
"@angular/animations": "16.1.3",
|
||||
"@angular/cli": "16.1.3",
|
||||
"@angular/common": "16.1.3",
|
||||
"@angular/compiler": "16.1.3",
|
||||
"@angular/compiler-cli": "16.1.3",
|
||||
"@angular/core": "16.1.3",
|
||||
"@angular/forms": "16.1.3",
|
||||
"@angular/platform-browser": "16.1.3",
|
||||
"@angular/platform-browser-dynamic": "16.1.3",
|
||||
"@angular/router": "16.1.3",
|
||||
"@babel/cli": "7.22.6",
|
||||
"@babel/core": "7.22.5",
|
||||
"@babel/core": "7.22.6",
|
||||
"@babel/preset-env": "7.22.6",
|
||||
"@babel/preset-typescript": "7.22.5",
|
||||
"@rollup/plugin-commonjs": "24.1.0",
|
||||
"@rollup/plugin-commonjs": "25.0.2",
|
||||
"@rollup/plugin-node-resolve": "15.1.0",
|
||||
"@rollup/plugin-typescript": "11.1.2",
|
||||
"@types/cross-spawn": "6.0.2",
|
||||
@ -90,11 +90,11 @@
|
||||
"@types/fs-extra": "^11.0.1",
|
||||
"@types/glob": "8.1.0",
|
||||
"@types/jest": "29.5.2",
|
||||
"@types/node": "18.16.3",
|
||||
"@types/node-fetch": "2.6.3",
|
||||
"@types/node": "20.3.3",
|
||||
"@types/node-fetch": "2.6.4",
|
||||
"@types/qs": "6.9.7",
|
||||
"@typescript-eslint/eslint-plugin": "5.61.0",
|
||||
"@typescript-eslint/parser": "5.60.1",
|
||||
"@typescript-eslint/parser": "5.61.0",
|
||||
"abort-controller": "3.0.0",
|
||||
"axios": "1.4.0",
|
||||
"codecov": "3.8.3",
|
||||
@ -106,24 +106,24 @@
|
||||
"express": "4.18.2",
|
||||
"form-data": "4.0.0",
|
||||
"glob": "10.3.1",
|
||||
"jest": "29.5.0",
|
||||
"jest": "29.6.0",
|
||||
"jest-cli": "29.6.0",
|
||||
"node-fetch": "2.6.9",
|
||||
"prettier": "2.8.8",
|
||||
"puppeteer": "19.11.1",
|
||||
"puppeteer": "20.7.4",
|
||||
"qs": "6.11.2",
|
||||
"rimraf": "5.0.1",
|
||||
"rollup": "3.20.2",
|
||||
"rollup": "3.26.1",
|
||||
"rollup-plugin-terser": "7.0.2",
|
||||
"rxjs": "7.8.1",
|
||||
"ts-node": "10.9.1",
|
||||
"tslib": "2.6.0",
|
||||
"typescript": "4.9.5",
|
||||
"typescript": "5.1.6",
|
||||
"zone.js": "0.13.1"
|
||||
},
|
||||
"overrides" : {
|
||||
"node-fetch": "2.6.9",
|
||||
"rollup": "3.20.2",
|
||||
"typescript": "4.9.5"
|
||||
"rollup": "3.26.1",
|
||||
"typescript": "5.1.6"
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -98,7 +98,7 @@ describe('client.babel', () => {
|
||||
} catch (e) {
|
||||
error = (e as Error).message;
|
||||
}
|
||||
expect(error).toContain('CancelError: Request aborted');
|
||||
expect(error).toContain('Request aborted');
|
||||
});
|
||||
|
||||
it('should throw known error (500)', async () => {
|
||||
|
||||
@ -96,7 +96,7 @@ describe('client.fetch', () => {
|
||||
} catch (e) {
|
||||
error = (e as Error).message;
|
||||
}
|
||||
expect(error).toContain('CancelError: Request aborted');
|
||||
expect(error).toContain('Request aborted');
|
||||
});
|
||||
|
||||
it('should throw known error (500)', async () => {
|
||||
|
||||
@ -96,7 +96,7 @@ describe('client.xhr', () => {
|
||||
} catch (e) {
|
||||
error = (e as Error).message;
|
||||
}
|
||||
expect(error).toContain('CancelError: Request aborted');
|
||||
expect(error).toContain('Request aborted');
|
||||
});
|
||||
|
||||
it('should throw known error (500)', async () => {
|
||||
|
||||
@ -8,6 +8,7 @@ const start = async () => {
|
||||
// and load the localhost page, this page will load the
|
||||
// javascript modules (see server.js for more info)
|
||||
_browser = await puppeteer.launch({
|
||||
headless: 'new',
|
||||
args: ['--no-sandbox', '--disable-setuid-sandbox'],
|
||||
});
|
||||
_page = await _browser.newPage();
|
||||
|
||||
@ -91,7 +91,7 @@ describe('v3.babel', () => {
|
||||
} catch (e) {
|
||||
error = (e as Error).message;
|
||||
}
|
||||
expect(error).toContain('CancelError: Request aborted');
|
||||
expect(error).toContain('Request aborted');
|
||||
});
|
||||
|
||||
it('should throw known error (500)', async () => {
|
||||
|
||||
@ -89,7 +89,7 @@ describe('v3.fetch', () => {
|
||||
} catch (e) {
|
||||
error = (e as Error).message;
|
||||
}
|
||||
expect(error).toContain('CancelError: Request aborted');
|
||||
expect(error).toContain('Request aborted');
|
||||
});
|
||||
|
||||
it('should throw known error (500)', async () => {
|
||||
|
||||
@ -89,7 +89,7 @@ describe('v3.xhr', () => {
|
||||
} catch (e) {
|
||||
error = (e as Error).message;
|
||||
}
|
||||
expect(error).toContain('CancelError: Request aborted');
|
||||
expect(error).toContain('Request aborted');
|
||||
});
|
||||
|
||||
it('should throw known error (500)', async () => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user