Comparing version 1.0.1 to 1.0.2
@@ -0,1 +1,6 @@ | ||
== 1.0.2 / 2011-02-22 | ||
* Fix JSON bug in package.json | ||
* Sandbox no longer tries to use a fake server if config says so, but | ||
server is not loaded | ||
== 1.0.1 / 2010-12-20 | ||
@@ -2,0 +7,0 @@ * Make sure sinon.sandbox is exposed in node.js (fix by Gord Tanner) |
@@ -68,4 +68,9 @@ /** | ||
useFakeServer: function useFakeServer() { | ||
this.server = (this.serverPrototype || sinon.fakeServer).create(); | ||
var proto = this.serverPrototype || sinon.fakeServer; | ||
if (!proto || !proto.create) { | ||
return null; | ||
} | ||
this.server = proto.create(); | ||
return this.add(this.server); | ||
@@ -72,0 +77,0 @@ }, |
{ | ||
"name": "sinon", | ||
"description": "JavaScript test spies, stubs and mocks.", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"homepage": "http://cjohansen.no/sinon/", | ||
@@ -17,3 +17,3 @@ "author": "Christian Johansen", | ||
{ "type": "BSD", | ||
"url": "http://github.com/cjohansen/Sinon.JS/blob/master/LICENSE", | ||
"url": "http://github.com/cjohansen/Sinon.JS/blob/master/LICENSE" | ||
} | ||
@@ -20,0 +20,0 @@ ], |
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
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
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
Invalid manifest file
QualityPackage has an invalid manifest file and can cause installation problems if you try to use it.
Found 1 instance in 1 package
Misc. License Issues
License(Experimental) A package's licensing information has fine-grained problems.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
0
0
0
312217
40
7841
1
1