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

@types/chai

Package Overview
Dependencies
Maintainers
1
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/chai - npm Package Compare versions

Comparing version 4.0.7 to 4.0.8

26

chai/index.d.ts

@@ -29,16 +29,16 @@ // Type definitions for chai 4.0

interface ExpectStatic extends AssertionStatic {
export interface ExpectStatic extends AssertionStatic {
fail(actual?: any, expected?: any, message?: string, operator?: Operator): void;
}
interface AssertStatic extends Assert {
export interface AssertStatic extends Assert {
}
interface AssertionStatic {
export interface AssertionStatic {
(target: any, message?: string): Assertion;
}
type Operator = string; // "==" | "===" | ">" | ">=" | "<" | "<=" | "!=" | "!==";
export type Operator = string; // "==" | "===" | ">" | ">=" | "<" | "<=" | "!=" | "!==";
type OperatorComparable = boolean | null | number | string | undefined | Date;
export type OperatorComparable = boolean | null | number | string | undefined | Date;

@@ -260,3 +260,3 @@ interface ShouldAssertion {

interface Assert {
export interface Assert {
/**

@@ -1592,3 +1592,3 @@ * @param expression Expression to test for truthiness.

interface Config {
export interface Config {
/**

@@ -1610,3 +1610,3 @@ * Default: false

class AssertionError {
export class AssertionError {
constructor(message: string, _props?: any, ssf?: Function);

@@ -1622,8 +1622,8 @@ name: string;

export = chai;
declare module "chai" {
export = chai;
}
declare global {
interface Object {
should: Chai.Assertion;
}
interface Object {
should: Chai.Assertion;
}
{
"name": "@types/chai",
"version": "4.0.7",
"version": "4.0.8",
"description": "TypeScript definitions for chai",

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

"dependencies": {},
"typesPublisherContentHash": "58cc3e5249d6a9b669ba76fa85d410d236705b74db03f3cf985af665313e56d1",
"typesPublisherContentHash": "1c89ea9e229c46de0cd9fc9a48b4ce18c27a3bab9d443d01bec054b1126ede4a",
"typeScriptVersion": "2.0"
}

@@ -11,7 +11,7 @@ # Installation

Additional Details
* Last updated: Sun, 03 Dec 2017 16:26:41 GMT
* Last updated: Mon, 04 Dec 2017 20:31:32 GMT
* Dependencies: none
* Global values: none
* Global values: Chai, chai
# Credits
These definitions were written by Jed Mao <https://github.com/jedmao>, Bart van der Schoor <https://github.com/Bartvds>, Andrew Brown <https://github.com/AGBrown>, Olivier Chevet <https://github.com/olivr70>, Matt Wistrand <https://github.com/mwistrand>, Josh Goldberg <https://github.com/joshuakgoldberg>, Shaun Luttin <https://github.com/shaunluttin>, Gintautas Miselis <https://github.com/Naktibalda>.
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