Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/sinon

Package Overview
Dependencies
Maintainers
1
Versions
107
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/sinon - npm Package Compare versions

Comparing version 2.2.0 to 2.2.1

30

sinon/index.d.ts

@@ -105,3 +105,3 @@ // Type definitions for Sinon 2.2

resetHistory(): void;
usingPromise(promiseLibrary: any): void;
usingPromise(promiseLibrary: any): SinonStub;

@@ -207,15 +207,15 @@ returns(obj: any): SinonStub;

/**
* Simulate the user changing the system clock while your program is running. It changes the 'now' timestamp
* without affecting timers, intervals or immediates.
* @param now The new 'now' in unix milliseconds
*/
setSystemTime(now: number): void;
/**
* Simulate the user changing the system clock while your program is running. It changes the 'now' timestamp
* without affecting timers, intervals or immediates.
* @param now The new 'now' as a JavaScript Date
*/
setSystemTime(date: Date): void;
}
/**
* Simulate the user changing the system clock while your program is running. It changes the 'now' timestamp
* without affecting timers, intervals or immediates.
* @param now The new 'now' in unix milliseconds
*/
setSystemTime(now: number): void;
/**
* Simulate the user changing the system clock while your program is running. It changes the 'now' timestamp
* without affecting timers, intervals or immediates.
* @param now The new 'now' as a JavaScript Date
*/
setSystemTime(date: Date): void;
}

@@ -420,3 +420,3 @@ interface SinonFakeTimersStatic {

resetBehavior(): void;
usingPromise(promiseLibrary: any): void;
usingPromise(promiseLibrary: any): SinonSandbox;
verify(): void;

@@ -423,0 +423,0 @@ verifyAndRestore(): void;

{
"name": "@types/sinon",
"version": "2.2.0",
"version": "2.2.1",
"description": "TypeScript definitions for Sinon",

@@ -28,4 +28,4 @@ "license": "MIT",

"peerDependencies": {},
"typesPublisherContentHash": "a2da26f24c9340402847ea5bee7599725f4acda590e9c1c5ceb48f9c958652eb",
"typesPublisherContentHash": "883db8f7f2661f08a629e547041f72077a350dd28f24e0b090feea964d420618",
"typeScriptVersion": "2.0"
}

@@ -11,3 +11,3 @@ # Installation

Additional Details
* Last updated: Wed, 03 May 2017 19:10:56 GMT
* Last updated: Thu, 04 May 2017 17:04:38 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: sinon

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