chore(deps): update dependency typescript to v5 (#1374)

* chore(deps): update dependency typescript to v5

* Fix

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Nathan Bierema <nbierema@gmail.com>
This commit is contained in:
renovate[bot] 2023-04-15 17:14:32 +00:00 committed by GitHub
parent 51eef5ce2a
commit bca3cb5db9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
37 changed files with 289 additions and 289 deletions

View File

@ -89,7 +89,7 @@
"sinon-chrome": "^3.0.1", "sinon-chrome": "^3.0.1",
"style-loader": "^3.3.2", "style-loader": "^3.3.2",
"ts-jest": "^29.1.0", "ts-jest": "^29.1.0",
"typescript": "~4.9.5", "typescript": "~5.0.4",
"webpack": "^5.78.0", "webpack": "^5.78.0",
"webpack-cli": "^5.0.1" "webpack-cli": "^5.0.1"
} }

View File

@ -13,7 +13,7 @@
"eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-hooks": "^4.6.0",
"jest": "^29.5.0", "jest": "^29.5.0",
"prettier": "2.8.7", "prettier": "2.8.7",
"typescript": "~4.9.5", "typescript": "~5.0.4",
"nx": "^15.9.2", "nx": "^15.9.2",
"@nrwl/nx-cloud": "^15.3.5" "@nrwl/nx-cloud": "^15.3.5"
}, },

View File

@ -42,7 +42,7 @@
"fork-ts-checker-webpack-plugin": "^8.0.0", "fork-ts-checker-webpack-plugin": "^8.0.0",
"html-webpack-plugin": "^5.5.0", "html-webpack-plugin": "^5.5.0",
"ts-node": "^10.9.1", "ts-node": "^10.9.1",
"typescript": "~4.9.5", "typescript": "~5.0.4",
"webpack": "^5.78.0", "webpack": "^5.78.0",
"webpack-cli": "^5.0.1", "webpack-cli": "^5.0.1",
"webpack-dev-server": "^4.13.2" "webpack-dev-server": "^4.13.2"

View File

@ -60,6 +60,6 @@
"eslint": "^8.38.0", "eslint": "^8.38.0",
"eslint-config-prettier": "^8.8.0", "eslint-config-prettier": "^8.8.0",
"rimraf": "^5.0.0", "rimraf": "^5.0.0",
"typescript": "~4.9.5" "typescript": "~5.0.4"
} }
} }

View File

@ -51,7 +51,7 @@
"eslint": "^8.38.0", "eslint": "^8.38.0",
"eslint-config-prettier": "^8.8.0", "eslint-config-prettier": "^8.8.0",
"rimraf": "^5.0.0", "rimraf": "^5.0.0",
"typescript": "~4.9.5" "typescript": "~5.0.4"
}, },
"peerDependencies": { "peerDependencies": {
"@types/d3": "^7.4.0", "@types/d3": "^7.4.0",

View File

@ -60,6 +60,6 @@
"jest": "^29.5.0", "jest": "^29.5.0",
"rimraf": "^5.0.0", "rimraf": "^5.0.0",
"ts-jest": "^29.1.0", "ts-jest": "^29.1.0",
"typescript": "~4.9.5" "typescript": "~5.0.4"
} }
} }

View File

@ -66,6 +66,6 @@
"jest-environment-jsdom": "^29.5.0", "jest-environment-jsdom": "^29.5.0",
"rimraf": "^5.0.0", "rimraf": "^5.0.0",
"ts-jest": "^29.1.0", "ts-jest": "^29.1.0",
"typescript": "~4.9.5" "typescript": "~5.0.4"
} }
} }

View File

@ -38,7 +38,7 @@
"fork-ts-checker-webpack-plugin": "^8.0.0", "fork-ts-checker-webpack-plugin": "^8.0.0",
"html-webpack-plugin": "^5.5.0", "html-webpack-plugin": "^5.5.0",
"ts-node": "^10.9.1", "ts-node": "^10.9.1",
"typescript": "~4.9.5", "typescript": "~5.0.4",
"webpack": "^5.78.0", "webpack": "^5.78.0",
"webpack-cli": "^5.0.1", "webpack-cli": "^5.0.1",
"webpack-dev-server": "^4.13.2" "webpack-dev-server": "^4.13.2"

View File

