stack-utils
Advanced tools
Comparing version 2.0.5 to 2.0.6
10
index.js
@@ -164,3 +164,6 @@ 'use strict'; | ||
if (site.isConstructor()) { | ||
res.constructor = true; | ||
Object.defineProperty(res, 'constructor', { | ||
value: true, | ||
configurable: true, | ||
}); | ||
} | ||
@@ -264,3 +267,6 @@ | ||
if (ctor) { | ||
res.constructor = true; | ||
Object.defineProperty(res, 'constructor', { | ||
value: true, | ||
configurable: true, | ||
}); | ||
} | ||
@@ -267,0 +273,0 @@ |
{ | ||
"name": "stack-utils", | ||
"version": "2.0.5", | ||
"version": "2.0.6", | ||
"description": "Captures and cleans stack traces", | ||
@@ -37,4 +37,4 @@ "license": "MIT", | ||
"source-map-support": "^0.5.20", | ||
"tap": "^15.0.9" | ||
"tap": "^16.3.0" | ||
} | ||
} |
14600
277