Socket
Socket
Sign inDemoInstall

@sinonjs/samsam

Package Overview
Dependencies
Maintainers
5
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sinonjs/samsam - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

2

dist/samsam.js

@@ -185,3 +185,3 @@ (function (global, factory) {

function getClassName(value) {
return Object.getPrototypeOf(value) ? value.constructor.name : null;
return value.constructor ? value.constructor.name : null;
}

@@ -188,0 +188,0 @@

"use strict";
function getClassName(value) {
return Object.getPrototypeOf(value) ? value.constructor.name : null;
return value.constructor ? value.constructor.name : null;
}
module.exports = getClassName;
{
"name": "@sinonjs/samsam",
"version": "2.1.0",
"version": "2.1.1",
"description": "Value identification and comparison functions",

@@ -5,0 +5,0 @@ "homepage": "http://sinonjs.github.io/samsam/",

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