unexpected
Advanced tools
Comparing version 10.33.1 to 10.33.2
@@ -763,3 +763,4 @@ var utils = require('./utils'); | ||
inspect: function (f, depth, output, inspect) { | ||
var source = f.toString().replace(/\r\n?|\n\r?/g, '\n'); | ||
// Don't break when a function has its own custom #toString: | ||
var source = Function.prototype.toString.call(f).replace(/\r\n?|\n\r?/g, '\n'); | ||
var name = utils.getFunctionName(f) || ''; | ||
@@ -766,0 +767,0 @@ var preamble; |
{ | ||
"name": "unexpected", | ||
"version": "10.33.1", | ||
"version": "10.33.2", | ||
"author": "Sune Sloth Simonsen <sune@we-knowhow.dk>", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
1377188
6642