Comparing version 1.3.2 to 2.0.0
@@ -28,2 +28,6 @@ 'use strict'; | ||
var _mimicFn = require('mimic-fn'); | ||
var _mimicFn2 = _interopRequireDefault(_mimicFn); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -81,3 +85,7 @@ | ||
return handler(fn, print); | ||
var wrappedFn = handler(fn, print); | ||
// because the name and arity might matter | ||
(0, _mimicFn2.default)(wrappedFn, fn); | ||
return wrappedFn; | ||
}; | ||
@@ -84,0 +92,0 @@ } |
{ | ||
"name": "derf", | ||
"version": "1.3.2", | ||
"version": "2.0.0", | ||
"description": "A javascript performance debugger.", | ||
@@ -42,2 +42,3 @@ "main": "lib/index.js", | ||
"lodash": "^4.12.0", | ||
"mimic-fn": "^1.1.0", | ||
"on-finished": "^2.3.0" | ||
@@ -44,0 +45,0 @@ }, |
13885
206
4
+ Addedmimic-fn@^1.1.0
+ Addedmimic-fn@1.2.0(transitive)