Skip to content

Commit

Permalink
Update to @mapbox/mapbox-gl-supported v1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jfirebaugh committed Dec 4, 2017
1 parent 311c9f9 commit 69fd9c6
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 17 deletions.
2 changes: 1 addition & 1 deletion docs/components/example.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import PageShell from './page_shell';
import LeftNav from './left_nav';
import TopNav from './top_nav';
import {highlightMarkup} from './prism_highlight';
import supported from 'mapbox-gl-supported';
import supported from '@mapbox/mapbox-gl-supported';
import {copy} from 'execcommand-copy';
import examples from '@mapbox/batfish/data/examples';
import entries from 'object.entries';
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/example/check-for-support.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script src='https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-supported/v1.2.0/mapbox-gl-supported.js'></script>
<script src='https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-supported/v1.3.0/mapbox-gl-supported.js'></script>
<div id='map'></div>

<script>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
},
"dependencies": {
"@mapbox/gl-matrix": "^0.0.1",
"@mapbox/mapbox-gl-supported": "^1.3.0",
"@mapbox/point-geometry": "^0.1.0",
"@mapbox/shelf-pack": "^3.1.0",
"@mapbox/tiny-sdf": "^1.1.0",
Expand All @@ -30,7 +31,6 @@
"grid-index": "^1.0.0",
"jsonlint-lines-primitives": "~1.6.0",
"lodash.isequal": "^3.0.4",
"mapbox-gl-supported": "^1.2.0",
"minimist": "0.0.8",
"package-json-versionify": "^1.0.2",
"pbf": "^3.0.5",
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// @flow

const supported = require('mapbox-gl-supported');
const supported = require('@mapbox/mapbox-gl-supported');
const browser = require('./util/browser');
const version: string = require('../package.json').version;
const Map = require('./ui/map');
Expand Down
2 changes: 1 addition & 1 deletion src/ui/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const LngLatBounds = require('../geo/lng_lat_bounds');
const Point = require('@mapbox/point-geometry');
const AttributionControl = require('./control/attribution_control');
const LogoControl = require('./control/logo_control');
const isSupported = require('mapbox-gl-supported');
const isSupported = require('@mapbox/mapbox-gl-supported');

require('./events'); // Pull in for documentation.js

Expand Down
16 changes: 4 additions & 12 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,10 @@
version "0.1.1"
resolved "https://registry.yarnpkg.com/@mapbox/mapbox-gl-rtl-text/-/mapbox-gl-rtl-text-0.1.1.tgz#1ceb3103cd668b16563b5492c0690c3f091c7491"

"@mapbox/mapbox-gl-supported@^1.3.0":
version "1.3.0"
resolved "https://registry.yarnpkg.com/@mapbox/mapbox-gl-supported/-/mapbox-gl-supported-1.3.0.tgz#89daee16845400ea1c76e084bdfab2971e552a9c"

"@mapbox/mapbox-gl-test-suite@file:test/integration":
version "0.0.0"
dependencies:
Expand Down Expand Up @@ -2448,14 +2452,6 @@ concat-stream@~1.5.0, concat-stream@~1.5.1:
readable-stream "~2.0.0"
typedarray "~0.0.5"

concat-stream@~1.5.0, concat-stream@~1.5.1:
version "1.5.2"
resolved "https://registry.yarnpkg.com/concat-stream/-/concat-stream-1.5.2.tgz#708978624d856af41a5a741defdd261da752c266"
dependencies:
inherits "~2.0.1"
readable-stream "~2.0.0"
typedarray "~0.0.5"

concat-with-sourcemaps@^1.0.4:
version "1.0.4"
resolved "https://registry.yarnpkg.com/concat-with-sourcemaps/-/concat-with-sourcemaps-1.0.4.tgz#f55b3be2aeb47601b10a2d5259ccfb70fd2f1dd6"
Expand Down Expand Up @@ -6285,10 +6281,6 @@ mapbox-gl-styles@2.0.2:
dependencies:
glob "^5.0.14"

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"

mapz@^1.0.0:
version "1.0.1"
resolved "https://registry.yarnpkg.com/mapz/-/mapz-1.0.1.tgz#9ecec757d3c3fe0a8a6f363e328eaee69a428441"
Expand Down

0 comments on commit 69fd9c6

Please sign in to comment.