Kepler.gl is a powerful open source geospatial analysis tool for large-scale data sets.
[Enhancement] Upgrade d3-scale (#1311)
Shan Hec990a477edb0
diff --git a/package.json b/package.jsonindex 0f78cd6de..f239d5dbf 100644--- a/package.json+++ b/package.json@@ -109,7 +109,7 @@"d3-format": "^1.2.0","d3-hexbin": "^0.2.2","d3-request": "^1.0.6",- "d3-scale": "^1.0.6",+ "d3-scale": "^3.2.3","decimal.js": "^10.2.0","exenv": "^1.2.2","fuzzy": "^0.1.3",@@ -245,6 +245,7 @@"@loaders.gl/json": "^2.3.0-alpha.9","@loaders.gl/loader-utils": "^2.3.0-alpha.9","@loaders.gl/polyfills": "^2.3.0-alpha.9",+ "d3-scale": "^3.2.3","dot-prop": "5.1.1","kind-of": "6.0.3","jpeg-js": "0.4.0",diff --git a/test/node/utils/map-info-utils-test.js b/test/node/utils/map-info-utils-test.jsindex 84d14f2ad..030fb45e2 100644--- a/test/node/utils/map-info-utils-test.js+++ b/test/node/utils/map-info-utils-test.js@@ -1,3 +1,23 @@+// Copyright (c) 2020 Uber Technologies, Inc.+//+// Permission is hereby granted, free of charge, to any person obtaining a copy+// of this software and associated documentation files (the "Software"), to deal+// in the Software without restriction, including without limitation the rights+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell+// copies of the Software, and to permit persons to whom the Software is+// furnished to do so, subject to the following conditions:+//+// The above copyright notice and this permission notice shall be included in+// all copies or substantial portions of the Software.+//+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN+// THE SOFTWARE.+import test from 'tape';import {isValidMapInfo} from 'utils/map-info-utils';diff --git a/yarn.lock b/yarn.lockindex 58dbd6b5b..27cdbe2ba 100644--- a/yarn.lock+++ b/yarn.lock@@ -4470,6 +4470,11 @@ d3-array@1, d3-array@^1.1.1, d3-array@^1.2.0:resolved "https://registry.yarnpkg.com/d3-array/-/d3-array-1.2.4.tgz#635ce4d5eea759f6f605863dbcfc30edc737f71f"integrity sha512-KHW6M86R+FUPYGb3R5XiYjXPq7VzwxZ22buHhAEVG5ztoEcZZMLov530mmccaqA1GghZArjQV46fuc8kUqhhHw==+d3-array@^2.3.0:+ version "2.8.0"+ resolved "https://registry.yarnpkg.com/d3-array/-/d3-array-2.8.0.tgz#f76e10ad47f1f4f75f33db5fc322eb9ffde5ef23"+ integrity sha512-6V272gsOeg7+9pTW1jSYOR1QE37g95I3my1hBmY+vOUNHRrk9yt4OTz/gK7PMkVAVDrYYq4mq3grTiZ8iJdNIw==+d3-axis@^1.0.8:version "1.0.12"resolved "https://registry.yarnpkg.com/d3-axis/-/d3-axis-1.0.12.tgz#cdf20ba210cfbb43795af33756886fb3638daac9"@@ -4496,6 +4501,11 @@ d3-color@1, d3-color@^1.0.3:resolved "https://registry.yarnpkg.com/d3-color/-/d3-color-1.4.0.tgz#89c45a995ed773b13314f06460df26d60ba0ecaf"integrity sha512-TzNPeJy2+iEepfiL92LAAB7fvnp/dV2YwANPVHdDWmYMm23qIJBYww3qT8I8C1wXrmrg4UWs7BKc2tKIgyjzHg==+"d3-color@1 - 2":+ version "2.0.0"+ resolved "https://registry.yarnpkg.com/d3-color/-/d3-color-2.0.0.tgz#8d625cab42ed9b8f601a1760a389f7ea9189d62e"+ integrity sha512-SPXi0TSKPD4g9tw0NMZFnR95XVgUZiBH+uUTqQuDu1OsE2zomHU7ho0FISciaPvosimixwHFl3WHLGabv6dDgQ==+d3-contour@^1.1.0:version "1.3.2"resolved "https://registry.yarnpkg.com/d3-contour/-/d3-contour-1.3.2.tgz#652aacd500d2264cb3423cee10db69f6f59bead3"@@ -4530,10 +4540,15 @@ d3-ease@1:resolved "https://registry.yarnpkg.com/d3-ease/-/d3-ease-1.0.6.tgz#ebdb6da22dfac0a22222f2d4da06f66c416a0ec0"integrity sha512-SZ/lVU7LRXafqp7XtIcBdxnWl8yyLpgOmzAk0mWBI9gXNzLDx5ybZgnRbH9dN/yY5tzVBqCQ9avltSnqVwessQ==-d3-format@1, d3-format@^1.2.0:- version "1.4.3"- resolved "https://registry.yarnpkg.com/d3-format/-/d3-format-1.4.3.tgz#4e8eb4dff3fdcb891a8489ec6e698601c41b96f1"- integrity sha512-mm/nE2Y9HgGyjP+rKIekeITVgBtX97o1nrvHCWX8F/yBYyevUTvu9vb5pUnKwrcSw7o7GuwMOWjS9gFDs4O+uQ==+"d3-format@1 - 2":+ version "2.0.0"+ resolved "https://registry.yarnpkg.com/d3-format/-/d3-format-2.0.0.tgz#a10bcc0f986c372b729ba447382413aabf5b0767"+ integrity sha512-Ab3S6XuE/Q+flY96HXT0jOXcM4EAClYFnRGY5zsjRGNy6qCYrQsMffs7cV5Q9xejb35zxW5hf/guKw34kvIKsA==++d3-format@^1.2.0:+ version "1.4.5"+ resolved "https://registry.yarnpkg.com/d3-format/-/d3-format-1.4.5.tgz#374f2ba1320e3717eb74a9356c67daee17a7edb4"+ integrity sha512-J0piedu6Z8iB6TbIGfZgDzfXxUFN3qQRMofy2oPdXzQibYGqPB/9iMcxr/TGalU+2RsyDO+U4f33id8tbnSRMQ==d3-geo@^1.6.4:version "1.11.9"@@ -4559,6 +4574,13 @@ d3-interpolate@1, d3-interpolate@^1.1.4:dependencies:d3-color "1"+"[email protected] - 2":+ version "2.0.1"+ resolved "https://registry.yarnpkg.com/d3-interpolate/-/d3-interpolate-2.0.1.tgz#98be499cfb8a3b94d4ff616900501a64abc91163"+ integrity sha512-c5UhwwTs/yybcmTpAVqwSFl6vrQ8JZJoT5F7xNFK9pymv5C0Ymcc9/LIJHtYIggg/yS9YHw8i8O8tgb9pupjeQ==+ dependencies:+ d3-color "1 - 2"+d3-path@1:version "1.0.9"resolved "https://registry.yarnpkg.com/d3-path/-/d3-path-1.0.9.tgz#48c050bb1fe8c262493a8caf5524e3e9591701cf"@@ -4583,18 +4605,16 @@ d3-sankey@^0.7.1:d3-collection "1"d3-shape "^1.2.0"-d3-scale@^1.0.5, d3-scale@^1.0.6:- version "1.0.7"- resolved "https://registry.yarnpkg.com/d3-scale/-/d3-scale-1.0.7.tgz#fa90324b3ea8a776422bd0472afab0b252a0945d"- integrity sha512-KvU92czp2/qse5tUfGms6Kjig0AhHOwkzXG0+PqIJB3ke0WUv088AHMZI0OssO9NCkXt4RP8yju9rpH8aGB7Lw==+d3-scale@^1.0.5, d3-scale@^3.2.3:+ version "3.2.3"+ resolved "https://registry.yarnpkg.com/d3-scale/-/d3-scale-3.2.3.tgz#be380f57f1f61d4ff2e6cbb65a40593a51649cfd"+ integrity sha512-8E37oWEmEzj57bHcnjPVOBS3n4jqakOeuv1EDdQSiSrYnMCBdMd3nc4HtKk7uia8DUHcY/CGuJ42xxgtEYrX0g==dependencies:- d3-array "^1.2.0"- d3-collection "1"- d3-color "1"- d3-format "1"- d3-interpolate "1"- d3-time "1"- d3-time-format "2"+ d3-array "^2.3.0"+ d3-format "1 - 2"+ d3-interpolate "1.2.0 - 2"+ d3-time "1 - 2"+ d3-time-format "2 - 3"d3-selection@1, d3-selection@^1.1.0:version "1.4.1"@@ -4608,17 +4628,17 @@ d3-shape@^1.1.0, d3-shape@^1.2.0:dependencies:d3-path "1"-d3-time-format@2:- version "2.2.3"- resolved "https://registry.yarnpkg.com/d3-time-format/-/d3-time-format-2.2.3.tgz#0c9a12ee28342b2037e5ea1cf0b9eb4dd75f29cb"- integrity sha512-RAHNnD8+XvC4Zc4d2A56Uw0yJoM7bsvOlJR33bclxq399Rak/b9bhvu/InjxdWhPtkgU53JJcleJTGkNRnN6IA==+"d3-time-format@2 - 3":+ version "3.0.0"+ resolved "https://registry.yarnpkg.com/d3-time-format/-/d3-time-format-3.0.0.tgz#df8056c83659e01f20ac5da5fdeae7c08d5f1bb6"+ integrity sha512-UXJh6EKsHBTjopVqZBhFysQcoXSv/5yLONZvkQ5Kk3qbwiUYkdX17Xa1PT6U1ZWXGGfB1ey5L8dKMlFq2DO0Ag==dependencies:- d3-time "1"+ d3-time "1 - 2"-d3-time@1:- version "1.1.0"- resolved "https://registry.yarnpkg.com/d3-time/-/d3-time-1.1.0.tgz#b1e19d307dae9c900b7e5b25ffc5dcc249a8a0f1"- integrity sha512-Xh0isrZ5rPYYdqhAVk8VLnMEidhz5aP7htAADH6MfzgmmicPkTo8LhkLxci61/lCB7n7UmE3bN0leRt+qvkLxA==+"d3-time@1 - 2":+ version "2.0.0"+ resolved "https://registry.yarnpkg.com/d3-time/-/d3-time-2.0.0.tgz#ad7c127d17c67bd57a4c61f3eaecb81108b1e0ab"+ integrity sha512-2mvhstTFcMvwStWd9Tj3e6CEqtOivtD8AUiHT8ido/xmzrI9ijrUUihZ6nHuf/vsScRBonagOdj0Vv+SEL5G3Q==d3-timer@1:version "1.0.10"