@ -70,7 +70,7 @@
"react-test-renderer": "^18.2.0", "react-test-renderer": "^18.2.0",
"rimraf": "^5.0.0", "rimraf": "^5.0.0",
"ts-jest": "^29.1.0", "ts-jest": "^29.1.0",
"typescript": "~4.9.5" "typescript": "~5.0.4"
}, },
"peerDependencies": { "peerDependencies": {
"@types/react": "^16.3.0 || ^17.0.0 || ^18.0.0", "@types/react": "^16.3.0 || ^17.0.0 || ^18.0.0",

View File

@ -44,7 +44,7 @@
"fork-ts-checker-webpack-plugin": "^8.0.0", "fork-ts-checker-webpack-plugin": "^8.0.0",
"html-webpack-plugin": "^5.5.0", "html-webpack-plugin": "^5.5.0",
"ts-node": "^10.9.1", "ts-node": "^10.9.1",
"typescript": "~4.9.5", "typescript": "~5.0.4",
"webpack": "^5.78.0", "webpack": "^5.78.0",
"webpack-cli": "^5.0.1", "webpack-cli": "^5.0.1",
"webpack-dev-server": "^4.13.2" "webpack-dev-server": "^4.13.2"

View File

@ -80,7 +80,7 @@
"rollup-plugin-typescript2": "^0.34.1", "rollup-plugin-typescript2": "^0.34.1",
"ts-jest": "^29.1.0", "ts-jest": "^29.1.0",
"tslib": "^2.5.0", "tslib": "^2.5.0",
"typescript": "~4.9.5" "typescript": "~5.0.4"
}, },
"peerDependencies": { "peerDependencies": {
"@types/react": "^16.8.0 || ^17.0.0 || ^18.0.0", "@types/react": "^16.8.0 || ^17.0.0 || ^18.0.0",

View File

@ -110,7 +110,7 @@
"styled-components": "^5.3.9", "styled-components": "^5.3.9",
"ts-jest": "^29.1.0", "ts-jest": "^29.1.0",
"ts-node": "^10.9.1", "ts-node": "^10.9.1",
"typescript": "~4.9.5", "typescript": "~5.0.4",
"webpack": "^5.78.0", "webpack": "^5.78.0",
"webpack-cli": "^5.0.1", "webpack-cli": "^5.0.1",
"webpack-dev-server": "^4.13.2" "webpack-dev-server": "^4.13.2"

View File

@ -41,7 +41,7 @@ export const exportStateMiddleware =
JSON.stringify( JSON.stringify(
{ {
payload: request.payload, payload: request.payload,
preloadedState: (request as ExportRequest).committedState, preloadedState: request.committedState,
}, },
null, null,
'\t' '\t'

View File

@ -64,7 +64,7 @@
"react": "^18.2.0", "react": "^18.2.0",
"redux": "^4.2.1", "redux": "^4.2.1",
"rimraf": "^5.0.0", "rimraf": "^5.0.0",
"typescript": "~4.9.5" "typescript": "~5.0.4"
}, },
"peerDependencies": { "peerDependencies": {
"@redux-devtools/core": "^3.13.1", "@redux-devtools/core": "^3.13.1",

View File

@ -93,6 +93,6 @@
"socketcluster-client": "^17.1.1", "socketcluster-client": "^17.1.1",
"supertest": "^6.3.3", "supertest": "^6.3.3",
"ts-jest": "^29.1.0", "ts-jest": "^29.1.0",
"typescript": "~4.9.5" "typescript": "~5.0.4"
} }
} }

View File

