@sinonjs/commons
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -11,4 +11,4 @@ "use strict"; | ||
// (i.e. toString will say 'spy' rather than 'myFunc'). | ||
String(func).match(/function ([^\s\(]+)/)[1] | ||
(String(func).match(/function ([^\s\(]+)/) || [])[1] | ||
); | ||
}; |
@@ -6,3 +6,4 @@ "use strict"; | ||
function: require("./function"), | ||
object: require("./object") | ||
object: require("./object"), | ||
string: require("./string") | ||
}; |
@@ -8,2 +8,3 @@ "use strict"; | ||
var objectProto = require("./index").object; | ||
var stringProto = require("./index").string; | ||
@@ -20,2 +21,5 @@ describe("prototypes", function() { | ||
}); | ||
describe(".string", function() { | ||
verifyProperties(stringProto, String); | ||
}); | ||
}); | ||
@@ -22,0 +26,0 @@ |
{ | ||
"name": "@sinonjs/commons", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Simple functions shared among the sinon end user libraries", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
14877
225