diff --git a/package-lock.json b/package-lock.json index 21c5a24..55e89f1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,7 +8,7 @@ "name": "@hms-dbmi/vizarr", "version": "0.3.0", "dependencies": { - "@hms-dbmi/viv": "^0.13.0", + "@hms-dbmi/viv": "^0.16.0", "@material-ui/core": "^4.11.0", "@material-ui/icons": "^4.9.1", "deck.gl": "^8.6.7", @@ -960,17 +960,17 @@ } }, "node_modules/@hms-dbmi/viv": { - "version": "0.13.6", - "resolved": "https://registry.npmjs.org/@hms-dbmi/viv/-/viv-0.13.6.tgz", - "integrity": "sha512-CeP/qehola+vGi4okZV6/TcuzUW4CHa6noWvqq63N/JLhox1HSn0J2qu/Eduj7wpsX+Tvibk2eXV6K8GbiXm5A==", + "version": "0.16.0", + "resolved": "https://registry.npmjs.org/@hms-dbmi/viv/-/viv-0.16.0.tgz", + "integrity": "sha512-cYLo2Vnmy7AnxljuLR1KsivGuXaYPooRAIncTenXXrWqygPYvyCYcWgJ+PUnSsB6KbEnibyRjOKjJ6ZGkMXccw==", "dependencies": { - "@vivjs/constants": "0.13.6", - "@vivjs/extensions": "0.13.6", - "@vivjs/layers": "0.13.6", - "@vivjs/loaders": "0.13.6", - "@vivjs/types": "0.13.6", - "@vivjs/viewers": "0.13.6", - "@vivjs/views": "0.13.6" + "@vivjs/constants": "0.16.0", + "@vivjs/extensions": "0.16.0", + "@vivjs/layers": "0.16.0", + "@vivjs/loaders": "0.16.0", + "@vivjs/types": "0.16.0", + "@vivjs/viewers": "0.16.0", + "@vivjs/views": "0.16.0" } }, "node_modules/@jridgewell/gen-mapping": { @@ -1521,9 +1521,9 @@ } }, "node_modules/@petamoriken/float16": { - "version": "3.7.1", - "resolved": "https://registry.npmjs.org/@petamoriken/float16/-/float16-3.7.1.tgz", - "integrity": "sha512-oXZOc+aePd0FnhTWk15pyqK+Do87n0TyLV1nxdEougE95X/WXWDqmQobfhgnSY7QsWn5euZUWuDVeTQvoQ5VNw==" + "version": "3.8.4", + "resolved": "https://registry.npmjs.org/@petamoriken/float16/-/float16-3.8.4.tgz", + "integrity": "sha512-kB+NJ5Br56ZhElKsf0pM7/PQfrDdDVMRz8f0JM6eVOGE+L89z9hwcst9QvWBBnazzuqGTGtPsJNZoQ1JdNiGSQ==" }, "node_modules/@probe.gl/env": { "version": "3.6.0", @@ -1663,96 +1663,113 @@ } }, "node_modules/@vivjs/constants": { - "version": "0.13.6", - "resolved": "https://registry.npmjs.org/@vivjs/constants/-/constants-0.13.6.tgz", - "integrity": "sha512-nt9WMcUFgs24zVcLitvD5vcnnkephiG/6qDou16LOWPaWhODH2W/TbymOYHQp6MRoKKi3pIhIFeUxx/Ig1rUzw==", + "version": "0.16.0", + "resolved": "https://registry.npmjs.org/@vivjs/constants/-/constants-0.16.0.tgz", + "integrity": "sha512-PqGSlLzwE51CPXt9qOm8AF3rJKdsUv45Sw/ab7NNcXt9IBMrbS3lsh15hN+U7tP4a1uHWwqP0qRl/C3U9Dq76g==", "dependencies": { - "@luma.gl/constants": "~8.5.16" + "@luma.gl/constants": "~8.5.21" } }, + "node_modules/@vivjs/constants/node_modules/@luma.gl/constants": { + "version": "8.5.21", + "resolved": "https://registry.npmjs.org/@luma.gl/constants/-/constants-8.5.21.tgz", + "integrity": "sha512-aJxayGxTT+IRd1vfpcgD/cKSCiVJjBNiuiChS96VulrmCvkzUOLvYXr42y5qKB4RyR7vOIda5uQprNzoHrhQAA==" + }, "node_modules/@vivjs/extensions": { - "version": "0.13.6", - "resolved": "https://registry.npmjs.org/@vivjs/extensions/-/extensions-0.13.6.tgz", - "integrity": "sha512-yaz6OB3pdvMt5cJA1COnx9Vcw0zQIvfA8+/X1xxGBG87NDeQR0FY/vSMBe/nCTxcoYNFvxF8uWrXc2wWZWHWiw==", + "version": "0.16.0", + "resolved": "https://registry.npmjs.org/@vivjs/extensions/-/extensions-0.16.0.tgz", + "integrity": "sha512-otZXgaBCigKLkRgMkv8N3DR1AzRqDffXNk3J6N9i0njL1zYxwx/EcWbZTGx2sIOtAXNTaUKNISoXgS9fltNMaA==", "dependencies": { - "@vivjs/constants": "0.13.6" + "@vivjs/constants": "0.16.0" }, "peerDependencies": { - "@deck.gl/core": "~8.8.6" + "@deck.gl/core": "~8.8.27" } }, "node_modules/@vivjs/layers": { - "version": "0.13.6", - "resolved": "https://registry.npmjs.org/@vivjs/layers/-/layers-0.13.6.tgz", - "integrity": "sha512-thNulJNyvNJFn009847mKfdP4KNBr0j4udSbIB+u7sI2uEWBXt2Wnq7xgCep0AWT5SdHNtL5IqOk8B38RPvuTA==", + "version": "0.16.0", + "resolved": "https://registry.npmjs.org/@vivjs/layers/-/layers-0.16.0.tgz", + "integrity": "sha512-aD3D4qdvfMPKXUHZa+NiL1XOOZcOeCINsoSR+SbK584U8ZUmDj2lWOnyU4VUGL39qdParwEUURsw7xUuTs/Yug==", "dependencies": { "@math.gl/core": "^3.5.7", "@math.gl/culling": "^3.5.7", - "@vivjs/constants": "0.13.6", - "@vivjs/extensions": "0.13.6", - "@vivjs/loaders": "0.13.6", - "@vivjs/types": "0.13.6" + "@vivjs/constants": "0.16.0", + "@vivjs/extensions": "0.16.0", + "@vivjs/loaders": "0.16.0", + "@vivjs/types": "0.16.0" }, "peerDependencies": { - "@deck.gl/core": "~8.8.6", - "@deck.gl/geo-layers": "~8.8.6", - "@deck.gl/layers": "~8.8.6", - "@luma.gl/constants": "~8.5.16", - "@luma.gl/core": "~8.5.16", - "@luma.gl/engine": "~8.5.16", - "@luma.gl/webgl": "~8.5.16" + "@deck.gl/core": "~8.8.27", + "@deck.gl/geo-layers": "~8.8.27", + "@deck.gl/layers": "~8.8.27", + "@luma.gl/constants": "~8.5.21", + "@luma.gl/core": "~8.5.21", + "@luma.gl/engine": "~8.5.21", + "@luma.gl/webgl": "~8.5.21" } }, "node_modules/@vivjs/loaders": { - "version": "0.13.6", - "resolved": "https://registry.npmjs.org/@vivjs/loaders/-/loaders-0.13.6.tgz", - "integrity": "sha512-9KeCQ+I1yGvX/Y06CSEoY2xniZ305zAYCkhPCzX9kjb8BiRn97ci5DVNwfr2ajtSPXRiFhn9ITlSWBm8767Pbg==", + "version": "0.16.0", + "resolved": "https://registry.npmjs.org/@vivjs/loaders/-/loaders-0.16.0.tgz", + "integrity": "sha512-FU6XrMOJ94b4Ep2P0eRuJOFGEVkDT1tIRMiYjCq9LitGRKUiS8tHF8xzYkUrbzHXa1WwH/9PyIw5eeyMndc9Vw==", "dependencies": { - "@vivjs/types": "0.13.6", - "fast-xml-parser": "^3.16.0", + "@vivjs/types": "0.16.0", "geotiff": "^2.0.5", "lzw-tiff-decoder": "^0.1.1", "quickselect": "^2.0.0", - "zarr": "^0.5.1" + "zarr": "^0.6.2", + "zod": "^3.22.4" + } + }, + "node_modules/@vivjs/loaders/node_modules/zarr": { + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/zarr/-/zarr-0.6.2.tgz", + "integrity": "sha512-3gtxrnpziRlDtrz0hz/M+hreCC5YexppeCVHK62Pmb2FSn947h14GHMDj9rQFkY2mPhRKDHhtB+AUGa8wqJW6Q==", + "dependencies": { + "numcodecs": "^0.2.2", + "p-queue": "^7.1.0" + }, + "engines": { + "node": ">=12" } }, "node_modules/@vivjs/types": { - "version": "0.13.6", - "resolved": "https://registry.npmjs.org/@vivjs/types/-/types-0.13.6.tgz", - "integrity": "sha512-pp9xGA3czWxRlSOWDYbt8noCUm2MTRrOmaQzuvsGPx0fZecvL+HbEzW3zQTyxRYJJQBqgkHqXNZfLkvwGCpRQw==", + "version": "0.16.0", + "resolved": "https://registry.npmjs.org/@vivjs/types/-/types-0.16.0.tgz", + "integrity": "sha512-n898DVFlHmDbvBsCG1SdSoPv9sgUDfCYedFp9A1msoHn/SVJhA5e6oTvVbgKGAxuTXKa3baXz7fIGvduVytZ3Q==", "dependencies": { - "@vivjs/constants": "0.13.6", + "@vivjs/constants": "0.16.0", "math.gl": "^3.5.7" } }, "node_modules/@vivjs/viewers": { - "version": "0.13.6", - "resolved": "https://registry.npmjs.org/@vivjs/viewers/-/viewers-0.13.6.tgz", - "integrity": "sha512-EZ55ebDIwntZs3t1gFYhM/kqi4RF+SHgEISTmvsVOcaJuUQlczxXwzJDe3KhRFGHEariJvIpObKaU3CurwdkKw==", + "version": "0.16.0", + "resolved": "https://registry.npmjs.org/@vivjs/viewers/-/viewers-0.16.0.tgz", + "integrity": "sha512-ih872YZS9H7JrPDYlZqZ2qDiXPWXT8fVx6cA0OouFO2bDOw8q1E2MN36lhN2pUYjL2aC2NmLgS1yq2zN0bblXQ==", "dependencies": { - "@vivjs/constants": "0.13.6", - "@vivjs/extensions": "0.13.6", - "@vivjs/views": "0.13.6", + "@vivjs/constants": "0.16.0", + "@vivjs/extensions": "0.16.0", + "@vivjs/views": "0.16.0", "fast-deep-equal": "^3.1.3" }, "peerDependencies": { - "@deck.gl/react": "~8.8.6", + "@deck.gl/react": "~8.8.27", "react": "^16.8.0 || ^17.0.0" } }, "node_modules/@vivjs/views": { - "version": "0.13.6", - "resolved": "https://registry.npmjs.org/@vivjs/views/-/views-0.13.6.tgz", - "integrity": "sha512-E/ix+BB5W2zKdLcIBQkPDAePS+++kOfDlq9BNdMXyUc2yVRxgYK5Bs3TXjPWLDqPkRcG6xlBI18Ajb38iRhOAQ==", + "version": "0.16.0", + "resolved": "https://registry.npmjs.org/@vivjs/views/-/views-0.16.0.tgz", + "integrity": "sha512-OQ4/3X5DLcu2yKVFeopmWW6iZ+hfTgkle84wfNPwPvvhtV3b1vEeUMzyBt5p1RSvpTzKGKv8CR5R4SdTunkUEQ==", "dependencies": { "@math.gl/core": "^3.5.7", - "@vivjs/layers": "0.13.6", - "@vivjs/loaders": "0.13.6", + "@vivjs/layers": "0.16.0", + "@vivjs/loaders": "0.16.0", "math.gl": "^3.5.7" }, "peerDependencies": { - "@deck.gl/core": "~8.8.6", - "@deck.gl/layers": "~8.8.6" + "@deck.gl/core": "~8.8.27", + "@deck.gl/layers": "~8.8.27" } }, "node_modules/aggregate-error": { @@ -2192,21 +2209,6 @@ "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" }, - "node_modules/fast-xml-parser": { - "version": "3.21.1", - "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-3.21.1.tgz", - "integrity": "sha512-FTFVjYoBOZTJekiUsawGsSYV9QL0A+zDYCRj7y34IO6Jg+2IMYEtQa+bbictpdpV8dHxXywqU7C0gRDEOFtBFg==", - "dependencies": { - "strnum": "^1.0.4" - }, - "bin": { - "xml2js": "cli.js" - }, - "funding": { - "type": "paypal", - "url": "https://paypal.me/naturalintelligence" - } - }, "node_modules/fs-extra": { "version": "7.0.1", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-7.0.1.tgz", @@ -2245,9 +2247,9 @@ } }, "node_modules/geotiff": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/geotiff/-/geotiff-2.0.7.tgz", - "integrity": "sha512-FKvFTNowMU5K6lHYY2f83d4lS2rsCNdpUC28AX61x9ZzzqPNaWFElWv93xj0eJFaNyOYA63ic5OzJ88dHpoA5Q==", + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/geotiff/-/geotiff-2.1.2.tgz", + "integrity": "sha512-xw7Cd6HXukUdfFSe5QCSjdhebTCGkk87x7fKURqQPFKT+TijCCwKvoksL7T3+B6mJWZSB7muTJlwVIQsLtbkMA==", "dependencies": { "@petamoriken/float16": "^3.4.7", "lerc": "^3.0.0", @@ -2255,7 +2257,8 @@ "parse-headers": "^2.0.2", "quick-lru": "^6.1.1", "web-worker": "^1.2.0", - "xml-utils": "^1.0.2" + "xml-utils": "^1.0.2", + "zstddec": "^0.1.0" }, "engines": { "node": ">=10.19" @@ -3080,11 +3083,6 @@ "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==" }, - "node_modules/strnum": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/strnum/-/strnum-1.0.5.tgz", - "integrity": "sha512-J8bbNyKKXl5qYcR36TIO8W3mVGVHrmmxsd5PAItGkmyzwJvybiw2IVq5nqd0i4LSNSkB/sx9VHllbfFdr9k1JA==" - }, "node_modules/supports-color": { "version": "5.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", @@ -3227,9 +3225,9 @@ } }, "node_modules/web-worker": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/web-worker/-/web-worker-1.2.0.tgz", - "integrity": "sha512-PgF341avzqyx60neE9DD+XS26MMNMoUQRz9NOZwW32nPQrF6p77f1htcnjBSEV8BGMKZ16choqUG4hyI0Hx7mA==" + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/web-worker/-/web-worker-1.3.0.tgz", + "integrity": "sha512-BSR9wyRsy/KOValMgd5kMyr3JzpdeoR9KVId8u5GVlTTAtNChlsE4yTxeY7zMdNSyOmoKBv8NH2qeRY9Tg+IaA==" }, "node_modules/ws": { "version": "8.11.0", @@ -3252,9 +3250,9 @@ } }, "node_modules/xml-utils": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/xml-utils/-/xml-utils-1.3.0.tgz", - "integrity": "sha512-i4PIrX33Wd66dvwo4syicwlwmnr6wuvvn4f2ku9hA67C2Uk62Xubczuhct+Evnd12/DV71qKNeDdJwES8HX1RA==" + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/xml-utils/-/xml-utils-1.7.0.tgz", + "integrity": "sha512-bWB489+RQQclC7A9OW8e5BzbT8Tu//jtAOvkYwewFr+Q9T9KDGvfzC1lp0pYPEQPEoPQLDkmxkepSC/2gIAZGw==" }, "node_modules/xmlhttprequest-ssl": { "version": "2.0.0", @@ -3281,6 +3279,19 @@ "engines": { "node": ">=12" } + }, + "node_modules/zod": { + "version": "3.22.4", + "resolved": "https://registry.npmjs.org/zod/-/zod-3.22.4.tgz", + "integrity": "sha512-iC+8Io04lddc+mVqQ9AZ7OQ2MrUKGN+oIQyq1vemgt46jwCwLfhq7/pwnBnNXXXZb8VTVLKwp9EDkx+ryxIWmg==", + "funding": { + "url": "https://github.com/sponsors/colinhacks" + } + }, + "node_modules/zstddec": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/zstddec/-/zstddec-0.1.0.tgz", + "integrity": "sha512-w2NTI8+3l3eeltKAdK8QpiLo/flRAr2p8AGeakfMZOXBxOg9HIu4LVDxBi81sYgVhFhdJjv1OrB5ssI8uFPoLg==" } } } diff --git a/package.json b/package.json index 5648316..86b95fb 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@hms-dbmi/vizarr", "version": "0.3.0", "dependencies": { - "@hms-dbmi/viv": "^0.13.0", + "@hms-dbmi/viv": "^0.16.0", "@material-ui/core": "^4.11.0", "@material-ui/icons": "^4.9.1", "deck.gl": "^8.6.7",