feature-detect-es6
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -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) | ||
} | ||
}) | ||
} |
{ | ||
"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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
21444
518
1