Comparing version
{ | ||
"name": "d3", | ||
"version": "7.6.1", | ||
"version": "7.8.5", | ||
"description": "Data-Driven Documents", | ||
@@ -69,8 +69,7 @@ "homepage": "https://d3js.org", | ||
"devDependencies": { | ||
"@rollup/plugin-json": "4", | ||
"@rollup/plugin-node-resolve": "13", | ||
"@rollup/plugin-json": "6", | ||
"@rollup/plugin-node-resolve": "15", | ||
"eslint": "8", | ||
"mocha": "10", | ||
"rollup": "2", | ||
"rollup-plugin-ascii": "0.0", | ||
"rollup": "3", | ||
"rollup-plugin-terser": "7" | ||
@@ -80,4 +79,4 @@ }, | ||
"test": "mocha 'test/**/*-test.js' && eslint src test", | ||
"prepublishOnly": "rm -rf dist && yarn test && rollup -c && git push", | ||
"postpublish": "git push --tags && cd ../d3.github.com && git pull && cp ../d3/dist/d3.js d3.v${npm_package_version%%.*}.js && cp ../d3/dist/d3.min.js d3.v${npm_package_version%%.*}.min.js && git add d3.v${npm_package_version%%.*}.js d3.v${npm_package_version%%.*}.min.js && git commit -m \"d3 ${npm_package_version}\" && git push && cd -" | ||
"prepublishOnly": "rm -rf dist && rollup -c", | ||
"postpublish": "git push && git push --tags && cd ../d3.github.com && git pull && cp ../d3/dist/d3.js d3.v${npm_package_version%%.*}.js && cp ../d3/dist/d3.min.js d3.v${npm_package_version%%.*}.min.js && git add d3.v${npm_package_version%%.*}.js d3.v${npm_package_version%%.*}.min.js && git commit -m \"d3 ${npm_package_version}\" && git push && cd -" | ||
}, | ||
@@ -84,0 +83,0 @@ "engines": { |
@@ -17,3 +17,3 @@ # D3: Data-Driven Documents | ||
If you use npm, `npm install d3`. You can also download the [latest release on GitHub](https://github.com/d3/d3/releases/latest). For vanilla HTML in modern browsers, import D3 from Skypack: | ||
If you use npm, `npm install d3`. You can also download the [latest release on GitHub](https://github.com/d3/d3/releases/latest). For vanilla HTML in modern browsers, import D3 from jsDelivr: | ||
@@ -23,3 +23,3 @@ ```html | ||
import * as d3 from "https://cdn.skypack.dev/d3@7"; | ||
import * as d3 from "https://cdn.jsdelivr.net/npm/d3@7/+esm"; | ||
@@ -47,3 +47,3 @@ const div = d3.selectAll("div"); | ||
import {selectAll} from "https://cdn.skypack.dev/d3-selection@3"; | ||
import {selectAll} from "https://cdn.jsdelivr.net/npm/d3-selection@3/+esm"; | ||
@@ -50,0 +50,0 @@ const div = selectAll("div"); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Potential vulnerability
Supply chain riskInitial human review suggests the presence of a vulnerability in this package. It is pending further analysis and confirmation.
Found 1 instance in 1 package
872682
0.59%6
-14.29%18865
0.73%2
100%