diff --git a/typescript/package-lock.json b/typescript/package-lock.json index 36c1fc07d6..1999250739 100644 --- a/typescript/package-lock.json +++ b/typescript/package-lock.json @@ -28,8 +28,8 @@ "@storybook/test": "^8.5.0", "@storybook/test-runner": "^0.21.0", "@testing-library/jest-dom": "^6.6.3", - "@testing-library/react": "^16.0.1", - "@testing-library/user-event": "^14.5.2", + "@testing-library/react": "^16.2.0", + "@testing-library/user-event": "^14.6.0", "@theunderscorer/nx-semantic-release": "^2.12.0", "@types/convert-units": "^2.3.11", "@types/d3": "^7.4.3", @@ -43,8 +43,8 @@ "@types/react-redux": "^7.1.34", "@types/uuid": "^10.0.0", "@types/workerpool": "^6.4.7", - "@typescript-eslint/eslint-plugin": "^8.16.0", - "@typescript-eslint/parser": "^8.16.0", + "@typescript-eslint/eslint-plugin": "^8.21.0", + "@typescript-eslint/parser": "^8.21.0", "assert": "^2.0.0", "babel-jest": "^29.6.0", "copyfiles": "^2.0.0", @@ -56,7 +56,7 @@ "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.31.0", "eslint-plugin-mdx": "^3.1.5", - "eslint-plugin-prettier": "^5.2.2", + "eslint-plugin-prettier": "^5.2.3", "eslint-plugin-react": "^7.37.4", "eslint-plugin-react-hooks": "^5.1.0", "file-loader": "^6.2.0", @@ -2210,6 +2210,7 @@ "version": "9.0.40", "resolved": "https://registry.npmjs.org/@deck.gl/aggregation-layers/-/aggregation-layers-9.0.40.tgz", "integrity": "sha512-tZ3NEDVlZnCnwbxdoB+qB184gSricnbcOZwkPHqNWk+2wadyd6Q0j9V9aZ9V6M5BGDn86DrOKPFygwmUl/jkwA==", + "license": "MIT", "dependencies": { "@luma.gl/constants": "~9.0.27", "@luma.gl/shadertools": "~9.0.27", @@ -2227,6 +2228,7 @@ "version": "9.0.40", "resolved": "https://registry.npmjs.org/@deck.gl/core/-/core-9.0.40.tgz", "integrity": "sha512-NfBXRTuiqhYE42dOz73XnKaO7YZH8qsR1/9U/6lSV/XKnfrFsbhhRUePz3Ik6S3GbVpOoqCDuTFf0i3Tj+pxyw==", + "license": "MIT", "dependencies": { "@loaders.gl/core": "^4.2.0", "@loaders.gl/images": "^4.2.0", @@ -2250,6 +2252,7 @@ "version": "9.0.40", "resolved": "https://registry.npmjs.org/@deck.gl/extensions/-/extensions-9.0.40.tgz", "integrity": "sha512-1lESbg4NLkXxonO5f6aEX9a1DP4d8Vd+YLz9O4SwBJeZQZSeo4d3iJuJPL3MyA4thqdaA1Q9Vi8gtD9Mru6asg==", + "license": "MIT", "dependencies": { "@luma.gl/constants": "~9.0.27", "@luma.gl/shadertools": "~9.0.27", @@ -2265,6 +2268,7 @@ "version": "9.0.40", "resolved": "https://registry.npmjs.org/@deck.gl/geo-layers/-/geo-layers-9.0.40.tgz", "integrity": "sha512-kIxryoyWzicqLvAImtuUSX7NEntSdMIjCq0DoDdvSfhE37R0FxDRc5Vse5fjg9/1nNshw7mEcD2KxUS8MI8ypA==", + "license": "MIT", "dependencies": { "@loaders.gl/3d-tiles": "^4.2.0", "@loaders.gl/gis": "^4.2.0", @@ -2297,6 +2301,7 @@ "version": "9.0.40", "resolved": "https://registry.npmjs.org/@deck.gl/json/-/json-9.0.40.tgz", "integrity": "sha512-GAkENkzNPjEcHOR2xZJkgvzDWlqRhaU2Um5rmSdvm2FVYlfEpIWkfIWzroT5YrVOJ8nGC4pOYBXo0SLyNOwM9Q==", + "license": "MIT", "dependencies": { "jsep": "^0.3.0" }, @@ -2308,6 +2313,7 @@ "version": "9.0.40", "resolved": "https://registry.npmjs.org/@deck.gl/layers/-/layers-9.0.40.tgz", "integrity": "sha512-7emTkPLVWeVuV5VPBTmHDJegkGH1i76GuvhHNXikper/Zwljf9QVUacPqk3or4lHBCzzlkeccCsRmTd3l+MBYQ==", + "license": "MIT", "dependencies": { "@loaders.gl/images": "^4.2.0", "@loaders.gl/schema": "^4.2.0", @@ -2328,6 +2334,7 @@ "version": "9.0.40", "resolved": "https://registry.npmjs.org/@deck.gl/mesh-layers/-/mesh-layers-9.0.40.tgz", "integrity": "sha512-aCYnxfXmTrod+YMC6cHN4fP/OBihkZi+hgllJkBDiKkFr83cktJJGfjruHYYyQQuBKUPI1J2LP6aUD5/vXO2MA==", + "license": "MIT", "dependencies": { "@loaders.gl/gltf": "^4.2.0", "@luma.gl/gltf": "~9.0.27", @@ -2343,6 +2350,7 @@ "version": "9.0.40", "resolved": "https://registry.npmjs.org/@deck.gl/react/-/react-9.0.40.tgz", "integrity": "sha512-NiLgIMbgcsukDVKBNwyoE4e6Xtb43uR1WFSpfI2ZcL85BJMfzy7YWsSjJCN5jTdovMv7b9jkNxWWrKY702x3Tg==", + "license": "MIT", "peerDependencies": { "@deck.gl/core": "^9.0.0", "react": ">=16.3.0", @@ -7837,6 +7845,20 @@ "yarn": ">=1" } }, + "node_modules/@storybook/test/node_modules/@testing-library/user-event": { + "version": "14.5.2", + "resolved": "https://registry.npmjs.org/@testing-library/user-event/-/user-event-14.5.2.tgz", + "integrity": "sha512-YAh82Wh4TIrxYLmfGcixwD18oIjyC1pFQC2Y01F2lzV2HTMiYrI0nze0FD0ocB//CKS/7jIUgae+adPqxK5yCQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12", + "npm": ">=6" + }, + "peerDependencies": { + "@testing-library/dom": ">=7.21.4" + } + }, "node_modules/@storybook/test/node_modules/ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", @@ -8335,10 +8357,11 @@ } }, "node_modules/@testing-library/react": { - "version": "16.0.1", - "resolved": "https://registry.npmjs.org/@testing-library/react/-/react-16.0.1.tgz", - "integrity": "sha512-dSmwJVtJXmku+iocRhWOUFbrERC76TX2Mnf0ATODz8brzAZrMBbzLwQixlBSanZxR6LddK3eiwpSFZgDET1URg==", + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/@testing-library/react/-/react-16.2.0.tgz", + "integrity": "sha512-2cSskAvA1QNtKc8Y9VJQRv0tm3hLVgxRGDB+KYhIaPQJ1I+RHbhIXcM+zClKXzMes/wshsMVzf4B9vS4IZpqDQ==", "dev": true, + "license": "MIT", "dependencies": { "@babel/runtime": "^7.12.5" }, @@ -8347,10 +8370,10 @@ }, "peerDependencies": { "@testing-library/dom": "^10.0.0", - "@types/react": "^18.0.0", - "@types/react-dom": "^18.0.0", - "react": "^18.0.0", - "react-dom": "^18.0.0" + "@types/react": "^18.0.0 || ^19.0.0", + "@types/react-dom": "^18.0.0 || ^19.0.0", + "react": "^18.0.0 || ^19.0.0", + "react-dom": "^18.0.0 || ^19.0.0" }, "peerDependenciesMeta": { "@types/react": { @@ -8362,10 +8385,11 @@ } }, "node_modules/@testing-library/user-event": { - "version": "14.5.2", - "resolved": "https://registry.npmjs.org/@testing-library/user-event/-/user-event-14.5.2.tgz", - "integrity": "sha512-YAh82Wh4TIrxYLmfGcixwD18oIjyC1pFQC2Y01F2lzV2HTMiYrI0nze0FD0ocB//CKS/7jIUgae+adPqxK5yCQ==", + "version": "14.6.0", + "resolved": "https://registry.npmjs.org/@testing-library/user-event/-/user-event-14.6.0.tgz", + "integrity": "sha512-+jsfK7kVJbqnCYtLTln8Ja/NmVrZRwBJHmHR9IxIVccMWSOZ6Oy0FkDJNeyVu4QSpMNmRfy10Xb76ObRDlWWBQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=12", "npm": ">=6" @@ -10409,20 +10433,21 @@ } }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.16.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.16.0.tgz", - "integrity": "sha512-5YTHKV8MYlyMI6BaEG7crQ9BhSc8RxzshOReKwZwRWN0+XvvTOm+L/UYLCYxFpfwYuAAqhxiq4yae0CMFwbL7Q==", + "version": "8.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.21.0.tgz", + "integrity": "sha512-eTH+UOR4I7WbdQnG4Z48ebIA6Bgi7WO8HvFEneeYBxG8qCOYgTOFPSg6ek9ITIDvGjDQzWHcoWHCDO2biByNzA==", "dev": true, + "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.16.0", - "@typescript-eslint/type-utils": "8.16.0", - "@typescript-eslint/utils": "8.16.0", - "@typescript-eslint/visitor-keys": "8.16.0", + "@typescript-eslint/scope-manager": "8.21.0", + "@typescript-eslint/type-utils": "8.21.0", + "@typescript-eslint/utils": "8.21.0", + "@typescript-eslint/visitor-keys": "8.21.0", "graphemer": "^1.4.0", "ignore": "^5.3.1", "natural-compare": "^1.4.0", - "ts-api-utils": "^1.3.0" + "ts-api-utils": "^2.0.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -10433,24 +10458,21 @@ }, "peerDependencies": { "@typescript-eslint/parser": "^8.0.0 || ^8.0.0-alpha.0", - "eslint": "^8.57.0 || ^9.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } + "eslint": "^8.57.0 || ^9.0.0", + "typescript": ">=4.8.4 <5.8.0" } }, "node_modules/@typescript-eslint/parser": { - "version": "8.16.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.16.0.tgz", - "integrity": "sha512-D7DbgGFtsqIPIFMPJwCad9Gfi/hC0PWErRRHFnaCWoEDYi5tQUDiJCTmGUbBiLzjqAck4KcXt9Ayj0CNlIrF+w==", + "version": "8.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.21.0.tgz", + "integrity": "sha512-Wy+/sdEH9kI3w9civgACwabHbKl+qIOu0uFZ9IMKzX3Jpv9og0ZBJrZExGrPpFAY7rWsXuxs5e7CPPP17A4eYA==", "dev": true, + "license": "MIT", "dependencies": { - "@typescript-eslint/scope-manager": "8.16.0", - "@typescript-eslint/types": "8.16.0", - "@typescript-eslint/typescript-estree": "8.16.0", - "@typescript-eslint/visitor-keys": "8.16.0", + "@typescript-eslint/scope-manager": "8.21.0", + "@typescript-eslint/types": "8.21.0", + "@typescript-eslint/typescript-estree": "8.21.0", + "@typescript-eslint/visitor-keys": "8.21.0", "debug": "^4.3.4" }, "engines": { @@ -10461,22 +10483,19 @@ "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "eslint": "^8.57.0 || ^9.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } + "eslint": "^8.57.0 || ^9.0.0", + "typescript": ">=4.8.4 <5.8.0" } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "8.16.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.16.0.tgz", - "integrity": "sha512-mwsZWubQvBki2t5565uxF0EYvG+FwdFb8bMtDuGQLdCCnGPrDEDvm1gtfynuKlnpzeBRqdFCkMf9jg1fnAK8sg==", + "version": "8.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.21.0.tgz", + "integrity": "sha512-G3IBKz0/0IPfdeGRMbp+4rbjfSSdnGkXsM/pFZA8zM9t9klXDnB/YnKOBQ0GoPmoROa4bCq2NeHgJa5ydsQ4mA==", "dev": true, + "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.16.0", - "@typescript-eslint/visitor-keys": "8.16.0" + "@typescript-eslint/types": "8.21.0", + "@typescript-eslint/visitor-keys": "8.21.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -10487,15 +10506,16 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.16.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.16.0.tgz", - "integrity": "sha512-IqZHGG+g1XCWX9NyqnI/0CX5LL8/18awQqmkZSl2ynn8F76j579dByc0jhfVSnSnhf7zv76mKBQv9HQFKvDCgg==", + "version": "8.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.21.0.tgz", + "integrity": "sha512-95OsL6J2BtzoBxHicoXHxgk3z+9P3BEcQTpBKriqiYzLKnM2DeSqs+sndMKdamU8FosiadQFT3D+BSL9EKnAJQ==", "dev": true, + "license": "MIT", "dependencies": { - "@typescript-eslint/typescript-estree": "8.16.0", - "@typescript-eslint/utils": "8.16.0", + "@typescript-eslint/typescript-estree": "8.21.0", + "@typescript-eslint/utils": "8.21.0", "debug": "^4.3.4", - "ts-api-utils": "^1.3.0" + "ts-api-utils": "^2.0.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -10505,19 +10525,16 @@ "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "eslint": "^8.57.0 || ^9.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } + "eslint": "^8.57.0 || ^9.0.0", + "typescript": ">=4.8.4 <5.8.0" } }, "node_modules/@typescript-eslint/types": { - "version": "8.16.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.16.0.tgz", - "integrity": "sha512-NzrHj6thBAOSE4d9bsuRNMvk+BvaQvmY4dDglgkgGC0EW/tB3Kelnp3tAKH87GEwzoxgeQn9fNGRyFJM/xd+GQ==", + "version": "8.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.21.0.tgz", + "integrity": "sha512-PAL6LUuQwotLW2a8VsySDBwYMm129vFm4tMVlylzdoTybTHaAi0oBp7Ac6LhSrHHOdLM3efH+nAR6hAWoMF89A==", "dev": true, + "license": "MIT", "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, @@ -10527,19 +10544,20 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "8.16.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.16.0.tgz", - "integrity": "sha512-E2+9IzzXMc1iaBy9zmo+UYvluE3TW7bCGWSF41hVWUE01o8nzr1rvOQYSxelxr6StUvRcTMe633eY8mXASMaNw==", + "version": "8.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.21.0.tgz", + "integrity": "sha512-x+aeKh/AjAArSauz0GiQZsjT8ciadNMHdkUSwBB9Z6PrKc/4knM4g3UfHml6oDJmKC88a6//cdxnO/+P2LkMcg==", "dev": true, + "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.16.0", - "@typescript-eslint/visitor-keys": "8.16.0", + "@typescript-eslint/types": "8.21.0", + "@typescript-eslint/visitor-keys": "8.21.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", "minimatch": "^9.0.4", "semver": "^7.6.0", - "ts-api-utils": "^1.3.0" + "ts-api-utils": "^2.0.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -10548,10 +10566,8 @@ "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } + "peerDependencies": { + "typescript": ">=4.8.4 <5.8.0" } }, "node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": { @@ -10559,6 +10575,7 @@ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", "dev": true, + "license": "MIT", "dependencies": { "balanced-match": "^1.0.0" } @@ -10568,6 +10585,7 @@ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", "dev": true, + "license": "ISC", "dependencies": { "brace-expansion": "^2.0.1" }, @@ -10583,6 +10601,7 @@ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", "dev": true, + "license": "ISC", "bin": { "semver": "bin/semver.js" }, @@ -10591,15 +10610,16 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "8.16.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.16.0.tgz", - "integrity": "sha512-C1zRy/mOL8Pj157GiX4kaw7iyRLKfJXBR3L82hk5kS/GyHcOFmy4YUq/zfZti72I9wnuQtA/+xzft4wCC8PJdA==", + "version": "8.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.21.0.tgz", + "integrity": "sha512-xcXBfcq0Kaxgj7dwejMbFyq7IOHgpNMtVuDveK7w3ZGwG9owKzhALVwKpTF2yrZmEwl9SWdetf3fxNzJQaVuxw==", "dev": true, + "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.16.0", - "@typescript-eslint/types": "8.16.0", - "@typescript-eslint/typescript-estree": "8.16.0" + "@typescript-eslint/scope-manager": "8.21.0", + "@typescript-eslint/types": "8.21.0", + "@typescript-eslint/typescript-estree": "8.21.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -10609,21 +10629,18 @@ "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "eslint": "^8.57.0 || ^9.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } + "eslint": "^8.57.0 || ^9.0.0", + "typescript": ">=4.8.4 <5.8.0" } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "8.16.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.16.0.tgz", - "integrity": "sha512-pq19gbaMOmFE3CbL0ZB8J8BFCo2ckfHBfaIsaOZgBIF4EoISJIdLX5xRhd0FGB0LlHReNRuzoJoMGpTjq8F2CQ==", + "version": "8.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.21.0.tgz", + "integrity": "sha512-BkLMNpdV6prozk8LlyK/SOoWLmUFi+ZD+pcqti9ILCbVvHGk1ui1g4jJOc2WDLaeExz2qWwojxlPce5PljcT3w==", "dev": true, + "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.16.0", + "@typescript-eslint/types": "8.21.0", "eslint-visitor-keys": "^4.2.0" }, "engines": { @@ -10639,6 +10656,7 @@ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz", "integrity": "sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==", "dev": true, + "license": "Apache-2.0", "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, @@ -15638,9 +15656,9 @@ } }, "node_modules/eslint-plugin-prettier": { - "version": "5.2.2", - "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-5.2.2.tgz", - "integrity": "sha512-1yI3/hf35wmlq66C8yOyrujQnel+v5l1Vop5Cl2I6ylyNTT1JbuUUnV3/41PzwTzcyDp/oF0jWE3HXvcH5AQOQ==", + "version": "5.2.3", + "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-5.2.3.tgz", + "integrity": "sha512-qJ+y0FfCp/mQYQ/vWQ3s7eUlFEL4PyKfAJxsnYTJ4YT73nsJBWqmEpFryxV9OeUiqmsTsYJ5Y+KDNaeP31wrRw==", "dev": true, "dependencies": { "prettier-linter-helpers": "^1.0.0", @@ -32817,15 +32835,15 @@ } }, "node_modules/ts-api-utils": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.3.0.tgz", - "integrity": "sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.0.0.tgz", + "integrity": "sha512-xCt/TOAc+EOHS1XPnijD3/yzpH6qg2xppZO1YDqGoVsNXfQfzHpOdNuXwrwOU8u4ITXJyDCTyt8w5g1sZv9ynQ==", "dev": true, "engines": { - "node": ">=16" + "node": ">=18.12" }, "peerDependencies": { - "typescript": ">=4.2.0" + "typescript": ">=4.8.4" } }, "node_modules/ts-dedent": { @@ -34928,7 +34946,7 @@ }, "packages/group-tree-plot": { "name": "@webviz/group-tree-plot", - "version": "1.3.22", + "version": "1.3.23", "license": "MPL-2.0", "dependencies": { "d3": "^7.8.2", @@ -34941,18 +34959,18 @@ }, "packages/subsurface-viewer": { "name": "@webviz/subsurface-viewer", - "version": "1.5.1", + "version": "1.6.0", "license": "MPL-2.0", "dependencies": { - "@deck.gl-community/editable-layers": "^9.0.3", - "@deck.gl/aggregation-layers": "^9.0.40", - "@deck.gl/core": "^9.0.40", - "@deck.gl/extensions": "^9.0.40", - "@deck.gl/geo-layers": "^9.0.40", - "@deck.gl/json": "^9.0.40", - "@deck.gl/layers": "^9.0.40", - "@deck.gl/mesh-layers": "^9.0.40", - "@deck.gl/react": "^9.0.40", + "@deck.gl-community/editable-layers": "9.0.3", + "@deck.gl/aggregation-layers": "9.0.40", + "@deck.gl/core": "9.0.40", + "@deck.gl/extensions": "9.0.40", + "@deck.gl/geo-layers": "9.0.40", + "@deck.gl/json": "9.0.40", + "@deck.gl/layers": "9.0.40", + "@deck.gl/mesh-layers": "9.0.40", + "@deck.gl/react": "9.0.40", "@emerson-eps/color-tables": "^0.4.85", "@equinor/eds-core-react": "^0.36.0", "@equinor/eds-icons": "^0.21.0", @@ -35156,7 +35174,7 @@ }, "packages/well-completions-plot": { "name": "@webviz/well-completions-plot", - "version": "1.5.18", + "version": "1.5.19", "license": "MPL-2.0", "dependencies": { "react-resize-detector": "^11.0.1", @@ -35196,7 +35214,7 @@ }, "packages/well-log-viewer": { "name": "@webviz/well-log-viewer", - "version": "2.2.4", + "version": "2.2.5", "license": "MPL-2.0", "dependencies": { "@emerson-eps/color-tables": "^0.4.85", @@ -35248,10 +35266,10 @@ }, "packages/wsc-common": { "name": "@webviz/wsc-common", - "version": "1.0.13", + "version": "1.0.14", "license": "MPL-2.0", "dependencies": { - "@deck.gl/core": "^9.0.40", + "@deck.gl/core": "9.0.40", "ajv": "^8.12.0" } } diff --git a/typescript/package.json b/typescript/package.json index d67dc0e4b1..5f16d16468 100644 --- a/typescript/package.json +++ b/typescript/package.json @@ -61,8 +61,8 @@ "@storybook/test": "^8.5.0", "@storybook/test-runner": "^0.21.0", "@testing-library/jest-dom": "^6.6.3", - "@testing-library/react": "^16.0.1", - "@testing-library/user-event": "^14.5.2", + "@testing-library/react": "^16.2.0", + "@testing-library/user-event": "^14.6.0", "@theunderscorer/nx-semantic-release": "^2.12.0", "@types/convert-units": "^2.3.11", "@types/d3": "^7.4.3", @@ -76,8 +76,8 @@ "@types/react-redux": "^7.1.34", "@types/uuid": "^10.0.0", "@types/workerpool": "^6.4.7", - "@typescript-eslint/eslint-plugin": "^8.16.0", - "@typescript-eslint/parser": "^8.16.0", + "@typescript-eslint/eslint-plugin": "^8.21.0", + "@typescript-eslint/parser": "^8.21.0", "assert": "^2.0.0", "babel-jest": "^29.6.0", "copyfiles": "^2.0.0", @@ -89,7 +89,7 @@ "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.31.0", "eslint-plugin-mdx": "^3.1.5", - "eslint-plugin-prettier": "^5.2.2", + "eslint-plugin-prettier": "^5.2.3", "eslint-plugin-react": "^7.37.4", "eslint-plugin-react-hooks": "^5.1.0", "file-loader": "^6.2.0", diff --git a/typescript/packages/group-tree-plot/CHANGELOG.md b/typescript/packages/group-tree-plot/CHANGELOG.md index 148797593b..6b5bc1a0a5 100644 --- a/typescript/packages/group-tree-plot/CHANGELOG.md +++ b/typescript/packages/group-tree-plot/CHANGELOG.md @@ -1,3 +1,10 @@ +## [1.3.24](https://github.com/equinor/webviz-subsurface-components/compare/group-tree-plot@1.3.23...group-tree-plot@1.3.24) (2025-01-22) + + +### Bug Fixes + +* conflict with new [@deck](https://github.com/deck).gl version 9.1 ([#2419](https://github.com/equinor/webviz-subsurface-components/issues/2419)) ([19e7e3c](https://github.com/equinor/webviz-subsurface-components/commit/19e7e3cc0e4da9238a31c8ea19408f8347d365a1)) + ## [1.3.23](https://github.com/equinor/webviz-subsurface-components/compare/group-tree-plot@1.3.22...group-tree-plot@1.3.23) (2025-01-20) diff --git a/typescript/packages/group-tree-plot/package.json b/typescript/packages/group-tree-plot/package.json index be7470efdc..f9bbe0c55f 100644 --- a/typescript/packages/group-tree-plot/package.json +++ b/typescript/packages/group-tree-plot/package.json @@ -1,6 +1,6 @@ { "name": "@webviz/group-tree-plot", - "version": "1.3.23", + "version": "1.3.24", "description": "", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/typescript/packages/subsurface-viewer/CHANGELOG.md b/typescript/packages/subsurface-viewer/CHANGELOG.md index 3c3dfdbeb3..c1018d1138 100644 --- a/typescript/packages/subsurface-viewer/CHANGELOG.md +++ b/typescript/packages/subsurface-viewer/CHANGELOG.md @@ -1,3 +1,17 @@ +# [1.6.0](https://github.com/equinor/webviz-subsurface-components/compare/subsurface-viewer@1.5.2...subsurface-viewer@1.6.0) (2025-01-20) + + +### Features + +* Expose `onDrag` and `getCursor` functions from `DeckGL` component ([#2415](https://github.com/equinor/webviz-subsurface-components/issues/2415)) ([fa51d16](https://github.com/equinor/webviz-subsurface-components/commit/fa51d16bb95a3405cd90751be3512300a98f8994)) + +## [1.5.2](https://github.com/equinor/webviz-subsurface-components/compare/subsurface-viewer@1.5.1...subsurface-viewer@1.5.2) (2025-01-20) + + +### Bug Fixes + +* [Snyk] Security upgrade terser-webpack-plugin from 5.3.10 to 5.3.11 ([#2395](https://github.com/equinor/webviz-subsurface-components/issues/2395)) ([2a9a06f](https://github.com/equinor/webviz-subsurface-components/commit/2a9a06f4526736622025811e9248995f2783a039)) + ## [1.5.1](https://github.com/equinor/webviz-subsurface-components/compare/subsurface-viewer@1.5.0...subsurface-viewer@1.5.1) (2025-01-17) diff --git a/typescript/packages/subsurface-viewer/package.json b/typescript/packages/subsurface-viewer/package.json index d5e28744c4..5591ecac6d 100644 --- a/typescript/packages/subsurface-viewer/package.json +++ b/typescript/packages/subsurface-viewer/package.json @@ -1,6 +1,6 @@ { "name": "@webviz/subsurface-viewer", - "version": "1.5.1", + "version": "1.6.0", "description": "3D visualization component for subsurface reservoir data", "keywords": [ "subsurface", @@ -32,15 +32,15 @@ "author": "Equinor ", "license": "MPL-2.0", "dependencies": { - "@deck.gl-community/editable-layers": "^9.0.3", - "@deck.gl/aggregation-layers": "^9.0.40", - "@deck.gl/core": "^9.0.40", - "@deck.gl/extensions": "^9.0.40", - "@deck.gl/geo-layers": "^9.0.40", - "@deck.gl/json": "^9.0.40", - "@deck.gl/layers": "^9.0.40", - "@deck.gl/mesh-layers": "^9.0.40", - "@deck.gl/react": "^9.0.40", + "@deck.gl-community/editable-layers": "9.0.3", + "@deck.gl/aggregation-layers": "9.0.40", + "@deck.gl/core": "9.0.40", + "@deck.gl/extensions": "9.0.40", + "@deck.gl/geo-layers": "9.0.40", + "@deck.gl/json": "9.0.40", + "@deck.gl/layers": "9.0.40", + "@deck.gl/mesh-layers": "9.0.40", + "@deck.gl/react": "9.0.40", "@emerson-eps/color-tables": "^0.4.85", "@equinor/eds-core-react": "^0.36.0", "@equinor/eds-icons": "^0.21.0", diff --git a/typescript/packages/subsurface-viewer/src/components/Map.tsx b/typescript/packages/subsurface-viewer/src/components/Map.tsx index 0751365b20..a83e972118 100644 --- a/typescript/packages/subsurface-viewer/src/components/Map.tsx +++ b/typescript/packages/subsurface-viewer/src/components/Map.tsx @@ -20,7 +20,7 @@ import type { View, Viewport, } from "@deck.gl/core"; -import type { DeckGLRef } from "@deck.gl/react"; +import type { DeckGLProps, DeckGLRef } from "@deck.gl/react"; import DeckGL from "@deck.gl/react"; import { @@ -350,6 +350,16 @@ export interface MapProps { onDragStart?: (info: PickingInfo, event: MjolnirGestureEvent) => void; onDragEnd?: (info: PickingInfo, event: MjolnirGestureEvent) => void; + onDrag?: (info: PickingInfo, event: MjolnirGestureEvent) => void; + + /** + * Override default cursor with a callback. + * @param cursorState + * @returns cursor string + * @default "grabbing" when dragging, "default" otherwise + * @see https://developer.mozilla.org/en-US/docs/Web/CSS/cursor + */ + getCursor?: DeckGLProps["getCursor"]; triggerResetMultipleWells?: number; @@ -421,6 +431,8 @@ const Map: React.FC = ({ onRenderingProgress, onDragStart, onDragEnd, + onDrag, + getCursor, lights, triggerResetMultipleWells, verticalScale, @@ -758,6 +770,20 @@ const Map: React.FC = ({ [getCameraPosition, viewController] ); + const getCursorFunc = useCallback( + function getCursorFunc( + cursorState: Parameters< + Exclude + >[0] + ): string { + if (getCursor) { + return getCursor(cursorState); + } + return cursorState.isDragging ? "grabbing" : "default"; + }, + [getCursor] + ); + const effects = parseLights(lights) ?? []; const [deckGlViews, deckGlViewState] = useMemo(() => { @@ -831,9 +857,7 @@ const Map: React.FC = ({ }, colorTables: colorTables, }} - getCursor={({ isDragging }): string => - isDragging ? "grabbing" : "default" - } + getCursor={getCursorFunc} getTooltip={getTooltip} ref={deckRef} onViewStateChange={onViewStateChange} @@ -843,6 +867,7 @@ const Map: React.FC = ({ effects={effects} onDragStart={onDragStart} onDragEnd={onDragEnd} + onDrag={onDrag} onResize={onResize} pickingRadius={pickingRadius} > diff --git a/typescript/packages/well-completions-plot/CHANGELOG.md b/typescript/packages/well-completions-plot/CHANGELOG.md index 9031de5dfb..6bbe6f85e5 100644 --- a/typescript/packages/well-completions-plot/CHANGELOG.md +++ b/typescript/packages/well-completions-plot/CHANGELOG.md @@ -1,3 +1,10 @@ +## [1.5.19](https://github.com/equinor/webviz-subsurface-components/compare/well-completions-plot@1.5.18...well-completions-plot@1.5.19) (2025-01-20) + + +### Bug Fixes + +* [Snyk] Security upgrade terser-webpack-plugin from 5.3.10 to 5.3.11 ([#2395](https://github.com/equinor/webviz-subsurface-components/issues/2395)) ([2a9a06f](https://github.com/equinor/webviz-subsurface-components/commit/2a9a06f4526736622025811e9248995f2783a039)) + ## [1.5.18](https://github.com/equinor/webviz-subsurface-components/compare/well-completions-plot@1.5.17...well-completions-plot@1.5.18) (2025-01-17) diff --git a/typescript/packages/well-completions-plot/package.json b/typescript/packages/well-completions-plot/package.json index a77b279354..84bb8f2a6b 100644 --- a/typescript/packages/well-completions-plot/package.json +++ b/typescript/packages/well-completions-plot/package.json @@ -1,6 +1,6 @@ { "name": "@webviz/well-completions-plot", - "version": "1.5.18", + "version": "1.5.19", "description": "", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/typescript/packages/well-log-viewer/CHANGELOG.md b/typescript/packages/well-log-viewer/CHANGELOG.md index 4ea7ec8390..a4ce8c3483 100644 --- a/typescript/packages/well-log-viewer/CHANGELOG.md +++ b/typescript/packages/well-log-viewer/CHANGELOG.md @@ -1,3 +1,10 @@ +## [2.2.5](https://github.com/equinor/webviz-subsurface-components/compare/well-log-viewer@2.2.4...well-log-viewer@2.2.5) (2025-01-20) + + +### Bug Fixes + +* [Snyk] Security upgrade terser-webpack-plugin from 5.3.10 to 5.3.11 ([#2395](https://github.com/equinor/webviz-subsurface-components/issues/2395)) ([2a9a06f](https://github.com/equinor/webviz-subsurface-components/commit/2a9a06f4526736622025811e9248995f2783a039)) + ## [2.2.4](https://github.com/equinor/webviz-subsurface-components/compare/well-log-viewer@2.2.3...well-log-viewer@2.2.4) (2025-01-17) diff --git a/typescript/packages/well-log-viewer/package.json b/typescript/packages/well-log-viewer/package.json index 979104b51d..1ed066d55f 100644 --- a/typescript/packages/well-log-viewer/package.json +++ b/typescript/packages/well-log-viewer/package.json @@ -1,6 +1,6 @@ { "name": "@webviz/well-log-viewer", - "version": "2.2.4", + "version": "2.2.5", "description": "", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/typescript/packages/wsc-common/CHANGELOG.md b/typescript/packages/wsc-common/CHANGELOG.md index ab5cbe3828..629d75dbce 100644 --- a/typescript/packages/wsc-common/CHANGELOG.md +++ b/typescript/packages/wsc-common/CHANGELOG.md @@ -1,3 +1,10 @@ +## [1.0.15](https://github.com/equinor/webviz-subsurface-components/compare/wsc-common@1.0.14...wsc-common@1.0.15) (2025-01-22) + + +### Bug Fixes + +* conflict with new [@deck](https://github.com/deck).gl version 9.1 ([#2419](https://github.com/equinor/webviz-subsurface-components/issues/2419)) ([19e7e3c](https://github.com/equinor/webviz-subsurface-components/commit/19e7e3cc0e4da9238a31c8ea19408f8347d365a1)) + ## [1.0.14](https://github.com/equinor/webviz-subsurface-components/compare/wsc-common@1.0.13...wsc-common@1.0.14) (2025-01-20) diff --git a/typescript/packages/wsc-common/package.json b/typescript/packages/wsc-common/package.json index 7c287eaa4c..6a8341a86b 100644 --- a/typescript/packages/wsc-common/package.json +++ b/typescript/packages/wsc-common/package.json @@ -1,6 +1,6 @@ { "name": "@webviz/wsc-common", - "version": "1.0.14", + "version": "1.0.15", "description": "Shared functionality for WebViz Subsurface Components", "main": "dist/index.js", "types": "dist/index.d.ts", @@ -20,7 +20,7 @@ "author": "Equinor ", "license": "MPL-2.0", "dependencies": { - "@deck.gl/core": "^9.0.40", + "@deck.gl/core": "9.0.40", "ajv": "^8.12.0" }, "volta": {