Socket
Socket
Sign inDemoInstall

sinon

Package Overview
Dependencies
Maintainers
2
Versions
208
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sinon - npm Package Compare versions

Comparing version 1.12.1 to 1.12.2

pkg/sinon-1.12.2.js

6

lib/sinon/util/fake_timers.js

@@ -28,3 +28,3 @@ /*global lolex */

function makeApi(sinon, lol) {
var _lolex = typeof lolex !== "undefined" ? lolex : lol;
var llx = typeof lolex !== "undefined" ? lolex : lol;

@@ -40,3 +40,3 @@ sinon.useFakeTimers = function () {

var clock = _lolex.install(now || 0, methods);
var clock = llx.install(now || 0, methods);
clock.restore = clock.uninstall;

@@ -48,3 +48,3 @@ return clock;

create: function (now) {
return _lolex.createClock(now);
return llx.createClock(now);
}

@@ -51,0 +51,0 @@ };

@@ -293,2 +293,3 @@ /**

206: "Partial Content",
207: "Multi-Status",
300: "Multiple Choice",

@@ -295,0 +296,0 @@ 301: "Moved Permanently",

{
"name": "sinon",
"description": "JavaScript test spies, stubs and mocks.",
"version": "1.12.1",
"version": "1.12.2",
"homepage": "http://cjohansen.no/sinon/",

@@ -26,3 +26,3 @@ "author": "Christian Johansen",

"dependencies": {
"formatio": "~1.1.1",
"formatio": "1.1.1",
"util": ">=0.10.3 <1",

@@ -29,0 +29,0 @@ "lolex": "1.1.0"

/**
* Sinon.JS 1.12.1, 2014/11/16
* Sinon.JS 1.12.1, 2014/12/12
*

@@ -4,0 +4,0 @@ * @author Christian Johansen (christian@cjohansen.no)

/**
* Sinon.JS 1.12.1, 2014/11/16
* Sinon.JS 1.12.2, 2014/12/12
*

@@ -4,0 +4,0 @@ * @author Christian Johansen (christian@cjohansen.no)

/**
* Sinon.JS 1.12.1, 2014/11/16
* Sinon.JS 1.12.1, 2014/12/12
*

@@ -966,2 +966,3 @@ * @author Christian Johansen (christian@cjohansen.no)

206: "Partial Content",
207: "Multi-Status",
300: "Multiple Choice",

@@ -1631,3 +1632,3 @@ 301: "Moved Permanently",

function makeApi(sinon, lol) {
var _lolex = typeof lolex !== "undefined" ? lolex : lol;
var llx = typeof lolex !== "undefined" ? lolex : lol;

@@ -1643,3 +1644,3 @@ sinon.useFakeTimers = function () {

var clock = _lolex.install(now || 0, methods);
var clock = llx.install(now || 0, methods);
clock.restore = clock.uninstall;

@@ -1651,3 +1652,3 @@ return clock;

create: function (now) {
return _lolex.createClock(now);
return llx.createClock(now);
}

@@ -1654,0 +1655,0 @@ };

/**
* Sinon.JS 1.12.1, 2014/11/16
* Sinon.JS 1.12.1, 2014/12/12
*

@@ -62,3 +62,3 @@ * @author Christian Johansen (christian@cjohansen.no)

function makeApi(sinon, lol) {
var _lolex = typeof lolex !== "undefined" ? lolex : lol;
var llx = typeof lolex !== "undefined" ? lolex : lol;

@@ -74,3 +74,3 @@ sinon.useFakeTimers = function () {

var clock = _lolex.install(now || 0, methods);
var clock = llx.install(now || 0, methods);
clock.restore = clock.uninstall;

@@ -82,3 +82,3 @@ return clock;

create: function (now) {
return _lolex.createClock(now);
return llx.createClock(now);
}

@@ -85,0 +85,0 @@ };

/**
* Sinon.JS 1.12.1, 2014/11/16
* Sinon.JS 1.12.1, 2014/12/12
*

@@ -4,0 +4,0 @@ * @author Christian Johansen (christian@cjohansen.no)

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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