keep-func-props
Advanced tools
Comparing version 7.0.0 to 7.1.0
@@ -1,2 +0,2 @@ | ||
import mimicFn from"mimic-fn"; | ||
import mimicFunction from"mimic-function"; | ||
@@ -14,3 +14,3 @@ | ||
if(typeof func==="function"&&typeof newFunc==="function"){ | ||
mimicFn(newFunc,func,{ignoreNonConfigurable:true}) | ||
mimicFunction(newFunc,func,{ignoreNonConfigurable:true}) | ||
} | ||
@@ -17,0 +17,0 @@ |
{ | ||
"name": "keep-func-props", | ||
"version": "7.0.0", | ||
"version": "7.1.0", | ||
"type": "module", | ||
@@ -48,6 +48,6 @@ "exports": { | ||
"dependencies": { | ||
"mimic-fn": "^4.0.0" | ||
"mimic-function": "^5.0.0" | ||
}, | ||
"devDependencies": { | ||
"@ehmicky/dev-tasks": "^2.0.102", | ||
"@ehmicky/dev-tasks": "^2.0.103", | ||
"sinon": "^17.0.0" | ||
@@ -54,0 +54,0 @@ }, |
@@ -115,4 +115,4 @@ <picture> | ||
- [`mimic-fn`](https://github.com/sindresorhus/mimic-fn): same but for functions | ||
that do not wrap other functions. | ||
- [`mimic-function`](https://github.com/sindresorhus/mimic-function): same but | ||
for functions that do not wrap other functions. | ||
@@ -119,0 +119,0 @@ # Support |
9762
+ Addedmimic-function@^5.0.0
+ Addedmimic-function@5.0.1(transitive)
- Removedmimic-fn@^4.0.0
- Removedmimic-fn@4.0.0(transitive)