Comparing version 4.0.0-canary.2 to 4.0.0
@@ -28,3 +28,12 @@ /*! | ||
var excludeNames = Object.getOwnPropertyNames(testFn).filter(function(name) { | ||
return !Object.getOwnPropertyDescriptor(testFn, name).configurable; | ||
var propDesc = Object.getOwnPropertyDescriptor(testFn, name); | ||
// Note: PhantomJS 1.x includes `callee` as one of `testFn`'s own properties, | ||
// but then returns `undefined` as the property descriptor for `callee`. As a | ||
// workaround, we perform an otherwise unnecessary type-check for `propDesc`, | ||
// and then filter it out if it's not an object as it should be. | ||
if (typeof propDesc !== 'object') | ||
return true; | ||
return !propDesc.configurable; | ||
}); | ||
@@ -31,0 +40,0 @@ |
@@ -20,3 +20,3 @@ { | ||
], | ||
"version": "4.0.0-canary.2", | ||
"version": "4.0.0", | ||
"repository": { | ||
@@ -23,0 +23,0 @@ "type": "git", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
734606
18384
0