Skip to content

Commit

Permalink
Use renamed @mapbox/geojson-rewind instead of geojson-rewind module (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
watson authored Mar 25, 2020
1 parent a8f92c5 commit 7c18d70
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 17 deletions.
2 changes: 1 addition & 1 deletion x-pack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@
"@kbn/interpreter": "1.0.0",
"@kbn/storybook": "1.0.0",
"@kbn/ui-framework": "1.0.0",
"@mapbox/geojson-rewind": "^0.4.1",
"@mapbox/mapbox-gl-draw": "^1.1.2",
"@mapbox/mapbox-gl-rtl-text": "^0.2.3",
"@scant/router": "^0.1.0",
Expand Down Expand Up @@ -238,7 +239,6 @@
"font-awesome": "4.7.0",
"formsy-react": "^1.1.5",
"fp-ts": "^2.3.1",
"geojson-rewind": "^0.3.1",
"get-port": "4.2.0",
"getos": "^3.1.0",
"git-url-parse": "11.1.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

import * as jsts from 'jsts';
import rewind from 'geojson-rewind';
import rewind from '@mapbox/geojson-rewind';

const geoJSONReader = new jsts.io.GeoJSONReader();
const geoJSONWriter = new jsts.io.GeoJSONWriter();
Expand Down
20 changes: 5 additions & 15 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2047,14 +2047,14 @@
resolved "https://registry.yarnpkg.com/@mapbox/geojson-normalize/-/geojson-normalize-0.0.1.tgz#1da1e6b3a7add3ad29909b30f438f60581b7cd80"
integrity sha1-HaHms6et060pkJsw9Dj2BYG3zYA=

"@mapbox/geojson-rewind@^0.4.0":
version "0.4.0"
resolved "https://registry.yarnpkg.com/@mapbox/geojson-rewind/-/geojson-rewind-0.4.0.tgz#0d3632d4c1b4a928cf10a06ade387e1c8a8c181b"
integrity sha512-b+1uPWBERW4Pet/969BNu61ZPDyH2ilIxBjJDFzxyS9TyszF9UrTQyYIl/G38clux3rtpAGGFSGTCSF/qR6UjA==
"@mapbox/geojson-rewind@^0.4.0", "@mapbox/geojson-rewind@^0.4.1":
version "0.4.1"
resolved "https://registry.yarnpkg.com/@mapbox/geojson-rewind/-/geojson-rewind-0.4.1.tgz#357d79300adb7fec7c1f091512988bca6458f068"
integrity sha512-mxo2MEr7izA1uOXcDsw99Kgg6xW3P4H2j4n1lmldsgviIelpssvP+jQDivFKOHrOVJDpTTi5oZJvRcHtU9Uufw==
dependencies:
"@mapbox/geojson-area" "0.2.2"
concat-stream "~1.6.0"
minimist "1.2.0"
minimist "^1.2.5"
sharkdown "^0.1.0"

"@mapbox/geojson-types@^1.0.2":
Expand Down Expand Up @@ -14077,16 +14077,6 @@ geojson-random@^0.2.2:
resolved "https://registry.yarnpkg.com/geojson-random/-/geojson-random-0.2.2.tgz#ab4838f126adc5e16f8f94e655def820f9119dbc"
integrity sha1-q0g48SatxeFvj5TmVd74IPkRnbw=

geojson-rewind@^0.3.1:
version "0.3.1"
resolved "https://registry.yarnpkg.com/geojson-rewind/-/geojson-rewind-0.3.1.tgz#22240797c847cc2f0c1d313e4aa0c915afa7f29d"
integrity sha1-IiQHl8hHzC8MHTE+SqDJFa+n8p0=
dependencies:
"@mapbox/geojson-area" "0.2.2"
concat-stream "~1.6.0"
minimist "1.2.0"
sharkdown "^0.1.0"

geojson-vt@^3.2.1:
version "3.2.1"
resolved "https://registry.yarnpkg.com/geojson-vt/-/geojson-vt-3.2.1.tgz#f8adb614d2c1d3f6ee7c4265cad4bbf3ad60c8b7"
Expand Down

0 comments on commit 7c18d70

Please sign in to comment.