Comparing version 1.0.0-beta1 to 1.0.0-beta2
@@ -12,2 +12,3 @@ 'use strict'; | ||
.wrap(require('rest/interceptor/mime'), { mime: 'application/json' }) | ||
.wrap(require('rest/interceptor/params')) | ||
.wrap(require('rest/interceptor/defaultRequest'), { | ||
@@ -14,0 +15,0 @@ params: { access_token: config.accessToken } |
@@ -42,3 +42,1 @@ // We keep all of the constants that declare endpoints in one | ||
module.exports.API_STYLES_FONT_GLYPH_RANGES = '/fonts/v1/{owner}/{font}/{start}-{end}.pbf' | ||
module.exports.API_STYLES_SPRITE_DELETE_ICON = '/styles/v1/{owner}/{styleid}/sprite/{iconName}'; |
@@ -15,2 +15,5 @@ 'use strict'; | ||
// install ES6 Promise polyfill | ||
require('../vendor/promise'); | ||
/** | ||
@@ -17,0 +20,0 @@ * The JavaScript API to Mapbox services |
{ | ||
"name": "mapbox", | ||
"version": "1.0.0-beta1", | ||
"version": "1.0.0-beta2", | ||
"description": "interface to mapbox services", | ||
@@ -54,4 +54,4 @@ "main": "lib/mapbox.js", | ||
"dependencies": { | ||
"rest": "^1.3.2" | ||
"rest": "^2.0.0" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
232703
51
4430
0
2
118
+ Addedrest@2.0.0(transitive)
- Removedrest@1.3.2(transitive)
- Removedwhen@3.7.8(transitive)
Updatedrest@^2.0.0