Socket
Socket
Sign inDemoInstall

samsam

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

samsam - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

1

lib/samsam.js

@@ -306,2 +306,3 @@ ((typeof define === "function" && define.amd && function (m) { define("samsam", m); }) ||

function arrayContains(array, subset) {
if (subset.length === 0) { return true; }
var i, l, j, k;

@@ -308,0 +309,0 @@ for (i = 0, l = array.length; i < l; ++i) {

2

package.json
{
"name": "samsam",
"version": "1.0.0",
"version": "1.0.1",
"description": "Value identification and comparison functions",

@@ -5,0 +5,0 @@ "homepage": "http://busterjs.org/docs/buster-assertions",

@@ -340,4 +340,6 @@ if (typeof module === "object" && typeof require === "function") {

fail("mis-ordered array 'subset'", [1, 2, 3], [1, 3]);
pass("empty arrays", [], []);
pass("objects with empty arrays", { xs: [] }, { xs: [] });
});
}());
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