Comparing version 5.9.7 to 5.10.0
@@ -37,36 +37,252 @@ 'use strict'; | ||
var version = "5.9.7"; | ||
var version = "5.10.0"; | ||
Object.keys(d3Array).forEach(function (key) { exports[key] = d3Array[key]; }); | ||
Object.keys(d3Axis).forEach(function (key) { exports[key] = d3Axis[key]; }); | ||
Object.keys(d3Brush).forEach(function (key) { exports[key] = d3Brush[key]; }); | ||
Object.keys(d3Chord).forEach(function (key) { exports[key] = d3Chord[key]; }); | ||
Object.keys(d3Collection).forEach(function (key) { exports[key] = d3Collection[key]; }); | ||
Object.keys(d3Color).forEach(function (key) { exports[key] = d3Color[key]; }); | ||
Object.keys(d3Contour).forEach(function (key) { exports[key] = d3Contour[key]; }); | ||
Object.keys(d3Dispatch).forEach(function (key) { exports[key] = d3Dispatch[key]; }); | ||
Object.keys(d3Drag).forEach(function (key) { exports[key] = d3Drag[key]; }); | ||
Object.keys(d3Dsv).forEach(function (key) { exports[key] = d3Dsv[key]; }); | ||
Object.keys(d3Ease).forEach(function (key) { exports[key] = d3Ease[key]; }); | ||
Object.keys(d3Fetch).forEach(function (key) { exports[key] = d3Fetch[key]; }); | ||
Object.keys(d3Force).forEach(function (key) { exports[key] = d3Force[key]; }); | ||
Object.keys(d3Format).forEach(function (key) { exports[key] = d3Format[key]; }); | ||
Object.keys(d3Geo).forEach(function (key) { exports[key] = d3Geo[key]; }); | ||
Object.keys(d3Hierarchy).forEach(function (key) { exports[key] = d3Hierarchy[key]; }); | ||
Object.keys(d3Interpolate).forEach(function (key) { exports[key] = d3Interpolate[key]; }); | ||
Object.keys(d3Path).forEach(function (key) { exports[key] = d3Path[key]; }); | ||
Object.keys(d3Polygon).forEach(function (key) { exports[key] = d3Polygon[key]; }); | ||
Object.keys(d3Quadtree).forEach(function (key) { exports[key] = d3Quadtree[key]; }); | ||
Object.keys(d3Random).forEach(function (key) { exports[key] = d3Random[key]; }); | ||
Object.keys(d3Scale).forEach(function (key) { exports[key] = d3Scale[key]; }); | ||
Object.keys(d3ScaleChromatic).forEach(function (key) { exports[key] = d3ScaleChromatic[key]; }); | ||
Object.keys(d3Selection).forEach(function (key) { exports[key] = d3Selection[key]; }); | ||
Object.keys(d3Shape).forEach(function (key) { exports[key] = d3Shape[key]; }); | ||
Object.keys(d3Time).forEach(function (key) { exports[key] = d3Time[key]; }); | ||
Object.keys(d3TimeFormat).forEach(function (key) { exports[key] = d3TimeFormat[key]; }); | ||
Object.keys(d3Timer).forEach(function (key) { exports[key] = d3Timer[key]; }); | ||
Object.keys(d3Transition).forEach(function (key) { exports[key] = d3Transition[key]; }); | ||
Object.keys(d3Voronoi).forEach(function (key) { exports[key] = d3Voronoi[key]; }); | ||
Object.keys(d3Zoom).forEach(function (key) { exports[key] = d3Zoom[key]; }); | ||
Object.keys(d3Array).forEach(function (k) { | ||
if (k !== 'default') Object.defineProperty(exports, k, { | ||
enumerable: true, | ||
get: function () { | ||
return d3Array[k]; | ||
} | ||
}); | ||
}); | ||
Object.keys(d3Axis).forEach(function (k) { | ||
if (k !== 'default') Object.defineProperty(exports, k, { | ||
enumerable: true, | ||
get: function () { | ||
return d3Axis[k]; | ||
} | ||
}); | ||
}); | ||
Object.keys(d3Brush).forEach(function (k) { | ||
if (k !== 'default') Object.defineProperty(exports, k, { | ||
enumerable: true, | ||
get: function () { | ||
return d3Brush[k]; | ||
} | ||
}); | ||
}); | ||
Object.keys(d3Chord).forEach(function (k) { | ||
if (k !== 'default') Object.defineProperty(exports, k, { | ||
enumerable: true, | ||
get: function () { | ||
return d3Chord[k]; | ||
} | ||
}); | ||
}); | ||
Object.keys(d3Collection).forEach(function (k) { | ||
if (k !== 'default') Object.defineProperty(exports, k, { | ||
enumerable: true, | ||
get: function () { | ||
return d3Collection[k]; | ||
} | ||
}); | ||
}); | ||
Object.keys(d3Color).forEach(function (k) { | ||
if (k !== 'default') Object.defineProperty(exports, k, { | ||
enumerable: true, | ||
get: function () { | ||
return d3Color[k]; | ||
} | ||
}); | ||
}); | ||
Object.keys(d3Contour).forEach(function (k) { | ||
if (k !== 'default') Object.defineProperty(exports, k, { | ||
enumerable: true, | ||
get: function () { | ||
return d3Contour[k]; | ||
} | ||
}); | ||
}); | ||
Object.keys(d3Dispatch).forEach(function (k) { | ||
if (k !== 'default') Object.defineProperty(exports, k, { | ||
enumerable: true, | ||
get: function () { | ||
return d3Dispatch[k]; | ||
} | ||
}); | ||
}); | ||
Object.keys(d3Drag).forEach(function (k) { | ||
if (k !== 'default') Object.defineProperty(exports, k, { | ||
enumerable: true, | ||
get: function () { | ||
return d3Drag[k]; | ||
} | ||
}); | ||
}); | ||
Object.keys(d3Dsv).forEach(function (k) { | ||
if (k !== 'default') Object.defineProperty(exports, k, { | ||
enumerable: true, | ||
get: function () { | ||
return d3Dsv[k]; | ||
} | ||
}); | ||
}); | ||
Object.keys(d3Ease).forEach(function (k) { | ||
if (k !== 'default') Object.defineProperty(exports, k, { | ||
enumerable: true, | ||
get: function () { | ||
return d3Ease[k]; | ||
} | ||
}); | ||
}); | ||
Object.keys(d3Fetch).forEach(function (k) { | ||
if (k !== 'default') Object.defineProperty(exports, k, { | ||
enumerable: true, | ||
get: function () { | ||
return d3Fetch[k]; | ||
} | ||
}); | ||
}); | ||
Object.keys(d3Force).forEach(function (k) { | ||
if (k !== 'default') Object.defineProperty(exports, k, { | ||
enumerable: true, | ||
get: function () { | ||
return d3Force[k]; | ||
} | ||
}); | ||
}); | ||
Object.keys(d3Format).forEach(function (k) { | ||
if (k !== 'default') Object.defineProperty(exports, k, { | ||
enumerable: true, | ||
get: function () { | ||
return d3Format[k]; | ||
} | ||
}); | ||
}); | ||
Object.keys(d3Geo).forEach(function (k) { | ||
if (k !== 'default') Object.defineProperty(exports, k, { | ||
enumerable: true, | ||
get: function () { | ||
return d3Geo[k]; | ||
} | ||
}); | ||
}); | ||
Object.keys(d3Hierarchy).forEach(function (k) { | ||
if (k !== 'default') Object.defineProperty(exports, k, { | ||
enumerable: true, | ||
get: function () { | ||
return d3Hierarchy[k]; | ||
} | ||
}); | ||
}); | ||
Object.keys(d3Interpolate).forEach(function (k) { | ||
if (k !== 'default') Object.defineProperty(exports, k, { | ||
enumerable: true, | ||
get: function () { | ||
return d3Interpolate[k]; | ||
} | ||
}); | ||
}); | ||
Object.keys(d3Path).forEach(function (k) { | ||
if (k !== 'default') Object.defineProperty(exports, k, { | ||
enumerable: true, | ||
get: function () { | ||
return d3Path[k]; | ||
} | ||
}); | ||
}); | ||
Object.keys(d3Polygon).forEach(function (k) { | ||
if (k !== 'default') Object.defineProperty(exports, k, { | ||
enumerable: true, | ||
get: function () { | ||
return d3Polygon[k]; | ||
} | ||
}); | ||
}); | ||
Object.keys(d3Quadtree).forEach(function (k) { | ||
if (k !== 'default') Object.defineProperty(exports, k, { | ||
enumerable: true, | ||
get: function () { | ||
return d3Quadtree[k]; | ||
} | ||
}); | ||
}); | ||
Object.keys(d3Random).forEach(function (k) { | ||
if (k !== 'default') Object.defineProperty(exports, k, { | ||
enumerable: true, | ||
get: function () { | ||
return d3Random[k]; | ||
} | ||
}); | ||
}); | ||
Object.keys(d3Scale).forEach(function (k) { | ||
if (k !== 'default') Object.defineProperty(exports, k, { | ||
enumerable: true, | ||
get: function () { | ||
return d3Scale[k]; | ||
} | ||
}); | ||
}); | ||
Object.keys(d3ScaleChromatic).forEach(function (k) { | ||
if (k !== 'default') Object.defineProperty(exports, k, { | ||
enumerable: true, | ||
get: function () { | ||
return d3ScaleChromatic[k]; | ||
} | ||
}); | ||
}); | ||
Object.keys(d3Selection).forEach(function (k) { | ||
if (k !== 'default') Object.defineProperty(exports, k, { | ||
enumerable: true, | ||
get: function () { | ||
return d3Selection[k]; | ||
} | ||
}); | ||
}); | ||
Object.keys(d3Shape).forEach(function (k) { | ||
if (k !== 'default') Object.defineProperty(exports, k, { | ||
enumerable: true, | ||
get: function () { | ||
return d3Shape[k]; | ||
} | ||
}); | ||
}); | ||
Object.keys(d3Time).forEach(function (k) { | ||
if (k !== 'default') Object.defineProperty(exports, k, { | ||
enumerable: true, | ||
get: function () { | ||
return d3Time[k]; | ||
} | ||
}); | ||
}); | ||
Object.keys(d3TimeFormat).forEach(function (k) { | ||
if (k !== 'default') Object.defineProperty(exports, k, { | ||
enumerable: true, | ||
get: function () { | ||
return d3TimeFormat[k]; | ||
} | ||
}); | ||
}); | ||
Object.keys(d3Timer).forEach(function (k) { | ||
if (k !== 'default') Object.defineProperty(exports, k, { | ||
enumerable: true, | ||
get: function () { | ||
return d3Timer[k]; | ||
} | ||
}); | ||
}); | ||
Object.keys(d3Transition).forEach(function (k) { | ||
if (k !== 'default') Object.defineProperty(exports, k, { | ||
enumerable: true, | ||
get: function () { | ||
return d3Transition[k]; | ||
} | ||
}); | ||
}); | ||
Object.keys(d3Voronoi).forEach(function (k) { | ||
if (k !== 'default') Object.defineProperty(exports, k, { | ||
enumerable: true, | ||
get: function () { | ||
return d3Voronoi[k]; | ||
} | ||
}); | ||
}); | ||
Object.keys(d3Zoom).forEach(function (k) { | ||
if (k !== 'default') Object.defineProperty(exports, k, { | ||
enumerable: true, | ||
get: function () { | ||
return d3Zoom[k]; | ||
} | ||
}); | ||
}); | ||
exports.version = version; | ||
Object.defineProperty(exports, "event", {get: function() { return d3Selection.event; }}); |
export var name = "d3"; | ||
export var version = "5.9.7"; | ||
export var version = "5.10.0"; | ||
export var description = "Data-Driven Documents"; | ||
@@ -13,4 +13,5 @@ export var keywords = ["dom","visualization","svg","animation","canvas"]; | ||
export var repository = {"type":"git","url":"https://github.com/d3/d3.git"}; | ||
export var scripts = {"pretest":"rimraf dist && mkdir dist && json2module package.json > dist/package.js && node rollup.node","test":"tape 'test/**/*-test.js'","prepublishOnly":"yarn test && rollup -c","postpublish":"git push && git push --tags && cd ../d3.github.com && git pull && cp ../d3/dist/d3.js d3.v5.js && cp ../d3/dist/d3.min.js d3.v5.min.js && git add d3.v5.js d3.v5.min.js && git commit -m \"d3 ${npm_package_version}\" && git push && cd - && cd ../d3-bower && git pull && cp ../d3/LICENSE ../d3/README.md ../d3/dist/d3.js ../d3/dist/d3.min.js . && git add -- LICENSE README.md d3.js d3.min.js && git commit -m \"${npm_package_version}\" && git tag -am \"${npm_package_version}\" v${npm_package_version} && git push && git push --tags && cd - && zip -j dist/d3.zip -- LICENSE README.md API.md CHANGES.md dist/d3.js dist/d3.min.js"}; | ||
export var devDependencies = {"json2module":"0.0","rimraf":"2","rollup":"0.64","rollup-plugin-ascii":"0.0","rollup-plugin-node-resolve":"3","rollup-plugin-terser":"1","tape":"4"}; | ||
export var files = ["dist/**/*.js","index.js"]; | ||
export var scripts = {"pretest":"rimraf dist && mkdir dist && json2module package.json > dist/package.js && rollup -c","test":"tape 'test/**/*-test.js'","prepublishOnly":"yarn test","postpublish":"git push && git push --tags && cd ../d3.github.com && git pull && cp ../d3/dist/d3.js d3.v5.js && cp ../d3/dist/d3.min.js d3.v5.min.js && git add d3.v5.js d3.v5.min.js && git commit -m \"d3 ${npm_package_version}\" && git push && cd - && cd ../d3-bower && git pull && cp ../d3/LICENSE ../d3/README.md ../d3/dist/d3.js ../d3/dist/d3.min.js . && git add -- LICENSE README.md d3.js d3.min.js && git commit -m \"${npm_package_version}\" && git tag -am \"${npm_package_version}\" v${npm_package_version} && git push && git push --tags && cd - && zip -j dist/d3.zip -- LICENSE README.md API.md CHANGES.md dist/d3.js dist/d3.min.js"}; | ||
export var devDependencies = {"json2module":"0.0","rimraf":"2","rollup":"1","rollup-plugin-ascii":"0.0","rollup-plugin-node-resolve":"3","rollup-plugin-terser":"5","tape":"4"}; | ||
export var dependencies = {"d3-array":"1","d3-axis":"1","d3-brush":"1","d3-chord":"1","d3-collection":"1","d3-color":"1","d3-contour":"1","d3-dispatch":"1","d3-drag":"1","d3-dsv":"1","d3-ease":"1","d3-fetch":"1","d3-force":"1","d3-format":"1","d3-geo":"1","d3-hierarchy":"1","d3-interpolate":"1","d3-path":"1","d3-polygon":"1","d3-quadtree":"1","d3-random":"1","d3-scale":"2","d3-scale-chromatic":"1","d3-selection":"1","d3-shape":"1","d3-time":"1","d3-time-format":"2","d3-timer":"1","d3-transition":"1","d3-voronoi":"1","d3-zoom":"1"}; |
@@ -1,2 +0,2 @@ | ||
export {version} from "./dist/package"; | ||
export {version} from "./dist/package.js"; | ||
export * from "d3-array"; | ||
@@ -3,0 +3,0 @@ export * from "d3-axis"; |
{ | ||
"name": "d3", | ||
"version": "5.9.7", | ||
"version": "5.10.0", | ||
"description": "Data-Driven Documents", | ||
@@ -26,6 +26,10 @@ "keywords": [ | ||
}, | ||
"files": [ | ||
"dist/**/*.js", | ||
"index.js" | ||
], | ||
"scripts": { | ||
"pretest": "rimraf dist && mkdir dist && json2module package.json > dist/package.js && node rollup.node", | ||
"pretest": "rimraf dist && mkdir dist && json2module package.json > dist/package.js && rollup -c", | ||
"test": "tape 'test/**/*-test.js'", | ||
"prepublishOnly": "yarn test && rollup -c", | ||
"prepublishOnly": "yarn test", | ||
"postpublish": "git push && git push --tags && cd ../d3.github.com && git pull && cp ../d3/dist/d3.js d3.v5.js && cp ../d3/dist/d3.min.js d3.v5.min.js && git add d3.v5.js d3.v5.min.js && git commit -m \"d3 ${npm_package_version}\" && git push && cd - && cd ../d3-bower && git pull && cp ../d3/LICENSE ../d3/README.md ../d3/dist/d3.js ../d3/dist/d3.min.js . && git add -- LICENSE README.md d3.js d3.min.js && git commit -m \"${npm_package_version}\" && git tag -am \"${npm_package_version}\" v${npm_package_version} && git push && git push --tags && cd - && zip -j dist/d3.zip -- LICENSE README.md API.md CHANGES.md dist/d3.js dist/d3.min.js" | ||
@@ -36,6 +40,6 @@ }, | ||
"rimraf": "2", | ||
"rollup": "0.64", | ||
"rollup": "1", | ||
"rollup-plugin-ascii": "0.0", | ||
"rollup-plugin-node-resolve": "3", | ||
"rollup-plugin-terser": "1", | ||
"rollup-plugin-terser": "5", | ||
"tape": "4" | ||
@@ -42,0 +46,0 @@ }, |
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 too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
16983
0
913810
9