Skip to content

Commit 51c6cfc

Browse files
authoredMay 21, 2023
chore: deps update (ts 5.0.x) (#602)
1 parent 957aee8 commit 51c6cfc

File tree

4 files changed

+4114
-4731
lines changed

4 files changed

+4114
-4731
lines changed
 

‎.changeset/tall-snails-nail.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@use-gesture/core': patch
3+
---
4+
5+
chore: upgrade to typescript 5.0

‎package.json

+16-16
Original file line numberDiff line numberDiff line change
@@ -73,41 +73,41 @@
7373
]
7474
},
7575
"devDependencies": {
76-
"@babel/core": "^7.20.12",
77-
"@babel/plugin-syntax-flow": "^7.18.6",
78-
"@babel/plugin-transform-react-jsx": "^7.20.13",
79-
"@babel/preset-env": "^7.20.2",
76+
"@babel/core": "^7.21.8",
77+
"@babel/plugin-syntax-flow": "^7.21.4",
78+
"@babel/plugin-transform-react-jsx": "^7.21.5",
79+
"@babel/preset-env": "^7.21.5",
8080
"@babel/preset-react": "^7.18.6",
81-
"@babel/preset-typescript": "^7.18.6",
81+
"@babel/preset-typescript": "^7.21.5",
8282
"@changesets/cli": "^2.26.1",
83-
"@preconstruct/cli": "^2.4.1",
83+
"@preconstruct/cli": "^2.7.0",
8484
"@size-limit/preset-small-lib": "^7.0.8",
8585
"@testing-library/jest-dom": "^5.16.5",
8686
"@testing-library/react": "^13.2.0",
8787
"@types/jest": "^27.5.1",
88-
"@types/node": "^18.11.18",
89-
"@types/react": "^18.0.27",
90-
"@types/react-dom": "^18.0.10",
91-
"@typescript-eslint/eslint-plugin": "^5.49.0",
92-
"@typescript-eslint/parser": "^5.49.0",
88+
"@types/node": "^20.2.1",
89+
"@types/react": "^18.2.6",
90+
"@types/react-dom": "^18.2.4",
91+
"@typescript-eslint/eslint-plugin": "^5.59.6",
92+
"@typescript-eslint/parser": "^5.59.6",
9393
"babel-jest": "^29.4.1",
94-
"eslint": "^8.32.0",
94+
"eslint": "^8.41.0",
9595
"eslint-config-prettier": "^8.6.0",
9696
"eslint-config-react-app": "^7.0.1",
9797
"eslint-plugin-jest-dom": "^4.0.3",
9898
"eslint-plugin-react-hooks": "^4.6.0",
9999
"eslint-plugin-testing-library": "^5.10.0",
100100
"husky": "^8.0.3",
101101
"jest": "^27.5.1",
102-
"pnpm": "^7.30.3",
102+
"pnpm": "^8.5.1",
103103
"postinstall-postinstall": "^2.1.0",
104-
"prettier": "^2.8.3",
104+
"prettier": "^2.8.8",
105105
"pretty-quick": "^3.1.3",
106106
"react": "^18.2.0",
107107
"react-dom": "^18.2.0",
108108
"size-limit": "^7.0.8",
109-
"tsd": "^0.25.0",
110-
"typescript": "^4.9.4"
109+
"tsd": "^0.28.1",
110+
"typescript": "^5.0.4"
111111
},
112112
"lint-staged": {
113113
"*.js": "eslint --cache --fix",

‎packages/core/src/engines/Engine.ts

-1
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,6 @@ export abstract class Engine<Key extends GestureKey> {
303303

304304
if (event) {
305305
if (state.first) {
306-
// @ts-expect-error (4.9 regression https://github.com/microsoft/TypeScript/issues/51501)
307306
if ('bounds' in config) state._bounds = call(config.bounds, state)
308307
if (this.setup) this.setup()
309308
}

‎pnpm-lock.yaml

+4,093-4,714
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
Please sign in to comment.