Upgrading @types/chai 2 to 3
Unknown2.0.7 → 3.5.2
Fetching 20 releases from GitHub…0 / 20
UnknownUpgrade verdict
DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.
In plain terms
- DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
- This page updates as the notes come in.
Must act Still reading release notes
DepDelta is still reading the release notes in this range. This updates as they come in.
API changes
Generated by DepDelta from published .d.ts files. Not mixed with prose notes.
- removed:
method Chai.Assert.notIncludeMembers(set1: any[], set2: any[], msg?: string): void - removed:
method Chai.Assertion.closeTo(expected: number, delta: number, message?: string): Assertion - removed:
method Chai.Assertion.match(regexp: RegExp | string, message?: string): Assertion - removed:
method Chai.Assertion.respondTo(method: string, message?: string): Assertion - removed:
method Chai.Assertion.satisfy(matcher: Function, message?: string): Assertion - removed:
var chai: Chai.ChaiStatic - changed:
call Chai.ShouldThrow(actual: Function, constructor: Error | Function, expected?: string | RegExp, message?: string): void → call Chai.ShouldThrow(actual: Function, constructor: Error|Function, expected?: string|RegExp, message?: string): void - changed:
call Chai.ShouldThrow(actual: Function, expected: string | RegExp, message?: string): void → call Chai.ShouldThrow(actual: Function, expected: string|RegExp, message?: string): void - changed:
method Chai.Assert.Throw(fn: Function, errType: Function, msg?: string): void → method Chai.Assert.Throw(fn: Function, errType: Function, message?: string): void - changed:
method Chai.Assert.Throw(fn: Function, msg?: string): void → method Chai.Assert.Throw(fn: Function, message?: string): void - changed:
method Chai.Assert.closeTo(act: number, exp: number, delta: number, msg?: string): void → method Chai.Assert.closeTo(actual: number, expected: number, delta: number, message?: string): void - changed:
method Chai.Assert.deepEqual(act: any, exp: any, msg?: string): void → method Chai.Assert.deepEqual<T>(actual: T, expected: T, message?: string): void - changed:
method Chai.Assert.deepProperty(obj: Object, prop: string, msg?: string): void → method Chai.Assert.deepProperty<T>(object: T, property: string, message?: string): void - changed:
method Chai.Assert.deepPropertyNotVal(obj: Object, prop: string, val: any, msg?: string): void → method Chai.Assert.deepPropertyNotVal<T, V>(object: T, property: string, value: V, message?: string): void - changed:
method Chai.Assert.deepPropertyVal(obj: Object, prop: string, val: any, msg?: string): void → method Chai.Assert.deepPropertyVal<T, V>(object: T, property: string, value: V, message?: string): void - changed:
method Chai.Assert.doesNotThrow(fn: Function, errType: Function, msg?: string): void → method Chai.Assert.doesNotThrow(fn: Function, errType: Function, message?: string): void - changed:
method Chai.Assert.doesNotThrow(fn: Function, msg?: string): void → method Chai.Assert.doesNotThrow(fn: Function, message?: string): void - changed:
method Chai.Assert.equal(act: any, exp: any, msg?: string): void → method Chai.Assert.equal<T>(actual: T, expected: T, message?: string): void - changed:
method Chai.Assert.fail(actual?: any, expected?: any, msg?: string, operator?: string): void → method Chai.Assert.fail<T>(actual?: T, expected?: T, message?: string, operator?: Operator): void - changed:
method Chai.Assert.ifError(val: any, msg?: string): void → method Chai.Assert.ifError<T>(object: T, message?: string): void - changed:
method Chai.Assert.include(exp: any[], inc: any, msg?: string): void → method Chai.Assert.include(haystack: string, needle: string, message?: string): void - changed:
method Chai.Assert.include(exp: string, inc: any, msg?: string): void → method Chai.Assert.include<T>(haystack: T[], needle: T, message?: string): void - changed:
method Chai.Assert.includeMembers(set1: any[], set2: any[], msg?: string): void → method Chai.Assert.includeMembers<T>(superset: T[], subset: T[], message?: string): void - changed:
method Chai.Assert.instanceOf(val: any, type: Function, msg?: string): void → method Chai.Assert.instanceOf<T>(value: T, constructor: Function, message?: string): void - changed:
method Chai.Assert.isArray(val: any, msg?: string): void → method Chai.Assert.isArray<T>(value: T, message?: string): void - changed:
method Chai.Assert.isBoolean(val: any, msg?: string): void → method Chai.Assert.isBoolean<T>(value: T, message?: string): void - changed:
method Chai.Assert.isDefined(val: any, msg?: string): void → method Chai.Assert.isDefined<T>(value: T, message?: string): void - changed:
method Chai.Assert.isFalse(val: any, msg?: string): void → method Chai.Assert.isFalse<T>(value: T, message?: string): void - changed:
method Chai.Assert.isFunction(val: any, msg?: string): void → method Chai.Assert.isFunction<T>(value: T, message?: string): void - changed:
method Chai.Assert.isNotArray(val: any, msg?: string): void → method Chai.Assert.isNotArray<T>(value: T, message?: string): void - changed:
method Chai.Assert.isNotBoolean(val: any, msg?: string): void → method Chai.Assert.isNotBoolean<T>(value: T, message?: string): void - changed:
method Chai.Assert.isNotFunction(val: any, msg?: string): void → method Chai.Assert.isNotFunction<T>(value: T, message?: string): void - changed:
method Chai.Assert.isNotNull(val: any, msg?: string): void → method Chai.Assert.isNotNull<T>(value: T, message?: string): void - changed:
method Chai.Assert.isNotNumber(val: any, msg?: string): void → method Chai.Assert.isNotNumber<T>(value: T, message?: string): void - changed:
method Chai.Assert.isNotObject(val: any, msg?: string): void → method Chai.Assert.isNotObject<T>(value: T, message?: string): void - changed:
method Chai.Assert.isNotString(val: any, msg?: string): void → method Chai.Assert.isNotString<T>(value: T, message?: string): void - changed:
method Chai.Assert.isNull(val: any, msg?: string): void → method Chai.Assert.isNull<T>(value: T, message?: string): void - changed:
method Chai.Assert.isNumber(val: any, msg?: string): void → method Chai.Assert.isNumber<T>(value: T, message?: string): void - changed:
method Chai.Assert.isObject(val: any, msg?: string): void → method Chai.Assert.isObject<T>(value: T, message?: string): void - changed:
method Chai.Assert.isString(val: any, msg?: string): void → method Chai.Assert.isString<T>(value: T, message?: string): void - changed:
method Chai.Assert.isTrue(val: any, msg?: string): void → method Chai.Assert.isTrue<T>(value: T, message?: string): void - changed:
method Chai.Assert.isUndefined(val: any, msg?: string): void → method Chai.Assert.isUndefined<T>(value: T, message?: string): void - changed:
method Chai.Assert.lengthOf(exp: any, len: number, msg?: string): void → method Chai.Assert.lengthOf<T extends { readonly length?: number }>(object: T, length: number, message?: string): void - changed:
method Chai.Assert.match(exp: any, re: RegExp, msg?: string): void → method Chai.Assert.match(value: string, regexp: RegExp, message?: string): void - changed:
method Chai.Assert.notDeepEqual(act: any, exp: any, msg?: string): void → method Chai.Assert.notDeepEqual<T>(actual: T, expected: T, message?: string): void - changed:
method Chai.Assert.notDeepProperty(obj: Object, prop: string, msg?: string): void → method Chai.Assert.notDeepProperty<T>(object: T, property: string, message?: string): void - changed:
method Chai.Assert.notEqual(act: any, exp: any, msg?: string): void → method Chai.Assert.notEqual<T>(actual: T, expected: T, message?: string): void - changed:
method Chai.Assert.notInclude(exp: any[], inc: any, msg?: string): void → method Chai.Assert.notInclude(haystack: any[], needle: any, message?: string): void - changed:
method Chai.Assert.notInclude(exp: string, inc: any, msg?: string): void → method Chai.Assert.notInclude(haystack: string, needle: any, message?: string): void - changed:
method Chai.Assert.notInstanceOf(val: any, type: Function, msg?: string): void → method Chai.Assert.notInstanceOf<T>(value: T, type: Function, message?: string): void - changed:
method Chai.Assert.notMatch(exp: any, re: RegExp, msg?: string): void → method Chai.Assert.notMatch(expected: any, regexp: RegExp, message?: string): void - changed:
method Chai.Assert.notOk(val: any, msg?: string): void → method Chai.Assert.notOk<T>(value: T, message?: string): void - changed:
method Chai.Assert.notProperty(obj: Object, prop: string, msg?: string): void → method Chai.Assert.notProperty<T>(object: T, property: string, message?: string): void - changed:
method Chai.Assert.notStrictEqual(act: any, exp: any, msg?: string): void → method Chai.Assert.notStrictEqual<T>(actual: T, expected: T, message?: string): void - changed:
method Chai.Assert.notTypeOf(val: any, type: string, msg?: string): void → method Chai.Assert.notTypeOf<T>(value: T, name: string, message?: string): void - changed:
method Chai.Assert.ok(val: any, msg?: string): void → method Chai.Assert.ok<T>(value: T, message?: string): void - changed:
method Chai.Assert.operator(val: any, operator: string, val2: any, msg?: string): void → method Chai.Assert.operator(val1: OperatorComparable, operator: Operator, val2: OperatorComparable, message?: string): void - changed:
method Chai.Assert.property(obj: Object, prop: string, msg?: string): void → method Chai.Assert.property<T>(object: T, property: string, message?: string): void - changed:
method Chai.Assert.propertyNotVal(obj: Object, prop: string, val: any, msg?: string): void → method Chai.Assert.propertyNotVal<T, V>(object: T, property: string, value: V, message?: string): void - changed:
method Chai.Assert.propertyVal(obj: Object, prop: string, val: any, msg?: string): void → method Chai.Assert.propertyVal<T, V>(object: T, property: string, value: V, message?: string): void - changed:
method Chai.Assert.sameMembers(set1: any[], set2: any[], msg?: string): void → method Chai.Assert.sameMembers<T>(set1: T[], set2: T[], message?: string): void - changed:
method Chai.Assert.strictEqual(act: any, exp: any, msg?: string): void → method Chai.Assert.strictEqual<T>(actual: T, expected: T, message?: string): void - changed:
method Chai.Assert.throw(fn: Function, errType: Function, msg?: string): void → method Chai.Assert.throw(fn: Function, constructor: Function, message?: string): void - changed:
method Chai.Assert.throw(fn: Function, errType: Function, regExp: RegExp): void → method Chai.Assert.throw(fn: Function, constructor: Function, regExp: RegExp): void - changed:
method Chai.Assert.throw(fn: Function, msg?: string): void → method Chai.Assert.throw(fn: Function, message?: string): void - changed:
method Chai.Assert.throws(fn: Function, errType: Function, msg?: string): void → method Chai.Assert.throws(fn: Function, errType: Function, message?: string): void - changed:
method Chai.Assert.throws(fn: Function, msg?: string): void → method Chai.Assert.throws(fn: Function, message?: string): void - changed:
method Chai.Assert.throws(fn: Function, regExp: RegExp): void → method Chai.Assert.throws(fn: Function, regExp: RegExp, message?: string): void - changed:
method Chai.Assert.typeOf(val: any, type: string, msg?: string): void → method Chai.Assert.typeOf<T>(value: T, name: string, message?: string): void - changed:
method Chai.ChaiStatic.use(fn: (chai: any, utils: any) => void): any → method Chai.ChaiStatic.use(fn: (chai: any, utils: any) => void): ChaiStatic - changed:
method Chai.Should.fail(actual: any, expected: any, message?: string, operator?: string): void → method Chai.Should.fail(actual: any, expected: any, message?: string, operator?: Operator): void - changed:
property Chai.Assertion.a: Assertion → property Chai.Assertion.a: TypeComparison - changed:
property Chai.Assertion.an: Assertion → property Chai.Assertion.an: TypeComparison - added:
call Chai.CloseTo(expected: number, delta: number, message?: string): Assertion - added:
call Chai.Keys(keys: Object): Assertion - added:
call Chai.Match(regexp: RegExp|string, message?: string): Assertion - added:
call Chai.OwnPropertyDescriptor(name: string, descriptor: PropertyDescriptor, message?: string): Assertion - added:
call Chai.OwnPropertyDescriptor(name: string, message?: string): Assertion - added:
call Chai.PropertyChange(object: Object, property: string, message?: string): Assertion - added:
call Chai.RespondTo(method: string, message?: string): Assertion - added:
call Chai.Satisfy(matcher: Function, message?: string): Assertion - added:
const chai: Chai.ChaiStatic - added:
interface Chai.CloseTo - added:
interface Chai.KeyFilter - added:
interface Chai.Match - added:
interface Chai.OwnPropertyDescriptor - added:
interface Chai.PropertyChange - added:
interface Chai.RespondTo - added:
interface Chai.Satisfy - added:
method Chai.Assert.approximately(act: number, exp: number, delta: number, message?: string): void - added:
method Chai.Assert.changes<T>(modifier: Function, object: T, property: string, message?: string): void - added:
method Chai.Assert.decreases<T>(modifier: Function, object: T, property: string, message?: string): void - added:
method Chai.Assert.doesNotChange<T>(modifier: Function, object: T, property: string, message?: string): void - added:
method Chai.Assert.doesNotDecrease<T>(modifier: Function, object: T, property: string, message?: string): void - added:
method Chai.Assert.doesNotIncrease<T>(modifier: Function, object: T, property: string, message?: string): void - added:
method Chai.Assert.extensible<T>(object: T, message?: string): void - added:
method Chai.Assert.frozen<T>(object: T, message?: string): void - added:
method Chai.Assert.includeDeepMembers<T>(superset: T[], subset: T[], message?: string): void - added:
method Chai.Assert.increases<T>(modifier: Function, object: T, property: string, message?: string): void - added:
method Chai.Assert.isAbove(valueToCheck: number, valueToBeAbove: number, message?: string): void - added:
method Chai.Assert.isAtLeast(valueToCheck: number, valueToBeAtLeast: number, message?: string): void - added:
method Chai.Assert.isAtMost(valueToCheck: number, valueToBeAtMost: number, message?: string): void - added:
method Chai.Assert.isBelow(valueToCheck: number, valueToBeBelow: number, message?: string): void - added:
method Chai.Assert.isExtensible<T>(object: T, message?: string): void - added:
method Chai.Assert.isFrozen<T>(object: T, message?: string): void - added:
method Chai.Assert.isNaN<T>(value: T, message?: string): void - added:
method Chai.Assert.isNotExtensible<T>(object: T, message?: string): void - added:
method Chai.Assert.isNotFalse<T>(value: T, message?: string): void - added:
method Chai.Assert.isNotFrozen<T>(object: T, message?: string): void - added:
method Chai.Assert.isNotNaN<T>(value: T, message?: string): void - added:
method Chai.Assert.isNotOk<T>(value: T, message?: string): void - added:
method Chai.Assert.isNotSealed<T>(object: T, message?: string): void - added:
method Chai.Assert.isNotTrue<T>(value: T, message?: string): void - added:
method Chai.Assert.isOk<T>(value: T, message?: string): void - added:
method Chai.Assert.isSealed<T>(object: T, message?: string): void - added:
method Chai.Assert.notExtensible<T>(object: T, message?: string): void - added:
method Chai.Assert.notFrozen<T>(object: T, message?: string): void - added:
method Chai.Assert.notSealed<T>(object: T, message?: string): void - added:
method Chai.Assert.oneOf<T>(inList: T, list: T[], message?: string): void - added:
method Chai.Assert.sameDeepMembers<T>(set1: T[], set2: T[], message?: string): void - added:
method Chai.Assert.sealed<T>(object: T, message?: string): void - added:
method Chai.Assertion.oneOf(list: any[], message?: string): Assertion - added:
method Chai.ExpectStatic.fail(actual?: any, expected?: any, message?: string, operator?: Operator): void - added:
property Chai.Assertion.NaN: Assertion - added:
property Chai.Assertion.all: KeyFilter - added:
property Chai.Assertion.any: KeyFilter - added:
property Chai.Assertion.approximately: CloseTo - added:
property Chai.Assertion.change: PropertyChange - added:
property Chai.Assertion.changes: PropertyChange - added:
property Chai.Assertion.closeTo: CloseTo - added:
property Chai.Assertion.contains: Include - added:
property Chai.Assertion.decrease: PropertyChange - added:
property Chai.Assertion.decreases: PropertyChange - added:
property Chai.Assertion.extensible: Assertion - added:
property Chai.Assertion.frozen: Assertion - added:
property Chai.Assertion.haveOwnPropertyDescriptor: OwnPropertyDescriptor - added:
property Chai.Assertion.includes: Include - added:
property Chai.Assertion.increase: PropertyChange - added:
property Chai.Assertion.increases: PropertyChange - added:
property Chai.Assertion.match: Match - added:
property Chai.Assertion.matches: Match - added:
property Chai.Assertion.ownPropertyDescriptor: OwnPropertyDescriptor - added:
property Chai.Assertion.respondTo: RespondTo - added:
property Chai.Assertion.respondsTo: RespondTo - added:
property Chai.Assertion.satisfies: Satisfy - added:
property Chai.Assertion.satisfy: Satisfy - added:
property Chai.Assertion.sealed: Assertion - added:
property Chai.ChaiStatic.AssertionError: typeof AssertionError - added:
property Chai.ChaiStatic.version: string - added:
property Chai.Config.showDiff: boolean - added:
property Chai.Config.truncateThreshold: number - added:
property Chai.Deep.eq: Equal - added:
property Chai.Deep.equals: Equal - added:
property Chai.Deep.members: Members - added:
property Chai.Include.all: KeyFilter - added:
property Chai.Include.any: KeyFilter - added:
property Chai.KeyFilter.keys: Keys - added:
type Chai.Operator = string - added:
type Chai.OperatorComparable = boolean | null | number | string | undefined | Date