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

polyfills-db

Package Overview
Dependencies
Maintainers
2
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

polyfills-db - npm Package Compare versions

Comparing version 1.14.2 to 1.14.3

6

lib/agents.js

@@ -61,5 +61,5 @@

var version = browsers[name]
if (!version) return
if (version === true) return str += 'if (families.' + name + '.test(family)) return true\n'
if (version === false) return str += 'if (families.' + name + '.test(family)) return false\n'
if (version == null) return
if (version === true) return str += 'if (families.' + name + '.test(family)) return false\n'
if (version === false) return str += 'if (families.' + name + '.test(family)) return true\n'
str += 'if (families.' + name + '.test(family)) '

@@ -66,0 +66,0 @@ + 'return satisfies(version, ' + JSON.stringify('<' + version) + ')\n'

@@ -68,4 +68,3 @@

Object.keys(caniuseBrowsers).forEach(function (browser) {
var version = lowestOf(json.stats[caniuseBrowsers[browser]], browser, feature)
if (version) browsers[browser] = version
browsers[browser] = lowestOf(json.stats[caniuseBrowsers[browser]], browser, feature) || false
})

@@ -96,8 +95,8 @@ return browsers

var out = true
var out = null
for (var i = 0; i < versions.length; i++) {
var version = versions[i]
if (out === true && obj[version] === 'y') {
if (!out && obj[version] === 'y') {
out = version.split('-')[0] // versions are sometimes ranged
} else if (out !== true && obj[version] !== 'y') {
} else if (out && obj[version] !== 'y') {
// if a lower version supports something,

@@ -108,3 +107,3 @@ // but a higher version does not,

// http://caniuse.com/#feat=nav-timing
out = true
out = false
}

@@ -111,0 +110,0 @@ }

@@ -431,8 +431,8 @@ [

"sources": [
"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/setPrototypeOf#Browser_compatibility"
"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/setPrototypeOf#Browser_compatibility",
"http://kangax.github.io/compat-table/es6/"
],
"browsers": {
"ff": 31,
"chrome": 34,
"opera": true
"chrome": 34
}

@@ -439,0 +439,0 @@ },

{
"name": "polyfills-db",
"description": "browser feature database",
"version": "1.14.2",
"version": "1.14.3",
"author": {

@@ -6,0 +6,0 @@ "name": "Jonathan Ong",

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