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.2 to 2.3.0

15

sinon/index.d.ts

@@ -1,4 +0,8 @@

// Type definitions for Sinon 2.2
// Type definitions for Sinon 2.3
// Project: http://sinonjs.org/
// Definitions by: William Sears <https://github.com/mrbigdog2u>, Jonathan Little <https://github.com/rationull>, Lukas Spieß <https://github.com/lumaxis>, Nico Jansen <https://github.com/nicojs>
// Definitions by: William Sears <https://github.com/mrbigdog2u>
// Jonathan Little <https://github.com/rationull>
// Lukas Spieß <https://github.com/lumaxis>
// Nico Jansen <https://github.com/nicojs>
// James Garbutt <https://github.com/43081j>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -113,2 +117,5 @@

throws(obj: any): SinonStub;
throwsArg(index: number): SinonStub;
throwsException(type?: string): SinonStub;
throwsException(obj: any): SinonStub;
rejects(): SinonStub;

@@ -127,2 +134,4 @@ rejects(errorType: string): SinonStub;

callsFake(func: (...args: any[]) => void): SinonStub;
get(func: () => any): SinonStub;
set(func: (v: any) => void): SinonStub;
onCall(n: number): SinonStub;

@@ -132,4 +141,6 @@ onFirstCall(): SinonStub;

onThirdCall(): SinonStub;
value(val: any): SinonStub;
yields(...args: any[]): SinonStub;
yieldsOn(context: any, ...args: any[]): SinonStub;
yieldsRight(...args: any[]): SinonStub;
yieldsTo(property: string, ...args: any[]): SinonStub;

@@ -136,0 +147,0 @@ yieldsToOn(property: string, context: any, ...args: any[]): SinonStub;

8

sinon/package.json
{
"name": "@types/sinon",
"version": "2.2.2",
"version": "2.3.0",
"description": "TypeScript definitions for Sinon",

@@ -22,2 +22,6 @@ "license": "MIT",

"url": "https://github.com/nicojs"
},
{
"name": "James Garbutt",
"url": "https://github.com/43081j"
}

@@ -33,4 +37,4 @@ ],

"peerDependencies": {},
"typesPublisherContentHash": "d49fe374bb84617dd440199f0a9290bbfcfeae020346443d65d757fc83e61b87",
"typesPublisherContentHash": "bd5feb237fa036100d90f1b939d270f31d9a3d79c41f94e246323cbe341ba7e1",
"typeScriptVersion": "2.0"
}

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

Additional Details
* Last updated: Tue, 16 May 2017 20:45:07 GMT
* Last updated: Fri, 02 Jun 2017 17:06:02 GMT
* Dependencies: none

@@ -17,2 +17,2 @@ * Global values: sinon

# Credits
These definitions were written by William Sears <https://github.com/mrbigdog2u>, Jonathan Little <https://github.com/rationull>, Lukas Spieß <https://github.com/lumaxis>, Nico Jansen <https://github.com/nicojs>.
These definitions were written by William Sears <https://github.com/mrbigdog2u>, Jonathan Little <https://github.com/rationull>, Lukas Spieß <https://github.com/lumaxis>, Nico Jansen <https://github.com/nicojs>, James Garbutt <https://github.com/43081j>.
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