From 68ef25d528d5bf433b6f3e141fa3c24f87319ada Mon Sep 17 00:00:00 2001 From: coyoteecd Date: Fri, 3 Jun 2022 12:08:14 +0300 Subject: [PATCH] Update @types/jasmine to v4 --- package-lock.json | 28 ++++++++++++++-------------- package.json | 4 ++-- test/matchers/custom-matchers.ts | 2 +- 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/package-lock.json b/package-lock.json index a6b0be4..4574c5e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,8 +9,8 @@ "version": "3.0.1", "license": "MIT", "devDependencies": { - "@types/jasmine": "^3.10.6", - "@types/node": "^14.18.20", + "@types/jasmine": "^4.0.3", + "@types/node": "^16.11.38", "@types/serverless": "^3.12.7", "@typescript-eslint/eslint-plugin": "^5.27.0", "@typescript-eslint/parser": "^5.27.0", @@ -961,9 +961,9 @@ "dev": true }, "node_modules/@types/jasmine": { - "version": "3.10.6", - "resolved": "https://registry.npmjs.org/@types/jasmine/-/jasmine-3.10.6.tgz", - "integrity": "sha512-twY9adK/vz72oWxCWxzXaxoDtF9TpfEEsxvbc1ibjF3gMD/RThSuSud/GKUTR3aJnfbivAbC/vLqhY+gdWCHfA==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/@types/jasmine/-/jasmine-4.0.3.tgz", + "integrity": "sha512-Opp1LvvEuZdk8fSSvchK2mZwhVrsNT0JgJE9Di6MjnaIpmEXM8TLCPPrVtNTYh8+5MPdY8j9bAHMu2SSfwpZJg==", "dev": true }, "node_modules/@types/json-buffer": { @@ -1000,9 +1000,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "14.18.20", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.20.tgz", - "integrity": "sha512-Q8KKwm9YqEmUBRsqJ2GWJDtXltBDxTdC4m5vTdXBolu2PeQh8LX+f6BTwU+OuXPu37fLxoN6gidqBmnky36FXA==", + "version": "16.11.38", + "resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.38.tgz", + "integrity": "sha512-hjO/0K140An3GWDw2HJfq7gko3wWeznbjXgg+rzPdVzhe198hp4x2i1dgveAOEiFKd8sOilAxzoSJiVv5P/CUg==", "dev": true }, "node_modules/@types/responselike": { @@ -8532,9 +8532,9 @@ "dev": true }, "@types/jasmine": { - "version": "3.10.6", - "resolved": "https://registry.npmjs.org/@types/jasmine/-/jasmine-3.10.6.tgz", - "integrity": "sha512-twY9adK/vz72oWxCWxzXaxoDtF9TpfEEsxvbc1ibjF3gMD/RThSuSud/GKUTR3aJnfbivAbC/vLqhY+gdWCHfA==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/@types/jasmine/-/jasmine-4.0.3.tgz", + "integrity": "sha512-Opp1LvvEuZdk8fSSvchK2mZwhVrsNT0JgJE9Di6MjnaIpmEXM8TLCPPrVtNTYh8+5MPdY8j9bAHMu2SSfwpZJg==", "dev": true }, "@types/json-buffer": { @@ -8571,9 +8571,9 @@ "dev": true }, "@types/node": { - "version": "14.18.20", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.20.tgz", - "integrity": "sha512-Q8KKwm9YqEmUBRsqJ2GWJDtXltBDxTdC4m5vTdXBolu2PeQh8LX+f6BTwU+OuXPu37fLxoN6gidqBmnky36FXA==", + "version": "16.11.38", + "resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.38.tgz", + "integrity": "sha512-hjO/0K140An3GWDw2HJfq7gko3wWeznbjXgg+rzPdVzhe198hp4x2i1dgveAOEiFKd8sOilAxzoSJiVv5P/CUg==", "dev": true }, "@types/responselike": { diff --git a/package.json b/package.json index 9ee5bbf..3f6489c 100644 --- a/package.json +++ b/package.json @@ -31,8 +31,8 @@ }, "homepage": "https://github.com/coyoteecd/serverless-child-stack-manager#readme", "devDependencies": { - "@types/jasmine": "^3.10.6", - "@types/node": "^14.18.20", + "@types/jasmine": "^4.0.3", + "@types/node": "^16.11.38", "@types/serverless": "^3.12.7", "@typescript-eslint/eslint-plugin": "^5.27.0", "@typescript-eslint/parser": "^5.27.0", diff --git a/test/matchers/custom-matchers.ts b/test/matchers/custom-matchers.ts index c4fc13c..013cc00 100644 --- a/test/matchers/custom-matchers.ts +++ b/test/matchers/custom-matchers.ts @@ -5,7 +5,7 @@ */ function notMatching(matcher: jasmine.AsymmetricMatcher): jasmine.Expected { return { - asymmetricMatch: (compareTo: T, util: ReadonlyArray): boolean => !matcher.asymmetricMatch(compareTo, util) + asymmetricMatch: (compareTo: T, util: jasmine.MatchersUtil): boolean => !matcher.asymmetricMatch(compareTo, util) }; }