From a87e13ccca43390223a248950b779a5985ea0fcf Mon Sep 17 00:00:00 2001 From: Xiao Hanyu Date: Tue, 12 Sep 2017 12:24:40 +0800 Subject: [PATCH] Temporary fix for the build problem. npm is really a terriable package manager... Ref: - https://github.com/apache/incubator-superset/pull/3445 --- .gitignore | 1 - superset/assets/package.json | 2 +- superset/assets/visualizations/mapbox.jsx | 69 ++++++++- superset/assets/webpack.config.js | 20 --- superset/assets/yarn.lock | 181 +++++++++------------- 5 files changed, 138 insertions(+), 135 deletions(-) diff --git a/.gitignore b/.gitignore index cd7e111a68077..370e0ea98d3e9 100644 --- a/.gitignore +++ b/.gitignore @@ -31,6 +31,5 @@ app.db *.js.map node_modules npm-debug.log -yarn.lock superset/assets/version_info.json log diff --git a/superset/assets/package.json b/superset/assets/package.json index 25916f4881f1e..981fef709587e 100644 --- a/superset/assets/package.json +++ b/superset/assets/package.json @@ -79,7 +79,7 @@ "react-draggable": "^2.1.2", "react-gravatar": "^2.6.1", "react-grid-layout": "^0.14.4", - "react-map-gl": "^2.0.0", + "react-map-gl": "^3.0.4", "react-redux": "^5.0.2", "react-resizable": "^1.3.3", "react-select": "git+https://github.com/songyanho/react-select-draggable.git", diff --git a/superset/assets/visualizations/mapbox.jsx b/superset/assets/visualizations/mapbox.jsx index 9a868534723d1..54abe8ae68e9f 100644 --- a/superset/assets/visualizations/mapbox.jsx +++ b/superset/assets/visualizations/mapbox.jsx @@ -4,7 +4,6 @@ import React from 'react'; import PropTypes from 'prop-types'; import ReactDOM from 'react-dom'; import MapGL from 'react-map-gl'; -import ScatterPlotOverlay from 'react-map-gl/dist/overlays/scatterplot.react'; import Immutable from 'immutable'; import supercluster from 'supercluster'; import ViewportMercator from 'viewport-mercator-project'; @@ -20,7 +19,15 @@ import { require('./mapbox.css'); -class ScatterPlotGlowOverlay extends ScatterPlotOverlay { +class ScatterPlotGlowOverlay extends React.Component { + componentDidMount() { + this.redraw(); + } + + componentDidUpdate() { + this.redraw(); + } + drawText(ctx, pixel, options = {}) { const IS_DARK_THRESHOLD = 110; const { fontHeight = 0, label = '', radius = 0, rgb = [0, 0, 0], shadow = false } = options; @@ -50,7 +57,7 @@ class ScatterPlotGlowOverlay extends ScatterPlotOverlay { } // Modified: https://github.com/uber/react-map-gl/blob/master/src/overlays/scatterplot.react.js - _redraw() { + redraw() { const props = this.props; const pixelRatio = window.devicePixelRatio || 1; const canvas = this.refs.overlay; @@ -179,8 +186,58 @@ class ScatterPlotGlowOverlay extends ScatterPlotOverlay { ctx.restore(); } + render() { + let width = 0; + let height = 0; + if (this.context.viewport) { + width = this.context.viewport.width; + height = this.context.viewport.height; + } + const { globalOpacity } = this.props; + const pixelRatio = window.devicePixelRatio || 1; + return ( + React.createElement('canvas', { + ref: 'overlay', + width: width * pixelRatio, + height: height * pixelRatio, + style: { + width: `${width}px`, + height: `${height}px`, + position: 'absolute', + pointerEvents: 'none', + opacity: globalOpacity, + left: 0, + top: 0, + }, + }) + ); + } } +ScatterPlotGlowOverlay.propTypes = { + locations: PropTypes.instanceOf(Immutable.List).isRequired, + lngLatAccessor: PropTypes.func, + renderWhileDragging: PropTypes.bool, + globalOpacity: PropTypes.number, + dotRadius: PropTypes.number, + dotFill: PropTypes.string, + compositeOperation: PropTypes.string, +}; + +ScatterPlotGlowOverlay.defaultProps = { + lngLatAccessor: location => [location.get(0), location.get(1)], + renderWhileDragging: true, + dotRadius: 4, + dotFill: '#1FBAD6', + globalOpacity: 1, + // Same as browser default. + compositeOperation: 'source-over', +}; +ScatterPlotGlowOverlay.contextTypes = { + viewport: PropTypes.object, + isDragging: PropTypes.bool, +}; + class MapboxViz extends React.Component { constructor(props) { super(props); @@ -197,10 +254,10 @@ class MapboxViz extends React.Component { }, }; - this.onChangeViewport = this.onChangeViewport.bind(this); + this.onViewportChange = this.onViewportChange.bind(this); } - onChangeViewport(viewport) { + onViewportChange(viewport) { this.setState({ viewport, }); @@ -232,7 +289,7 @@ class MapboxViz extends React.Component { width={this.props.sliceWidth} height={this.props.sliceHeight} mapboxApiAccessToken={this.props.mapboxApiKey} - onChangeViewport={this.onChangeViewport} + onViewportChange={this.onViewportChange} > = 4.0.x": version "4.0.2" resolved "https://registry.yarnpkg.com/JSV/-/JSV-4.0.2.tgz#d077f6825571f82132f9dffaed587b4029feff57" @@ -61,7 +69,7 @@ acorn-object-spread@^1.0.0: dependencies: acorn "^3.1.0" -acorn@^3.0.4, acorn@^3.1.0: +acorn@^3.0.4, acorn@^3.1.0, acorn@^3.3.0: version "3.3.0" resolved "https://registry.yarnpkg.com/acorn/-/acorn-3.3.0.tgz#45e37fb39e8da3f25baee3ff5369e2bb5f22017a" @@ -1160,11 +1168,11 @@ browserslist@^2.1.2: caniuse-lite "^1.0.30000701" electron-to-chromium "^1.3.15" -buble@^0.12.0: - version "0.12.5" - resolved "https://registry.yarnpkg.com/buble/-/buble-0.12.5.tgz#c66ffe92f9f4a3c65d3256079b711e2bd0bc5013" +buble@^0.15.1: + version "0.15.2" + resolved "https://registry.yarnpkg.com/buble/-/buble-0.15.2.tgz#547fc47483f8e5e8176d82aa5ebccb183b02d613" dependencies: - acorn "^3.1.0" + acorn "^3.3.0" acorn-jsx "^3.0.1" acorn-object-spread "^1.0.0" chalk "^1.1.3" @@ -1172,11 +1180,11 @@ buble@^0.12.0: minimist "^1.2.0" os-homedir "^1.0.1" -bubleify@^0.5.1: - version "0.5.1" - resolved "https://registry.yarnpkg.com/bubleify/-/bubleify-0.5.1.tgz#f65c47cee31b80cad8b9e747bbe187d7fe51e927" +bubleify@^0.7.0: + version "0.7.0" + resolved "https://registry.yarnpkg.com/bubleify/-/bubleify-0.7.0.tgz#d08ea642ffd085ff8711c8843f57072f0d5eb8f6" dependencies: - buble "^0.12.0" + buble "^0.15.1" object-assign "^4.0.1" buffer-equal@0.0.1: @@ -1264,10 +1272,6 @@ caniuse-lite@^1.0.30000701: version "1.0.30000704" resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000704.tgz#adb6ea01134515663682db93abab291d4c02946b" -canvas-composite-types@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/canvas-composite-types/-/canvas-composite-types-1.0.4.tgz#7b44e7b179f06d84acbf1570480e70bef2a6a922" - caseless@~0.11.0: version "0.11.0" resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.11.0.tgz#715b96ea9841593cc33067923f5ec60ebda4f7d7" @@ -1786,7 +1790,7 @@ currently-unhandled@^0.4.1: dependencies: array-find-index "^1.0.1" -d3-array@1, d3-array@1.2.0, d3-array@^1.0.1, d3-array@^1.2.0: +d3-array@1, d3-array@1.2.0, d3-array@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/d3-array/-/d3-array-1.2.0.tgz#147d269720e174c4057a7f42be8b0f3f2ba53108" @@ -1821,7 +1825,7 @@ d3-collection@1, d3-collection@1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/d3-collection/-/d3-collection-1.0.4.tgz#342dfd12837c90974f33f1cc0a785aea570dcdc2" -d3-color@1, d3-color@1.0.3, d3-color@^1.0.1: +d3-color@1, d3-color@1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/d3-color/-/d3-color-1.0.3.tgz#bc7643fca8e53a8347e2fbdaffa236796b58509b" @@ -1857,7 +1861,7 @@ d3-force@1.0.6: d3-quadtree "1" d3-timer "1" -d3-format@1, d3-format@1.2.0, d3-format@^1.0.2: +d3-format@1, d3-format@1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/d3-format/-/d3-format-1.2.0.tgz#6b480baa886885d4651dc248a8f4ac9da16db07a" @@ -1867,7 +1871,7 @@ d3-geo-projection@0.2: dependencies: brfs "^1.3.0" -d3-geo@1.6.4, d3-geo@^1.2.4: +d3-geo@1.6.4: version "1.6.4" resolved "https://registry.yarnpkg.com/d3-geo/-/d3-geo-1.6.4.tgz#f20e1e461cb1845f5a8be55ab6f876542a7e3199" dependencies: @@ -1940,7 +1944,7 @@ d3-scale@1.0.6, d3-scale@^1.0.0, d3-scale@^1.0.3: d3-time "1" d3-time-format "2" -d3-selection@1, d3-selection@1.1.0, d3-selection@^1.0.2, d3-selection@^1.1.0: +d3-selection@1, d3-selection@1.1.0, d3-selection@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/d3-selection/-/d3-selection-1.1.0.tgz#1998684896488f839ca0372123da34f1d318809c" @@ -2237,10 +2241,6 @@ dom-serializer@0, dom-serializer@~0.1.0: domelementtype "~1.1.1" entities "~1.1.1" -dom-walk@^0.1.0: - version "0.1.1" - resolved "https://registry.yarnpkg.com/dom-walk/-/dom-walk-0.1.1.tgz#672226dc74c8f799ad35307df936aba11acd6018" - domain-browser@^1.1.1: version "1.1.7" resolved "https://registry.yarnpkg.com/domain-browser/-/domain-browser-1.1.7.tgz#867aa4b093faa05f1de08c06f4d7b21fdf8698bc" @@ -2720,15 +2720,11 @@ fast-levenshtein@~2.0.4: version "2.0.6" resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" -fast-stable-stringify@^0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/fast-stable-stringify/-/fast-stable-stringify-0.1.1.tgz#ce758dce1cb40fb2bf0c8aef4f93e792d195b491" - fastparse@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/fastparse/-/fastparse-1.1.1.tgz#d1e2643b38a94d7583b479060e6c4affc94071f8" -fbjs@^0.8.0, fbjs@^0.8.4, fbjs@^0.8.9: +fbjs@^0.8.4, fbjs@^0.8.9: version "0.8.12" resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-0.8.12.tgz#10b5d92f76d45575fd63a217d4ea02bea2f8ed04" dependencies: @@ -3047,10 +3043,26 @@ github@0.1.16: version "0.1.16" resolved "https://registry.yarnpkg.com/github/-/github-0.1.16.tgz#895d2a85b0feb7980d89ac0ce4f44dcaa03f17b5" +gl-mat4@^1.1.4: + version "1.1.4" + resolved "https://registry.yarnpkg.com/gl-mat4/-/gl-mat4-1.1.4.tgz#1e895b55892e56a896867abd837d38f37a178086" + gl-matrix@^2.3.1: version "2.3.2" resolved "https://registry.yarnpkg.com/gl-matrix/-/gl-matrix-2.3.2.tgz#aac808c74af7d5db05fe04cb60ca1a0fcb174d74" +gl-vec2@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/gl-vec2/-/gl-vec2-1.0.0.tgz#77fce6ae9612856d6c8b621cd261cd8281b9c637" + +gl-vec3@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/gl-vec3/-/gl-vec3-1.0.3.tgz#110fd897d0729f6398307381567d0944941bf22b" + +gl-vec4@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/gl-vec4/-/gl-vec4-1.0.1.tgz#97d96878281b14b532cbce101785dfd1cb340964" + glob-base@^0.3.0: version "0.3.0" resolved "https://registry.yarnpkg.com/glob-base/-/glob-base-0.3.0.tgz#dbb164f6221b1c0b1ccf82aea328b497df0ea3c4" @@ -3079,7 +3091,7 @@ glob@7.1.1: once "^1.3.0" path-is-absolute "^1.0.0" -glob@^7.0.0, glob@^7.0.3, glob@^7.0.5, glob@^7.1.1, glob@~7.1.1: +glob@^7.0.0, glob@^7.0.3, glob@^7.0.5, glob@~7.1.1: version "7.1.2" resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15" dependencies: @@ -3090,13 +3102,6 @@ glob@^7.0.0, glob@^7.0.3, glob@^7.0.5, glob@^7.1.1, glob@~7.1.1: once "^1.3.0" path-is-absolute "^1.0.0" -global@^4.3.0: - version "4.3.2" - resolved "https://registry.yarnpkg.com/global/-/global-4.3.2.tgz#e76989268a6c74c38908b1305b10fc0e394e9d0f" - dependencies: - min-document "^2.19.0" - process "~0.5.1" - globals@^9.0.0, globals@^9.14.0: version "9.18.0" resolved "https://registry.yarnpkg.com/globals/-/globals-9.18.0.tgz#aa3896b3e69b487f17e31ed2143d69a8e30c2d8a" @@ -3142,6 +3147,10 @@ growl@1.9.2: version "1.9.2" resolved "https://registry.yarnpkg.com/growl/-/growl-1.9.2.tgz#0ea7743715db8d8de2c5ede1775e1b45ac85c02f" +hammerjs@^2.0.8: + version "2.0.8" + resolved "https://registry.yarnpkg.com/hammerjs/-/hammerjs-2.0.8.tgz#04ef77862cff2bb79d30f7692095930222bf60f1" + handlebars@^4.0.3: version "4.0.10" resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.0.10.tgz#3d30c718b09a3d96f23ea4cc1f403c4d3ba9ff4f" @@ -3366,7 +3375,7 @@ immutability-helper@^2.0.0: dependencies: invariant "^2.2.0" -immutable@^3.8.1: +immutable@*, immutable@^3.8.1: version "3.8.1" resolved "https://registry.yarnpkg.com/immutable/-/immutable-3.8.1.tgz#200807f11ab0f72710ea485542de088075f68cd2" @@ -4254,21 +4263,17 @@ map-obj@^1.0.0, map-obj@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-1.0.1.tgz#d933ceb9205d82bdcf4886f6742bdc2b4dea146d" -"mapbox-gl-function@github:mapbox/mapbox-gl-function#111a2b442be0689a65f5818dd2603c9b06962be0": +mapbox-gl-function@mapbox/mapbox-gl-function#111a2b442be0689a65f5818dd2603c9b06962be0: version "1.3.0" resolved "https://codeload.github.com/mapbox/mapbox-gl-function/tar.gz/111a2b442be0689a65f5818dd2603c9b06962be0" -"mapbox-gl-function@github:mapbox/mapbox-gl-function#41c6724e2bbd7bd1eb5991451bbf118b7d02b525": - version "1.3.0" - resolved "https://codeload.github.com/mapbox/mapbox-gl-function/tar.gz/41c6724e2bbd7bd1eb5991451bbf118b7d02b525" - -"mapbox-gl-shaders@github:mapbox/mapbox-gl-shaders#44b65f8090a74cbb0319664d010b8d8a8a1512b0": +mapbox-gl-shaders@mapbox/mapbox-gl-shaders#44b65f8090a74cbb0319664d010b8d8a8a1512b0: version "1.0.0" resolved "https://codeload.github.com/mapbox/mapbox-gl-shaders/tar.gz/44b65f8090a74cbb0319664d010b8d8a8a1512b0" dependencies: brfs "^1.4.0" -"mapbox-gl-style-spec@github:mapbox/mapbox-gl-style-spec#7d330d2abf1775abc95ab8b889089cf5ff579357": +mapbox-gl-style-spec@mapbox/mapbox-gl-style-spec#7d330d2abf1775abc95ab8b889089cf5ff579357: version "8.9.0" resolved "https://codeload.github.com/mapbox/mapbox-gl-style-spec/tar.gz/7d330d2abf1775abc95ab8b889089cf5ff579357" dependencies: @@ -4279,54 +4284,37 @@ map-obj@^1.0.0, map-obj@^1.0.1: rw "^0.1.4" sort-object "^0.3.2" -"mapbox-gl-style-spec@github:mapbox/mapbox-gl-style-spec#d11f6d2775bf5b22534b3b2fb3410755b2473cdf": - version "8.11.0" - resolved "https://codeload.github.com/mapbox/mapbox-gl-style-spec/tar.gz/d11f6d2775bf5b22534b3b2fb3410755b2473cdf" - dependencies: - csscolorparser "~1.0.2" - fast-stable-stringify "^0.1.1" - jsonlint-lines-primitives "~1.6.0" - lodash.isequal "^3.0.4" - minimist "0.0.8" - rw "^0.1.4" - sort-object "^0.3.2" - mapbox-gl-supported@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/mapbox-gl-supported/-/mapbox-gl-supported-1.2.0.tgz#cbd34df894206cadda9a33c8d9a4609f26bb1989" -mapbox-gl@0.32.1: - version "0.32.1" - resolved "https://registry.yarnpkg.com/mapbox-gl/-/mapbox-gl-0.32.1.tgz#fb12d33dc97a96ef5d2ad4f0b7827ccc247a8ad2" +mapbox-gl@0.38.0: + version "0.38.0" + resolved "https://registry.yarnpkg.com/mapbox-gl/-/mapbox-gl-0.38.0.tgz#64731bb55eabdaa520270815175fcf31e5a3cd80" dependencies: "@mapbox/gl-matrix" "^0.0.1" + "@mapbox/shelf-pack" "^3.0.0" "@mapbox/unitbezier" "^0.0.0" + "@mapbox/whoots-js" "^3.0.0" brfs "^1.4.0" - bubleify "^0.5.1" - csscolorparser "^1.0.2" + bubleify "^0.7.0" earcut "^2.0.3" - feature-filter "^2.2.0" geojson-rewind "^0.1.0" geojson-vt "^2.4.0" grid-index "^1.0.0" - mapbox-gl-function mapbox/mapbox-gl-function#41c6724e2bbd7bd1eb5991451bbf118b7d02b525 - mapbox-gl-style-spec mapbox/mapbox-gl-style-spec#d11f6d2775bf5b22534b3b2fb3410755b2473cdf mapbox-gl-supported "^1.2.0" package-json-versionify "^1.0.2" pbf "^1.3.2" - pngjs "^2.2.0" point-geometry "^0.0.0" quickselect "^1.0.0" - request "^2.39.0" - shelf-pack "^1.0.0" supercluster "^2.0.1" + through2 "^2.0.3" tinyqueue "^1.1.0" unassertify "^2.0.0" unflowify "^1.0.0" vector-tile "^1.3.0" vt-pbf "^2.0.2" webworkify "^1.4.0" - whoots-js "^2.0.0" mapbox-gl@^0.26.0: version "0.26.0" @@ -4444,12 +4432,6 @@ mimic-fn@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-1.1.0.tgz#e667783d92e89dbd342818b5230b9d62a672ad18" -min-document@^2.19.0: - version "2.19.0" - resolved "https://registry.yarnpkg.com/min-document/-/min-document-2.19.0.tgz#7bd282e3f5842ed295bb748cdd9f1ffa2c824685" - dependencies: - dom-walk "^0.1.0" - minimalistic-assert@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/minimalistic-assert/-/minimalistic-assert-1.0.0.tgz#702be2dda6b37f4836bcb3f5db56641b64a1d3d3" @@ -5340,10 +5322,6 @@ process@^0.11.0: version "0.11.10" resolved "https://registry.yarnpkg.com/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182" -process@~0.5.1: - version "0.5.2" - resolved "https://registry.yarnpkg.com/process/-/process-0.5.2.tgz#1638d8a8e34c2f440a91db95ab9aeb677fc185cf" - progress@^1.1.8: version "1.1.8" resolved "https://registry.yarnpkg.com/progress/-/progress-1.1.8.tgz#e260c78f6161cdd9b0e56cc3e0a85de17c7a57be" @@ -5397,12 +5375,6 @@ punycode@^1.2.4, punycode@^1.4.1: version "1.4.1" resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" -pure-render-decorator@^1.1.0: - version "1.2.1" - resolved "https://registry.yarnpkg.com/pure-render-decorator/-/pure-render-decorator-1.2.1.tgz#568870eeca17a1cee536b4fe94a3477fcd31eeb9" - dependencies: - fbjs "^0.8.0" - q@^1.1.2: version "1.5.0" resolved "https://registry.yarnpkg.com/q/-/q-1.5.0.tgz#dd01bac9d06d30e6f219aecb8253ee9ebdc308f1" @@ -5620,26 +5592,16 @@ react-input-autosize@^1.1.0, react-input-autosize@^1.1.3: create-react-class "^15.5.2" prop-types "^15.5.8" -react-map-gl@^2.0.0: - version "2.0.3" - resolved "https://registry.yarnpkg.com/react-map-gl/-/react-map-gl-2.0.3.tgz#dae4a08019b51f3225dccdcdfa2b4a83d2111140" +react-map-gl@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/react-map-gl/-/react-map-gl-3.0.4.tgz#bd0bb8d92357e4cc774363fda83f02a3050202fb" dependencies: - autobind-decorator "^1.3.3" bowser "^1.2.0" - canvas-composite-types "^1.0.4" - d3-array "^1.0.1" - d3-color "^1.0.1" - d3-format "^1.0.2" - d3-geo "^1.2.4" - d3-scale "^1.0.3" - d3-selection "^1.0.2" - flow-remove-types "^1.1.2" - glob "^7.1.1" - global "^4.3.0" - mapbox-gl "0.32.1" - pure-render-decorator "^1.1.0" - svg-transform "0.0.3" - viewport-mercator-project "^2.0.1" + hammerjs "^2.0.8" + immutable "*" + mapbox-gl "0.38.0" + prop-types "^15.5.7" + viewport-mercator-project "^4.0.1" react-modal@^1.4.0: version "1.9.7" @@ -6559,10 +6521,6 @@ supports-color@^4.0.0, supports-color@^4.2.0: dependencies: has-flag "^2.0.0" -svg-transform@0.0.3: - version "0.0.3" - resolved "https://registry.yarnpkg.com/svg-transform/-/svg-transform-0.0.3.tgz#dbe5756748483a8ba0d262674357aeb29a64b081" - svgo@^0.7.0: version "0.7.2" resolved "https://registry.yarnpkg.com/svgo/-/svgo-0.7.2.tgz#9f5772413952135c6fefbf40afe6a4faa88b4bb5" @@ -6631,7 +6589,7 @@ text-table@~0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" -through2@^2.0.0: +through2@^2.0.0, through2@^2.0.3: version "2.0.3" resolved "https://registry.yarnpkg.com/through2/-/through2-2.0.3.tgz#0004569b37c7c74ba39c43f3ced78d1ad94140be" dependencies: @@ -6960,10 +6918,19 @@ victory@^0.18.4: victory-core "^14.1.0" victory-pie "^10.3.0" -viewport-mercator-project@^2.0.1, viewport-mercator-project@^2.1.0: +viewport-mercator-project@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/viewport-mercator-project/-/viewport-mercator-project-2.1.0.tgz#6ae6249d199a80ca01319cdd821d7c6b7feae792" +viewport-mercator-project@^4.0.1: + version "4.1.1" + resolved "https://registry.yarnpkg.com/viewport-mercator-project/-/viewport-mercator-project-4.1.1.tgz#92b0611fa0041041d2f3568da3529a8a846017d0" + dependencies: + gl-mat4 "^1.1.4" + gl-vec2 "^1.0.0" + gl-vec3 "^1.0.3" + gl-vec4 "^1.0.1" + vlq@^0.2.1: version "0.2.2" resolved "https://registry.yarnpkg.com/vlq/-/vlq-0.2.2.tgz#e316d5257b40b86bb43cb8d5fea5d7f54d6b0ca1"