Socket
Socket
Sign inDemoInstall

mapbox

Package Overview
Dependencies
1
Maintainers
43
Versions
28
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0-beta1 to 1.0.0-beta2

vendor/promise.js

1

lib/client.js

@@ -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 }

2

lib/constants.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc