Socket
Socket
Sign inDemoInstall

feature-detect-es6

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

feature-detect-es6 - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

7

lib/feature-detect-es6.js

@@ -165,4 +165,9 @@ 'use strict'

return arrayify(arguments).every(function (testName) {
return exports[testName]()
var method = exports[testName]
if (method && typeof method === 'function') {
return method()
} else {
throw new Error('no detection available by this name: ' + testName)
}
})
}

2

package.json
{
"name": "feature-detect-es6",
"author": "Lloyd Brookes <75pound@gmail.com>",
"version": "1.3.0",
"version": "1.3.1",
"description": "Detect which ES2015 features are available.",

@@ -6,0 +6,0 @@ "repository": "https://github.com/75lb/feature-detect-es6.git",

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