Comparing version 3.0.0 to 3.1.0
@@ -10,2 +10,7 @@ 'use strict'; | ||
// `Function#arguments` and `Function#caller` should not be copied. They were reported to be present in `Reflect.ownKeys` for some devices in React Native (#41), so we explicitly ignore them here. | ||
if (property === 'arguments' || property === 'caller') { | ||
return; | ||
} | ||
const toDescriptor = Object.getOwnPropertyDescriptor(to, property); | ||
@@ -12,0 +17,0 @@ const fromDescriptor = Object.getOwnPropertyDescriptor(from, property); |
{ | ||
"name": "mimic-fn", | ||
"version": "3.0.0", | ||
"version": "3.1.0", | ||
"description": "Make a function mimic another one", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
8244
102
0