Socket
Socket
Sign inDemoInstall

@types/expect

Package Overview
Dependencies
0
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.20.2 to 1.20.3

8

expect/index.d.ts

@@ -17,2 +17,5 @@ // Type definitions for Expect 1.20

toBeFalsy(message?: string): Expectation<T>;
toBeNull(message?: string): Expectation<T>;
toBeDefined(message?: string): Expectation<T>;
toBeUndefined(message?: string): Expectation<T>;

@@ -32,2 +35,3 @@ toBe(value: T, message?: string): Expectation<T>;

toNotMatch(value: string | RegExp | {}, message?: string): Expectation<T>;
toMatchObject(value: {}, message?: string): Expectation<T>;

@@ -60,3 +64,6 @@ toBeLessThan(value: number, message?: string): Expectation<T>;

toHaveBeenCalledWith(...args: any[]): Expectation<T>;
toHaveBeenLastCalledWith(...args: any[]): Expectation<T>;
not: Expectation<T>;
// deprecated

@@ -96,2 +103,3 @@ withContext(context: any): Expectation<T>;

function extend(extension: Extension): void;
function any<T>(ctor: { new (): T }): T;
}

@@ -98,0 +106,0 @@

10

expect/package.json
{
"name": "@types/expect",
"version": "1.20.2",
"version": "1.20.3",
"description": "TypeScript definitions for Expect",

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

"name": "Justin Reidy",
"url": "https://github.com/jmreidy"
"url": "https://github.com/jmreidy",
"githubUsername": "jmreidy"
},
{
"name": "Risto Keravuori",
"url": "https://github.com/merrywhether"
"url": "https://github.com/merrywhether",
"githubUsername": "merrywhether"
}

@@ -24,4 +26,4 @@ ],

"dependencies": {},
"typesPublisherContentHash": "9b4f2c4b01bb9b1fa3d77a1d3b5b767e9b80a5ef45dca986afcc935ec3bc72b5",
"typesPublisherContentHash": "c73a3142ccc8ed798afc32bd6c0da8d7b10b3af0c46493f85d4cb5ad6e0317ce",
"typeScriptVersion": "2.0"
}

2

expect/README.md

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

Additional Details
* Last updated: Mon, 21 Aug 2017 21:49:18 GMT
* Last updated: Mon, 26 Feb 2018 19:17:29 GMT
* Dependencies: none

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc