Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

caniuse-api

Package Overview
Dependencies
Maintainers
2
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

caniuse-api - npm Package Compare versions

Comparing version 1.5.0 to 1.5.1

README.md

6

CHANGELOG.md

@@ -0,1 +1,7 @@

# 1.5.1 - 2016-08-06
- Fixed: Do not fail when browserslist gives a browser that caniuse-api doesn't
know about
([#45](https://github.com/Nyalab/caniuse-api/pull/45) - @onigoetz)
# 1.5.0 - 2016-06-01

@@ -2,0 +8,0 @@

2

dist/index.js

@@ -76,3 +76,3 @@ "use strict";

}).every(function (browser) {
return data.stats[browser[0]][browser[1]] === "y";
return data.stats[browser[0]] && data.stats[browser[0]][browser[1]] === "y";
});

@@ -79,0 +79,0 @@ }

{
"name": "caniuse-api",
"version": "1.5.0",
"version": "1.5.1",
"description": "request the caniuse data to check browsers compatibilities",
"repository": {
"type": "git",
"url": "https://github.com/nyalab/caniuse-api.git"
},
"repository": "https://github.com/nyalab/caniuse-api.git",
"keywords": [

@@ -34,2 +31,3 @@ "caniuse",

"jshint": "^2.5.10",
"npmpub": "^3.1.0",
"tap-spec": "^4.1.1",

@@ -44,4 +42,5 @@ "tape": "^4.5.1"

"test": "npm run lint && babel-tape-runner test/*.js | tap-spec",
"postinstall": "node generator.js"
"postinstall": "node generator.js",
"release": "npmpub"
}
}
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc