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.8 to 4.0.9

28

chai/index.d.ts

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

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

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

export interface Assert {
interface Assert {
/**

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

export interface Config {
interface Config {
/**

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

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

@@ -1621,9 +1621,9 @@ name: string;

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

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

"dependencies": {},
"typesPublisherContentHash": "1c89ea9e229c46de0cd9fc9a48b4ce18c27a3bab9d443d01bec054b1126ede4a",
"typesPublisherContentHash": "3ad8921928167eedf4465b0b514ad9ffeeb026ead3348b74a7f0dfdc6611f8e4",
"typeScriptVersion": "2.0"
}

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

Additional Details
* Last updated: Mon, 04 Dec 2017 20:31:32 GMT
* Last updated: Mon, 11 Dec 2017 19:14:19 GMT
* Dependencies: none
* Global values: Chai, chai
* Global values: 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