@ -67,7 +67,7 @@
"react": "^18.2.0", "react": "^18.2.0",
"redux": "^4.2.1", "redux": "^4.2.1",
"rimraf": "^5.0.0", "rimraf": "^5.0.0",
"typescript": "~4.9.5" "typescript": "~5.0.4"
}, },
"peerDependencies": { "peerDependencies": {
"@redux-devtools/core": "^3.13.1", "@redux-devtools/core": "^3.13.1",

View File

@ -45,7 +45,7 @@
"eslint-config-prettier": "^8.8.0", "eslint-config-prettier": "^8.8.0",
"redux": "^4.2.1", "redux": "^4.2.1",
"rimraf": "^5.0.0", "rimraf": "^5.0.0",
"typescript": "~4.9.5" "typescript": "~5.0.4"
}, },
"peerDependencies": { "peerDependencies": {
"redux": "^3.1.0 || ^4.0.0" "redux": "^3.1.0 || ^4.0.0"

View File

@ -51,7 +51,7 @@
"html-webpack-plugin": "^5.5.0", "html-webpack-plugin": "^5.5.0",
"style-loader": "^3.3.2", "style-loader": "^3.3.2",
"ts-node": "^10.9.1", "ts-node": "^10.9.1",
"typescript": "~4.9.5", "typescript": "~5.0.4",
"webpack": "^5.78.0", "webpack": "^5.78.0",
"webpack-cli": "^5.0.1", "webpack-cli": "^5.0.1",
"webpack-dev-server": "^4.13.2" "webpack-dev-server": "^4.13.2"

View File

@ -84,7 +84,7 @@
"redux": "^4.2.1", "redux": "^4.2.1",
"rimraf": "^5.0.0", "rimraf": "^5.0.0",
"ts-jest": "^29.1.0", "ts-jest": "^29.1.0",
"typescript": "~4.9.5" "typescript": "~5.0.4"
}, },
"peerDependencies": { "peerDependencies": {
"@redux-devtools/inspector-monitor": "^3.0.0", "@redux-devtools/inspector-monitor": "^3.0.0",

View File

@ -73,7 +73,7 @@
"redux": "^4.2.1", "redux": "^4.2.1",
"rimraf": "^5.0.0", "rimraf": "^5.0.0",
"ts-jest": "^29.1.0", "ts-jest": "^29.1.0",
"typescript": "~4.9.5" "typescript": "~5.0.4"
}, },
"peerDependencies": { "peerDependencies": {
"@redux-devtools/inspector-monitor": "^3.0.0", "@redux-devtools/inspector-monitor": "^3.0.0",

View File

@ -47,7 +47,7 @@
"fork-ts-checker-webpack-plugin": "^8.0.0", "fork-ts-checker-webpack-plugin": "^8.0.0",
"html-webpack-plugin": "^5.5.0", "html-webpack-plugin": "^5.5.0",
"ts-node": "^10.9.1", "ts-node": "^10.9.1",
"typescript": "~4.9.5", "typescript": "~5.0.4",
"webpack": "^5.78.0", "webpack": "^5.78.0",
"webpack-cli": "^5.0.1", "webpack-cli": "^5.0.1",
"webpack-dev-server": "^4.13.2" "webpack-dev-server": "^4.13.2"

View File

@ -78,7 +78,7 @@
"react": "^18.2.0", "react": "^18.2.0",
"redux": "^4.2.1", "redux": "^4.2.1",
"rimraf": "^5.0.0", "rimraf": "^5.0.0",
"typescript": "~4.9.5" "typescript": "~5.0.4"
}, },
"peerDependencies": { "peerDependencies": {
"@redux-devtools/core": "^3.13.1", "@redux-devtools/core": "^3.13.1",

View File

@ -6,10 +6,10 @@ function iterateToKey(obj: any, key: string | number) {
let idx = 0; let idx = 0;
for (const entry of obj) { for (const entry of obj) {
if (Array.isArray(entry)) { if (Array.isArray(entry)) {
if (entry[0] === key) return entry[1]; if (entry[0] === (key as string)) return entry[1];
} else { } else {
if (idx > key) return; if (idx > (key as number)) return;
if (idx === key) return entry; if (idx === (key as number)) return entry;
} }
idx++; idx++;
} }

View File

@ -64,7 +64,7 @@
"rimraf": "^5.0.0", "rimraf": "^5.0.0",
"rxjs": "^7.8.0", "rxjs": "^7.8.0",
"ts-jest": "^29.1.0", "ts-jest": "^29.1.0",
"typescript": "~4.9.5" "typescript": "~5.0.4"
}, },
"peerDependencies": { "peerDependencies": {
"redux": "^3.4.0 || ^4.0.0" "redux": "^3.4.0 || ^4.0.0"

View File

@ -69,7 +69,7 @@
"react": "^18.2.0", "react": "^18.2.0",
"redux": "^4.2.1", "redux": "^4.2.1",
"rimraf": "^5.0.0", "rimraf": "^5.0.0",
"typescript": "~4.9.5" "typescript": "~5.0.4"
}, },
"peerDependencies": { "peerDependencies": {
"@redux-devtools/core": "^3.13.1", "@redux-devtools/core": "^3.13.1",

View File

@ -66,7 +66,7 @@
"eslint-config-prettier": "^8.8.0", "eslint-config-prettier": "^8.8.0",
"redux": "^4.2.1", "redux": "^4.2.1",
"rimraf": "^5.0.0", "rimraf": "^5.0.0",
"typescript": "~4.9.5" "typescript": "~5.0.4"
}, },
"peerDependencies": { "peerDependencies": {
"redux": "^3.5.2 || ^4.0.0" "redux": "^3.5.2 || ^4.0.0"

View File

@ -54,7 +54,7 @@
"html-webpack-plugin": "^5.5.0", "html-webpack-plugin": "^5.5.0",
"style-loader": "^3.3.2", "style-loader": "^3.3.2",
"ts-node": "^10.9.1", "ts-node": "^10.9.1",
"typescript": "~4.9.5", "typescript": "~5.0.4",
"webpack": "^5.78.0", "webpack": "^5.78.0",
"webpack-cli": "^5.0.1", "webpack-cli": "^5.0.1",
"webpack-dev-server": "^4.13.2" "webpack-dev-server": "^4.13.2"

View File

@ -90,7 +90,7 @@
"redux": "^4.2.1", "redux": "^4.2.1",
"rimraf": "^5.0.0", "rimraf": "^5.0.0",
"ts-jest": "^29.1.0", "ts-jest": "^29.1.0",
"typescript": "~4.9.5" "typescript": "~5.0.4"
}, },
"peerDependencies": { "peerDependencies": {
"@redux-devtools/core": "^3.13.1", "@redux-devtools/core": "^3.13.1",

View File

@ -58,7 +58,7 @@
"jest": "^29.5.0", "jest": "^29.5.0",
"rimraf": "^5.0.0", "rimraf": "^5.0.0",
"ts-jest": "^29.1.0", "ts-jest": "^29.1.0",
"typescript": "~4.9.5" "typescript": "~5.0.4"
}, },
"peerDependencies": { "peerDependencies": {
"immutable": "^4.3.0" "immutable": "^4.3.0"

View File

@ -54,7 +54,7 @@
"html-webpack-plugin": "^5.5.0", "html-webpack-plugin": "^5.5.0",
"style-loader": "^3.3.2", "style-loader": "^3.3.2",
"ts-node": "^10.9.1", "ts-node": "^10.9.1",
"typescript": "~4.9.5", "typescript": "~5.0.4",
"webpack": "^5.78.0", "webpack": "^5.78.0",
"webpack-cli": "^5.0.1", "webpack-cli": "^5.0.1",
"webpack-dev-server": "^4.13.2" "webpack-dev-server": "^4.13.2"

View File

@ -58,7 +58,7 @@
"react": "^18.2.0", "react": "^18.2.0",
"redux": "^4.2.1", "redux": "^4.2.1",
"rimraf": "^5.0.0", "rimraf": "^5.0.0",
"typescript": "~4.9.5" "typescript": "~5.0.4"
}, },
"peerDependencies": { "peerDependencies": {
"@redux-devtools/core": "^3.13.1", "@redux-devtools/core": "^3.13.1",

View File

@ -102,7 +102,7 @@
"stylelint-config-styled-components": "^0.1.1", "stylelint-config-styled-components": "^0.1.1",
"stylelint-processor-styled-components": "^1.10.0", "stylelint-processor-styled-components": "^1.10.0",
"ts-jest": "^29.1.0", "ts-jest": "^29.1.0",
"typescript": "~4.9.5", "typescript": "~5.0.4",
"webpack": "^5.78.0" "webpack": "^5.78.0"
}, },
"peerDependencies": { "peerDependencies": {

View File

@ -58,7 +58,7 @@
"eslint": "^8.38.0", "eslint": "^8.38.0",
"eslint-config-prettier": "^8.8.0", "eslint-config-prettier": "^8.8.0",
"rimraf": "^5.0.0", "rimraf": "^5.0.0",
"typescript": "~4.9.5" "typescript": "~5.0.4"
}, },
"peerDependencies": { "peerDependencies": {
"@redux-devtools/core": "^3.13.1", "@redux-devtools/core": "^3.13.1",

View File

@ -50,7 +50,7 @@
"fork-ts-checker-webpack-plugin": "^8.0.0", "fork-ts-checker-webpack-plugin": "^8.0.0",
"html-webpack-plugin": "^5.5.0", "html-webpack-plugin": "^5.5.0",
"ts-node": "^10.9.1", "ts-node": "^10.9.1",
"typescript": "~4.9.5", "typescript": "~5.0.4",
"webpack": "^5.78.0", "webpack": "^5.78.0",
"webpack-cli": "^5.0.1", "webpack-cli": "^5.0.1",
"webpack-dev-server": "^4.13.2" "webpack-dev-server": "^4.13.2"

View File

@ -66,7 +66,7 @@
"html-webpack-plugin": "^5.5.0", "html-webpack-plugin": "^5.5.0",
"style-loader": "^3.3.2", "style-loader": "^3.3.2",
"ts-node": "^10.9.1", "ts-node": "^10.9.1",
"typescript": "~4.9.5", "typescript": "~5.0.4",
"webpack": "^5.78.0", "webpack": "^5.78.0",
"webpack-cli": "^5.0.1", "webpack-cli": "^5.0.1",
"webpack-dev-server": "^4.13.2" "webpack-dev-server": "^4.13.2"

View File

@ -73,7 +73,7 @@
"redux": "^4.2.1", "redux": "^4.2.1",
"rimraf": "^5.0.0", "rimraf": "^5.0.0",
"ts-jest": "^29.1.0", "ts-jest": "^29.1.0",
"typescript": "~4.9.5" "typescript": "~5.0.4"
}, },
"peerDependencies": { "peerDependencies": {
"react": "^0.14.9 || ^15.3.0 || ^16.0.0 || ^17.0.0 || ^18.0.0", "react": "^0.14.9 || ^15.3.0 || ^16.0.0 || ^17.0.0 || ^18.0.0",

File diff suppressed because it is too large Load Diff