N°5621 Move D3 3.5.16 to NPM

This commit is contained in:
Pierre Goiffon
2024-02-16 16:47:16 +01:00
parent f3fbce7459
commit 3e9f4df1bf
16 changed files with 38 additions and 32 deletions

6
node_modules/.package-lock.json generated vendored
View File

@@ -35,9 +35,9 @@
}
},
"node_modules/d3": {
"version": "3.5.17",
"resolved": "https://registry.npmjs.org/d3/-/d3-3.5.17.tgz",
"integrity": "sha512-yFk/2idb8OHPKkbAL8QaOaqENNoMhIaSHZerk3oQsECwkObkCpJyjYwCe+OHiq6UEdhe1m8ZGARRRO3ljFjlKg=="
"version": "3.5.16",
"resolved": "https://registry.npmjs.org/d3/-/d3-3.5.16.tgz",
"integrity": "sha512-IUqa8/ntsWQiI1TnPTnzWcwh3bJ6Orurp2LVQne9UJdiDjxeFynUuIwjJjbqsBEu3wrhcVnZblIdd9pvdM5HEQ=="
},
"node_modules/datatables.net": {
"version": "1.11.3",

4
node_modules/d3/README.md generated vendored
View File

@@ -7,7 +7,3 @@
Want to learn more? [See the wiki.](https://github.com/mbostock/d3/wiki)
For examples, [see the gallery](https://github.com/mbostock/d3/wiki/Gallery) and [mbostocks bl.ocks](http://bl.ocks.org/mbostock).
## Good News, Everyone!
The next major release of D3, 4.0, is coming! See the [4.0 development branch](https://github.com/mbostock/d3/tree/4) and read the [new API reference](https://github.com/mbostock/d3/blob/4/README.md) to get ready.

4
node_modules/d3/d3.js generated vendored
View File

@@ -1,6 +1,6 @@
!function() {
var d3 = {
version: "3.5.17"
version: "3.5.16"
};
var d3_arraySlice = [].slice, d3_array = function(list) {
return d3_arraySlice.call(list);
@@ -3525,7 +3525,7 @@
λ0 = λ, sinφ0 = sinφ, cosφ0 = cosφ, point0 = point;
}
}
return (polarAngle < -ε || polarAngle < ε && d3_geo_areaRingSum < -ε) ^ winding & 1;
return (polarAngle < -ε || polarAngle < ε && d3_geo_areaRingSum < 0) ^ winding & 1;
}
function d3_geo_clipCircle(radius) {
var cr = Math.cos(radius), smallRadius = cr > 0, notHemisphere = abs(cr) > ε, interpolate = d3_geo_circleInterpolate(radius, 6 * d3_radians);

10
node_modules/d3/d3.min.js generated vendored

File diff suppressed because one or more lines are too long

2
node_modules/d3/package.js generated vendored
View File

@@ -3,7 +3,7 @@
Package.describe({
name: "d3js:d3", // http://atmospherejs.com/d3js/d3
summary: "D3 (official): A JavaScript visualization library for HTML and SVG.",
version: "3.5.17",
version: "3.5.16",
git: "https://github.com/mbostock/d3.git"
});

6
node_modules/d3/package.json generated vendored
View File

@@ -1,6 +1,6 @@
{
"name": "d3",
"version": "3.5.17",
"version": "3.5.16",
"description": "A JavaScript visualization library for HTML and SVG.",
"keywords": [
"dom",
@@ -54,13 +54,13 @@
"jsdom": "3",
"seedrandom": "2",
"smash": "0.0",
"uglify-js": "2.6.2",
"uglify-js": "2.6.1",
"vows": "0.8"
},
"scripts": {
"test": "vows && echo",
"prepublish": "npm test && rm -f package.js src/start.js d3.js d3.min.js d3.zip && bin/start > src/start.js && bin/meteor > package.js && smash src/d3.js | uglifyjs - -b indent-level=2 -o d3.js && bin/uglify d3.js > d3.min.js && chmod a-w d3.js d3.min.js package.js && zip d3.zip LICENSE d3.js d3.min.js",
"postpublish": "VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git push && git push --tags && cp -v README.md LICENSE d3.js d3.min.js ../d3-bower && cd ../d3-bower && git add README.md LICENSE d3.js d3.min.js && git commit -m \"Release $VERSION.\" && git tag -am \"Release $VERSION.\" v${VERSION} && git push && git push --tags && cd - && cp -v d3.js ../d3.github.com/d3.v3.js && cp -v d3.min.js ../d3.github.com/d3.v3.min.js && cd ../d3.github.com && git add d3.v3.js d3.v3.min.js && git commit -m \"d3 ${VERSION}\" && git push"
"postpublish": "VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git push && git tag -am \"Release $VERSION.\" v${VERSION} && git push --tags && cp -v README.md LICENSE d3.js d3.min.js ../d3-bower && cd ../d3-bower && git add README.md LICENSE d3.js d3.min.js && git commit -m \"Release $VERSION.\" && git tag -am \"Release $VERSION.\" v${VERSION} && git push && git push --tags && cd - && cp -v d3.js ../d3.github.com/d3.v3.js && cp -v d3.min.js ../d3.github.com/d3.v3.min.js && cd ../d3.github.com && git add d3.v3.js d3.v3.min.js && git commit -m \"d3 ${VERSION}\" && git push"
},
"license": "BSD-3-Clause"
}

View File

@@ -67,5 +67,5 @@ function d3_geo_pointInPolygon(point, polygon) {
// from the point to the South pole. If it is zero, then the point is the
// same side as the South pole.
return (polarAngle < -ε || polarAngle < ε && d3_geo_areaRingSum < -ε) ^ (winding & 1);
return (polarAngle < -ε || polarAngle < ε && d3_geo_areaRingSum < 0) ^ (winding & 1);
}

View File

@@ -5,12 +5,12 @@ var d3_locale_zhCN = d3.locale({
thousands: ",",
grouping: [3],
currency: ["¥", ""],
dateTime: "%x %A %X",
date: "%Y%-m%-d",
dateTime: "%a %b %e %X %Y",
date: "%Y/%-m/%-d",
time: "%H:%M:%S",
periods: ["上午", "下午"],
days: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"],
shortDays: ["日", "一", "二", "三", "四", "五", "六"],
shortDays: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"],
months: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"],
shortMonths: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"]
});

2
node_modules/d3/src/start.js generated vendored
View File

@@ -1,2 +1,2 @@
!function(){
var d3 = {version: "3.5.17"}; // semver
var d3 = {version: "3.5.16"}; // semver