Comparing version 9.0.3 to 9.1.0
9.1.0 / 2020-09-29 | ||
================== | ||
* Add a calledOnceWithMatch assertion (#2294) | ||
9.0.3 / 2020-08-11 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -210,2 +210,3 @@ "use strict"; | ||
mirrorPropAsAssertion("calledOnceWithExactly", "expected %n to be called once and with exact arguments %D"); | ||
mirrorPropAsAssertion("calledOnceWithMatch", "expected %n to be called once and with match %D"); | ||
mirrorPropAsAssertion("alwaysCalledWithExactly", "expected %n to always be called with exact arguments %D"); | ||
@@ -212,0 +213,0 @@ mirrorPropAsAssertion("neverCalledWith", "expected %n to never be called with arguments %*%C"); |
@@ -179,2 +179,3 @@ "use strict"; | ||
delegateToCalls(proxyApi, "calledOnceWithExactly", true, "calledWithExactly", false, undefined, 1); | ||
delegateToCalls(proxyApi, "calledOnceWithMatch", true, "calledWithMatch", false, undefined, 1); | ||
delegateToCalls(proxyApi, "alwaysCalledWithExactly", false, "calledWithExactly"); | ||
@@ -181,0 +182,0 @@ delegateToCalls(proxyApi, "neverCalledWith", false, "notCalledWith", false, function() { |
@@ -83,4 +83,3 @@ "use strict"; | ||
typeof property !== "undefined" && | ||
(typeof actualDescriptor === "undefined" || typeof actualDescriptor.value !== "function") && | ||
typeof descriptor === "undefined"; | ||
(typeof actualDescriptor === "undefined" || typeof actualDescriptor.value !== "function"); | ||
@@ -87,0 +86,0 @@ if (isStubbingEntireObject) { |
{ | ||
"name": "sinon", | ||
"description": "JavaScript test spies, stubs and mocks.", | ||
"version": "9.0.3", | ||
"version": "9.1.0", | ||
"homepage": "https://sinonjs.org/", | ||
@@ -6,0 +6,0 @@ "author": "Christian Johansen", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
57283
4
4808440
51