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

@types/should

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/should - npm Package Compare versions

Comparing version 8.3.0 to 11.2.0

14

should/index.d.ts

@@ -1,4 +0,6 @@

// Type definitions for should.js v8.3.0
// Type definitions for should.js v11.2.0
// Project: https://github.com/shouldjs/should.js
// Definitions by: Alex Varju <https://github.com/varju/>, Maxime LUCE <https://github.com/SomaticIT/>
// Definitions by: Alex Varju <https://github.com/varju>
// Maxime LUCE <https://github.com/SomaticIT/>
// Lukas Spieß <https://github.com/lumaxis/>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -91,6 +93,8 @@

enumerable(property: string, value?: any): ShouldAssertion;
size(size: number): ShouldAssertion;
value(key: string | number, value: any): ShouldAssertion;
enumerables(...properties: string[]): ShouldAssertion;
startWith(expected: string, message?: any): ShouldAssertion;
endWith(expected: string, message?: any): ShouldAssertion;
throw(message?: any): ShouldAssertion;
throw(message?: any, properties?: {}): ShouldAssertion;

@@ -103,3 +107,3 @@ //promises

rejected(): Promise<any>;
rejectedWith(message: (string | Function | RegExp), properties?: Object): Promise<any>;
rejectedWith(message: (string | Function | RegExp), properties?: {}): Promise<any>;
rejectedWith(errType: Object): Promise<any>;

@@ -142,3 +146,3 @@

instanceOf(constructor: Function, description?: string): ShouldAssertion;
throwError(message?: any): ShouldAssertion;
throwError(message?: any, properties?: {}): ShouldAssertion;
lengthOf(n: number, description?: string): ShouldAssertion;

@@ -145,0 +149,0 @@ key(key: string): ShouldAssertion;

{
"name": "@types/should",
"version": "8.3.0",
"version": "11.2.0",
"description": "TypeScript definitions for should.js",

@@ -9,3 +9,3 @@ "license": "MIT",

"name": "Alex Varju",
"url": "https://github.com/varju/"
"url": "https://github.com/varju"
},

@@ -15,2 +15,6 @@ {

"url": "https://github.com/SomaticIT/"
},
{
"name": "Lukas Spieß",
"url": "https://github.com/lumaxis/"
}

@@ -25,5 +29,4 @@ ],

"dependencies": {},
"peerDependencies": {},
"typesPublisherContentHash": "0401921a727810b34d060741f1b22a7296d27fcbbc29426830c1887b6cb67e48",
"typesPublisherContentHash": "bad62162de3ed115532cdaa5bae0a83435e3860defe215f8a45c753e419c11b8",
"typeScriptVersion": "2.0"
}

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

Additional Details
* Last updated: Tue, 18 Apr 2017 15:11:46 GMT
* Last updated: Mon, 21 Aug 2017 22:03:22 GMT
* Dependencies: none

@@ -17,2 +17,2 @@ * Global values: Should, should

# Credits
These definitions were written by Alex Varju <https://github.com/varju/>, Maxime LUCE <https://github.com/SomaticIT/>.
These definitions were written by Alex Varju <https://github.com/varju>, Maxime LUCE <https://github.com/SomaticIT/>, Lukas Spieß <https://github.com/lumaxis/>.

Sorry, the diff of this file is not supported yet

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