Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to @mapbox/mapbox-gl-supported v1.3.0 #5801

Merged
merged 1 commit into from
Dec 12, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 flow-typed/mapbox-gl-supported.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// @flow
'use strict';
declare module "mapbox-gl-supported" {
declare module "@mapbox/mapbox-gl-supported" {
declare type isSupported = (options?: {failIfMajorPerformanceCaveat: boolean}) => boolean;
declare var exports: isSupported;
}
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');
const {RGBAImage} = require('../util/image');

require('./events'); // Pull in for documentation.js
Expand Down
8 changes: 4 additions & 4 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 @@ -6277,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