Skip to content

Commit

Permalink
chore: Update d3-array to v2.5.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeffrey Heer authored and jheer committed Aug 18, 2020
1 parent f060109 commit 28db833
Show file tree
Hide file tree
Showing 16 changed files with 43 additions and 46 deletions.
9 changes: 5 additions & 4 deletions docs/vega-core.js
Original file line number Diff line number Diff line change
Expand Up @@ -2161,10 +2161,11 @@
ticks = new Array(n = Math.ceil(stop - start + 1));
while (++i < n) ticks[i] = (start + i) * step;
} else {
start = Math.floor(start * step);
stop = Math.ceil(stop * step);
ticks = new Array(n = Math.ceil(start - stop + 1));
while (++i < n) ticks[i] = (start - i) / step;
step = -step;
start = Math.ceil(start * step);
stop = Math.floor(stop * step);
ticks = new Array(n = Math.ceil(stop - start + 1));
while (++i < n) ticks[i] = (start + i) / step;
}

if (reverse) ticks.reverse();
Expand Down
2 changes: 1 addition & 1 deletion docs/vega-core.min.js

Large diffs are not rendered by default.

9 changes: 5 additions & 4 deletions docs/vega.js
Original file line number Diff line number Diff line change
Expand Up @@ -2523,10 +2523,11 @@
ticks = new Array(n = Math.ceil(stop - start + 1));
while (++i < n) ticks[i] = (start + i) * step;
} else {
start = Math.floor(start * step);
stop = Math.ceil(stop * step);
ticks = new Array(n = Math.ceil(start - stop + 1));
while (++i < n) ticks[i] = (start - i) / step;
step = -step;
start = Math.ceil(start * step);
stop = Math.floor(stop * step);
ticks = new Array(n = Math.ceil(stop - start + 1));
while (++i < n) ticks[i] = (start + i) / step;
}

