diff --git a/README.md b/README.md index 80015d3..2fa5849 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,6 @@ A [Visual Studio Code](https://code.visualstudio.com/) extension that provides r * image/webp * application/geo+json * application/vdom.v1+json - * application/vnd.dataresource+json * application/vnd.plotly.v1+json * application/vnd.vega.v2+json * application/vnd.vega.v3+json diff --git a/package-lock.json b/package-lock.json index bae504d..c9838f5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,6 @@ "@babel/helper-validator-identifier": "^7.22.20", "@jupyterlab/nbformat": "^4.2.4", "@loadable/component": "^5.16.4", - "@nteract/transform-dataresource": "^3.0.2", "@nteract/transform-geojson": "^3.2.3", "@nteract/transform-model-debug": "^3.2.3", "@nteract/transform-plotly": "^7.0.0", @@ -2071,19 +2070,6 @@ "resolved": "https://registry.npmjs.org/@nteract/any-vega/-/any-vega-1.0.1.tgz", "integrity": "sha512-RjECjm2bdQpEHuhpWyIjAg8dA8t5iWGDmx2VuStBhVSffciNrCn0WxhJiK5TSkyuBgk4rB4eAOspJ8UnfjOAyA==" }, - "node_modules/@nteract/octicons": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/@nteract/octicons/-/octicons-0.2.0.tgz", - "integrity": "sha512-2CF5RptAaMgLZbh+PQDri2akhF8CWGm3ioLb7AAYHLebJ4eO88OZze7V6UjOCkA5aLgDARYH0Jkljlx09An9bA==", - "peerDependencies": { - "react": "^16.2.0" - } - }, - "node_modules/@nteract/plotly": { - "version": "1.49.1", - "resolved": "https://registry.npmjs.org/@nteract/plotly/-/plotly-1.49.1.tgz", - "integrity": "sha512-rdtOiqN/KJXaYc7JCU2z2eEe7EwYQ6mhRGpijGVhn9LdP8FNDgiIhfTq0uIUnAvMcFGrJ/aAfInoY4vzLCq//A==" - }, "node_modules/@nteract/presentational-components": { "version": "3.4.12", "resolved": "https://registry.npmjs.org/@nteract/presentational-components/-/presentational-components-3.4.12.tgz", @@ -2101,37 +2087,6 @@ "styled-components": ">= 5.0.1" } }, - "node_modules/@nteract/transform-dataresource": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@nteract/transform-dataresource/-/transform-dataresource-3.0.2.tgz", - "integrity": "sha512-6anBusweGT/l+1YH7847UhMuvCK1zlNMYZlnowcbIhNO6ttFRBRvP/dTC0/W1sHc9R8tZemzakYHkHX87tlJnQ==", - "dependencies": { - "@nteract/octicons": "^0.2.0", - "@nteract/transform-plotly": "^3.1.6", - "d3-time-format": "^2.0.5", - "lodash": "^4.17.4", - "moment": "^2.18.1", - "react-virtualized": "9.18.5", - "tv4": "^1.3.0" - }, - "peerDependencies": { - "react": "^16.2.0" - } - }, - "node_modules/@nteract/transform-dataresource/node_modules/@nteract/transform-plotly": { - "version": "3.2.5", - "resolved": "https://registry.npmjs.org/@nteract/transform-plotly/-/transform-plotly-3.2.5.tgz", - "integrity": "sha512-tQi47Ly1b/YLNJWhUV8gKVkweJb6ugfGg4XylG2wnLVDoaM8ObJrHAtY74S+Kg9e88N8ExNPy9ulG2xhhSrMag==", - "dependencies": { - "@babel/runtime-corejs2": "^7.0.0", - "@nteract/plotly": "^1.0.0", - "babel-runtime": "^6.26.0", - "lodash": "^4.17.4" - }, - "peerDependencies": { - "react": "^16.3.2" - } - }, "node_modules/@nteract/transform-geojson": { "version": "3.2.5", "resolved": "https://registry.npmjs.org/@nteract/transform-geojson/-/transform-geojson-3.2.5.tgz", @@ -6799,14 +6754,6 @@ "integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==", "license": "MIT" }, - "node_modules/moment": { - "version": "2.29.4", - "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.4.tgz", - "integrity": "sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w==", - "engines": { - "node": "*" - } - }, "node_modules/mrmime": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/mrmime/-/mrmime-2.0.0.tgz", @@ -7727,22 +7674,6 @@ "react-dom": ">=15.0.0" } }, - "node_modules/react-virtualized": { - "version": "9.18.5", - "resolved": "https://registry.npmjs.org/react-virtualized/-/react-virtualized-9.18.5.tgz", - "integrity": "sha512-eC9ortLeHkQs+WvpxVYJfiQqv7h+QoFmRGvYLi5UN0oKjcni/km9skrBKKw6xsYJRMMy7wnkEMOsBD28f41ovQ==", - "dependencies": { - "babel-runtime": "^6.26.0", - "classnames": "^2.2.3", - "dom-helpers": "^2.4.0 || ^3.0.0", - "loose-envify": "^1.3.0", - "prop-types": "^15.6.0" - }, - "peerDependencies": { - "react": "^15.3.0 || ^16.0.0-alpha", - "react-dom": "^15.3.0 || ^16.0.0-alpha" - } - }, "node_modules/read-pkg": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-4.0.1.tgz", @@ -8894,14 +8825,6 @@ "node": "*" } }, - "node_modules/tv4": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/tv4/-/tv4-1.3.0.tgz", - "integrity": "sha512-afizzfpJgvPr+eDkREK4MxJ/+r8nEEHcmitwgnPUqpaP+FpwQyadnxNoSACbgc/b1LsZYtODGoPiFxQrgJgjvw==", - "engines": { - "node": ">= 0.8.0" - } - }, "node_modules/type-check": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", @@ -12079,17 +12002,6 @@ "resolved": "https://registry.npmjs.org/@nteract/any-vega/-/any-vega-1.0.1.tgz", "integrity": "sha512-RjECjm2bdQpEHuhpWyIjAg8dA8t5iWGDmx2VuStBhVSffciNrCn0WxhJiK5TSkyuBgk4rB4eAOspJ8UnfjOAyA==" }, - "@nteract/octicons": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/@nteract/octicons/-/octicons-0.2.0.tgz", - "integrity": "sha512-2CF5RptAaMgLZbh+PQDri2akhF8CWGm3ioLb7AAYHLebJ4eO88OZze7V6UjOCkA5aLgDARYH0Jkljlx09An9bA==", - "requires": {} - }, - "@nteract/plotly": { - "version": "1.49.1", - "resolved": "https://registry.npmjs.org/@nteract/plotly/-/plotly-1.49.1.tgz", - "integrity": "sha512-rdtOiqN/KJXaYc7JCU2z2eEe7EwYQ6mhRGpijGVhn9LdP8FNDgiIhfTq0uIUnAvMcFGrJ/aAfInoY4vzLCq//A==" - }, "@nteract/presentational-components": { "version": "3.4.12", "resolved": "https://registry.npmjs.org/@nteract/presentational-components/-/presentational-components-3.4.12.tgz", @@ -12103,33 +12015,6 @@ "react-toggle": "^4.1.1" } }, - "@nteract/transform-dataresource": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@nteract/transform-dataresource/-/transform-dataresource-3.0.2.tgz", - "integrity": "sha512-6anBusweGT/l+1YH7847UhMuvCK1zlNMYZlnowcbIhNO6ttFRBRvP/dTC0/W1sHc9R8tZemzakYHkHX87tlJnQ==", - "requires": { - "@nteract/octicons": "^0.2.0", - "@nteract/transform-plotly": "^3.1.6", - "d3-time-format": "^2.0.5", - "lodash": "^4.17.4", - "moment": "2.29.4", - "react-virtualized": "9.18.5", - "tv4": "^1.3.0" - }, - "dependencies": { - "@nteract/transform-plotly": { - "version": "3.2.5", - "resolved": "https://registry.npmjs.org/@nteract/transform-plotly/-/transform-plotly-3.2.5.tgz", - "integrity": "sha512-tQi47Ly1b/YLNJWhUV8gKVkweJb6ugfGg4XylG2wnLVDoaM8ObJrHAtY74S+Kg9e88N8ExNPy9ulG2xhhSrMag==", - "requires": { - "@babel/runtime-corejs2": "^7.0.0", - "@nteract/plotly": "^1.0.0", - "babel-runtime": "^6.26.0", - "lodash": "^4.17.4" - } - } - } - }, "@nteract/transform-geojson": { "version": "3.2.5", "resolved": "https://registry.npmjs.org/@nteract/transform-geojson/-/transform-geojson-3.2.5.tgz", @@ -15476,11 +15361,6 @@ "resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz", "integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==" }, - "moment": { - "version": "2.29.4", - "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.4.tgz", - "integrity": "sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w==" - }, "mrmime": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/mrmime/-/mrmime-2.0.0.tgz", @@ -15840,7 +15720,7 @@ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.40.tgz", "integrity": "sha512-YF2kKIUzAofPMpfH6hOi2cGnv/HrUlfucspc7pDyvv7kGdqXrfj8SCl/t8owkEgKEuu8ZcRjSOxFxVLqwChZ2Q==", "requires": { - "nanoid": "^3.3.7", + "nanoid": "3.3.8", "picocolors": "^1.0.1", "source-map-js": "^1.2.0" } @@ -16136,18 +16016,6 @@ "react-lifecycles-compat": "^3.0.4" } }, - "react-virtualized": { - "version": "9.18.5", - "resolved": "https://registry.npmjs.org/react-virtualized/-/react-virtualized-9.18.5.tgz", - "integrity": "sha512-eC9ortLeHkQs+WvpxVYJfiQqv7h+QoFmRGvYLi5UN0oKjcni/km9skrBKKw6xsYJRMMy7wnkEMOsBD28f41ovQ==", - "requires": { - "babel-runtime": "^6.26.0", - "classnames": "^2.2.3", - "dom-helpers": "^2.4.0 || ^3.0.0", - "loose-envify": "^1.3.0", - "prop-types": "^15.6.0" - } - }, "read-pkg": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-4.0.1.tgz", @@ -16623,7 +16491,7 @@ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.38.tgz", "integrity": "sha512-Wglpdk03BSfXkHoQa3b/oulrotAkwrlLDRSOb9D0bN86FdRyE9lppSp33aHNPgBa0JKCoB+drFLZkQoRRYae5A==", "requires": { - "nanoid": "^3.3.7", + "nanoid": "3.3.8", "picocolors": "^1.0.0", "source-map-js": "^1.2.0" } @@ -16955,11 +16823,6 @@ "safe-buffer": "^5.0.1" } }, - "tv4": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/tv4/-/tv4-1.3.0.tgz", - "integrity": "sha512-afizzfpJgvPr+eDkREK4MxJ/+r8nEEHcmitwgnPUqpaP+FpwQyadnxNoSACbgc/b1LsZYtODGoPiFxQrgJgjvw==" - }, "type-check": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", diff --git a/package.json b/package.json index 0b85fe9..1ba9f1c 100644 --- a/package.json +++ b/package.json @@ -85,7 +85,6 @@ "image/svg+xml", "application/geo+json", "application/vdom.v1+json", - "application/vnd.dataresource+json", "application/vnd.plotly.v1+json", "application/vnd.vega.v2+json", "application/vnd.vega.v3+json", @@ -149,7 +148,6 @@ "@babel/helper-validator-identifier": "^7.22.20", "@jupyterlab/nbformat": "^4.2.4", "@loadable/component": "^5.16.4", - "@nteract/transform-dataresource": "^3.0.2", "@nteract/transform-geojson": "^3.2.3", "@nteract/transform-model-debug": "^3.2.3", "@nteract/transform-plotly": "^7.0.0", diff --git a/src/client/transforms.tsx b/src/client/transforms.tsx index ee4e184..06b2106 100644 --- a/src/client/transforms.tsx +++ b/src/client/transforms.tsx @@ -62,10 +62,6 @@ const mimeTypeToImport: TransformData[] = [ const module = await import(/* webpackChunkName: "geojson" */ '@nteract/transform-geojson'); return module.GeoJSONTransform; }), - new TransformData('application/vnd.dataresource+json', async () => { - const module = await import(/* webpackChunkName: "dataresource" */ '@nteract/transform-dataresource'); - return module.DataResourceTransform; - }), new TransformData('application/x-nteract-model-debug+json', async () => { const module = await import(/* webpackChunkName: "modeldebug" */ '@nteract/transform-model-debug'); return module.default;