chore(deps): update dependency typescript to ~5.1.6 (#1414)

* chore(deps): update dependency typescript to ~5.1.6

* Fix

* 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-07-12 18:07:28 -04:00 committed by GitHub
parent ded6be7683
commit 615c8a906f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
38 changed files with 294 additions and 292 deletions

View File

@ -89,7 +89,7 @@
"sinon-chrome": "^3.0.1",
"style-loader": "^3.3.3",
"ts-jest": "^29.1.1",
"typescript": "~5.0.4",
"typescript": "~5.1.6",
"webpack": "^5.88.1",
"webpack-cli": "^5.1.4"
}

View File

@ -13,7 +13,7 @@
"eslint-plugin-react-hooks": "^4.6.0",
"jest": "^29.6.1",
"prettier": "3.0.0",
"typescript": "~5.0.4",
"typescript": "~5.1.6",
"nx": "^16.5.1",
"@nrwl/nx-cloud": "^16.0.5"
},

View File

@ -42,7 +42,7 @@
"fork-ts-checker-webpack-plugin": "^8.0.0",
"html-webpack-plugin": "^5.5.3",
"ts-node": "^10.9.1",
"typescript": "~5.0.4",
"typescript": "~5.1.6",
"webpack": "^5.88.1",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.1"

View File

@ -60,6 +60,6 @@
"eslint": "^8.44.0",
"eslint-config-prettier": "^8.8.0",
"rimraf": "^5.0.1",
"typescript": "~5.0.4"
"typescript": "~5.1.6"
}
}

View File

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

View File

@ -60,6 +60,6 @@
"jest": "^29.6.1",
"rimraf": "^5.0.1",
"ts-jest": "^29.1.1",
"typescript": "~5.0.4"
"typescript": "~5.1.6"
}
}

View File

@ -66,6 +66,6 @@
"jest-environment-jsdom": "^29.6.1",
"rimraf": "^5.0.1",
"ts-jest": "^29.1.1",
"typescript": "~5.0.4"
"typescript": "~5.1.6"
}
}

View File

@ -38,7 +38,7 @@
"fork-ts-checker-webpack-plugin": "^8.0.0",
"html-webpack-plugin": "^5.5.3",
"ts-node": "^10.9.1",
"typescript": "~5.0.4",
"typescript": "~5.1.6",
"webpack": "^5.88.1",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.1"

View File

@ -70,7 +70,7 @@
"react-test-renderer": "^18.2.0",
"rimraf": "^5.0.1",
"ts-jest": "^29.1.1",
"typescript": "~5.0.4"
"typescript": "~5.1.6"
},
"peerDependencies": {
"@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",
"html-webpack-plugin": "^5.5.3",
"ts-node": "^10.9.1",
"typescript": "~5.0.4",
"typescript": "~5.1.6",
"webpack": "^5.88.1",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.1"

View File

@ -80,7 +80,7 @@
"rollup-plugin-typescript2": "^0.35.0",
"ts-jest": "^29.1.1",
"tslib": "^2.6.0",
"typescript": "~5.0.4"
"typescript": "~5.1.6"
},
"peerDependencies": {
"@types/react": "^16.8.0 || ^17.0.0 || ^18.0.0",

View File

@ -110,7 +110,7 @@
"styled-components": "^5.3.11",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "~5.0.4",
"typescript": "~5.1.6",
"webpack": "^5.88.1",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.1"

View File

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

View File

@ -93,6 +93,6 @@
"socketcluster-client": "^17.2.2",
"supertest": "^6.3.3",
"ts-jest": "^29.1.1",
"typescript": "~5.0.4"
"typescript": "~5.1.6"
}
}

View File

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

View File

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

View File

@ -51,7 +51,7 @@
"html-webpack-plugin": "^5.5.3",
"style-loader": "^3.3.3",
"ts-node": "^10.9.1",
"typescript": "~5.0.4",
"typescript": "~5.1.6",
"webpack": "^5.88.1",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.1"

View File

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

View File

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

View File

@ -47,7 +47,7 @@
"fork-ts-checker-webpack-plugin": "^8.0.0",
"html-webpack-plugin": "^5.5.3",
"ts-node": "^10.9.1",
"typescript": "~5.0.4",
"typescript": "~5.1.6",
"webpack": "^5.88.1",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.1"

View File

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

View File

@ -64,7 +64,7 @@
"rimraf": "^5.0.1",
"rxjs": "^7.8.1",
"ts-jest": "^29.1.1",
"typescript": "~5.0.4"
"typescript": "~5.1.6"
},
"peerDependencies": {
"redux": "^3.4.0 || ^4.0.0"

View File

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

View File

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

View File

@ -54,7 +54,7 @@
"html-webpack-plugin": "^5.5.3",
"style-loader": "^3.3.3",
"ts-node": "^10.9.1",
"typescript": "~5.0.4",
"typescript": "~5.1.6",
"webpack": "^5.88.1",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.1"

View File

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

View File

@ -58,7 +58,7 @@
"jest": "^29.6.1",
"rimraf": "^5.0.1",
"ts-jest": "^29.1.1",
"typescript": "~5.0.4"
"typescript": "~5.1.6"
},
"peerDependencies": {
"immutable": "^4.3.1"

View File

@ -54,7 +54,7 @@
"html-webpack-plugin": "^5.5.3",
"style-loader": "^3.3.3",
"ts-node": "^10.9.1",
"typescript": "~5.0.4",
"typescript": "~5.1.6",
"webpack": "^5.88.1",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.1"

View File

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

View File

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

View File

@ -144,8 +144,8 @@ export default class TabsHeader<P> extends Component<Props<P>, State> {
tabsRef!.getBoundingClientRect().width + this.hiddenTabsWidth[0] <
tabsWrapperRef!.getBoundingClientRect().width
) {
hiddenTab = hiddenTabs.shift();
visibleTabs.splice(Number(hiddenTab!.key), 0, hiddenTab!);
hiddenTab = hiddenTabs.shift()!;
visibleTabs.splice(Number(hiddenTab.key), 0, hiddenTab);
i++;
}
} else {
@ -173,8 +173,8 @@ export default class TabsHeader<P> extends Component<Props<P>, State> {
tabButtons[i].getBoundingClientRect().right + this.hiddenTabsWidth[0] <
tabsWrapperRight - this.iconWidth
) {
hiddenTab = hiddenTabs.shift();
visibleTabs.splice(Number(hiddenTab!.key), 0, hiddenTab!);
hiddenTab = hiddenTabs.shift()!;
visibleTabs.splice(Number(hiddenTab.key), 0, hiddenTab);
this.hiddenTabsWidth.shift();
i++;
}

View File

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

View File

@ -246,6 +246,7 @@ export function getStackTrace(
typeof Error.stackTraceLimit !== 'number' ||
Error.stackTraceLimit > traceLimit
) {
// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion
const frames = stack!.split('\n');
if (frames.length > traceLimit) {
stack = frames

View File

@ -50,7 +50,7 @@
"fork-ts-checker-webpack-plugin": "^8.0.0",
"html-webpack-plugin": "^5.5.3",
"ts-node": "^10.9.1",
"typescript": "~5.0.4",
"typescript": "~5.1.6",
"webpack": "^5.88.1",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.1"

View File

@ -66,7 +66,7 @@
"html-webpack-plugin": "^5.5.3",
"style-loader": "^3.3.3",
"ts-node": "^10.9.1",
"typescript": "~5.0.4",
"typescript": "~5.1.6",
"webpack": "^5.88.1",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.1"

View File

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

View File

@ -89,7 +89,7 @@ export default function createDevTools<
constructor(
props: Props<S, A, MonitorState, MonitorAction>,
context: { store?: EnhancedStore<S, A, MonitorState> },
context?: { store?: EnhancedStore<S, A, MonitorState> },
) {
super(props, context);
@ -100,12 +100,12 @@ export default function createDevTools<
return;
}
if (!props.store && !context.store) {
if (!props.store && !context?.store) {
logError('NoStore');
return;
}
if (context.store) {
if (context?.store) {
this.liftedStore = context.store.liftedStore;
} else {
this.liftedStore = props.store!.liftedStore;

File diff suppressed because it is too large Load Diff