Socket
Socket
Sign inDemoInstall

@mapbox/mapbox-gl-supported

Package Overview
Dependencies
0
Maintainers
232
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.1 to 1.4.0

6

index.js

@@ -27,2 +27,3 @@ 'use strict';

isUint8ClampedArraySupported() &&
isArrayBufferSupported() &&
isWebGLSupportedCached(options && options.failIfMajorPerformanceCaveat)

@@ -109,2 +110,7 @@ );

// https://github.com/mapbox/mapbox-gl-supported/issues/19
function isArrayBufferSupported() {
return ArrayBuffer.isView;
}
var isWebGLSupportedCache = {};

@@ -111,0 +117,0 @@ function isWebGLSupportedCached(failIfMajorPerformanceCaveat) {

2

package.json
{
"name": "@mapbox/mapbox-gl-supported",
"version": "1.3.1",
"version": "1.4.0",
"description": "A library to determine if a browser supports Mapbox GL JS",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc