diff --git a/package.json b/package.json index fd60060..6c83d2a 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ ] }, "peerDependencies": { - "mapbox-gl": "^0.27.0 || ^0.28.0" + "mapbox-gl": "^0.41.0" }, "scripts": { "prepublish": "npm run build", @@ -48,7 +48,7 @@ "insert-css": "^2.0.0", "json-loader": "0.5.4", "lodash.once": "^4.0.0", - "mapbox-gl": "^0.27.0", + "mapbox-gl": "^0.41.0", "smokestack": "^3.3.1", "tap-status": "^1.0.1", "tape": "^4.6.0", @@ -57,9 +57,9 @@ "webworkify-webpack": "1.1.7" }, "dependencies": { - "babelify": "^7.3.0", "babel-plugin-transform-inline-environment-variables": "^6.8.0", "babel-preset-es2015": "^6.9.0", + "babelify": "^7.3.0", "deep-assign": "^2.0.0", "lodash.debounce": "^4.0.6", "lodash.isequal": "^4.2.0", diff --git a/test/test.inputs.js b/test/test.inputs.js index ff6dde7..90d95da 100644 --- a/test/test.inputs.js +++ b/test/test.inputs.js @@ -21,7 +21,7 @@ test('Directions#inputControl', tt => { } tt.test('profiles', (t) => { - setup({ profile: 'cycling' }); + setup({ profile: 'mapbox/cycling' }); t.plan(3); var drivingEl = container.querySelector('#mapbox-directions-profile-driving'); @@ -31,7 +31,7 @@ test('Directions#inputControl', tt => { t.equal(cyclingEl.checked, true, 'cycling profile is active'); directions.on('profile', once((e) => { - t.equal(e.profile, 'driving', 'driving profile is set and event emitted'); + t.equal(e.profile, 'mapbox/driving', 'driving profile is set and event emitted'); })); drivingEl.dispatchEvent(changeEvent);