Skip to content

Commit

Permalink
chore: deps update (ts 5.0.x) (#602)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbismut committed May 21, 2023
1 parent 957aee8 commit 51c6cfc
Show file tree
Hide file tree
Showing 4 changed files with 4,114 additions and 4,731 deletions.
5 changes: 5 additions & 0 deletions .changeset/tall-snails-nail.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@use-gesture/core': patch
---

chore: upgrade to typescript 5.0
32 changes: 16 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,41 +73,41 @@
]
},
"devDependencies": {
"@babel/core": "^7.20.12",
"@babel/plugin-syntax-flow": "^7.18.6",
"@babel/plugin-transform-react-jsx": "^7.20.13",
"@babel/preset-env": "^7.20.2",
"@babel/core": "^7.21.8",
"@babel/plugin-syntax-flow": "^7.21.4",
"@babel/plugin-transform-react-jsx": "^7.21.5",
"@babel/preset-env": "^7.21.5",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@babel/preset-typescript": "^7.21.5",
"@changesets/cli": "^2.26.1",
"@preconstruct/cli": "^2.4.1",
"@preconstruct/cli": "^2.7.0",
"@size-limit/preset-small-lib": "^7.0.8",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.2.0",
"@types/jest": "^27.5.1",
"@types/node": "^18.11.18",
"@types/react": "^18.0.27",
"@types/react-dom": "^18.0.10",
"@typescript-eslint/eslint-plugin": "^5.49.0",
"@typescript-eslint/parser": "^5.49.0",
"@types/node": "^20.2.1",
"@types/react": "^18.2.6",
"@types/react-dom": "^18.2.4",
"@typescript-eslint/eslint-plugin": "^5.59.6",
"@typescript-eslint/parser": "^5.59.6",
"babel-jest": "^29.4.1",
"eslint": "^8.32.0",
"eslint": "^8.41.0",
"eslint-config-prettier": "^8.6.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-jest-dom": "^4.0.3",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-testing-library": "^5.10.0",
"husky": "^8.0.3",
"jest": "^27.5.1",
"pnpm": "^7.30.3",
"pnpm": "^8.5.1",
"postinstall-postinstall": "^2.1.0",
"prettier": "^2.8.3",
"prettier": "^2.8.8",
"pretty-quick": "^3.1.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"size-limit": "^7.0.8",
"tsd": "^0.25.0",
"typescript": "^4.9.4"
"tsd": "^0.28.1",
"typescript": "^5.0.4"
},
"lint-staged": {
"*.js": "eslint --cache --fix",
Expand Down
1 change: 0 additions & 1 deletion packages/core/src/engines/Engine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,6 @@ export abstract class Engine<Key extends GestureKey> {

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

0 comments on commit 51c6cfc

Please sign in to comment.