if (reverse) ticks.reverse();
Expand Down
2 changes: 1 addition & 1 deletion docs/vega.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/vega-crossfilter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"postpublish": "git push && git push --tags"
},
"dependencies": {
"d3-array": "^2.4.0",
"d3-array": "^2.5.1",
"vega-dataflow": "^5.7.1",
"vega-util": "^1.15.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/vega-encode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"postpublish": "git push && git push --tags"
},
"dependencies": {
"d3-array": "^2.4.0",
"d3-array": "^2.5.1",
"d3-interpolate": "^1.4.0",
"vega-dataflow": "^5.7.1",
"vega-scale": "^7.0.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/vega-format/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"postpublish": "git push && git push --tags"
},
"dependencies": {
"d3-array": "^2.4.0",
"d3-array": "^2.5.1",
"d3-format": "^1.4.4",
"d3-time-format": "^2.2.3",
"vega-time": "^2.0.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/vega-functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"postpublish": "git push && git push --tags"
},
"dependencies": {
"d3-array": "^2.4.0",
"d3-array": "^2.5.1",
"d3-color": "^1.4.1",
"d3-geo": "^1.12.1",
"vega-dataflow": "^5.7.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/vega-geo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"postpublish": "git push && git push --tags"
},
"dependencies": {
"d3-array": "^2.4.0",
"d3-array": "^2.5.1",
"d3-color": "^1.4.1",
"d3-geo": "^1.12.1",
"vega-canvas": "^1.2.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/vega-regression/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"postpublish": "git push && git push --tags"
},
"dependencies": {
"d3-array": "^2.4.0",
"d3-array": "^2.5.1",
"vega-dataflow": "^5.7.1",
"vega-statistics": "^1.7.7",
"vega-util": "^1.15.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/vega-scale/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"postpublish": "git push && git push --tags"
},
"dependencies": {
"d3-array": "^2.4.0",
"d3-array": "^2.5.1",
"d3-interpolate": "^1.4.0",
"d3-scale": "^3.2.1",
"vega-time": "^2.0.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/vega-statistics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
"postpublish": "git push && git push --tags"
},
"dependencies": {
"d3-array": "^2.4.0"
"d3-array": "^2.5.1"
}
}
2 changes: 1 addition & 1 deletion packages/vega-time/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"postpublish": "git push && git push --tags"
},
"dependencies": {
"d3-array": "^2.4.0",
"d3-array": "^2.5.1",
"d3-time": "^1.1.0",
"vega-util": "^1.15.0"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/vega-transforms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"postpublish": "git push && git push --tags"
},
"dependencies": {
"d3-array": "^2.4.0",
"d3-array": "^2.5.1",
"vega-dataflow": "^5.7.1",
"vega-statistics": "^1.7.7",
"vega-time": "^2.0.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/vega-view/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"postpublish": "git push && git push --tags"
},
"dependencies": {
"d3-array": "^2.4.0",
"d3-array": "^2.5.1",
"d3-timer": "^1.0.10",
"vega-dataflow": "^5.7.1",
"vega-format": "^1.0.2",
Expand Down
45 changes: 20 additions & 25 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1825,21 +1825,16 @@
resolved "https://registry.yarnpkg.com/@types/minimist/-/minimist-1.2.0.tgz#69a23a3ad29caf0097f06eda59b361ee2f0639f6"
integrity sha1-aaI6OtKcrwCX8G7aWbNh7i8GOfY=

"@types/node@*", "@types/node@>= 8":
version "14.0.27"
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.0.27.tgz#a151873af5a5e851b51b3b065c9e63390a9e0eb1"
integrity sha512-kVrqXhbclHNHGu9ztnAwSncIgJv/FaxmzXJvGXNdcCpV1b8u1/Mi6z6m0vwy0LzKeXFTPLH0NzwmoJ3fNCIq0g==
"@types/node@*", "@types/node@>= 8", "@types/node@^14.6.0":
version "14.6.0"
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.6.0.tgz#7d4411bf5157339337d7cff864d9ff45f177b499"
integrity sha512-mikldZQitV94akrc4sCcSjtJfsTKt4p+e/s0AGscVA6XArQ9kFclP+ZiYUMnq987rc6QlYxXv/EivqlfSLxpKA==

"@types/node@^12.12.29":
version "12.12.54"
resolved "https://registry.yarnpkg.com/@types/node/-/node-12.12.54.tgz#a4b58d8df3a4677b6c08bfbc94b7ad7a7a5f82d1"
integrity sha512-ge4xZ3vSBornVYlDnk7yZ0gK6ChHf/CHB7Gl1I0Jhah8DDnEQqBzgohYG4FX4p81TNirSETOiSyn+y1r9/IR6w==

"@types/node@^14.6.0":
version "14.6.0"
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.6.0.tgz#7d4411bf5157339337d7cff864d9ff45f177b499"
integrity sha512-mikldZQitV94akrc4sCcSjtJfsTKt4p+e/s0AGscVA6XArQ9kFclP+ZiYUMnq987rc6QlYxXv/EivqlfSLxpKA==

"@types/normalize-package-data@^2.4.0":
version "2.4.0"
resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz#e486d0d97396d79beedd0a6e33f4534ff6b4973e"
Expand Down Expand Up @@ -2482,9 +2477,9 @@ camelcase@^5.0.0, camelcase@^5.3.1:
integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==

caniuse-lite@^1.0.30001111:
version "1.0.30001113"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001113.tgz#22016ab55b5a8b04fa00ca342d9ee1b98df48065"
integrity sha512-qMvjHiKH21zzM/VDZr6oosO6Ri3U0V2tC015jRXjOecwQCJtsU5zklTNTk31jQbIOP8gha0h1ccM/g0ECP+4BA==
version "1.0.30001115"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001115.tgz#c04cd828883ba47f6f776312e0817bcc9040cfa4"
integrity sha512-NZrG0439ePYna44lJX8evHX2L7Z3/z3qjVLnHgbBb/duNEnGo348u+BQS5o4HTWcrb++100dHFrU36IesIrC1Q==

canvas@^2.6.1:
version "2.6.1"
Expand Down Expand Up @@ -2981,10 +2976,10 @@ d3-array@1:
resolved "https://registry.yarnpkg.com/d3-array/-/d3-array-1.2.4.tgz#635ce4d5eea759f6f605863dbcfc30edc737f71f"
integrity sha512-KHW6M86R+FUPYGb3R5XiYjXPq7VzwxZ22buHhAEVG5ztoEcZZMLov530mmccaqA1GghZArjQV46fuc8kUqhhHw==

"d3-array@1.2.0 - 2", d3-array@^2.4.0:
version "2.4.0"
resolved "https://registry.yarnpkg.com/d3-array/-/d3-array-2.4.0.tgz#87f8b9ad11088769c82b5ea846bcb1cc9393f242"
integrity sha512-KQ41bAF2BMakf/HdKT865ALd4cgND6VcIztVQZUTt0+BH3RWy6ZYnHghVXf6NFjt2ritLr8H1T8LreAAlfiNcw==
"d3-array@1.2.0 - 2", d3-array@^2.5.1:
version "2.5.1"
resolved "https://registry.yarnpkg.com/d3-array/-/d3-array-2.5.1.tgz#cc785e1c4b560a34b8c77af9e6709bdf3f2ee117"
integrity sha512-cKvAlQZUKhXInw5mosJMtAYsY3dDYwTess/WOFUQTGcr8xV04SZMJs6n6QznsqZC5vJTkvZuCgsH9fo981ysPA==

d3-color@1, d3-color@^1.4.1:
version "1.4.1"
Expand Down Expand Up @@ -3337,9 +3332,9 @@ domexception@^2.0.1:
webidl-conversions "^5.0.0"

dot-prop@^4.2.0:
version "4.2.0"
resolved "https://registry.yarnpkg.com/dot-prop/-/dot-prop-4.2.0.tgz#1f19e0c2e1aa0e32797c49799f2837ac6af69c57"
integrity sha512-tUMXrxlExSW6U2EXiiKGSBVdYgtV8qlHL+C10TsW4PURY/ic+eaysnSkwB4kA/mBlCyy/IKDJ+Lc3wbWeaXtuQ==
version "4.2.1"
resolved "https://registry.yarnpkg.com/dot-prop/-/dot-prop-4.2.1.tgz#45884194a71fc2cda71cbb4bceb3a4dd2f433ba4"
integrity sha512-l0p4+mIuJIua0mhxGoh4a+iNL9bmeK5DvnSVQa6T0OhrVmaEa1XScX5Etc673FePCJOArq/4Pa2cLGODUWTPOQ==
dependencies:
is-obj "^1.0.0"

Expand Down Expand Up @@ -3408,9 +3403,9 @@ ecc-jsbn@~0.1.1:
safer-buffer "^2.1.0"

electron-to-chromium@^1.3.523:
version "1.3.533"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.533.tgz#d7e5ca4d57e9bc99af87efbe13e7be5dde729b0f"
integrity sha512-YqAL+NXOzjBnpY+dcOKDlZybJDCOzgsq4koW3fvyty/ldTmsb4QazZpOWmVvZ2m0t5jbBf7L0lIGU3BUipwG+A==
version "1.3.534"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.534.tgz#fc7af8518dd00a5b22a24aed3f116b5d097e2330"
integrity sha512-7x2S3yUrspNHQOoPk+Eo+iHViSiJiEGPI6BpmLy1eT2KRNGCkBt/NUYqjfXLd1DpDCQp7n3+LfA1RkbG+LqTZQ==

emoji-regex@^7.0.1:
version "7.0.3"
Expand Down Expand Up @@ -5127,9 +5122,9 @@ lodash.uniq@^4.5.0:
integrity sha1-0CJTc662Uq3BvILklFM5qEJ1R3M=

lodash@^4.17.12, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.2.1:
version "4.17.19"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.19.tgz#e48ddedbe30b3321783c5b4301fbd353bc1e4a4b"
integrity sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ==
version "4.17.20"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.20.tgz#b44a9b6297bcb698f1c51a3545a2b3b368d59c52"
integrity sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==

loose-envify@^1.0.0:
version "1.4.0"
Expand Down

0 comments on commit 28db833

Please sign in to comment.