Kepler.gl is a powerful open source geospatial analysis tool for large-scale data sets.
[bug] upgrade colorbrewer to 1.5.0 (#1439)
Shan He072876df5173
diff --git a/package.json b/package.jsonindex 73d45953e..f134b51ec 100644--- a/package.json+++ b/package.json@@ -98,7 +98,7 @@"@turf/boolean-within": "^6.0.1","@turf/helpers": "^6.1.4","classnames": "^2.2.1",- "colorbrewer": "^1.4.0",+ "colorbrewer": "^1.5.0","copy-to-clipboard": "^3.3.1","d3-array": "^2.8.0","d3-axis": "^2.0.0",diff --git a/scripts/ts-smoosh/bin.js b/scripts/ts-smoosh/bin.jsindex 680d97252..2a36480b1 100644--- a/scripts/ts-smoosh/bin.js+++ b/scripts/ts-smoosh/bin.js@@ -1,3 +1,23 @@+// Copyright (c) 2021 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.+const { smoosh } = require("./smoosh");// Given an array of `.js` files, smooshes their .d.ts declarations anddiff --git a/scripts/ts-smoosh/smoosh.js b/scripts/ts-smoosh/smoosh.jsindex a06d7507d..b70c8f566 100644--- a/scripts/ts-smoosh/smoosh.js+++ b/scripts/ts-smoosh/smoosh.js@@ -1,3 +1,23 @@+// Copyright (c) 2021 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.+const ts = require("typescript");const fs = require("fs");const path = require("path");diff --git a/scripts/ts-smoosh/test.js b/scripts/ts-smoosh/test.jsindex 72789a9f0..4d68ed18d 100644--- a/scripts/ts-smoosh/test.js+++ b/scripts/ts-smoosh/test.js@@ -1,3 +1,23 @@+// Copyright (c) 2021 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.+const fs = require("fs");const assert = require("assert").strict;const path = require("path");diff --git a/scripts/ts-smoosh/tests/01-functions/a.js b/scripts/ts-smoosh/tests/01-functions/a.jsindex 65cccbb1d..1f96c9922 100644--- a/scripts/ts-smoosh/tests/01-functions/a.js+++ b/scripts/ts-smoosh/tests/01-functions/a.js@@ -1,3 +1,23 @@+// Copyright (c) 2021 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.+/*** A function with a JSDoc type import that matches its name* @type {typeof import('./a').foo}diff --git a/scripts/ts-smoosh/tests/02-imports/c.js b/scripts/ts-smoosh/tests/02-imports/c.jsindex 396b6c200..5ddcf5ea3 100644--- a/scripts/ts-smoosh/tests/02-imports/c.js+++ b/scripts/ts-smoosh/tests/02-imports/c.js@@ -1,3 +1,23 @@+// Copyright (c) 2021 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.+/*** A function with a JSDoc type import that is different from its namediff --git a/scripts/ts-smoosh/tests/03-const/e.js b/scripts/ts-smoosh/tests/03-const/e.jsindex d0ab5ccc1..9c500f67f 100644--- a/scripts/ts-smoosh/tests/03-const/e.js+++ b/scripts/ts-smoosh/tests/03-const/e.js@@ -1,3 +1,23 @@+// Copyright (c) 2021 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.+export const x = 3;export const add = (a, b) => a + b;diff --git a/yarn.lock b/yarn.lockindex ba7de04ff..8720ce6c2 100644--- a/yarn.lock+++ b/yarn.lock@@ -3938,10 +3938,10 @@ color-name@~1.1.4:resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2"integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==-colorbrewer@^1.4.0:- version "1.4.0"- resolved "https://registry.yarnpkg.com/colorbrewer/-/colorbrewer-1.4.0.tgz#ffe893675c4de868f27216e50db7d7aa39ee50cf"- integrity sha512-+NM91BbBU/le4Kt/1CsCDf+Hoir1Z+o43od1ZbmSOyMUI6DwlUKmfJdsOPplNiGzq4NSn2C3yn/ZOvtKHC27zQ==+colorbrewer@^1.5.0:+ version "1.5.0"+ resolved "https://registry.yarnpkg.com/colorbrewer/-/colorbrewer-1.5.0.tgz#f0e61d72795afa4afaee8a15c1441fa0fa920761"+ integrity sha512-QDElmB5OLMQNShFePDv3IDPopwsYoGTd19mZR9UQSO3FFb1MM69VN0Kd+Hl33lQxD2oJmQC7EvNa/h1Ak2rMXQ==colorette@^1.2.1:version "1.2.1"