Socket
Socket
Sign inDemoInstall

@types/chai-as-promised

Package Overview
Dependencies
1
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.1.2 to 7.1.3

65

chai-as-promised/index.d.ts

@@ -8,2 +8,3 @@ // Type definitions for chai-as-promised 7.1.0

// Matt Bishop <https://github.com/mattbishop>
// William Orr <https://github.com/worr>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -317,2 +318,3 @@ // TypeScript Version: 3.0

isNotNumber(val: any, msg?: string): PromiseLike<void>;
isFinite(val: number, msg?: string): PromiseLike<void>;

@@ -334,2 +336,20 @@ isBoolean(val: any, msg?: string): PromiseLike<void>;

deepInclude(exp: string, inc: any, msg?: string): PromiseLike<void>;
deepInclude(exp: any[], inc: any, msg?: string): PromiseLike<void>;
notDeepInclude(exp: string, inc: any, msg?: string): PromiseLike<void>;
notDeepInclude(exp: any[], inc: any, msg?: string): PromiseLike<void>;
nestedInclude(exp: Object, inc: Object, msg?: string): PromiseLike<void>;
notNestedInclude(exp: Object, inc: Object, msg?: string): PromiseLike<void>;
deepNestedInclude(exp: Object, inc: Object, msg?: string): PromiseLike<void>;
notDeepNestedInclude(exp: Object, inc: Object, msg?: string): PromiseLike<void>;
ownInclude(exp: Object, inc: Object, msg?: string): PromiseLike<void>;
notOwnInclude(exp: Object, inc: Object, msg?: string): PromiseLike<void>;
deepOwnInclude(exp: Object, inc: Object, msg?: string): PromiseLike<void>;
notDeepOwnInclude(exp: Object, inc: Object, msg?: string): PromiseLike<void>;
match(exp: any, re: RegExp, msg?: string): PromiseLike<void>;

@@ -349,3 +369,42 @@ notMatch(exp: any, re: RegExp, msg?: string): PromiseLike<void>;

nestedProperty(obj: object, prop: string, msg?: string): PromiseLike<void>;
notNestedProperty(obj: object, prop: string, msg?: string): PromiseLike<void>;
nestedPropertyVal(obj: object, prop: string, val: any, msg?: string): PromiseLike<void>;
notNestedPropertyVal(obj: object, prop: string, val: any, msg?: string): PromiseLike<void>;
deepNestedPropertyVal(obj: object, prop: string, val: any, msg?: string): PromiseLike<void>;
notDeepNestedPropertyVal(obj: object, prop: string, val: any, msg?: string): PromiseLike<void>;
lengthOf(exp: any, len: number, msg?: string): PromiseLike<void>;
hasAnyKeys(obj: any, keys: any[], msg?: string): PromiseLike<void>;
hasAnyKeys(obj: any, keys: object, msg?: string): PromiseLike<void>;
hasAllKeys(obj: any, keys: any[], msg?: string): PromiseLike<void>;
hasAllKeys(obj: any, keys: object, msg?: string): PromiseLike<void>;
containsAllKeys(obj: any, keys: any[], msg?: string): PromiseLike<void>;
containsAllKeys(obj: any, keys: object, msg?: string): PromiseLike<void>;
doesNotHaveAnyKeys(obj: any, keys: any[], msg?: string): PromiseLike<void>;
doesNotHaveAnyKeys(obj: any, keys: object, msg?: string): PromiseLike<void>;
doesNotHaveAllKeys(obj: any, keys: any[], msg?: string): PromiseLike<void>;
doesNotHaveAllKeys(obj: any, keys: object, msg?: string): PromiseLike<void>;
hasAnyDeepKeys(obj: any, keys: any[], msg?: string): PromiseLike<void>;
hasAnyDeepKeys(obj: any, keys: object, msg?: string): PromiseLike<void>;
hasAllDeepKeys(obj: any, keys: any[], msg?: string): PromiseLike<void>;
hasAllDeepKeys(obj: any, keys: object, msg?: string): PromiseLike<void>;
containsAllDeepKeys(obj: any, keys: any[], msg?: string): PromiseLike<void>;
containsAllDeepKeys(obj: any, keys: object, msg?: string): PromiseLike<void>;
doesNotHaveAnyDeepKeys(obj: any, keys: any[], msg?: string): PromiseLike<void>;
doesNotHaveAnyDeepKeys(obj: any, keys: object, msg?: string): PromiseLike<void>;
doesNotHaveAllDeepKeys(obj: any, keys: any[], msg?: string): PromiseLike<void>;
doesNotHaveAllDeepKeys(obj: any, keys: object, msg?: string): PromiseLike<void>;
//alias frenzy

@@ -392,7 +451,13 @@ throw(fn: Function, msg?: string): PromiseLike<void>;

changes(modifier: Function, obj: Object, property: string, msg?: string): PromiseLike<void>;
changesBy(modifier: Function, obj: object, property: string, change: number, msg?: string): PromiseLike<void>;
doesNotChange(modifier: Function, obj: Object, property: string, msg?: string): PromiseLike<void>;
changesButNotBy(modifier: Function, obj: object, property: string, change: number, msg?: string): PromiseLike<void>;
increases(modifier: Function, obj: Object, property: string, msg?: string): PromiseLike<void>;
increasesBy(modifier: Function, obj: Object, property: string, change: number, msg?: string): PromiseLike<void>;
doesNotIncrease(modifier: Function, obj: Object, property: string, msg?: string): PromiseLike<void>;
increasesButNotBy(modifier: Function, obj: Object, property: string, change: number, msg?: string): PromiseLike<void>;
decreases(modifier: Function, obj: Object, property: string, msg?: string): PromiseLike<void>;
decreasesBy(modifier: Function, obj: Object, property: string, change: number, msg?: string): PromiseLike<void>;
doesNotDecrease(modifier: Function, obj: Object, property: string, msg?: string): PromiseLike<void>;
decreasesButNotBy(modifier: Function, obj: Object, property: string, change: number, msg?: string): PromiseLike<void>;

@@ -399,0 +464,0 @@ ifError(val: any, msg?: string): PromiseLike<void>;

11

chai-as-promised/package.json
{
"name": "@types/chai-as-promised",
"version": "7.1.2",
"version": "7.1.3",
"description": "TypeScript definitions for chai-as-promised",

@@ -31,6 +31,11 @@ "license": "MIT",

"githubUsername": "mattbishop"
},
{
"name": "William Orr",
"url": "https://github.com/worr",
"githubUsername": "worr"
}
],
"main": "",
"types": "index",
"types": "index.d.ts",
"repository": {

@@ -45,4 +50,4 @@ "type": "git",

},
"typesPublisherContentHash": "208020b350253438915a5442fbc3580262b0542269da7ebac4b9604a73d5a6ea",
"typesPublisherContentHash": "65bb010a31510b99611f61b83ef0494f8d50ab376634512c6367e9a6bfad6dcb",
"typeScriptVersion": "3.0"
}

@@ -8,10 +8,10 @@ # Installation

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chai-as-promised
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chai-as-promised.
Additional Details
* Last updated: Thu, 08 Aug 2019 16:09:05 GMT
* Dependencies: @types/chai
### Additional Details
* Last updated: Mon, 06 Jul 2020 22:39:46 GMT
* Dependencies: [@types/chai](https://npmjs.com/package/@types/chai)
* Global values: none
# Credits
These definitions were written by jt000 <https://github.com/jt000>, Yuki Kokubun <https://github.com/Kuniwak>, Leonard Thieu <https://github.com/leonard-thieu>, Mike Lazer-Walker <https://github.com/lazerwalker>, and Matt Bishop <https://github.com/mattbishop>.
These definitions were written by [jt000](https://github.com/jt000), [Yuki Kokubun](https://github.com/Kuniwak), [Leonard Thieu](https://github.com/leonard-thieu), [Mike Lazer-Walker](https://github.com/lazerwalker), [Matt Bishop](https://github.com/mattbishop), and [William Orr](https://github.com/worr).

Sorry, the diff of this file is not supported yet

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