Comparing version 1.3.0 to 1.3.1
@@ -0,1 +1,5 @@ | ||
== 1.3.1 / 2012-01-04 | ||
* Fix bug in core sinon: isNode was used for both a variable and a function, | ||
causing load errors and lots of bugs. Should have never left the door. | ||
== 1.3.0 / 2012-01-01 | ||
@@ -2,0 +6,0 @@ * Support using bare functions as fake server response handlers (< 1.3.0 |
@@ -17,3 +17,3 @@ /*jslint eqeqeq: false, onevar: false, forin: true, nomen: false, regexp: false, plusplus: false*/ | ||
function isNode(obj) { | ||
function isDOMNode(obj) { | ||
var success = false; | ||
@@ -38,3 +38,3 @@ | ||
function isElement(obj) { | ||
return div && obj && obj.nodeType === 1 && isNode(obj); | ||
return div && obj && obj.nodeType === 1 && isDOMNode(obj); | ||
} | ||
@@ -41,0 +41,0 @@ |
{ | ||
"name": "sinon", | ||
"description": "JavaScript test spies, stubs and mocks.", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"homepage": "http://cjohansen.no/sinon/", | ||
@@ -6,0 +6,0 @@ "author": "Christian Johansen", |
/** | ||
* Sinon.JS 1.3.0, 2012/01/01 | ||
* Sinon.JS 1.3.1, 2012/01/04 | ||
* | ||
@@ -4,0 +4,0 @@ * @author Christian Johansen (christian@cjohansen.no) |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
1510937
2