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.0.0 to 1.0.1

2

lib/function-name.js

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

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