Skip to content

Commit

Permalink
chore(deps): update dependency typescript to ~5.1.6 (#1414)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
renovate[bot] and Methuselah96 authored Jul 12, 2023
1 parent ded6be7 commit 615c8a9
Show file tree
Hide file tree
Showing 38 changed files with 294 additions and 292 deletions.
2 changes: 1 addition & 1 deletion extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/d3-state-visualizer/examples/tree/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packages/d3-state-visualizer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
2 changes: 1 addition & 1 deletion packages/d3tooltip/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/map2tree/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
2 changes: 1 addition & 1 deletion packages/react-base16-styling/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
2 changes: 1 addition & 1 deletion packages/react-dock/demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packages/react-dock/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-json-tree/examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packages/react-json-tree/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/redux-devtools-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packages/redux-devtools-chart-monitor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/redux-devtools-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
2 changes: 1 addition & 1 deletion packages/redux-devtools-dock-monitor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/redux-devtools-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packages/redux-devtools-inspector-monitor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/redux-devtools-instrument/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packages/redux-devtools-log-monitor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/redux-devtools-remote/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packages/redux-devtools-rtk-query-monitor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/redux-devtools-serialize/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packages/redux-devtools-slider-monitor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/redux-devtools-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
8 changes: 4 additions & 4 deletions packages/redux-devtools-ui/src/Tabs/TabsHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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++;
}
Expand Down
2 changes: 1 addition & 1 deletion packages/redux-devtools-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions packages/redux-devtools-utils/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/redux-devtools/examples/counter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packages/redux-devtools/examples/todomvc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packages/redux-devtools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
6 changes: 3 additions & 3 deletions packages/redux-devtools/src/createDevTools.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand All @@ -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;
Expand Down
Loading

0 comments on commit 615c8a9

Please sign in to comment.