Comparing version 1.0.0 to 1.0.1
@@ -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) { |
{ | ||
"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: [] }); | ||
}); | ||
}()); |
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
33869
650