Merge pull request #12 from StevanFreeborn/stevanfreeborn/chore/upgrade-deps
chore: upgrade dependencies
This commit is contained in:
Generated
+2703
-1955
File diff suppressed because it is too large
Load Diff
+25
-25
@@ -60,37 +60,37 @@
|
|||||||
"prepare": "husky install"
|
"prepare": "husky install"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@commitlint/cli": "^17.4.4",
|
"@commitlint/cli": "^17.8.1",
|
||||||
"@commitlint/config-conventional": "^17.4.4",
|
"@commitlint/config-conventional": "^17.8.1",
|
||||||
"@istanbuljs/nyc-config-typescript": "^1.0.2",
|
"@istanbuljs/nyc-config-typescript": "^1.0.2",
|
||||||
"@types/chai": "^4.3.4",
|
"@types/chai": "^4.3.16",
|
||||||
"@types/mocha": "^10.0.1",
|
"@types/mocha": "^10.0.7",
|
||||||
"@types/node": "^18.14.0",
|
"@types/node": "^18.19.41",
|
||||||
"@types/sinon": "^10.0.13",
|
"@types/sinon": "^10.0.20",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.50.0",
|
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
||||||
"@typescript-eslint/parser": "^5.50.0",
|
"@typescript-eslint/parser": "^5.62.0",
|
||||||
"chai": "^4.3.7",
|
"chai": "^4.4.1",
|
||||||
"dotenv": "^16.0.3",
|
"dotenv": "^16.4.5",
|
||||||
"eslint": "^8.33.0",
|
"eslint": "^8.57.0",
|
||||||
"eslint-config-prettier": "^8.6.0",
|
"eslint-config-prettier": "^8.10.0",
|
||||||
"eslint-config-standard-with-typescript": "^34.0.0",
|
"eslint-config-standard-with-typescript": "^34.0.1",
|
||||||
"eslint-plugin-import": "^2.27.5",
|
"eslint-plugin-import": "^2.29.1",
|
||||||
"eslint-plugin-mocha": "^10.1.0",
|
"eslint-plugin-mocha": "^10.4.3",
|
||||||
"eslint-plugin-n": "^15.6.1",
|
"eslint-plugin-n": "^15.7.0",
|
||||||
"eslint-plugin-promise": "^6.1.1",
|
"eslint-plugin-promise": "^6.4.0",
|
||||||
"husky": "^8.0.3",
|
"husky": "^8.0.3",
|
||||||
"mocha": "^10.2.0",
|
"mocha": "^10.6.0",
|
||||||
"nyc": "^15.1.0",
|
"nyc": "^15.1.0",
|
||||||
"prettier": "^2.8.3",
|
"prettier": "^2.8.8",
|
||||||
"pretty-quick": "^3.1.3",
|
"pretty-quick": "^3.3.1",
|
||||||
"sinon": "^15.0.1",
|
"sinon": "^15.2.0",
|
||||||
"ts-node": "^10.9.1",
|
"ts-node": "^10.9.2",
|
||||||
"typedoc": "^0.25.12",
|
"typedoc": "^0.25.13",
|
||||||
"typedoc-material-theme": "^1.0.2",
|
"typedoc-material-theme": "^1.1.0",
|
||||||
"typescript": "^4.9.5"
|
"typescript": "^4.9.5"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"axios": "^1.2.4",
|
"axios": "^1.7.2",
|
||||||
"form-data": "^4.0.0"
|
"form-data": "^4.0.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -995,9 +995,11 @@ describe('ApiResponse', function () {
|
|||||||
it('should be a function', function () {
|
it('should be a function', function () {
|
||||||
expect(ApiResponse.prototype.asListItemResponseType).to.be.a('function');
|
expect(ApiResponse.prototype.asListItemResponseType).to.be.a('function');
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should have no parameters', function () {
|
it('should have no parameters', function () {
|
||||||
expect(ApiResponse.prototype.asListItemResponseType.length).to.equal(0);
|
expect(ApiResponse.prototype.asListItemResponseType.length).to.equal(0);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should return an ApiResponse<ListItemResponse>', function () {
|
it('should return an ApiResponse<ListItemResponse>', function () {
|
||||||
const apiResponse = new ApiResponse(200, 'OK', {
|
const apiResponse = new ApiResponse(200, 'OK', {
|
||||||
id: '3fa85f64-5717-4562-b3fc-2c963f66afa6',
|
id: '3fa85f64-5717-4562-b3fc-2c963f66afa6',
|
||||||
|
|||||||
Reference in New Issue
Block a user