chore(deps): bump dependencies
Notice: after bumping up to three 0.180.0 with @types/three 0.180.0,
Argument of type 'Group<Object3DEventMap>' is not assignable to parameter of type 'Object3D<Object3DEventMap>'.
Type 'Group<Object3DEventMap>' is missing the following properties from type 'Object3D<Object3DEventMap>': setPointerCapture, releasePointerCapture, hasPointerCapture
Currently, AFAIK, clearly, three, and @types/three doesn't have the setPointerCapture, releasePointerCapture, hasPointerCapture method / getters
The only place I found on GitHub, points out that https://github.com/pmndrs/xr/blob/456aa380206e93888cd3a5741a1534e672ae3106/packages/pointer-events/src/pointer.ts#L69-L100 declares
```js
declare module 'three' {
interface Object3D {
setPointerCapture(pointerId: number): void
releasePointerCapture(pointerId: number): void
hasPointerCapture(pointerId: number): boolean
intersectChildren?: boolean
interactableDescendants?: Array<Object3D>
/**
* @deprecated
*/
ancestorsHaveListeners?: boolean
ancestorsHavePointerListeners?: boolean
ancestorsHaveWheelListeners?: boolean
}
}
```
And in @tresjs/core v5, it uses the @pmndrs/pointer-events internally.
Somehow the Object3D from @types/three and the one augmented by @pmndrs/pointer-events are not compatible.
`new Object3D() as unknown as Object3D` works as workaround here but there should be no need to do such a thing since these two Object3D should be the same.
With no updates from `typescript`, I assume there is no breaking change or regression from `typescript` side.
This commit is contained in:
+22
-22
@@ -3,7 +3,7 @@
|
||||
"type": "module",
|
||||
"version": "0.7.2-beta.3",
|
||||
"private": true,
|
||||
"packageManager": "pnpm@10.15.1",
|
||||
"packageManager": "pnpm@10.17.1",
|
||||
"description": "LLM powered virtual character",
|
||||
"author": {
|
||||
"name": "Moeru AI Project AIRI Team",
|
||||
@@ -38,38 +38,38 @@
|
||||
"nolyfill": "pnpm dlx nolyfill"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@antfu/eslint-config": "^5.2.1",
|
||||
"@antfu/ni": "^25.0.0",
|
||||
"@antfu/eslint-config": "^5.4.1",
|
||||
"@antfu/ni": "^26.0.1",
|
||||
"@arethetypeswrong/core": "^0.18.2",
|
||||
"@electron-toolkit/eslint-config-ts": "^3.0.0",
|
||||
"@iconify/utils": "^3.0.1",
|
||||
"@electron-toolkit/eslint-config-ts": "^3.1.0",
|
||||
"@iconify/utils": "^3.0.2",
|
||||
"@proj-airi/unocss-preset-chromatic": "^1.0.0",
|
||||
"@types/node": "^24.3.0",
|
||||
"@unocss/eslint-config": "^66.5.0",
|
||||
"@unocss/eslint-plugin": "^66.5.0",
|
||||
"@unocss/preset-mini": "^66.5.0",
|
||||
"@unocss/preset-web-fonts": "^66.5.0",
|
||||
"@types/node": "^24.5.2",
|
||||
"@unocss/eslint-config": "^66.5.2",
|
||||
"@unocss/eslint-plugin": "^66.5.2",
|
||||
"@unocss/preset-mini": "^66.5.2",
|
||||
"@unocss/preset-web-fonts": "^66.5.2",
|
||||
"@vitest/coverage-v8": "^3.2.4",
|
||||
"bumpp": "^10.2.3",
|
||||
"eslint": "^9.34.0",
|
||||
"eslint": "^9.36.0",
|
||||
"execa": "^9.6.0",
|
||||
"lint-staged": "^16.1.6",
|
||||
"rollup": "^4.50.0",
|
||||
"lint-staged": "^16.2.1",
|
||||
"rollup": "^4.52.2",
|
||||
"simple-git-hooks": "^2.13.1",
|
||||
"smol-toml": "^1.4.2",
|
||||
"taze": "^19.4.0",
|
||||
"tsdown": "^0.13.5",
|
||||
"tsx": "^4.20.5",
|
||||
"turbo": "^2.5.6",
|
||||
"taze": "^19.7.0",
|
||||
"tsdown": "^0.15.4",
|
||||
"tsx": "^4.20.6",
|
||||
"turbo": "^2.5.8",
|
||||
"typescript": "~5.9.2",
|
||||
"uncrypto": "^0.1.3",
|
||||
"unocss": "^66.5.0",
|
||||
"unocss": "^66.5.2",
|
||||
"unocss-preset-scrollbar": "^3.2.0",
|
||||
"unplugin-lightningcss": "^0.4.2",
|
||||
"unplugin-raw": "^0.6.1",
|
||||
"unplugin-unused": "^0.5.2",
|
||||
"unplugin-lightningcss": "^0.4.3",
|
||||
"unplugin-raw": "^0.6.3",
|
||||
"unplugin-unused": "^0.5.3",
|
||||
"unplugin-vue": "^7.0.1",
|
||||
"vite": "^7.1.4",
|
||||
"vite": "^7.1.7",
|
||||
"vite-plugin-inspect": "^11.3.3",
|
||||
"vitest": "^3.2.4"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user