diff --git a/examples/js-with-babel/package-lock.json b/examples/js-with-babel/package-lock.json index c50effa880..bb068c7b5f 100644 --- a/examples/js-with-babel/package-lock.json +++ b/examples/js-with-babel/package-lock.json @@ -13,7 +13,7 @@ "babel-jest": "^28.1.3", "jest": "^28.1.3", "ts-jest": "^28.0.8", - "typescript": "~4.7.4" + "typescript": "~4.8.2" } }, "node_modules/@ampproject/remapping": { @@ -6179,9 +6179,9 @@ } }, "node_modules/typescript": { - "version": "4.7.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.4.tgz", - "integrity": "sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==", + "version": "4.8.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.2.tgz", + "integrity": "sha512-C0I1UsrrDHo2fYI5oaCGbSejwX4ch+9Y5jTQELvovfmFkK3HHSZJB8MSJcWLmCUBzQBchCrZ9rMRV6GuNrvGtw==", "dev": true, "bin": { "tsc": "bin/tsc", @@ -10923,9 +10923,9 @@ "dev": true }, "typescript": { - "version": "4.7.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.4.tgz", - "integrity": "sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==", + "version": "4.8.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.2.tgz", + "integrity": "sha512-C0I1UsrrDHo2fYI5oaCGbSejwX4ch+9Y5jTQELvovfmFkK3HHSZJB8MSJcWLmCUBzQBchCrZ9rMRV6GuNrvGtw==", "dev": true }, "unicode-canonical-property-names-ecmascript": { diff --git a/examples/js-with-babel/package.json b/examples/js-with-babel/package.json index a7487d280e..bc5288d96c 100644 --- a/examples/js-with-babel/package.json +++ b/examples/js-with-babel/package.json @@ -13,6 +13,6 @@ "babel-jest": "^28.1.3", "jest": "^28.1.3", "ts-jest": "^28.0.8", - "typescript": "~4.7.4" + "typescript": "~4.8.2" } } diff --git a/examples/js-with-ts/package-lock.json b/examples/js-with-ts/package-lock.json index 9a3d225c5a..a50989930f 100644 --- a/examples/js-with-ts/package-lock.json +++ b/examples/js-with-ts/package-lock.json @@ -10,7 +10,7 @@ "devDependencies": { "jest": "^28.1.3", "ts-jest": "^28.0.8", - "typescript": "~4.7.4" + "typescript": "~4.8.2" } }, "node_modules/@ampproject/remapping": { @@ -3380,9 +3380,9 @@ } }, "node_modules/typescript": { - "version": "4.7.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.4.tgz", - "integrity": "sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==", + "version": "4.8.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.2.tgz", + "integrity": "sha512-C0I1UsrrDHo2fYI5oaCGbSejwX4ch+9Y5jTQELvovfmFkK3HHSZJB8MSJcWLmCUBzQBchCrZ9rMRV6GuNrvGtw==", "dev": true, "bin": { "tsc": "bin/tsc", @@ -6068,9 +6068,9 @@ "dev": true }, "typescript": { - "version": "4.7.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.4.tgz", - "integrity": "sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==", + "version": "4.8.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.2.tgz", + "integrity": "sha512-C0I1UsrrDHo2fYI5oaCGbSejwX4ch+9Y5jTQELvovfmFkK3HHSZJB8MSJcWLmCUBzQBchCrZ9rMRV6GuNrvGtw==", "dev": true }, "v8-to-istanbul": { diff --git a/examples/js-with-ts/package.json b/examples/js-with-ts/package.json index 62f658c20c..3d9ce38847 100644 --- a/examples/js-with-ts/package.json +++ b/examples/js-with-ts/package.json @@ -10,6 +10,6 @@ "devDependencies": { "jest": "^28.1.3", "ts-jest": "^28.0.8", - "typescript": "~4.7.4" + "typescript": "~4.8.2" } } diff --git a/examples/ts-only/package-lock.json b/examples/ts-only/package-lock.json index 2a33069130..ef6bbb6ea1 100644 --- a/examples/ts-only/package-lock.json +++ b/examples/ts-only/package-lock.json @@ -10,7 +10,7 @@ "devDependencies": { "jest": "^28.1.3", "ts-jest": "^28.0.8", - "typescript": "~4.7.4" + "typescript": "~4.8.2" } }, "node_modules/@ampproject/remapping": { @@ -3380,9 +3380,9 @@ } }, "node_modules/typescript": { - "version": "4.7.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.4.tgz", - "integrity": "sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==", + "version": "4.8.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.2.tgz", + "integrity": "sha512-C0I1UsrrDHo2fYI5oaCGbSejwX4ch+9Y5jTQELvovfmFkK3HHSZJB8MSJcWLmCUBzQBchCrZ9rMRV6GuNrvGtw==", "dev": true, "bin": { "tsc": "bin/tsc", @@ -6068,9 +6068,9 @@ "dev": true }, "typescript": { - "version": "4.7.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.4.tgz", - "integrity": "sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==", + "version": "4.8.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.2.tgz", + "integrity": "sha512-C0I1UsrrDHo2fYI5oaCGbSejwX4ch+9Y5jTQELvovfmFkK3HHSZJB8MSJcWLmCUBzQBchCrZ9rMRV6GuNrvGtw==", "dev": true }, "v8-to-istanbul": { diff --git a/examples/ts-only/package.json b/examples/ts-only/package.json index ade2891eaf..d11aac791a 100644 --- a/examples/ts-only/package.json +++ b/examples/ts-only/package.json @@ -10,6 +10,6 @@ "devDependencies": { "jest": "^28.1.3", "ts-jest": "^28.0.8", - "typescript": "~4.7.4" + "typescript": "~4.8.2" } } diff --git a/package-lock.json b/package-lock.json index 18a8167188..4564ae2499 100644 --- a/package-lock.json +++ b/package-lock.json @@ -68,7 +68,7 @@ "lodash.set": "^4.3.2", "node-fetch": "^3.2.10", "prettier": "^2.7.1", - "typescript": "~4.7.4" + "typescript": "~4.8.2" }, "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" @@ -8861,9 +8861,9 @@ } }, "node_modules/typescript": { - "version": "4.7.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.4.tgz", - "integrity": "sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==", + "version": "4.8.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.2.tgz", + "integrity": "sha512-C0I1UsrrDHo2fYI5oaCGbSejwX4ch+9Y5jTQELvovfmFkK3HHSZJB8MSJcWLmCUBzQBchCrZ9rMRV6GuNrvGtw==", "dev": true, "bin": { "tsc": "bin/tsc", @@ -15726,9 +15726,9 @@ "dev": true }, "typescript": { - "version": "4.7.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.4.tgz", - "integrity": "sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==", + "version": "4.8.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.2.tgz", + "integrity": "sha512-C0I1UsrrDHo2fYI5oaCGbSejwX4ch+9Y5jTQELvovfmFkK3HHSZJB8MSJcWLmCUBzQBchCrZ9rMRV6GuNrvGtw==", "dev": true }, "uglify-js": { diff --git a/package.json b/package.json index 7015889ac6..5a7cb4be27 100644 --- a/package.json +++ b/package.json @@ -135,7 +135,7 @@ "lodash.set": "^4.3.2", "node-fetch": "^3.2.10", "prettier": "^2.7.1", - "typescript": "~4.7.4" + "typescript": "~4.8.2" }, "lint-staged": { "*.{ts,tsx,js,jsx}": [ diff --git a/src/__helpers__/mocks.ts b/src/__helpers__/mocks.ts index 92d84a44df..57315d8fb7 100644 --- a/src/__helpers__/mocks.ts +++ b/src/__helpers__/mocks.ts @@ -4,7 +4,10 @@ import { rootLogger } from '../utils' export const logTargetMock = (): testing.LogTargetMock => (rootLogger as testing.LoggerMock).target -export const mockObject = (obj: T, newProps: M): T & M & { mockRestore: () => T } => { +export const mockObject = >( + obj: T, + newProps: M, +): T & M & { mockRestore: () => T } => { // eslint-disable-next-line @typescript-eslint/no-explicit-any const backup: Record = Object.create(null) diff --git a/website/package-lock.json b/website/package-lock.json index 6614aaa238..d2e46a42ac 100644 --- a/website/package-lock.json +++ b/website/package-lock.json @@ -24,7 +24,7 @@ "@docusaurus/module-type-aliases": "^2.0.1", "@tsconfig/docusaurus": "^1.0.6", "@types/react": "^16.14.24", - "typescript": "~4.7.4" + "typescript": "~4.8.2" } }, "node_modules/@akebifiky/remark-simple-plantuml": { @@ -12881,9 +12881,9 @@ } }, "node_modules/typescript": { - "version": "4.7.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.4.tgz", - "integrity": "sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==", + "version": "4.8.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.2.tgz", + "integrity": "sha512-C0I1UsrrDHo2fYI5oaCGbSejwX4ch+9Y5jTQELvovfmFkK3HHSZJB8MSJcWLmCUBzQBchCrZ9rMRV6GuNrvGtw==", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -23735,9 +23735,9 @@ } }, "typescript": { - "version": "4.7.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.4.tgz", - "integrity": "sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==" + "version": "4.8.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.2.tgz", + "integrity": "sha512-C0I1UsrrDHo2fYI5oaCGbSejwX4ch+9Y5jTQELvovfmFkK3HHSZJB8MSJcWLmCUBzQBchCrZ9rMRV6GuNrvGtw==" }, "ua-parser-js": { "version": "0.7.31", diff --git a/website/package.json b/website/package.json index bb177b220b..fd4fba9b13 100644 --- a/website/package.json +++ b/website/package.json @@ -28,7 +28,7 @@ "@docusaurus/module-type-aliases": "^2.0.1", "@tsconfig/docusaurus": "^1.0.6", "@types/react": "^16.14.24", - "typescript": "~4.7.4" + "typescript": "~4.8.2" }, "browserslist": { "production": [