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.9 to 4.0.10

28

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);

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

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

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

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

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

Additional Details
* Last updated: Mon, 11 Dec 2017 19:14:19 GMT
* Last updated: Mon, 11 Dec 2017 23:33:53 GMT
* Dependencies: none
* Global values: chai
* 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