cypress 3.7.0 → 3.8.3
Sign up to get free protection for your applications and to get access to all the features.
- 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/lib/cli.js
CHANGED
@@ -1,9 +1,5 @@
|
|
1
1
|
'use strict';
|
2
2
|
|
3
|
-
var _templateObject = _taggedTemplateLiteral(['\n ', ' Warning: It looks like you\'re passing --spec a space-separated list of files:\n\n "', '"\n\n This will work, but it\'s not recommended.\n\n The most common cause of this warning is using an unescaped glob pattern. If you are\n trying to pass a glob pattern, escape it using quotes:\n cypress run --spec "**/*.spec.js"\n\n If you are trying to pass multiple spec filenames, separate them by commas instead:\n cypress run --spec spec1,spec2,spec3\n '], ['\n ', ' Warning: It looks like you\'re passing --spec a space-separated list of files:\n\n "', '"\n\n This will work, but it\'s not recommended.\n\n The most common cause of this warning is using an unescaped glob pattern. If you are\n trying to pass a glob pattern, escape it using quotes:\n cypress run --spec "**/*.spec.js"\n\n If you are trying to pass multiple spec filenames, separate them by commas instead:\n cypress run --spec spec1,spec2,spec3\n ']);
|
4
|
-
|
5
|
-
function _taggedTemplateLiteral(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
6
|
-
|
7
3
|
var _ = require('lodash');
|
8
4
|
var commander = require('commander');
|
9
5
|
|
@@ -11,7 +7,7 @@ var _require = require('common-tags'),
|
|
11
7
|
stripIndent = _require.stripIndent;
|
12
8
|
|
13
9
|
var logSymbols = require('log-symbols');
|
14
|
-
var debug = require('debug')('cypress:cli');
|
10
|
+
var debug = require('debug')('cypress:cli:cli');
|
15
11
|
var util = require('./util');
|
16
12
|
var logger = require('./logger');
|
17
13
|
var errors = require('./errors');
|
@@ -36,67 +32,83 @@ var coerceFalse = function coerceFalse(arg) {
|
|
36
32
|
return arg !== 'false';
|
37
33
|
};
|
38
34
|
|
39
|
-
var
|
40
|
-
|
41
|
-
|
35
|
+
var spaceDelimitedArgsMsg = function spaceDelimitedArgsMsg(flag, args) {
|
36
|
+
var msg = '\n ' + logSymbols.warning + ' Warning: It looks like you\'re passing --' + flag + ' a space-separated list of arguments:\n\n "' + args.join(' ') + '"\n\n This will work, but it\'s not recommended.\n\n If you are trying to pass multiple arguments, separate them with commas instead:\n cypress run --' + flag + ' arg1,arg2,arg3\n ';
|
37
|
+
|
38
|
+
if (flag === 'spec') {
|
39
|
+
msg += '\n The most common cause of this warning is using an unescaped glob pattern. If you are\n trying to pass a glob pattern, escape it using quotes:\n cypress run --spec "**/*.spec.js"\n ';
|
40
|
+
}
|
42
41
|
|
43
42
|
logger.log();
|
43
|
+
logger.warn(stripIndent(msg));
|
44
|
+
logger.log();
|
44
45
|
};
|
45
46
|
|
46
47
|
var parseVariableOpts = function parseVariableOpts(fnArgs, args) {
|
47
48
|
var opts = fnArgs.pop();
|
48
49
|
|
49
|
-
if (fnArgs.length && opts.spec) {
|
50
|
-
// this will capture space-delimited
|
50
|
+
if (fnArgs.length && (opts.spec || opts.tag)) {
|
51
|
+
// this will capture space-delimited args after
|
52
|
+
// flags that could have possible multiple args
|
53
|
+
// but before the next option
|
54
|
+
// --spec spec1 spec2 or --tag foo bar
|
51
55
|
|
52
|
-
var
|
53
|
-
var nextOptOffset = _.findIndex(_.slice(args, argIndex), function (arg) {
|
54
|
-
return _.startsWith(arg, '--');
|
55
|
-
});
|
56
|
-
var endIndex = nextOptOffset !== -1 ? argIndex + nextOptOffset : args.length;
|
56
|
+
var multiArgFlags = _.compact([opts.spec ? 'spec' : opts.spec, opts.tag ? 'tag' : opts.tag]);
|
57
57
|
|
58
|
-
|
59
|
-
|
58
|
+
_.forEach(multiArgFlags, function (flag) {
|
59
|
+
var argIndex = _.indexOf(args, '--' + flag) + 2;
|
60
|
+
var nextOptOffset = _.findIndex(_.slice(args, argIndex), function (arg) {
|
61
|
+
return _.startsWith(arg, '--');
|
62
|
+
});
|
63
|
+
var endIndex = nextOptOffset !== -1 ? argIndex + nextOptOffset : args.length;
|
60
64
|
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
65
|
+
var maybeArgs = _.slice(args, argIndex, endIndex);
|
66
|
+
var extraArgs = _.intersection(maybeArgs, fnArgs);
|
67
|
+
|
68
|
+
if (extraArgs.length) {
|
69
|
+
opts[flag] = [opts[flag]].concat(extraArgs);
|
70
|
+
spaceDelimitedArgsMsg(flag, opts[flag]);
|
71
|
+
opts[flag] = opts[flag].join(',');
|
72
|
+
}
|
73
|
+
});
|
66
74
|
}
|
67
75
|
|
76
|
+
debug('variable-length opts parsed %o', { args: args, opts: opts });
|
77
|
+
|
68
78
|
return util.parseOpts(opts);
|
69
79
|
};
|
70
80
|
|
71
81
|
var descriptions = {
|
72
|
-
record: 'records the run. sends test results, screenshots and videos to your Cypress Dashboard.',
|
73
|
-
key: 'your secret Record Key. you can omit this if you set a CYPRESS_RECORD_KEY environment variable.',
|
74
|
-
spec: 'runs a specific spec file. defaults to "all"',
|
75
|
-
reporter: 'runs a specific mocha reporter. pass a path to use a custom reporter. defaults to "spec"',
|
76
|
-
reporterOptions: 'options for the mocha reporter. defaults to "null"',
|
77
|
-
port: 'runs Cypress on a specific port. overrides any value in the configuration file.',
|
78
|
-
env: 'sets environment variables. separate multiple values with a comma. overrides any value in the configuration file or cypress.env.json',
|
79
|
-
config: 'sets configuration values. separate multiple values with a comma. overrides any value in the configuration file.',
|
80
|
-
browserRunMode: 'runs Cypress in the browser with the given name. if a filesystem path is supplied, Cypress will attempt to use the browser at that path.',
|
81
82
|
browserOpenMode: 'path to a custom browser to be added to the list of available browsers in Cypress',
|
82
|
-
|
83
|
-
|
84
|
-
|
83
|
+
browserRunMode: 'runs Cypress in the browser with the given name. if a filesystem path is supplied, Cypress will attempt to use the browser at that path.',
|
84
|
+
cacheClear: 'delete all cached binaries',
|
85
|
+
cacheList: 'list cached binary versions',
|
86
|
+
cachePath: 'print the path to the binary cache',
|
87
|
+
ciBuildId: 'the unique identifier for a run on your CI provider. typically a "BUILD_ID" env var. this value is automatically detected for most CI providers',
|
88
|
+
config: 'sets configuration values. separate multiple values with a comma. overrides any value in cypress.json.',
|
85
89
|
configFile: 'path to JSON file where configuration values are set. defaults to "cypress.json". pass "false" to disable.',
|
86
|
-
|
87
|
-
headed: 'displays the Electron browser instead of running headlessly',
|
90
|
+
detached: 'runs Cypress application in detached mode',
|
88
91
|
dev: 'runs cypress in development and bypasses binary check',
|
89
|
-
|
92
|
+
env: 'sets environment variables. separate multiple values with a comma. overrides any value in cypress.json or cypress.env.json',
|
90
93
|
exit: 'keep the browser open after tests finish',
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
94
|
+
forceInstall: 'force install the Cypress binary',
|
95
|
+
global: 'force Cypress into global mode as if its globally installed',
|
96
|
+
group: 'a named group for recorded runs in the Cypress Dashboard',
|
97
|
+
headed: 'displays the browser instead of running headlessly (defaults to true for Chrome-family browsers)',
|
98
|
+
headless: 'hide the browser instead of running headed (defaults to true for Electron)',
|
99
|
+
key: 'your secret Record Key. you can omit this if you set a CYPRESS_RECORD_KEY environment variable.',
|
95
100
|
parallel: 'enables concurrent runs and automatic load balancing of specs across multiple machines or processes',
|
96
|
-
|
101
|
+
port: 'runs Cypress on a specific port. overrides any value in cypress.json.',
|
102
|
+
project: 'path to the project',
|
103
|
+
record: 'records the run. sends test results, screenshots and videos to your Cypress Dashboard.',
|
104
|
+
reporter: 'runs a specific mocha reporter. pass a path to use a custom reporter. defaults to "spec"',
|
105
|
+
reporterOptions: 'options for the mocha reporter. defaults to "null"',
|
106
|
+
spec: 'runs specific spec file(s). defaults to "all"',
|
107
|
+
tag: 'named tag(s) for recorded runs in the Cypress Dashboard',
|
108
|
+
version: 'prints Cypress version'
|
97
109
|
};
|
98
110
|
|
99
|
-
var knownCommands = ['
|
111
|
+
var knownCommands = ['cache', 'help', '-h', '--help', 'install', 'open', 'run', 'verify', '-v', '--version', 'version'];
|
100
112
|
|
101
113
|
var text = function text(description) {
|
102
114
|
if (!descriptions[description]) {
|
@@ -136,7 +148,7 @@ module.exports = {
|
|
136
148
|
|
137
149
|
var program = new commander.Command();
|
138
150
|
|
139
|
-
// bug in
|
151
|
+
// bug in commander not printing name
|
140
152
|
// in usage help docs
|
141
153
|
program._name = 'cypress';
|
142
154
|
|
@@ -148,16 +160,16 @@ module.exports = {
|
|
148
160
|
|
149
161
|
program.option('-v, --version', text('version')).command('version').description(text('version')).action(showVersions);
|
150
162
|
|
151
|
-
program.command('run').usage('[options]').description('Runs Cypress tests from the CLI without the GUI').option('--
|
163
|
+
program.command('run').usage('[options]').description('Runs Cypress tests from the CLI without the GUI').option('-b, --browser <browser-name-or-path>', text('browserRunMode')).option('--ci-build-id <id>', text('ciBuildId')).option('-c, --config <config>', text('config')).option('-C, --config-file <config-file>', text('configFile')).option('-e, --env <env>', text('env')).option('--group <name>', text('group')).option('-k, --key <record-key>', text('key')).option('--headed', text('headed')).option('--headless', text('headless')).option('--no-exit', text('exit')).option('--parallel', text('parallel')).option('-p, --port <port>', text('port')).option('-P, --project <project-path>', text('project')).option('--record [bool]', text('record'), coerceFalse).option('-r, --reporter <reporter>', text('reporter')).option('-o, --reporter-options <reporter-options>', text('reporterOptions')).option('-s, --spec <spec>', text('spec')).option('-t, --tag <tag>', text('tag')).option('--dev', text('dev'), coerceFalse).action(function () {
|
152
164
|
for (var _len = arguments.length, fnArgs = Array(_len), _key = 0; _key < _len; _key++) {
|
153
165
|
fnArgs[_key] = arguments[_key];
|
154
166
|
}
|
155
167
|
|
156
|
-
debug('running Cypress');
|
168
|
+
debug('running Cypress with args %o', fnArgs);
|
157
169
|
require('./exec/run').start(parseVariableOpts(fnArgs, args)).then(util.exit).catch(util.logErrorExit1);
|
158
170
|
});
|
159
171
|
|
160
|
-
program.command('open').usage('[options]').description('Opens Cypress in the interactive GUI.').option('-
|
172
|
+
program.command('open').usage('[options]').description('Opens Cypress in the interactive GUI.').option('-b, --browser <browser-path>', text('browserOpenMode')).option('-c, --config <config>', text('config')).option('-C, --config-file <config-file>', text('configFile')).option('-d, --detached [bool]', text('detached'), coerceFalse).option('-e, --env <env>', text('env')).option('--global', text('global')).option('-p, --port <port>', text('port')).option('-P, --project <project-path>', text('project')).option('--dev', text('dev'), coerceFalse).action(function (opts) {
|
161
173
|
debug('opening Cypress');
|
162
174
|
require('./exec/open').start(util.parseOpts(opts)).catch(util.logErrorExit1);
|
163
175
|
});
|
package/lib/errors.js
CHANGED
@@ -117,6 +117,11 @@ var versionMismatch = {
|
|
117
117
|
solution: 'Install Cypress and verify app again'
|
118
118
|
};
|
119
119
|
|
120
|
+
var incompatibleHeadlessFlags = {
|
121
|
+
description: '`--headed` and `--headless` cannot both be passed.',
|
122
|
+
solution: 'Either pass `--headed` or `--headless`, but not both.'
|
123
|
+
};
|
124
|
+
|
120
125
|
var solutionUnknown = stripIndent(_templateObject12, chalk.blue(docsUrl), chalk.blue(util.issuesUrl));
|
121
126
|
var unexpected = {
|
122
127
|
description: 'An unexpected error occurred while verifying the Cypress executable.',
|
@@ -300,6 +305,7 @@ module.exports = {
|
|
300
305
|
removed: removed,
|
301
306
|
CYPRESS_RUN_BINARY: CYPRESS_RUN_BINARY,
|
302
307
|
smokeTestFailure: smokeTestFailure,
|
303
|
-
childProcessKilled: childProcessKilled
|
308
|
+
childProcessKilled: childProcessKilled,
|
309
|
+
incompatibleHeadlessFlags: incompatibleHeadlessFlags
|
304
310
|
}
|
305
311
|
};
|
package/lib/exec/open.js
CHANGED
@@ -15,10 +15,6 @@ module.exports = {
|
|
15
15
|
|
16
16
|
var args = [];
|
17
17
|
|
18
|
-
if (options.env) {
|
19
|
-
args.push('--env', options.env);
|
20
|
-
}
|
21
|
-
|
22
18
|
if (options.config) {
|
23
19
|
args.push('--config', options.config);
|
24
20
|
}
|
@@ -31,6 +27,10 @@ module.exports = {
|
|
31
27
|
args.push('--browser', options.browser);
|
32
28
|
}
|
33
29
|
|
30
|
+
if (options.env) {
|
31
|
+
args.push('--env', options.env);
|
32
|
+
}
|
33
|
+
|
34
34
|
if (options.port) {
|
35
35
|
args.push('--port', options.port);
|
36
36
|
}
|
package/lib/exec/run.js
CHANGED
@@ -1,29 +1,41 @@
|
|
1
1
|
'use strict';
|
2
2
|
|
3
3
|
var _ = require('lodash');
|
4
|
-
var debug = require('debug')('cypress:cli');
|
4
|
+
var debug = require('debug')('cypress:cli:run');
|
5
5
|
|
6
6
|
var util = require('../util');
|
7
7
|
var spawn = require('./spawn');
|
8
8
|
var verify = require('../tasks/verify');
|
9
9
|
|
10
|
+
var _require = require('../errors'),
|
11
|
+
exitWithError = _require.exitWithError,
|
12
|
+
errors = _require.errors;
|
13
|
+
|
10
14
|
// maps options collected by the CLI
|
11
15
|
// and forms list of CLI arguments to the server
|
16
|
+
|
17
|
+
|
12
18
|
var processRunOptions = function processRunOptions() {
|
13
19
|
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
14
20
|
|
15
|
-
debug('processing run options');
|
21
|
+
debug('processing run options %o', options);
|
16
22
|
|
17
23
|
var args = ['--run-project', options.project];
|
18
24
|
|
19
|
-
|
20
|
-
|
21
|
-
debug('--key is not set, looking up environment variable CYPRESS_RECORD_KEY');
|
22
|
-
options.key = util.getEnv('CYPRESS_RECORD_KEY') || util.getEnv('CYPRESS_CI_KEY');
|
25
|
+
if (options.browser) {
|
26
|
+
args.push('--browser', options.browser);
|
23
27
|
}
|
24
28
|
|
25
|
-
if (options.
|
26
|
-
|
29
|
+
if (options.ci) {
|
30
|
+
// push to display the deprecation message
|
31
|
+
args.push('--ci');
|
32
|
+
|
33
|
+
// also automatically record
|
34
|
+
args.push('--record', true);
|
35
|
+
}
|
36
|
+
|
37
|
+
if (options.ciBuildId) {
|
38
|
+
args.push('--ci-build-id', options.ciBuildId);
|
27
39
|
}
|
28
40
|
|
29
41
|
if (options.config) {
|
@@ -34,70 +46,81 @@ var processRunOptions = function processRunOptions() {
|
|
34
46
|
args.push('--config-file', options.configFile);
|
35
47
|
}
|
36
48
|
|
37
|
-
if (options.
|
38
|
-
args.push('--
|
49
|
+
if (options.env) {
|
50
|
+
args.push('--env', options.env);
|
39
51
|
}
|
40
52
|
|
41
|
-
|
42
|
-
|
43
|
-
args.push('--spec', options.spec);
|
53
|
+
if (options.exit === false) {
|
54
|
+
args.push('--no-exit');
|
44
55
|
}
|
45
56
|
|
46
|
-
|
47
|
-
|
48
|
-
args.push('--reporter', options.reporter);
|
57
|
+
if (options.group) {
|
58
|
+
args.push('--group', options.group);
|
49
59
|
}
|
50
60
|
|
51
|
-
|
52
|
-
|
53
|
-
args.push('--reporter-options', options.reporterOptions);
|
61
|
+
if (options.headed) {
|
62
|
+
args.push('--headed', options.headed);
|
54
63
|
}
|
55
64
|
|
56
|
-
if (options.
|
57
|
-
|
58
|
-
|
65
|
+
if (options.headless) {
|
66
|
+
if (options.headed) {
|
67
|
+
// throw this error synchronously, it will be caught later on and
|
68
|
+
// the details will be propagated to the promise chain
|
69
|
+
var err = new Error();
|
59
70
|
|
60
|
-
|
61
|
-
|
71
|
+
err.details = errors.incompatibleHeadlessFlags;
|
72
|
+
throw err;
|
73
|
+
}
|
74
|
+
|
75
|
+
args.push('--headed', !options.headless);
|
76
|
+
}
|
77
|
+
|
78
|
+
// if key is set use that - else attempt to find it by environment variable
|
79
|
+
if (options.key == null) {
|
80
|
+
debug('--key is not set, looking up environment variable CYPRESS_RECORD_KEY');
|
81
|
+
options.key = util.getEnv('CYPRESS_RECORD_KEY') || util.getEnv('CYPRESS_CI_KEY');
|
62
82
|
}
|
63
83
|
|
64
|
-
|
84
|
+
// if we have a key assume we're in record mode
|
65
85
|
if (options.key) {
|
66
86
|
args.push('--key', options.key);
|
67
87
|
}
|
68
88
|
|
69
|
-
|
70
|
-
|
71
|
-
if (options.record != null && !options.ci) {
|
72
|
-
args.push('--record', options.record);
|
89
|
+
if (options.outputPath) {
|
90
|
+
args.push('--output-path', options.outputPath);
|
73
91
|
}
|
74
92
|
|
75
93
|
if (options.parallel) {
|
76
94
|
args.push('--parallel');
|
77
95
|
}
|
78
96
|
|
79
|
-
if (options.
|
80
|
-
args.push('--
|
97
|
+
if (options.port) {
|
98
|
+
args.push('--port', options.port);
|
81
99
|
}
|
82
100
|
|
83
|
-
if
|
84
|
-
|
101
|
+
// if record is defined and we're not
|
102
|
+
// already in ci mode, then send it up
|
103
|
+
if (options.record != null && !options.ci) {
|
104
|
+
args.push('--record', options.record);
|
85
105
|
}
|
86
106
|
|
87
|
-
if
|
88
|
-
|
107
|
+
// if we have a specific reporter push that into the args
|
108
|
+
if (options.reporter) {
|
109
|
+
args.push('--reporter', options.reporter);
|
89
110
|
}
|
90
111
|
|
91
|
-
if
|
92
|
-
|
112
|
+
// if we have a specific reporter push that into the args
|
113
|
+
if (options.reporterOptions) {
|
114
|
+
args.push('--reporter-options', options.reporterOptions);
|
93
115
|
}
|
94
116
|
|
95
|
-
if (
|
96
|
-
|
117
|
+
// if we have specific spec(s) push that into the args
|
118
|
+
if (options.spec) {
|
119
|
+
args.push('--spec', options.spec);
|
97
120
|
}
|
98
121
|
|
99
|
-
if (options.
|
100
|
-
args.push('--
|
122
|
+
if (options.tag) {
|
123
|
+
args.push('--tag', options.tag);
|
101
124
|
}
|
102
125
|
|
103
126
|
return args;
|
@@ -118,7 +141,17 @@ module.exports = {
|
|
118
141
|
});
|
119
142
|
|
120
143
|
function run() {
|
121
|
-
var args =
|
144
|
+
var args = void 0;
|
145
|
+
|
146
|
+
try {
|
147
|
+
args = processRunOptions(options);
|
148
|
+
} catch (err) {
|
149
|
+
if (err.details) {
|
150
|
+
return exitWithError(err.details)();
|
151
|
+
}
|
152
|
+
|
153
|
+
throw err;
|
154
|
+
}
|
122
155
|
|
123
156
|
debug('run to spawn.start args %j', args);
|
124
157
|
|
package/lib/exec/spawn.js
CHANGED
@@ -71,10 +71,15 @@ module.exports = {
|
|
71
71
|
|
72
72
|
debug('needs to start own Xvfb?', needsXvfb);
|
73
73
|
|
74
|
-
//
|
74
|
+
// 1. Start arguments with "--" so Electron knows these are OUR
|
75
|
+
// arguments and does not try to sanitize them. Otherwise on Windows
|
76
|
+
// an url in one of the arguments crashes it :(
|
77
|
+
// https://github.com/cypress-io/cypress/issues/5466
|
78
|
+
|
79
|
+
// 2. Always push cwd into the args
|
75
80
|
// which additionally acts as a signal to the
|
76
81
|
// binary that it was invoked through the NPM module
|
77
|
-
args = [].concat(args, '--cwd', process.cwd());
|
82
|
+
args = ['--'].concat(args, '--cwd', process.cwd());
|
78
83
|
|
79
84
|
_.defaults(options, {
|
80
85
|
dev: false,
|
@@ -97,6 +102,8 @@ module.exports = {
|
|
97
102
|
// the launch cmd to be 'npm run dev'
|
98
103
|
executable = 'node';
|
99
104
|
args.unshift(path.resolve(__dirname, '..', '..', '..', 'scripts', 'start.js'));
|
105
|
+
|
106
|
+
debug('in dev mode the args became %o', args);
|
100
107
|
}
|
101
108
|
|
102
109
|
var onStderrData = overrides.onStderrData,
|
@@ -106,8 +113,10 @@ module.exports = {
|
|
106
113
|
var electronArgs = _.clone(args);
|
107
114
|
var node11WindowsFix = isPlatform('win32');
|
108
115
|
|
109
|
-
if (verify.needsSandbox()) {
|
110
|
-
|
116
|
+
if (!options.dev && verify.needsSandbox()) {
|
117
|
+
// this is one of the Electron's command line switches
|
118
|
+
// thus it needs to be before "--" separator
|
119
|
+
electronArgs.unshift('--no-sandbox');
|
111
120
|
}
|
112
121
|
|
113
122
|
// strip dev out of child process options
|
package/lib/exec/xvfb.js
CHANGED
@@ -20,20 +20,27 @@ var _require2 = require('../errors'),
|
|
20
20
|
|
21
21
|
var util = require('../util');
|
22
22
|
|
23
|
-
var
|
23
|
+
var xvfbOptions = {
|
24
24
|
timeout: 30000, // milliseconds
|
25
|
+
// need to explicitly define screen otherwise electron will crash
|
26
|
+
// https://github.com/cypress-io/cypress/issues/6184
|
27
|
+
xvfb_args: ['-screen', '0', '1280x1024x24'],
|
25
28
|
onStderrData: function onStderrData(data) {
|
26
29
|
if (debugXvfb.enabled) {
|
27
30
|
debugXvfb(data.toString());
|
28
31
|
}
|
29
32
|
}
|
30
|
-
}
|
33
|
+
};
|
34
|
+
|
35
|
+
var xvfb = Promise.promisifyAll(new Xvfb(xvfbOptions));
|
31
36
|
|
32
37
|
module.exports = {
|
33
38
|
_debugXvfb: debugXvfb, // expose for testing
|
34
39
|
|
35
40
|
_xvfb: xvfb, // expose for testing
|
36
41
|
|
42
|
+
_xvfbOptions: xvfbOptions, // expose for testing
|
43
|
+
|
37
44
|
start: function start() {
|
38
45
|
debug('Starting Xvfb');
|
39
46
|
|
package/lib/tasks/state.js
CHANGED
@@ -125,13 +125,20 @@ var getDistDir = function getDistDir() {
|
|
125
125
|
return path.join(__dirname, '..', '..', 'dist');
|
126
126
|
};
|
127
127
|
|
128
|
+
/**
|
129
|
+
* Returns full filename to the file that keeps the Test Runner verification state as JSON text.
|
130
|
+
* Note: the binary state file will be stored one level up from the given binary folder.
|
131
|
+
* @param {string} binaryDir - full path to the folder holding the binary.
|
132
|
+
*/
|
128
133
|
var getBinaryStatePath = function getBinaryStatePath(binaryDir) {
|
129
|
-
return path.join(binaryDir, 'binary_state.json');
|
134
|
+
return path.join(binaryDir, '..', 'binary_state.json');
|
130
135
|
};
|
131
136
|
|
132
137
|
var getBinaryStateContentsAsync = function getBinaryStateContentsAsync(binaryDir) {
|
133
|
-
|
134
|
-
|
138
|
+
var fullPath = getBinaryStatePath(binaryDir);
|
139
|
+
|
140
|
+
return fs.readJsonAsync(fullPath).catch({ code: 'ENOENT' }, SyntaxError, function () {
|
141
|
+
debug('could not read binary_state.json file at "%s"', fullPath);
|
135
142
|
|
136
143
|
return {};
|
137
144
|
});
|
@@ -146,7 +153,10 @@ var clearBinaryStateAsync = function clearBinaryStateAsync(binaryDir) {
|
|
146
153
|
};
|
147
154
|
|
148
155
|
/**
|
149
|
-
*
|
156
|
+
* Writes the new binary status.
|
157
|
+
* @param {boolean} verified The new test runner state after smoke test
|
158
|
+
* @param {string} binaryDir Folder holding the binary
|
159
|
+
* @returns {Promise<void>} returns a promise
|
150
160
|
*/
|
151
161
|
var writeBinaryVerifiedAsync = function writeBinaryVerifiedAsync(verified, binaryDir) {
|
152
162
|
return getBinaryStateContentsAsync(binaryDir).then(function (contents) {
|