unexpected
Advanced tools
Comparing version 10.32.0 to 10.32.1
@@ -771,2 +771,6 @@ var utils = require('./utils'); | ||
preamble = matchSource[1]; | ||
if (preamble === 'function ()' && name) { | ||
// fn.bind() doesn't seem to include the name in the .toString() output: | ||
preamble = 'function ' + name + '()'; | ||
} | ||
body = matchSource[2]; | ||
@@ -773,0 +777,0 @@ var matchBodyAndIndent = body.match(/^(\s*\{)([\s\S]*?)([ ]*)\}\s*$/); |
{ | ||
"name": "unexpected", | ||
"version": "10.32.0", | ||
"version": "10.32.1", | ||
"author": "Sune Sloth Simonsen <sune@we-knowhow.dk>", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is too big to display
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
824271
20435