@sinonjs/commons
Advanced tools
Comparing version 1.4.0 to 1.5.0
@@ -13,3 +13,3 @@ "use strict"; | ||
// var instance = new (class TestClass {})(); | ||
var instance = new function TestClass() {}(); | ||
var instance = new (function TestClass() {})(); | ||
var name = className(instance); | ||
@@ -16,0 +16,0 @@ assert.equals(name, "TestClass"); |
@@ -7,3 +7,4 @@ "use strict"; | ||
object: require("./object"), | ||
set: require("./set"), | ||
string: require("./string") | ||
}; |
@@ -8,2 +8,3 @@ "use strict"; | ||
var objectProto = require("./index").object; | ||
var setProto = require("./index").set; | ||
var stringProto = require("./index").string; | ||
@@ -21,2 +22,5 @@ | ||
}); | ||
describe(".set", function() { | ||
verifyProperties(setProto, Set); | ||
}); | ||
describe(".string", function() { | ||
@@ -23,0 +27,0 @@ verifyProperties(stringProto, String); |
{ | ||
"name": "@sinonjs/commons", | ||
"version": "1.4.0", | ||
"version": "1.5.0", | ||
"description": "Simple functions shared among the sinon end user libraries", | ||
@@ -24,9 +24,11 @@ "main": "lib/index.js", | ||
"lint-staged": { | ||
"*.js": "eslint" | ||
"*.js": [ | ||
"eslint" | ||
] | ||
}, | ||
"devDependencies": { | ||
"@sinonjs/referee-sinon": "4.1.0", | ||
"eslint": "^5.8.0", | ||
"eslint": "^6.1.0", | ||
"eslint-config-prettier": "^3.1.0", | ||
"eslint-config-sinon": "^2.0.0", | ||
"eslint-config-sinon": "^3.0.0", | ||
"eslint-plugin-ie11": "^1.0.0", | ||
@@ -33,0 +35,0 @@ "eslint-plugin-local-rules": "^0.1.0", |
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
32450
36
717