cypress 3.7.0 → 3.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cli.js +59 -47
- package/lib/errors.js +7 -1
- package/lib/exec/open.js +4 -4
- package/lib/exec/run.js +75 -42
- package/lib/exec/spawn.js +13 -4
- package/lib/exec/xvfb.js +9 -2
- package/lib/tasks/state.js +14 -4
- package/lib/tasks/unzip.js +90 -16
- package/lib/util.js +1 -1
- package/package.json +2 -1
- package/types/bluebird/README.md +4 -4
- package/types/bluebird/index.d.ts +1261 -1315
- package/types/bluebird/package.json +19 -13
- package/types/chai/LICENSE +21 -21
- package/types/chai/README.md +5 -5
- package/types/chai/index.d.ts +355 -46
- package/types/chai/package.json +31 -13
- package/types/chai-jquery/README.md +2 -2
- package/types/chai-jquery/index.d.ts +3 -3
- package/types/chai-jquery/package.json +14 -13
- package/types/cypress-npm-api.d.ts +10 -1
- package/types/index.d.ts +17 -5
- package/types/lodash/README.md +6 -6
- package/types/lodash/common/array.d.ts +13 -8
- package/types/lodash/common/collection.d.ts +12 -0
- package/types/lodash/common/lang.d.ts +2 -2
- package/types/lodash/common/object.d.ts +219 -15
- package/types/lodash/common/util.d.ts +58 -0
- package/types/lodash/fp.d.ts +452 -226
- package/types/lodash/index.d.ts +1 -1
- package/types/lodash/multiply.d.ts +2 -0
- package/types/lodash/package.json +23 -16
- package/types/lodash/stubFalse.d.ts +2 -0
- package/types/lodash/stubTrue.d.ts +2 -0
- package/types/lodash/ts3.1/add.d.ts +2 -0
- package/types/lodash/ts3.1/after.d.ts +2 -0
- package/types/lodash/ts3.1/ary.d.ts +2 -0
- package/types/lodash/ts3.1/assign.d.ts +2 -0
- package/types/lodash/ts3.1/assignIn.d.ts +2 -0
- package/types/lodash/ts3.1/assignInWith.d.ts +2 -0
- package/types/lodash/ts3.1/assignWith.d.ts +2 -0
- package/types/lodash/ts3.1/at.d.ts +2 -0
- package/types/lodash/ts3.1/attempt.d.ts +2 -0
- package/types/lodash/ts3.1/before.d.ts +2 -0
- package/types/lodash/ts3.1/bind.d.ts +2 -0
- package/types/lodash/ts3.1/bindAll.d.ts +2 -0
- package/types/lodash/ts3.1/bindKey.d.ts +2 -0
- package/types/lodash/ts3.1/camelCase.d.ts +2 -0
- package/types/lodash/ts3.1/capitalize.d.ts +2 -0
- package/types/lodash/ts3.1/castArray.d.ts +2 -0
- package/types/lodash/ts3.1/ceil.d.ts +2 -0
- package/types/lodash/ts3.1/chain.d.ts +2 -0
- package/types/lodash/ts3.1/chunk.d.ts +2 -0
- package/types/lodash/ts3.1/clamp.d.ts +2 -0
- package/types/lodash/ts3.1/clone.d.ts +2 -0
- package/types/lodash/ts3.1/cloneDeep.d.ts +2 -0
- package/types/lodash/ts3.1/cloneDeepWith.d.ts +2 -0
- package/types/lodash/ts3.1/cloneWith.d.ts +2 -0
- package/types/lodash/ts3.1/common/array.d.ts +2127 -0
- package/types/lodash/ts3.1/common/collection.d.ts +1930 -0
- package/types/lodash/ts3.1/common/common.d.ts +284 -0
- package/types/lodash/ts3.1/common/date.d.ts +23 -0
- package/types/lodash/ts3.1/common/function.d.ts +1392 -0
- package/types/lodash/ts3.1/common/lang.d.ts +1694 -0
- package/types/lodash/ts3.1/common/math.d.ts +405 -0
- package/types/lodash/ts3.1/common/number.d.ts +131 -0
- package/types/lodash/ts3.1/common/object.d.ts +2507 -0
- package/types/lodash/ts3.1/common/seq.d.ts +210 -0
- package/types/lodash/ts3.1/common/string.d.ts +788 -0
- package/types/lodash/ts3.1/common/util.d.ts +1219 -0
- package/types/lodash/ts3.1/compact.d.ts +2 -0
- package/types/lodash/ts3.1/concat.d.ts +2 -0
- package/types/lodash/ts3.1/cond.d.ts +2 -0
- package/types/lodash/ts3.1/conformsTo.d.ts +2 -0
- package/types/lodash/ts3.1/constant.d.ts +2 -0
- package/types/lodash/ts3.1/countBy.d.ts +2 -0
- package/types/lodash/ts3.1/create.d.ts +2 -0
- package/types/lodash/ts3.1/curry.d.ts +2 -0
- package/types/lodash/ts3.1/curryRight.d.ts +2 -0
- package/types/lodash/ts3.1/debounce.d.ts +2 -0
- package/types/lodash/ts3.1/deburr.d.ts +2 -0
- package/types/lodash/ts3.1/defaultTo.d.ts +2 -0
- package/types/lodash/ts3.1/defaults.d.ts +2 -0
- package/types/lodash/ts3.1/defaultsDeep.d.ts +2 -0
- package/types/lodash/ts3.1/defer.d.ts +2 -0
- package/types/lodash/ts3.1/delay.d.ts +2 -0
- package/types/lodash/ts3.1/difference.d.ts +2 -0
- package/types/lodash/ts3.1/differenceBy.d.ts +2 -0
- package/types/lodash/ts3.1/differenceWith.d.ts +2 -0
- package/types/lodash/ts3.1/divide.d.ts +2 -0
- package/types/lodash/ts3.1/drop.d.ts +2 -0
- package/types/lodash/ts3.1/dropRight.d.ts +2 -0
- package/types/lodash/ts3.1/dropRightWhile.d.ts +2 -0
- package/types/lodash/ts3.1/dropWhile.d.ts +2 -0
- package/types/lodash/ts3.1/each.d.ts +2 -0
- package/types/lodash/ts3.1/eachRight.d.ts +2 -0
- package/types/lodash/ts3.1/endsWith.d.ts +2 -0
- package/types/lodash/ts3.1/entries.d.ts +2 -0
- package/types/lodash/ts3.1/entriesIn.d.ts +2 -0
- package/types/lodash/ts3.1/eq.d.ts +2 -0
- package/types/lodash/ts3.1/escape.d.ts +2 -0
- package/types/lodash/ts3.1/escapeRegExp.d.ts +2 -0
- package/types/lodash/ts3.1/every.d.ts +2 -0
- package/types/lodash/ts3.1/extend.d.ts +2 -0
- package/types/lodash/ts3.1/extendWith.d.ts +2 -0
- package/types/lodash/ts3.1/fill.d.ts +2 -0
- package/types/lodash/ts3.1/filter.d.ts +2 -0
- package/types/lodash/ts3.1/find.d.ts +2 -0
- package/types/lodash/ts3.1/findIndex.d.ts +2 -0
- package/types/lodash/ts3.1/findKey.d.ts +2 -0
- package/types/lodash/ts3.1/findLast.d.ts +2 -0
- package/types/lodash/ts3.1/findLastIndex.d.ts +2 -0
- package/types/lodash/ts3.1/findLastKey.d.ts +2 -0
- package/types/lodash/ts3.1/first.d.ts +2 -0
- package/types/lodash/ts3.1/flatMap.d.ts +2 -0
- package/types/lodash/ts3.1/flatMapDeep.d.ts +2 -0
- package/types/lodash/ts3.1/flatMapDepth.d.ts +2 -0
- package/types/lodash/ts3.1/flatten.d.ts +2 -0
- package/types/lodash/ts3.1/flattenDeep.d.ts +2 -0
- package/types/lodash/ts3.1/flattenDepth.d.ts +2 -0
- package/types/lodash/ts3.1/flip.d.ts +2 -0
- package/types/lodash/ts3.1/floor.d.ts +2 -0
- package/types/lodash/ts3.1/flow.d.ts +2 -0
- package/types/lodash/ts3.1/flowRight.d.ts +2 -0
- package/types/lodash/ts3.1/forEach.d.ts +2 -0
- package/types/lodash/ts3.1/forEachRight.d.ts +2 -0
- package/types/lodash/ts3.1/forIn.d.ts +2 -0
- package/types/lodash/ts3.1/forInRight.d.ts +2 -0
- package/types/lodash/ts3.1/forOwn.d.ts +2 -0
- package/types/lodash/ts3.1/forOwnRight.d.ts +2 -0
- package/types/lodash/ts3.1/fp/F.d.ts +2 -0
- package/types/lodash/ts3.1/fp/T.d.ts +2 -0
- package/types/lodash/ts3.1/fp/__.d.ts +3 -0
- package/types/lodash/ts3.1/fp/add.d.ts +2 -0
- package/types/lodash/ts3.1/fp/after.d.ts +2 -0
- package/types/lodash/ts3.1/fp/all.d.ts +2 -0
- package/types/lodash/ts3.1/fp/allPass.d.ts +2 -0
- package/types/lodash/ts3.1/fp/always.d.ts +2 -0
- package/types/lodash/ts3.1/fp/any.d.ts +2 -0
- package/types/lodash/ts3.1/fp/anyPass.d.ts +2 -0
- package/types/lodash/ts3.1/fp/apply.d.ts +2 -0
- package/types/lodash/ts3.1/fp/ary.d.ts +2 -0
- package/types/lodash/ts3.1/fp/assign.d.ts +2 -0
- package/types/lodash/ts3.1/fp/assignAll.d.ts +2 -0
- package/types/lodash/ts3.1/fp/assignAllWith.d.ts +2 -0
- package/types/lodash/ts3.1/fp/assignIn.d.ts +2 -0
- package/types/lodash/ts3.1/fp/assignInAll.d.ts +2 -0
- package/types/lodash/ts3.1/fp/assignInAllWith.d.ts +2 -0
- package/types/lodash/ts3.1/fp/assignInWith.d.ts +2 -0
- package/types/lodash/ts3.1/fp/assignWith.d.ts +2 -0
- package/types/lodash/ts3.1/fp/assoc.d.ts +2 -0
- package/types/lodash/ts3.1/fp/assocPath.d.ts +2 -0
- package/types/lodash/ts3.1/fp/at.d.ts +2 -0
- package/types/lodash/ts3.1/fp/attempt.d.ts +2 -0
- package/types/lodash/ts3.1/fp/before.d.ts +2 -0
- package/types/lodash/ts3.1/fp/bind.d.ts +2 -0
- package/types/lodash/ts3.1/fp/bindAll.d.ts +2 -0
- package/types/lodash/ts3.1/fp/bindKey.d.ts +2 -0
- package/types/lodash/ts3.1/fp/camelCase.d.ts +2 -0
- package/types/lodash/ts3.1/fp/capitalize.d.ts +2 -0
- package/types/lodash/ts3.1/fp/castArray.d.ts +2 -0
- package/types/lodash/ts3.1/fp/ceil.d.ts +2 -0
- package/types/lodash/ts3.1/fp/chunk.d.ts +2 -0
- package/types/lodash/ts3.1/fp/clamp.d.ts +2 -0
- package/types/lodash/ts3.1/fp/clone.d.ts +2 -0
- package/types/lodash/ts3.1/fp/cloneDeep.d.ts +2 -0
- package/types/lodash/ts3.1/fp/cloneDeepWith.d.ts +2 -0
- package/types/lodash/ts3.1/fp/cloneWith.d.ts +2 -0
- package/types/lodash/ts3.1/fp/compact.d.ts +2 -0
- package/types/lodash/ts3.1/fp/complement.d.ts +2 -0
- package/types/lodash/ts3.1/fp/compose.d.ts +2 -0
- package/types/lodash/ts3.1/fp/concat.d.ts +2 -0
- package/types/lodash/ts3.1/fp/cond.d.ts +2 -0
- package/types/lodash/ts3.1/fp/conforms.d.ts +2 -0
- package/types/lodash/ts3.1/fp/conformsTo.d.ts +2 -0
- package/types/lodash/ts3.1/fp/constant.d.ts +2 -0
- package/types/lodash/ts3.1/fp/contains.d.ts +2 -0
- package/types/lodash/ts3.1/fp/convert.d.ts +15 -0
- package/types/lodash/ts3.1/fp/countBy.d.ts +2 -0
- package/types/lodash/ts3.1/fp/create.d.ts +2 -0
- package/types/lodash/ts3.1/fp/curry.d.ts +2 -0
- package/types/lodash/ts3.1/fp/curryN.d.ts +2 -0
- package/types/lodash/ts3.1/fp/curryRight.d.ts +2 -0
- package/types/lodash/ts3.1/fp/curryRightN.d.ts +2 -0
- package/types/lodash/ts3.1/fp/debounce.d.ts +2 -0
- package/types/lodash/ts3.1/fp/deburr.d.ts +2 -0
- package/types/lodash/ts3.1/fp/defaultTo.d.ts +2 -0
- package/types/lodash/ts3.1/fp/defaults.d.ts +2 -0
- package/types/lodash/ts3.1/fp/defaultsAll.d.ts +2 -0
- package/types/lodash/ts3.1/fp/defaultsDeep.d.ts +2 -0
- package/types/lodash/ts3.1/fp/defaultsDeepAll.d.ts +2 -0
- package/types/lodash/ts3.1/fp/defer.d.ts +2 -0
- package/types/lodash/ts3.1/fp/delay.d.ts +2 -0
- package/types/lodash/ts3.1/fp/difference.d.ts +2 -0
- package/types/lodash/ts3.1/fp/differenceBy.d.ts +2 -0
- package/types/lodash/ts3.1/fp/differenceWith.d.ts +2 -0
- package/types/lodash/ts3.1/fp/dissoc.d.ts +2 -0
- package/types/lodash/ts3.1/fp/dissocPath.d.ts +2 -0
- package/types/lodash/ts3.1/fp/divide.d.ts +2 -0
- package/types/lodash/ts3.1/fp/drop.d.ts +2 -0
- package/types/lodash/ts3.1/fp/dropLast.d.ts +2 -0
- package/types/lodash/ts3.1/fp/dropLastWhile.d.ts +2 -0
- package/types/lodash/ts3.1/fp/dropRight.d.ts +2 -0
- package/types/lodash/ts3.1/fp/dropRightWhile.d.ts +2 -0
- package/types/lodash/ts3.1/fp/dropWhile.d.ts +2 -0
- package/types/lodash/ts3.1/fp/each.d.ts +2 -0
- package/types/lodash/ts3.1/fp/eachRight.d.ts +2 -0
- package/types/lodash/ts3.1/fp/endsWith.d.ts +2 -0
- package/types/lodash/ts3.1/fp/entries.d.ts +2 -0
- package/types/lodash/ts3.1/fp/entriesIn.d.ts +2 -0
- package/types/lodash/ts3.1/fp/eq.d.ts +2 -0
- package/types/lodash/ts3.1/fp/equals.d.ts +2 -0
- package/types/lodash/ts3.1/fp/escape.d.ts +2 -0
- package/types/lodash/ts3.1/fp/escapeRegExp.d.ts +2 -0
- package/types/lodash/ts3.1/fp/every.d.ts +2 -0
- package/types/lodash/ts3.1/fp/extend.d.ts +2 -0
- package/types/lodash/ts3.1/fp/extendAll.d.ts +2 -0
- package/types/lodash/ts3.1/fp/extendAllWith.d.ts +2 -0
- package/types/lodash/ts3.1/fp/extendWith.d.ts +2 -0
- package/types/lodash/ts3.1/fp/fill.d.ts +2 -0
- package/types/lodash/ts3.1/fp/filter.d.ts +2 -0
- package/types/lodash/ts3.1/fp/find.d.ts +2 -0
- package/types/lodash/ts3.1/fp/findFrom.d.ts +2 -0
- package/types/lodash/ts3.1/fp/findIndex.d.ts +2 -0
- package/types/lodash/ts3.1/fp/findIndexFrom.d.ts +2 -0
- package/types/lodash/ts3.1/fp/findKey.d.ts +2 -0
- package/types/lodash/ts3.1/fp/findLast.d.ts +2 -0
- package/types/lodash/ts3.1/fp/findLastFrom.d.ts +2 -0
- package/types/lodash/ts3.1/fp/findLastIndex.d.ts +2 -0
- package/types/lodash/ts3.1/fp/findLastIndexFrom.d.ts +2 -0
- package/types/lodash/ts3.1/fp/findLastKey.d.ts +2 -0
- package/types/lodash/ts3.1/fp/first.d.ts +2 -0
- package/types/lodash/ts3.1/fp/flatMap.d.ts +2 -0
- package/types/lodash/ts3.1/fp/flatMapDeep.d.ts +2 -0
- package/types/lodash/ts3.1/fp/flatMapDepth.d.ts +2 -0
- package/types/lodash/ts3.1/fp/flatten.d.ts +2 -0
- package/types/lodash/ts3.1/fp/flattenDeep.d.ts +2 -0
- package/types/lodash/ts3.1/fp/flattenDepth.d.ts +2 -0
- package/types/lodash/ts3.1/fp/flip.d.ts +2 -0
- package/types/lodash/ts3.1/fp/floor.d.ts +2 -0
- package/types/lodash/ts3.1/fp/flow.d.ts +2 -0
- package/types/lodash/ts3.1/fp/flowRight.d.ts +2 -0
- package/types/lodash/ts3.1/fp/forEach.d.ts +2 -0
- package/types/lodash/ts3.1/fp/forEachRight.d.ts +2 -0
- package/types/lodash/ts3.1/fp/forIn.d.ts +2 -0
- package/types/lodash/ts3.1/fp/forInRight.d.ts +2 -0
- package/types/lodash/ts3.1/fp/forOwn.d.ts +2 -0
- package/types/lodash/ts3.1/fp/forOwnRight.d.ts +2 -0
- package/types/lodash/ts3.1/fp/fromPairs.d.ts +2 -0
- package/types/lodash/ts3.1/fp/functions.d.ts +2 -0
- package/types/lodash/ts3.1/fp/functionsIn.d.ts +2 -0
- package/types/lodash/ts3.1/fp/get.d.ts +2 -0
- package/types/lodash/ts3.1/fp/getOr.d.ts +2 -0
- package/types/lodash/ts3.1/fp/groupBy.d.ts +2 -0
- package/types/lodash/ts3.1/fp/gt.d.ts +2 -0
- package/types/lodash/ts3.1/fp/gte.d.ts +2 -0
- package/types/lodash/ts3.1/fp/has.d.ts +2 -0
- package/types/lodash/ts3.1/fp/hasIn.d.ts +2 -0
- package/types/lodash/ts3.1/fp/head.d.ts +2 -0
- package/types/lodash/ts3.1/fp/identical.d.ts +2 -0
- package/types/lodash/ts3.1/fp/identity.d.ts +2 -0
- package/types/lodash/ts3.1/fp/inRange.d.ts +2 -0
- package/types/lodash/ts3.1/fp/includes.d.ts +2 -0
- package/types/lodash/ts3.1/fp/includesFrom.d.ts +2 -0
- package/types/lodash/ts3.1/fp/indexBy.d.ts +2 -0
- package/types/lodash/ts3.1/fp/indexOf.d.ts +2 -0
- package/types/lodash/ts3.1/fp/indexOfFrom.d.ts +2 -0
- package/types/lodash/ts3.1/fp/init.d.ts +2 -0
- package/types/lodash/ts3.1/fp/initial.d.ts +2 -0
- package/types/lodash/ts3.1/fp/intersection.d.ts +2 -0
- package/types/lodash/ts3.1/fp/intersectionBy.d.ts +2 -0
- package/types/lodash/ts3.1/fp/intersectionWith.d.ts +2 -0
- package/types/lodash/ts3.1/fp/invert.d.ts +2 -0
- package/types/lodash/ts3.1/fp/invertBy.d.ts +2 -0
- package/types/lodash/ts3.1/fp/invertObj.d.ts +2 -0
- package/types/lodash/ts3.1/fp/invoke.d.ts +2 -0
- package/types/lodash/ts3.1/fp/invokeArgs.d.ts +2 -0
- package/types/lodash/ts3.1/fp/invokeArgsMap.d.ts +2 -0
- package/types/lodash/ts3.1/fp/invokeMap.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isArguments.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isArray.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isArrayBuffer.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isArrayLike.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isArrayLikeObject.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isBoolean.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isBuffer.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isDate.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isElement.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isEmpty.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isEqual.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isEqualWith.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isError.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isFinite.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isFunction.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isInteger.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isLength.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isMap.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isMatch.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isMatchWith.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isNaN.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isNative.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isNil.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isNull.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isNumber.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isObject.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isObjectLike.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isPlainObject.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isRegExp.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isSafeInteger.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isSet.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isString.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isSymbol.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isTypedArray.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isUndefined.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isWeakMap.d.ts +2 -0
- package/types/lodash/ts3.1/fp/isWeakSet.d.ts +2 -0
- package/types/lodash/ts3.1/fp/iteratee.d.ts +2 -0
- package/types/lodash/ts3.1/fp/join.d.ts +2 -0
- package/types/lodash/ts3.1/fp/juxt.d.ts +2 -0
- package/types/lodash/ts3.1/fp/kebabCase.d.ts +2 -0
- package/types/lodash/ts3.1/fp/keyBy.d.ts +2 -0
- package/types/lodash/ts3.1/fp/keys.d.ts +2 -0
- package/types/lodash/ts3.1/fp/keysIn.d.ts +2 -0
- package/types/lodash/ts3.1/fp/last.d.ts +2 -0
- package/types/lodash/ts3.1/fp/lastIndexOf.d.ts +2 -0
- package/types/lodash/ts3.1/fp/lastIndexOfFrom.d.ts +2 -0
- package/types/lodash/ts3.1/fp/lowerCase.d.ts +2 -0
- package/types/lodash/ts3.1/fp/lowerFirst.d.ts +2 -0
- package/types/lodash/ts3.1/fp/lt.d.ts +2 -0
- package/types/lodash/ts3.1/fp/lte.d.ts +2 -0
- package/types/lodash/ts3.1/fp/map.d.ts +2 -0
- package/types/lodash/ts3.1/fp/mapKeys.d.ts +2 -0
- package/types/lodash/ts3.1/fp/mapValues.d.ts +2 -0
- package/types/lodash/ts3.1/fp/matches.d.ts +2 -0
- package/types/lodash/ts3.1/fp/matchesProperty.d.ts +2 -0
- package/types/lodash/ts3.1/fp/max.d.ts +2 -0
- package/types/lodash/ts3.1/fp/maxBy.d.ts +2 -0
- package/types/lodash/ts3.1/fp/mean.d.ts +2 -0
- package/types/lodash/ts3.1/fp/meanBy.d.ts +2 -0
- package/types/lodash/ts3.1/fp/memoize.d.ts +2 -0
- package/types/lodash/ts3.1/fp/merge.d.ts +2 -0
- package/types/lodash/ts3.1/fp/mergeAll.d.ts +2 -0
- package/types/lodash/ts3.1/fp/mergeAllWith.d.ts +2 -0
- package/types/lodash/ts3.1/fp/mergeWith.d.ts +2 -0
- package/types/lodash/ts3.1/fp/method.d.ts +2 -0
- package/types/lodash/ts3.1/fp/methodOf.d.ts +2 -0
- package/types/lodash/ts3.1/fp/min.d.ts +2 -0
- package/types/lodash/ts3.1/fp/minBy.d.ts +2 -0
- package/types/lodash/ts3.1/fp/multiply.d.ts +2 -0
- package/types/lodash/ts3.1/fp/nAry.d.ts +2 -0
- package/types/lodash/ts3.1/fp/negate.d.ts +2 -0
- package/types/lodash/ts3.1/fp/noConflict.d.ts +2 -0
- package/types/lodash/ts3.1/fp/noop.d.ts +2 -0
- package/types/lodash/ts3.1/fp/now.d.ts +2 -0
- package/types/lodash/ts3.1/fp/nth.d.ts +2 -0
- package/types/lodash/ts3.1/fp/nthArg.d.ts +2 -0
- package/types/lodash/ts3.1/fp/omit.d.ts +2 -0
- package/types/lodash/ts3.1/fp/omitAll.d.ts +2 -0
- package/types/lodash/ts3.1/fp/omitBy.d.ts +2 -0
- package/types/lodash/ts3.1/fp/once.d.ts +2 -0
- package/types/lodash/ts3.1/fp/orderBy.d.ts +2 -0
- package/types/lodash/ts3.1/fp/over.d.ts +2 -0
- package/types/lodash/ts3.1/fp/overArgs.d.ts +2 -0
- package/types/lodash/ts3.1/fp/overEvery.d.ts +2 -0
- package/types/lodash/ts3.1/fp/overSome.d.ts +2 -0
- package/types/lodash/ts3.1/fp/pad.d.ts +2 -0
- package/types/lodash/ts3.1/fp/padChars.d.ts +2 -0
- package/types/lodash/ts3.1/fp/padCharsEnd.d.ts +2 -0
- package/types/lodash/ts3.1/fp/padCharsStart.d.ts +2 -0
- package/types/lodash/ts3.1/fp/padEnd.d.ts +2 -0
- package/types/lodash/ts3.1/fp/padStart.d.ts +2 -0
- package/types/lodash/ts3.1/fp/parseInt.d.ts +2 -0
- package/types/lodash/ts3.1/fp/partial.d.ts +2 -0
- package/types/lodash/ts3.1/fp/partialRight.d.ts +2 -0
- package/types/lodash/ts3.1/fp/partition.d.ts +2 -0
- package/types/lodash/ts3.1/fp/path.d.ts +2 -0
- package/types/lodash/ts3.1/fp/pathEq.d.ts +2 -0
- package/types/lodash/ts3.1/fp/pathOr.d.ts +2 -0
- package/types/lodash/ts3.1/fp/paths.d.ts +2 -0
- package/types/lodash/ts3.1/fp/pick.d.ts +2 -0
- package/types/lodash/ts3.1/fp/pickAll.d.ts +2 -0
- package/types/lodash/ts3.1/fp/pickBy.d.ts +2 -0
- package/types/lodash/ts3.1/fp/pipe.d.ts +2 -0
- package/types/lodash/ts3.1/fp/placeholder.d.ts +3 -0
- package/types/lodash/ts3.1/fp/pluck.d.ts +2 -0
- package/types/lodash/ts3.1/fp/prop.d.ts +2 -0
- package/types/lodash/ts3.1/fp/propEq.d.ts +2 -0
- package/types/lodash/ts3.1/fp/propOr.d.ts +2 -0
- package/types/lodash/ts3.1/fp/property.d.ts +2 -0
- package/types/lodash/ts3.1/fp/propertyOf.d.ts +2 -0
- package/types/lodash/ts3.1/fp/props.d.ts +2 -0
- package/types/lodash/ts3.1/fp/pull.d.ts +2 -0
- package/types/lodash/ts3.1/fp/pullAll.d.ts +2 -0
- package/types/lodash/ts3.1/fp/pullAllBy.d.ts +2 -0
- package/types/lodash/ts3.1/fp/pullAllWith.d.ts +2 -0
- package/types/lodash/ts3.1/fp/pullAt.d.ts +2 -0
- package/types/lodash/ts3.1/fp/random.d.ts +2 -0
- package/types/lodash/ts3.1/fp/range.d.ts +2 -0
- package/types/lodash/ts3.1/fp/rangeRight.d.ts +2 -0
- package/types/lodash/ts3.1/fp/rangeStep.d.ts +2 -0
- package/types/lodash/ts3.1/fp/rangeStepRight.d.ts +2 -0
- package/types/lodash/ts3.1/fp/rearg.d.ts +2 -0
- package/types/lodash/ts3.1/fp/reduce.d.ts +2 -0
- package/types/lodash/ts3.1/fp/reduceRight.d.ts +2 -0
- package/types/lodash/ts3.1/fp/reject.d.ts +2 -0
- package/types/lodash/ts3.1/fp/remove.d.ts +2 -0
- package/types/lodash/ts3.1/fp/repeat.d.ts +2 -0
- package/types/lodash/ts3.1/fp/replace.d.ts +2 -0
- package/types/lodash/ts3.1/fp/rest.d.ts +2 -0
- package/types/lodash/ts3.1/fp/restFrom.d.ts +2 -0
- package/types/lodash/ts3.1/fp/result.d.ts +2 -0
- package/types/lodash/ts3.1/fp/reverse.d.ts +2 -0
- package/types/lodash/ts3.1/fp/round.d.ts +2 -0
- package/types/lodash/ts3.1/fp/runInContext.d.ts +2 -0
- package/types/lodash/ts3.1/fp/sample.d.ts +2 -0
- package/types/lodash/ts3.1/fp/sampleSize.d.ts +2 -0
- package/types/lodash/ts3.1/fp/set.d.ts +2 -0
- package/types/lodash/ts3.1/fp/setWith.d.ts +2 -0
- package/types/lodash/ts3.1/fp/shuffle.d.ts +2 -0
- package/types/lodash/ts3.1/fp/size.d.ts +2 -0
- package/types/lodash/ts3.1/fp/slice.d.ts +2 -0
- package/types/lodash/ts3.1/fp/snakeCase.d.ts +2 -0
- package/types/lodash/ts3.1/fp/some.d.ts +2 -0
- package/types/lodash/ts3.1/fp/sortBy.d.ts +2 -0
- package/types/lodash/ts3.1/fp/sortedIndex.d.ts +2 -0
- package/types/lodash/ts3.1/fp/sortedIndexBy.d.ts +2 -0
- package/types/lodash/ts3.1/fp/sortedIndexOf.d.ts +2 -0
- package/types/lodash/ts3.1/fp/sortedLastIndex.d.ts +2 -0
- package/types/lodash/ts3.1/fp/sortedLastIndexBy.d.ts +2 -0
- package/types/lodash/ts3.1/fp/sortedLastIndexOf.d.ts +2 -0
- package/types/lodash/ts3.1/fp/sortedUniq.d.ts +2 -0
- package/types/lodash/ts3.1/fp/sortedUniqBy.d.ts +2 -0
- package/types/lodash/ts3.1/fp/split.d.ts +2 -0
- package/types/lodash/ts3.1/fp/spread.d.ts +2 -0
- package/types/lodash/ts3.1/fp/spreadFrom.d.ts +2 -0
- package/types/lodash/ts3.1/fp/startCase.d.ts +2 -0
- package/types/lodash/ts3.1/fp/startsWith.d.ts +2 -0
- package/types/lodash/ts3.1/fp/stubArray.d.ts +2 -0
- package/types/lodash/ts3.1/fp/stubFalse.d.ts +2 -0
- package/types/lodash/ts3.1/fp/stubObject.d.ts +2 -0
- package/types/lodash/ts3.1/fp/stubString.d.ts +2 -0
- package/types/lodash/ts3.1/fp/stubTrue.d.ts +2 -0
- package/types/lodash/ts3.1/fp/subtract.d.ts +2 -0
- package/types/lodash/ts3.1/fp/sum.d.ts +2 -0
- package/types/lodash/ts3.1/fp/sumBy.d.ts +2 -0
- package/types/lodash/ts3.1/fp/symmetricDifference.d.ts +2 -0
- package/types/lodash/ts3.1/fp/symmetricDifferenceBy.d.ts +2 -0
- package/types/lodash/ts3.1/fp/symmetricDifferenceWith.d.ts +2 -0
- package/types/lodash/ts3.1/fp/tail.d.ts +2 -0
- package/types/lodash/ts3.1/fp/take.d.ts +2 -0
- package/types/lodash/ts3.1/fp/takeLast.d.ts +2 -0
- package/types/lodash/ts3.1/fp/takeLastWhile.d.ts +2 -0
- package/types/lodash/ts3.1/fp/takeRight.d.ts +2 -0
- package/types/lodash/ts3.1/fp/takeRightWhile.d.ts +2 -0
- package/types/lodash/ts3.1/fp/takeWhile.d.ts +2 -0
- package/types/lodash/ts3.1/fp/tap.d.ts +2 -0
- package/types/lodash/ts3.1/fp/template.d.ts +2 -0
- package/types/lodash/ts3.1/fp/throttle.d.ts +2 -0
- package/types/lodash/ts3.1/fp/thru.d.ts +2 -0
- package/types/lodash/ts3.1/fp/times.d.ts +2 -0
- package/types/lodash/ts3.1/fp/toArray.d.ts +2 -0
- package/types/lodash/ts3.1/fp/toFinite.d.ts +2 -0
- package/types/lodash/ts3.1/fp/toInteger.d.ts +2 -0
- package/types/lodash/ts3.1/fp/toLength.d.ts +2 -0
- package/types/lodash/ts3.1/fp/toLower.d.ts +2 -0
- package/types/lodash/ts3.1/fp/toNumber.d.ts +2 -0
- package/types/lodash/ts3.1/fp/toPairs.d.ts +2 -0
- package/types/lodash/ts3.1/fp/toPairsIn.d.ts +2 -0
- package/types/lodash/ts3.1/fp/toPath.d.ts +2 -0
- package/types/lodash/ts3.1/fp/toPlainObject.d.ts +2 -0
- package/types/lodash/ts3.1/fp/toSafeInteger.d.ts +2 -0
- package/types/lodash/ts3.1/fp/toString.d.ts +2 -0
- package/types/lodash/ts3.1/fp/toUpper.d.ts +2 -0
- package/types/lodash/ts3.1/fp/transform.d.ts +2 -0
- package/types/lodash/ts3.1/fp/trim.d.ts +2 -0
- package/types/lodash/ts3.1/fp/trimChars.d.ts +2 -0
- package/types/lodash/ts3.1/fp/trimCharsEnd.d.ts +2 -0
- package/types/lodash/ts3.1/fp/trimCharsStart.d.ts +2 -0
- package/types/lodash/ts3.1/fp/trimEnd.d.ts +2 -0
- package/types/lodash/ts3.1/fp/trimStart.d.ts +2 -0
- package/types/lodash/ts3.1/fp/truncate.d.ts +2 -0
- package/types/lodash/ts3.1/fp/unapply.d.ts +2 -0
- package/types/lodash/ts3.1/fp/unary.d.ts +2 -0
- package/types/lodash/ts3.1/fp/unescape.d.ts +2 -0
- package/types/lodash/ts3.1/fp/union.d.ts +2 -0
- package/types/lodash/ts3.1/fp/unionBy.d.ts +2 -0
- package/types/lodash/ts3.1/fp/unionWith.d.ts +2 -0
- package/types/lodash/ts3.1/fp/uniq.d.ts +2 -0
- package/types/lodash/ts3.1/fp/uniqBy.d.ts +2 -0
- package/types/lodash/ts3.1/fp/uniqWith.d.ts +2 -0
- package/types/lodash/ts3.1/fp/uniqueId.d.ts +2 -0
- package/types/lodash/ts3.1/fp/unnest.d.ts +2 -0
- package/types/lodash/ts3.1/fp/unset.d.ts +2 -0
- package/types/lodash/ts3.1/fp/unzip.d.ts +2 -0
- package/types/lodash/ts3.1/fp/unzipWith.d.ts +2 -0
- package/types/lodash/ts3.1/fp/update.d.ts +2 -0
- package/types/lodash/ts3.1/fp/updateWith.d.ts +2 -0
- package/types/lodash/ts3.1/fp/upperCase.d.ts +2 -0
- package/types/lodash/ts3.1/fp/upperFirst.d.ts +2 -0
- package/types/lodash/ts3.1/fp/useWith.d.ts +2 -0
- package/types/lodash/ts3.1/fp/values.d.ts +2 -0
- package/types/lodash/ts3.1/fp/valuesIn.d.ts +2 -0
- package/types/lodash/ts3.1/fp/where.d.ts +2 -0
- package/types/lodash/ts3.1/fp/whereEq.d.ts +2 -0
- package/types/lodash/ts3.1/fp/without.d.ts +2 -0
- package/types/lodash/ts3.1/fp/words.d.ts +2 -0
- package/types/lodash/ts3.1/fp/wrap.d.ts +2 -0
- package/types/lodash/ts3.1/fp/xor.d.ts +2 -0
- package/types/lodash/ts3.1/fp/xorBy.d.ts +2 -0
- package/types/lodash/ts3.1/fp/xorWith.d.ts +2 -0
- package/types/lodash/ts3.1/fp/zip.d.ts +2 -0
- package/types/lodash/ts3.1/fp/zipAll.d.ts +2 -0
- package/types/lodash/ts3.1/fp/zipObj.d.ts +2 -0
- package/types/lodash/ts3.1/fp/zipObject.d.ts +2 -0
- package/types/lodash/ts3.1/fp/zipObjectDeep.d.ts +2 -0
- package/types/lodash/ts3.1/fp/zipWith.d.ts +2 -0
- package/types/lodash/ts3.1/fp.d.ts +4938 -0
- package/types/lodash/ts3.1/fromPairs.d.ts +2 -0
- package/types/lodash/ts3.1/functions.d.ts +2 -0
- package/types/lodash/ts3.1/functionsIn.d.ts +2 -0
- package/types/lodash/ts3.1/get.d.ts +2 -0
- package/types/lodash/ts3.1/groupBy.d.ts +2 -0
- package/types/lodash/ts3.1/gt.d.ts +2 -0
- package/types/lodash/ts3.1/gte.d.ts +2 -0
- package/types/lodash/ts3.1/has.d.ts +2 -0
- package/types/lodash/ts3.1/hasIn.d.ts +2 -0
- package/types/lodash/ts3.1/head.d.ts +2 -0
- package/types/lodash/ts3.1/identity.d.ts +2 -0
- package/types/lodash/ts3.1/inRange.d.ts +2 -0
- package/types/lodash/ts3.1/includes.d.ts +2 -0
- package/types/lodash/ts3.1/index.d.ts +33 -0
- package/types/lodash/ts3.1/indexOf.d.ts +2 -0
- package/types/lodash/ts3.1/initial.d.ts +2 -0
- package/types/lodash/ts3.1/intersection.d.ts +2 -0
- package/types/lodash/ts3.1/intersectionBy.d.ts +2 -0
- package/types/lodash/ts3.1/intersectionWith.d.ts +2 -0
- package/types/lodash/ts3.1/invert.d.ts +2 -0
- package/types/lodash/ts3.1/invertBy.d.ts +2 -0
- package/types/lodash/ts3.1/invoke.d.ts +2 -0
- package/types/lodash/ts3.1/invokeMap.d.ts +2 -0
- package/types/lodash/ts3.1/isArguments.d.ts +2 -0
- package/types/lodash/ts3.1/isArray.d.ts +2 -0
- package/types/lodash/ts3.1/isArrayBuffer.d.ts +2 -0
- package/types/lodash/ts3.1/isArrayLike.d.ts +2 -0
- package/types/lodash/ts3.1/isArrayLikeObject.d.ts +2 -0
- package/types/lodash/ts3.1/isBoolean.d.ts +2 -0
- package/types/lodash/ts3.1/isBuffer.d.ts +2 -0
- package/types/lodash/ts3.1/isDate.d.ts +2 -0
- package/types/lodash/ts3.1/isElement.d.ts +2 -0
- package/types/lodash/ts3.1/isEmpty.d.ts +2 -0
- package/types/lodash/ts3.1/isEqual.d.ts +2 -0
- package/types/lodash/ts3.1/isEqualWith.d.ts +2 -0
- package/types/lodash/ts3.1/isError.d.ts +2 -0
- package/types/lodash/ts3.1/isFinite.d.ts +2 -0
- package/types/lodash/ts3.1/isFunction.d.ts +2 -0
- package/types/lodash/ts3.1/isInteger.d.ts +2 -0
- package/types/lodash/ts3.1/isLength.d.ts +2 -0
- package/types/lodash/ts3.1/isMap.d.ts +2 -0
- package/types/lodash/ts3.1/isMatch.d.ts +2 -0
- package/types/lodash/ts3.1/isMatchWith.d.ts +2 -0
- package/types/lodash/ts3.1/isNaN.d.ts +2 -0
- package/types/lodash/ts3.1/isNative.d.ts +2 -0
- package/types/lodash/ts3.1/isNil.d.ts +2 -0
- package/types/lodash/ts3.1/isNull.d.ts +2 -0
- package/types/lodash/ts3.1/isNumber.d.ts +2 -0
- package/types/lodash/ts3.1/isObject.d.ts +2 -0
- package/types/lodash/ts3.1/isObjectLike.d.ts +2 -0
- package/types/lodash/ts3.1/isPlainObject.d.ts +2 -0
- package/types/lodash/ts3.1/isRegExp.d.ts +2 -0
- package/types/lodash/ts3.1/isSafeInteger.d.ts +2 -0
- package/types/lodash/ts3.1/isSet.d.ts +2 -0
- package/types/lodash/ts3.1/isString.d.ts +2 -0
- package/types/lodash/ts3.1/isSymbol.d.ts +2 -0
- package/types/lodash/ts3.1/isTypedArray.d.ts +2 -0
- package/types/lodash/ts3.1/isUndefined.d.ts +2 -0
- package/types/lodash/ts3.1/isWeakMap.d.ts +2 -0
- package/types/lodash/ts3.1/isWeakSet.d.ts +2 -0
- package/types/lodash/ts3.1/iteratee.d.ts +2 -0
- package/types/lodash/ts3.1/join.d.ts +2 -0
- package/types/lodash/ts3.1/kebabCase.d.ts +2 -0
- package/types/lodash/ts3.1/keyBy.d.ts +2 -0
- package/types/lodash/ts3.1/keys.d.ts +2 -0
- package/types/lodash/ts3.1/keysIn.d.ts +2 -0
- package/types/lodash/ts3.1/last.d.ts +2 -0
- package/types/lodash/ts3.1/lastIndexOf.d.ts +2 -0
- package/types/lodash/ts3.1/lowerCase.d.ts +2 -0
- package/types/lodash/ts3.1/lowerFirst.d.ts +2 -0
- package/types/lodash/ts3.1/lt.d.ts +2 -0
- package/types/lodash/ts3.1/lte.d.ts +2 -0
- package/types/lodash/ts3.1/map.d.ts +2 -0
- package/types/lodash/ts3.1/mapKeys.d.ts +2 -0
- package/types/lodash/ts3.1/mapValues.d.ts +2 -0
- package/types/lodash/ts3.1/matches.d.ts +2 -0
- package/types/lodash/ts3.1/matchesProperty.d.ts +2 -0
- package/types/lodash/ts3.1/max.d.ts +2 -0
- package/types/lodash/ts3.1/maxBy.d.ts +2 -0
- package/types/lodash/ts3.1/mean.d.ts +2 -0
- package/types/lodash/ts3.1/meanBy.d.ts +2 -0
- package/types/lodash/ts3.1/memoize.d.ts +2 -0
- package/types/lodash/ts3.1/merge.d.ts +2 -0
- package/types/lodash/ts3.1/mergeWith.d.ts +2 -0
- package/types/lodash/ts3.1/method.d.ts +2 -0
- package/types/lodash/ts3.1/methodOf.d.ts +2 -0
- package/types/lodash/ts3.1/min.d.ts +2 -0
- package/types/lodash/ts3.1/minBy.d.ts +2 -0
- package/types/lodash/ts3.1/mixin.d.ts +2 -0
- package/types/lodash/ts3.1/multiply.d.ts +2 -0
- package/types/lodash/ts3.1/negate.d.ts +2 -0
- package/types/lodash/ts3.1/noConflict.d.ts +2 -0
- package/types/lodash/ts3.1/noop.d.ts +2 -0
- package/types/lodash/ts3.1/now.d.ts +2 -0
- package/types/lodash/ts3.1/nth.d.ts +2 -0
- package/types/lodash/ts3.1/nthArg.d.ts +2 -0
- package/types/lodash/ts3.1/omit.d.ts +2 -0
- package/types/lodash/ts3.1/omitBy.d.ts +2 -0
- package/types/lodash/ts3.1/once.d.ts +2 -0
- package/types/lodash/ts3.1/orderBy.d.ts +2 -0
- package/types/lodash/ts3.1/over.d.ts +2 -0
- package/types/lodash/ts3.1/overArgs.d.ts +2 -0
- package/types/lodash/ts3.1/overEvery.d.ts +2 -0
- package/types/lodash/ts3.1/overSome.d.ts +2 -0
- package/types/lodash/ts3.1/pad.d.ts +2 -0
- package/types/lodash/ts3.1/padEnd.d.ts +2 -0
- package/types/lodash/ts3.1/padStart.d.ts +2 -0
- package/types/lodash/ts3.1/parseInt.d.ts +2 -0
- package/types/lodash/ts3.1/partial.d.ts +2 -0
- package/types/lodash/ts3.1/partialRight.d.ts +2 -0
- package/types/lodash/ts3.1/partition.d.ts +2 -0
- package/types/lodash/ts3.1/pick.d.ts +2 -0
- package/types/lodash/ts3.1/pickBy.d.ts +2 -0
- package/types/lodash/ts3.1/property.d.ts +2 -0
- package/types/lodash/ts3.1/propertyOf.d.ts +2 -0
- package/types/lodash/ts3.1/pull.d.ts +2 -0
- package/types/lodash/ts3.1/pullAll.d.ts +2 -0
- package/types/lodash/ts3.1/pullAllBy.d.ts +2 -0
- package/types/lodash/ts3.1/pullAllWith.d.ts +2 -0
- package/types/lodash/ts3.1/pullAt.d.ts +2 -0
- package/types/lodash/ts3.1/random.d.ts +2 -0
- package/types/lodash/ts3.1/range.d.ts +2 -0
- package/types/lodash/ts3.1/rangeRight.d.ts +2 -0
- package/types/lodash/ts3.1/rearg.d.ts +2 -0
- package/types/lodash/ts3.1/reduce.d.ts +2 -0
- package/types/lodash/ts3.1/reduceRight.d.ts +2 -0
- package/types/lodash/ts3.1/reject.d.ts +2 -0
- package/types/lodash/ts3.1/remove.d.ts +2 -0
- package/types/lodash/ts3.1/repeat.d.ts +2 -0
- package/types/lodash/ts3.1/replace.d.ts +2 -0
- package/types/lodash/ts3.1/rest.d.ts +2 -0
- package/types/lodash/ts3.1/result.d.ts +2 -0
- package/types/lodash/ts3.1/reverse.d.ts +2 -0
- package/types/lodash/ts3.1/round.d.ts +2 -0
- package/types/lodash/ts3.1/runInContext.d.ts +2 -0
- package/types/lodash/ts3.1/sample.d.ts +2 -0
- package/types/lodash/ts3.1/sampleSize.d.ts +2 -0
- package/types/lodash/ts3.1/set.d.ts +2 -0
- package/types/lodash/ts3.1/setWith.d.ts +2 -0
- package/types/lodash/ts3.1/shuffle.d.ts +2 -0
- package/types/lodash/ts3.1/size.d.ts +2 -0
- package/types/lodash/ts3.1/slice.d.ts +2 -0
- package/types/lodash/ts3.1/snakeCase.d.ts +2 -0
- package/types/lodash/ts3.1/some.d.ts +2 -0
- package/types/lodash/ts3.1/sortBy.d.ts +2 -0
- package/types/lodash/ts3.1/sortedIndex.d.ts +2 -0
- package/types/lodash/ts3.1/sortedIndexBy.d.ts +2 -0
- package/types/lodash/ts3.1/sortedIndexOf.d.ts +2 -0
- package/types/lodash/ts3.1/sortedLastIndex.d.ts +2 -0
- package/types/lodash/ts3.1/sortedLastIndexBy.d.ts +2 -0
- package/types/lodash/ts3.1/sortedLastIndexOf.d.ts +2 -0
- package/types/lodash/ts3.1/sortedUniq.d.ts +2 -0
- package/types/lodash/ts3.1/sortedUniqBy.d.ts +2 -0
- package/types/lodash/ts3.1/split.d.ts +2 -0
- package/types/lodash/ts3.1/spread.d.ts +2 -0
- package/types/lodash/ts3.1/startCase.d.ts +2 -0
- package/types/lodash/ts3.1/startsWith.d.ts +2 -0
- package/types/lodash/ts3.1/stubFalse.d.ts +2 -0
- package/types/lodash/ts3.1/stubTrue.d.ts +2 -0
- package/types/lodash/ts3.1/subtract.d.ts +2 -0
- package/types/lodash/ts3.1/sum.d.ts +2 -0
- package/types/lodash/ts3.1/sumBy.d.ts +2 -0
- package/types/lodash/ts3.1/tail.d.ts +2 -0
- package/types/lodash/ts3.1/take.d.ts +2 -0
- package/types/lodash/ts3.1/takeRight.d.ts +2 -0
- package/types/lodash/ts3.1/takeRightWhile.d.ts +2 -0
- package/types/lodash/ts3.1/takeWhile.d.ts +2 -0
- package/types/lodash/ts3.1/tap.d.ts +2 -0
- package/types/lodash/ts3.1/template.d.ts +2 -0
- package/types/lodash/ts3.1/throttle.d.ts +2 -0
- package/types/lodash/ts3.1/thru.d.ts +2 -0
- package/types/lodash/ts3.1/times.d.ts +2 -0
- package/types/lodash/ts3.1/toArray.d.ts +2 -0
- package/types/lodash/ts3.1/toFinite.d.ts +2 -0
- package/types/lodash/ts3.1/toInteger.d.ts +2 -0
- package/types/lodash/ts3.1/toLength.d.ts +2 -0
- package/types/lodash/ts3.1/toLower.d.ts +2 -0
- package/types/lodash/ts3.1/toNumber.d.ts +2 -0
- package/types/lodash/ts3.1/toPairs.d.ts +2 -0
- package/types/lodash/ts3.1/toPairsIn.d.ts +2 -0
- package/types/lodash/ts3.1/toPath.d.ts +2 -0
- package/types/lodash/ts3.1/toPlainObject.d.ts +2 -0
- package/types/lodash/ts3.1/toSafeInteger.d.ts +2 -0
- package/types/lodash/ts3.1/toString.d.ts +2 -0
- package/types/lodash/ts3.1/toUpper.d.ts +2 -0
- package/types/lodash/ts3.1/transform.d.ts +2 -0
- package/types/lodash/ts3.1/trim.d.ts +2 -0
- package/types/lodash/ts3.1/trimEnd.d.ts +2 -0
- package/types/lodash/ts3.1/trimStart.d.ts +2 -0
- package/types/lodash/ts3.1/truncate.d.ts +2 -0
- package/types/lodash/ts3.1/unary.d.ts +2 -0
- package/types/lodash/ts3.1/unescape.d.ts +2 -0
- package/types/lodash/ts3.1/union.d.ts +2 -0
- package/types/lodash/ts3.1/unionBy.d.ts +2 -0
- package/types/lodash/ts3.1/unionWith.d.ts +2 -0
- package/types/lodash/ts3.1/uniq.d.ts +2 -0
- package/types/lodash/ts3.1/uniqBy.d.ts +2 -0
- package/types/lodash/ts3.1/uniqWith.d.ts +2 -0
- package/types/lodash/ts3.1/uniqueId.d.ts +2 -0
- package/types/lodash/ts3.1/unset.d.ts +2 -0
- package/types/lodash/ts3.1/unzip.d.ts +2 -0
- package/types/lodash/ts3.1/unzipWith.d.ts +2 -0
- package/types/lodash/ts3.1/update.d.ts +2 -0
- package/types/lodash/ts3.1/updateWith.d.ts +2 -0
- package/types/lodash/ts3.1/upperCase.d.ts +2 -0
- package/types/lodash/ts3.1/upperFirst.d.ts +2 -0
- package/types/lodash/ts3.1/values.d.ts +2 -0
- package/types/lodash/ts3.1/valuesIn.d.ts +2 -0
- package/types/lodash/ts3.1/without.d.ts +2 -0
- package/types/lodash/ts3.1/words.d.ts +2 -0
- package/types/lodash/ts3.1/wrap.d.ts +2 -0
- package/types/lodash/ts3.1/xor.d.ts +2 -0
- package/types/lodash/ts3.1/xorBy.d.ts +2 -0
- package/types/lodash/ts3.1/xorWith.d.ts +2 -0
- package/types/lodash/ts3.1/zip.d.ts +2 -0
- package/types/lodash/ts3.1/zipObject.d.ts +2 -0
- package/types/lodash/ts3.1/zipObjectDeep.d.ts +2 -0
- package/types/lodash/ts3.1/zipWith.d.ts +2 -0
- package/types/sinon/README.md +6 -6
- package/types/sinon/index.d.ts +34 -12
- package/types/sinon/package.json +26 -13
- package/types/sinon/ts3.1/index.d.ts +101 -59
- package/types/sinon-chai/README.md +2 -2
- package/types/sinon-chai/index.d.ts +2 -2
- package/types/sinon-chai/package.json +14 -13
package/types/chai/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for chai 4.
|
|
1
|
+
// Type definitions for chai 4.2
|
|
2
2
|
// Project: http://chaijs.com/
|
|
3
3
|
// Definitions by: Jed Mao <https://github.com/jedmao>,
|
|
4
4
|
// Bart van der Schoor <https://github.com/Bartvds>,
|
|
@@ -8,33 +8,150 @@
|
|
|
8
8
|
// Josh Goldberg <https://github.com/joshuakgoldberg>
|
|
9
9
|
// Shaun Luttin <https://github.com/shaunluttin>
|
|
10
10
|
// Gintautas Miselis <https://github.com/Naktibalda>
|
|
11
|
+
// Satana Charuwichitratana <https://github.com/micksatana>
|
|
12
|
+
// Erik Schierboom <https://github.com/ErikSchierboom>
|
|
13
|
+
// Rebecca Turner <https://github.com/9999years>
|
|
14
|
+
// Bogdan Paranytsia <https://github.com/bparan>
|
|
11
15
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
12
|
-
|
|
13
|
-
// <reference types="assertion-error"/>
|
|
16
|
+
// TypeScript Version: 3.0
|
|
14
17
|
|
|
15
18
|
declare namespace Chai {
|
|
19
|
+
type Message = string | (() => string);
|
|
20
|
+
type ObjectProperty = string | symbol | number;
|
|
21
|
+
|
|
22
|
+
interface PathInfo {
|
|
23
|
+
parent: object;
|
|
24
|
+
name: string;
|
|
25
|
+
value?: any;
|
|
26
|
+
exists: boolean;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
interface ErrorConstructor {
|
|
30
|
+
new(...args: any[]): Error;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
interface ChaiUtils {
|
|
34
|
+
addChainableMethod(
|
|
35
|
+
// object to define the method on, e.g. chai.Assertion.prototype
|
|
36
|
+
ctx: object,
|
|
37
|
+
// method name
|
|
38
|
+
name: string,
|
|
39
|
+
// method itself; any arguments
|
|
40
|
+
method: (...args: any[]) => void,
|
|
41
|
+
// called when property is accessed
|
|
42
|
+
chainingBehavior?: () => void
|
|
43
|
+
): void;
|
|
44
|
+
overwriteChainableMethod(
|
|
45
|
+
ctx: object,
|
|
46
|
+
name: string,
|
|
47
|
+
method: (...args: any[]) => void,
|
|
48
|
+
chainingBehavior?: () => void
|
|
49
|
+
): void;
|
|
50
|
+
addLengthGuard(
|
|
51
|
+
fn: Function,
|
|
52
|
+
assertionName: string,
|
|
53
|
+
isChainable: boolean
|
|
54
|
+
): void;
|
|
55
|
+
addMethod(ctx: object, name: string, method: Function): void;
|
|
56
|
+
addProperty(ctx: object, name: string, getter: () => any): void;
|
|
57
|
+
overwriteMethod(ctx: object, name: string, method: Function): void;
|
|
58
|
+
overwriteProperty(ctx: object, name: string, getter: () => any): void;
|
|
59
|
+
compareByInspect(a: object, b: object): -1 | 1;
|
|
60
|
+
expectTypes(obj: object, types: string[]): void;
|
|
61
|
+
flag(obj: object, key: string, value?: any): any;
|
|
62
|
+
getActual(obj: object, args: AssertionArgs): any;
|
|
63
|
+
getProperties(obj: object): string[];
|
|
64
|
+
getEnumerableProperties(obj: object): string[];
|
|
65
|
+
getOwnEnumerablePropertySymbols(obj: object): symbol[];
|
|
66
|
+
getOwnEnumerableProperties(obj: object): Array<string | symbol>;
|
|
67
|
+
getMessage(errorLike: Error | string): string;
|
|
68
|
+
getMessage(obj: any, args: AssertionArgs): string;
|
|
69
|
+
inspect(obj: any, showHidden?: boolean, depth?: number, colors?: boolean): void;
|
|
70
|
+
isProxyEnabled(): boolean;
|
|
71
|
+
objDisplay(obj: object): void;
|
|
72
|
+
proxify(obj: object, nonChainableMethodName: string): object;
|
|
73
|
+
test(obj: object, args: AssertionArgs): boolean;
|
|
74
|
+
transferFlags(assertion: Assertion, obj: object, includeAll?: boolean): void;
|
|
75
|
+
compatibleInstance(thrown: Error, errorLike: Error | ErrorConstructor): boolean;
|
|
76
|
+
compatibleConstructor(thrown: Error, errorLike: Error | ErrorConstructor): boolean;
|
|
77
|
+
compatibleMessage(thrown: Error, errMatcher: string | RegExp): boolean;
|
|
78
|
+
getConstructorName(constructorFn: Function): string;
|
|
79
|
+
getFuncName(constructorFn: Function): string | null;
|
|
80
|
+
|
|
81
|
+
// Reexports from pathval:
|
|
82
|
+
hasProperty(obj: object | undefined | null, name: ObjectProperty): boolean;
|
|
83
|
+
getPathInfo(obj: object, path: string): PathInfo;
|
|
84
|
+
getPathValue(obj: object, path: string): object | undefined;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
type ChaiPlugin = (chai: ChaiStatic, utils: ChaiUtils) => void;
|
|
88
|
+
|
|
16
89
|
interface ChaiStatic {
|
|
17
90
|
expect: ExpectStatic;
|
|
18
91
|
should(): Should;
|
|
19
92
|
/**
|
|
20
93
|
* Provides a way to extend the internals of Chai
|
|
21
94
|
*/
|
|
22
|
-
use(fn:
|
|
95
|
+
use(fn: ChaiPlugin): ChaiStatic;
|
|
96
|
+
util: ChaiUtils;
|
|
23
97
|
assert: AssertStatic;
|
|
24
98
|
config: Config;
|
|
99
|
+
Assertion: AssertionStatic;
|
|
25
100
|
AssertionError: typeof AssertionError;
|
|
26
101
|
version: string;
|
|
27
102
|
}
|
|
28
103
|
|
|
29
|
-
export interface ExpectStatic
|
|
104
|
+
export interface ExpectStatic {
|
|
105
|
+
(val: any, message?: string): Assertion;
|
|
30
106
|
fail(actual?: any, expected?: any, message?: string, operator?: Operator): void;
|
|
31
107
|
}
|
|
32
108
|
|
|
33
109
|
export interface AssertStatic extends Assert {
|
|
34
110
|
}
|
|
35
111
|
|
|
36
|
-
|
|
37
|
-
|
|
112
|
+
// chai.Assertion.prototype.assert arguments
|
|
113
|
+
type AssertionArgs = [
|
|
114
|
+
// 'expression to be tested'
|
|
115
|
+
// This parameter is unused and the docs list its type as
|
|
116
|
+
// 'Philosophical', which is mentioned nowhere else in the source. Do
|
|
117
|
+
// with that what you will!
|
|
118
|
+
any,
|
|
119
|
+
Message, // message if value fails
|
|
120
|
+
Message, // message if negated value fails
|
|
121
|
+
any, // expected value
|
|
122
|
+
any?, // actual value
|
|
123
|
+
boolean? // showDiff
|
|
124
|
+
];
|
|
125
|
+
|
|
126
|
+
export interface AssertionPrototype {
|
|
127
|
+
assert(...args: AssertionArgs): void;
|
|
128
|
+
_obj: any;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
export interface AssertionStatic extends AssertionPrototype {
|
|
132
|
+
prototype: AssertionPrototype;
|
|
133
|
+
|
|
134
|
+
new (target: any, message?: string, ssfi?: Function, lockSsfi?: boolean): Assertion;
|
|
135
|
+
|
|
136
|
+
// Deprecated properties:
|
|
137
|
+
includeStack: boolean;
|
|
138
|
+
showDiff: boolean;
|
|
139
|
+
|
|
140
|
+
// Partials of functions on ChaiUtils:
|
|
141
|
+
addProperty(name: string, getter: (this: AssertionStatic) => any): void;
|
|
142
|
+
addMethod(name: string, method: (this: AssertionStatic, ...args: any[]) => any): void;
|
|
143
|
+
addChainableMethod(
|
|
144
|
+
name: string,
|
|
145
|
+
method: (this: AssertionStatic, ...args: any[]) => void,
|
|
146
|
+
chainingBehavior?: () => void
|
|
147
|
+
): void;
|
|
148
|
+
overwriteProperty(name: string, getter: (this: AssertionStatic) => any): void;
|
|
149
|
+
overwriteMethod(name: string, method: (this: AssertionStatic, ...args: any[]) => any): void;
|
|
150
|
+
overwriteChainableMethod(
|
|
151
|
+
name: string,
|
|
152
|
+
method: (this: AssertionStatic, ...args: any[]) => void,
|
|
153
|
+
chainingBehavior?: () => void
|
|
154
|
+
): void;
|
|
38
155
|
}
|
|
39
156
|
|
|
40
157
|
export type Operator = string; // "==" | "===" | ">" | ">=" | "<" | "<=" | "!=" | "!==";
|
|
@@ -63,6 +180,7 @@ declare namespace Chai {
|
|
|
63
180
|
deep: Deep;
|
|
64
181
|
ordered: Ordered;
|
|
65
182
|
nested: Nested;
|
|
183
|
+
own: Own;
|
|
66
184
|
any: KeyFilter;
|
|
67
185
|
all: KeyFilter;
|
|
68
186
|
a: TypeComparison;
|
|
@@ -87,8 +205,8 @@ declare namespace Chai {
|
|
|
87
205
|
eql: Equal;
|
|
88
206
|
eqls: Equal;
|
|
89
207
|
property: Property;
|
|
90
|
-
ownProperty:
|
|
91
|
-
haveOwnProperty:
|
|
208
|
+
ownProperty: Property;
|
|
209
|
+
haveOwnProperty: Property;
|
|
92
210
|
ownPropertyDescriptor: OwnPropertyDescriptor;
|
|
93
211
|
haveOwnPropertyDescriptor: OwnPropertyDescriptor;
|
|
94
212
|
length: Length;
|
|
@@ -118,7 +236,7 @@ declare namespace Chai {
|
|
|
118
236
|
extensible: Assertion;
|
|
119
237
|
sealed: Assertion;
|
|
120
238
|
frozen: Assertion;
|
|
121
|
-
oneOf(list: any
|
|
239
|
+
oneOf(list: ReadonlyArray<any>, message?: string): Assertion;
|
|
122
240
|
}
|
|
123
241
|
|
|
124
242
|
interface LanguageChains {
|
|
@@ -151,10 +269,11 @@ declare namespace Chai {
|
|
|
151
269
|
most: NumberComparer;
|
|
152
270
|
lte: NumberComparer;
|
|
153
271
|
within(start: number, finish: number, message?: string): Assertion;
|
|
272
|
+
within(start: Date, finish: Date, message?: string): Assertion;
|
|
154
273
|
}
|
|
155
274
|
|
|
156
275
|
interface NumberComparer {
|
|
157
|
-
(value: number, message?: string): Assertion;
|
|
276
|
+
(value: number | Date, message?: string): Assertion;
|
|
158
277
|
}
|
|
159
278
|
|
|
160
279
|
interface TypeComparison {
|
|
@@ -164,7 +283,7 @@ declare namespace Chai {
|
|
|
164
283
|
}
|
|
165
284
|
|
|
166
285
|
interface InstanceOf {
|
|
167
|
-
(constructor:
|
|
286
|
+
(constructor: any, message?: string): Assertion;
|
|
168
287
|
}
|
|
169
288
|
|
|
170
289
|
interface CloseTo {
|
|
@@ -172,9 +291,20 @@ declare namespace Chai {
|
|
|
172
291
|
}
|
|
173
292
|
|
|
174
293
|
interface Nested {
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
294
|
+
include: Include;
|
|
295
|
+
includes: Include;
|
|
296
|
+
contain: Include;
|
|
297
|
+
contains: Include;
|
|
298
|
+
property: Property;
|
|
299
|
+
members: Members;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
interface Own {
|
|
303
|
+
include: Include;
|
|
304
|
+
includes: Include;
|
|
305
|
+
contain: Include;
|
|
306
|
+
contains: Include;
|
|
307
|
+
property: Property;
|
|
178
308
|
}
|
|
179
309
|
|
|
180
310
|
interface Deep {
|
|
@@ -182,9 +312,14 @@ declare namespace Chai {
|
|
|
182
312
|
equals: Equal;
|
|
183
313
|
eq: Equal;
|
|
184
314
|
include: Include;
|
|
315
|
+
includes: Include;
|
|
316
|
+
contain: Include;
|
|
317
|
+
contains: Include;
|
|
185
318
|
property: Property;
|
|
186
319
|
members: Members;
|
|
187
320
|
ordered: Ordered;
|
|
321
|
+
nested: Nested;
|
|
322
|
+
own: Own;
|
|
188
323
|
}
|
|
189
324
|
|
|
190
325
|
interface Ordered {
|
|
@@ -193,6 +328,7 @@ declare namespace Chai {
|
|
|
193
328
|
|
|
194
329
|
interface KeyFilter {
|
|
195
330
|
keys: Keys;
|
|
331
|
+
members: Members;
|
|
196
332
|
}
|
|
197
333
|
|
|
198
334
|
interface Equal {
|
|
@@ -200,10 +336,7 @@ declare namespace Chai {
|
|
|
200
336
|
}
|
|
201
337
|
|
|
202
338
|
interface Property {
|
|
203
|
-
(name: string, value
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
interface OwnProperty {
|
|
339
|
+
(name: string, value: any, message?: string): Assertion;
|
|
207
340
|
(name: string, message?: string): Assertion;
|
|
208
341
|
}
|
|
209
342
|
|
|
@@ -217,7 +350,7 @@ declare namespace Chai {
|
|
|
217
350
|
}
|
|
218
351
|
|
|
219
352
|
interface Include {
|
|
220
|
-
(value:
|
|
353
|
+
(value: any, message?: string): Assertion;
|
|
221
354
|
keys: Keys;
|
|
222
355
|
deep: Deep;
|
|
223
356
|
ordered: Ordered;
|
|
@@ -227,12 +360,12 @@ declare namespace Chai {
|
|
|
227
360
|
}
|
|
228
361
|
|
|
229
362
|
interface Match {
|
|
230
|
-
(regexp: RegExp
|
|
363
|
+
(regexp: RegExp, message?: string): Assertion;
|
|
231
364
|
}
|
|
232
365
|
|
|
233
366
|
interface Keys {
|
|
234
367
|
(...keys: string[]): Assertion;
|
|
235
|
-
(keys: any
|
|
368
|
+
(keys: ReadonlyArray<any>|Object): Assertion;
|
|
236
369
|
}
|
|
237
370
|
|
|
238
371
|
interface Throw {
|
|
@@ -249,11 +382,11 @@ declare namespace Chai {
|
|
|
249
382
|
}
|
|
250
383
|
|
|
251
384
|
interface Members {
|
|
252
|
-
(set: any
|
|
385
|
+
(set: ReadonlyArray<any>, message?: string): Assertion;
|
|
253
386
|
}
|
|
254
387
|
|
|
255
388
|
interface PropertyChange {
|
|
256
|
-
(object: Object, property
|
|
389
|
+
(object: Object, property?: string, message?: string): Assertion;
|
|
257
390
|
}
|
|
258
391
|
|
|
259
392
|
export interface Assert {
|
|
@@ -352,7 +485,7 @@ declare namespace Chai {
|
|
|
352
485
|
notStrictEqual<T>(actual: T, expected: T, message?: string): void;
|
|
353
486
|
|
|
354
487
|
/**
|
|
355
|
-
* Asserts that actual is deeply equal to expected.
|
|
488
|
+
* Asserts that actual is deeply equal (==) to expected.
|
|
356
489
|
*
|
|
357
490
|
* @type T Type of the objects.
|
|
358
491
|
* @param actual Actual value.
|
|
@@ -362,7 +495,7 @@ declare namespace Chai {
|
|
|
362
495
|
deepEqual<T>(actual: T, expected: T, message?: string): void;
|
|
363
496
|
|
|
364
497
|
/**
|
|
365
|
-
* Asserts that actual is not deeply equal to expected.
|
|
498
|
+
* Asserts that actual is not deeply equal (==) to expected.
|
|
366
499
|
*
|
|
367
500
|
* @type T Type of the objects.
|
|
368
501
|
* @param actual Actual value.
|
|
@@ -371,6 +504,16 @@ declare namespace Chai {
|
|
|
371
504
|
*/
|
|
372
505
|
notDeepEqual<T>(actual: T, expected: T, message?: string): void;
|
|
373
506
|
|
|
507
|
+
/**
|
|
508
|
+
* Asserts that actual is deeply strict equal (===) to expected.
|
|
509
|
+
*
|
|
510
|
+
* @type T Type of the objects.
|
|
511
|
+
* @param actual Actual value.
|
|
512
|
+
* @param expected Potential expected value.
|
|
513
|
+
* @param message Message to display on error.
|
|
514
|
+
*/
|
|
515
|
+
deepStrictEqual<T>(actual: T, expected: T, message?: string): void;
|
|
516
|
+
|
|
374
517
|
/**
|
|
375
518
|
* Asserts valueToCheck is strictly greater than (>) valueToBeAbove.
|
|
376
519
|
*
|
|
@@ -399,7 +542,7 @@ declare namespace Chai {
|
|
|
399
542
|
isBelow(valueToCheck: number, valueToBeBelow: number, message?: string): void;
|
|
400
543
|
|
|
401
544
|
/**
|
|
402
|
-
* Asserts valueToCheck is
|
|
545
|
+
* Asserts valueToCheck is less than or equal to (<=) valueToBeAtMost.
|
|
403
546
|
*
|
|
404
547
|
* @param valueToCheck Actual value.
|
|
405
548
|
* @param valueToBeAtMost Minimum Potential expected value.
|
|
@@ -462,7 +605,7 @@ declare namespace Chai {
|
|
|
462
605
|
isNotNull<T>(value: T, message?: string): void;
|
|
463
606
|
|
|
464
607
|
/**
|
|
465
|
-
* Asserts that value is
|
|
608
|
+
* Asserts that value is NaN.
|
|
466
609
|
*
|
|
467
610
|
* @type T Type of value.
|
|
468
611
|
* @param value Actual value.
|
|
@@ -471,7 +614,7 @@ declare namespace Chai {
|
|
|
471
614
|
isNaN<T>(value: T, message?: string): void;
|
|
472
615
|
|
|
473
616
|
/**
|
|
474
|
-
* Asserts that value is not
|
|
617
|
+
* Asserts that value is not NaN.
|
|
475
618
|
*
|
|
476
619
|
* @type T Type of value.
|
|
477
620
|
* @param value Actual value.
|
|
@@ -670,7 +813,7 @@ declare namespace Chai {
|
|
|
670
813
|
* Asserts that haystack includes needle.
|
|
671
814
|
*
|
|
672
815
|
* @param haystack Container string.
|
|
673
|
-
* @param needle Potential
|
|
816
|
+
* @param needle Potential substring of haystack.
|
|
674
817
|
* @param message Message to display on error.
|
|
675
818
|
*/
|
|
676
819
|
include(haystack: string, needle: string, message?: string): void;
|
|
@@ -679,47 +822,132 @@ declare namespace Chai {
|
|
|
679
822
|
* Asserts that haystack includes needle.
|
|
680
823
|
*
|
|
681
824
|
* @type T Type of values in haystack.
|
|
682
|
-
* @param haystack Container array.
|
|
825
|
+
* @param haystack Container array, set or map.
|
|
826
|
+
* @param needle Potential value contained in haystack.
|
|
827
|
+
* @param message Message to display on error.
|
|
828
|
+
*/
|
|
829
|
+
include<T>(haystack: ReadonlyArray<T> | ReadonlySet<T> | ReadonlyMap<any, T>, needle: T, message?: string): void;
|
|
830
|
+
|
|
831
|
+
/**
|
|
832
|
+
* Asserts that haystack includes needle.
|
|
833
|
+
*
|
|
834
|
+
* @type T Type of values in haystack.
|
|
835
|
+
* @param haystack WeakSet container.
|
|
836
|
+
* @param needle Potential value contained in haystack.
|
|
837
|
+
* @param message Message to display on error.
|
|
838
|
+
*/
|
|
839
|
+
include<T extends object>(haystack: WeakSet<T>, needle: T, message?: string): void;
|
|
840
|
+
|
|
841
|
+
/**
|
|
842
|
+
* Asserts that haystack includes needle.
|
|
843
|
+
*
|
|
844
|
+
* @type T Type of haystack.
|
|
845
|
+
* @param haystack Object.
|
|
846
|
+
* @param needle Potential subset of the haystack's properties.
|
|
847
|
+
* @param message Message to display on error.
|
|
848
|
+
*/
|
|
849
|
+
include<T>(haystack: T, needle: Partial<T>, message?: string): void;
|
|
850
|
+
|
|
851
|
+
/**
|
|
852
|
+
* Asserts that haystack does not includes needle.
|
|
853
|
+
*
|
|
854
|
+
* @param haystack Container string.
|
|
855
|
+
* @param needle Potential substring of haystack.
|
|
856
|
+
* @param message Message to display on error.
|
|
857
|
+
*/
|
|
858
|
+
notInclude(haystack: string, needle: string, message?: string): void;
|
|
859
|
+
|
|
860
|
+
/**
|
|
861
|
+
* Asserts that haystack does not includes needle.
|
|
862
|
+
*
|
|
863
|
+
* @type T Type of values in haystack.
|
|
864
|
+
* @param haystack Container array, set or map.
|
|
865
|
+
* @param needle Potential value contained in haystack.
|
|
866
|
+
* @param message Message to display on error.
|
|
867
|
+
*/
|
|
868
|
+
notInclude<T>(haystack: ReadonlyArray<T> | ReadonlySet<T> | ReadonlyMap<any, T>, needle: T, message?: string): void;
|
|
869
|
+
|
|
870
|
+
/**
|
|
871
|
+
* Asserts that haystack does not includes needle.
|
|
872
|
+
*
|
|
873
|
+
* @type T Type of values in haystack.
|
|
874
|
+
* @param haystack WeakSet container.
|
|
683
875
|
* @param needle Potential value contained in haystack.
|
|
684
876
|
* @param message Message to display on error.
|
|
685
877
|
*/
|
|
686
|
-
|
|
878
|
+
notInclude<T extends object>(haystack: WeakSet<T>, needle: T, message?: string): void;
|
|
687
879
|
|
|
688
880
|
/**
|
|
689
|
-
* Asserts that haystack does not
|
|
881
|
+
* Asserts that haystack does not includes needle.
|
|
690
882
|
*
|
|
691
|
-
* @
|
|
692
|
-
* @param
|
|
883
|
+
* @type T Type of haystack.
|
|
884
|
+
* @param haystack Object.
|
|
885
|
+
* @param needle Potential subset of the haystack's properties.
|
|
693
886
|
* @param message Message to display on error.
|
|
694
887
|
*/
|
|
695
|
-
notInclude(haystack:
|
|
888
|
+
notInclude<T>(haystack: T, needle: Partial<T>, message?: string): void;
|
|
696
889
|
|
|
697
890
|
/**
|
|
698
|
-
* Asserts that haystack includes needle.
|
|
891
|
+
* Asserts that haystack includes needle. Deep equality is used.
|
|
699
892
|
*
|
|
700
893
|
* @param haystack Container string.
|
|
701
|
-
* @param needle Potential
|
|
894
|
+
* @param needle Potential substring of haystack.
|
|
702
895
|
* @param message Message to display on error.
|
|
896
|
+
*
|
|
897
|
+
* @deprecated Does not have any effect on string. Use {@link Assert#include} instead.
|
|
703
898
|
*/
|
|
704
899
|
deepInclude(haystack: string, needle: string, message?: string): void;
|
|
705
900
|
|
|
706
901
|
/**
|
|
707
|
-
* Asserts that haystack includes needle.
|
|
902
|
+
* Asserts that haystack includes needle. Deep equality is used.
|
|
708
903
|
*
|
|
709
|
-
* @
|
|
710
|
-
* @param
|
|
904
|
+
* @type T Type of values in haystack.
|
|
905
|
+
* @param haystack Container array, set or map.
|
|
906
|
+
* @param needle Potential value contained in haystack.
|
|
907
|
+
* @param message Message to display on error.
|
|
908
|
+
*/
|
|
909
|
+
deepInclude<T>(haystack: ReadonlyArray<T> | ReadonlySet<T> | ReadonlyMap<any, T>, needle: T, message?: string): void;
|
|
910
|
+
|
|
911
|
+
/**
|
|
912
|
+
* Asserts that haystack does not includes needle.
|
|
913
|
+
*
|
|
914
|
+
* @type T Type of haystack.
|
|
915
|
+
* @param haystack Object.
|
|
916
|
+
* @param needle Potential subset of the haystack's properties.
|
|
711
917
|
* @param message Message to display on error.
|
|
712
918
|
*/
|
|
713
|
-
deepInclude<T>(haystack:
|
|
919
|
+
deepInclude<T>(haystack: T, needle: T extends WeakSet<any> ? never : Partial<T>, message?: string): void;
|
|
714
920
|
|
|
715
921
|
/**
|
|
716
|
-
* Asserts that haystack does not
|
|
922
|
+
* Asserts that haystack does not includes needle. Deep equality is used.
|
|
717
923
|
*
|
|
718
|
-
* @param haystack Container string
|
|
719
|
-
* @param needle Potential
|
|
924
|
+
* @param haystack Container string.
|
|
925
|
+
* @param needle Potential substring of haystack.
|
|
720
926
|
* @param message Message to display on error.
|
|
927
|
+
*
|
|
928
|
+
* @deprecated Does not have any effect on string. Use {@link Assert#notInclude} instead.
|
|
721
929
|
*/
|
|
722
|
-
notDeepInclude(haystack: string
|
|
930
|
+
notDeepInclude(haystack: string, needle: string, message?: string): void;
|
|
931
|
+
|
|
932
|
+
/**
|
|
933
|
+
* Asserts that haystack does not includes needle. Deep equality is used.
|
|
934
|
+
*
|
|
935
|
+
* @type T Type of values in haystack.
|
|
936
|
+
* @param haystack Container array, set or map.
|
|
937
|
+
* @param needle Potential value contained in haystack.
|
|
938
|
+
* @param message Message to display on error.
|
|
939
|
+
*/
|
|
940
|
+
notDeepInclude<T>(haystack: ReadonlyArray<T> | ReadonlySet<T> | ReadonlyMap<any, T>, needle: T, message?: string): void;
|
|
941
|
+
|
|
942
|
+
/**
|
|
943
|
+
* Asserts that haystack does not includes needle. Deep equality is used.
|
|
944
|
+
*
|
|
945
|
+
* @type T Type of haystack.
|
|
946
|
+
* @param haystack Object.
|
|
947
|
+
* @param needle Potential subset of the haystack's properties.
|
|
948
|
+
* @param message Message to display on error.
|
|
949
|
+
*/
|
|
950
|
+
notDeepInclude<T>(haystack: T, needle: T extends WeakSet<any> ? never : Partial<T>, message?: string): void;
|
|
723
951
|
|
|
724
952
|
/**
|
|
725
953
|
* Asserts that ‘haystack’ includes ‘needle’. Can be used to assert the inclusion of a subset of properties in an object.
|
|
@@ -1585,6 +1813,77 @@ declare namespace Chai {
|
|
|
1585
1813
|
* @param message Message to display on error.
|
|
1586
1814
|
*/
|
|
1587
1815
|
doesNotHaveAllDeepKeys<T>(object: T, keys: Array<Object | string> | { [key: string]: any }, message?: string): void;
|
|
1816
|
+
|
|
1817
|
+
/**
|
|
1818
|
+
* Asserts that object has a direct or inherited property named by property,
|
|
1819
|
+
* which can be a string using dot- and bracket-notation for nested reference.
|
|
1820
|
+
*
|
|
1821
|
+
* @type T Type of object.
|
|
1822
|
+
* @param object Object to test.
|
|
1823
|
+
* @param property Property to test.
|
|
1824
|
+
* @param message Message to display on error.
|
|
1825
|
+
*/
|
|
1826
|
+
nestedProperty<T>(object: T, property: string, message?: string): void;
|
|
1827
|
+
|
|
1828
|
+
/**
|
|
1829
|
+
* Asserts that object does not have a property named by property,
|
|
1830
|
+
* which can be a string using dot- and bracket-notation for nested reference.
|
|
1831
|
+
* The property cannot exist on the object nor anywhere in its prototype chain.
|
|
1832
|
+
*
|
|
1833
|
+
* @type T Type of object.
|
|
1834
|
+
* @param object Object to test.
|
|
1835
|
+
* @param property Property to test.
|
|
1836
|
+
* @param message Message to display on error.
|
|
1837
|
+
*/
|
|
1838
|
+
notNestedProperty<T>(object: T, property: string, message?: string): void;
|
|
1839
|
+
|
|
1840
|
+
/**
|
|
1841
|
+
* Asserts that object has a property named by property with value given by value.
|
|
1842
|
+
* property can use dot- and bracket-notation for nested reference. Uses a strict equality check (===).
|
|
1843
|
+
*
|
|
1844
|
+
* @type T Type of object.
|
|
1845
|
+
* @param object Object to test.
|
|
1846
|
+
* @param property Property to test.
|
|
1847
|
+
* @param value Value to test.
|
|
1848
|
+
* @param message Message to display on error.
|
|
1849
|
+
*/
|
|
1850
|
+
nestedPropertyVal<T>(object: T, property: string, value: any, message?: string): void;
|
|
1851
|
+
|
|
1852
|
+
/**
|
|
1853
|
+
* Asserts that object does not have a property named by property with value given by value.
|
|
1854
|
+
* property can use dot- and bracket-notation for nested reference. Uses a strict equality check (===).
|
|
1855
|
+
*
|
|
1856
|
+
* @type T Type of object.
|
|
1857
|
+
* @param object Object to test.
|
|
1858
|
+
* @param property Property to test.
|
|
1859
|
+
* @param value Value to test.
|
|
1860
|
+
* @param message Message to display on error.
|
|
1861
|
+
*/
|
|
1862
|
+
notNestedPropertyVal<T>(object: T, property: string, value: any, message?: string): void;
|
|
1863
|
+
|
|
1864
|
+
/**
|
|
1865
|
+
* Asserts that object has a property named by property with a value given by value.
|
|
1866
|
+
* property can use dot- and bracket-notation for nested reference. Uses a deep equality check.
|
|
1867
|
+
*
|
|
1868
|
+
* @type T Type of object.
|
|
1869
|
+
* @param object Object to test.
|
|
1870
|
+
* @param property Property to test.
|
|
1871
|
+
* @param value Value to test.
|
|
1872
|
+
* @param message Message to display on error.
|
|
1873
|
+
*/
|
|
1874
|
+
deepNestedPropertyVal<T>(object: T, property: string, value: any, message?: string): void;
|
|
1875
|
+
|
|
1876
|
+
/**
|
|
1877
|
+
* Asserts that object does not have a property named by property with value given by value.
|
|
1878
|
+
* property can use dot- and bracket-notation for nested reference. Uses a deep equality check.
|
|
1879
|
+
*
|
|
1880
|
+
* @type T Type of object.
|
|
1881
|
+
* @param object Object to test.
|
|
1882
|
+
* @param property Property to test.
|
|
1883
|
+
* @param value Value to test.
|
|
1884
|
+
* @param message Message to display on error.
|
|
1885
|
+
*/
|
|
1886
|
+
notDeepNestedPropertyVal<T>(object: T, property: string, value: any, message?: string): void;
|
|
1588
1887
|
}
|
|
1589
1888
|
|
|
1590
1889
|
export interface Config {
|
|
@@ -1602,6 +1901,16 @@ declare namespace Chai {
|
|
|
1602
1901
|
* Default: 40
|
|
1603
1902
|
*/
|
|
1604
1903
|
truncateThreshold: number;
|
|
1904
|
+
|
|
1905
|
+
/**
|
|
1906
|
+
* Default: true
|
|
1907
|
+
*/
|
|
1908
|
+
useProxy: boolean;
|
|
1909
|
+
|
|
1910
|
+
/**
|
|
1911
|
+
* Default: ['then', 'catch', 'inspect', 'toJSON']
|
|
1912
|
+
*/
|
|
1913
|
+
proxyExcludedKeys: string[];
|
|
1605
1914
|
}
|
|
1606
1915
|
|
|
1607
1916
|
export class AssertionError {
|