Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@sinonjs/commons

Package Overview
Dependencies
Maintainers
5
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sinonjs/commons - npm Package Compare versions

Comparing version 1.4.0 to 1.5.0

lib/prototypes/set.js

2

lib/class-name.test.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc