cypress 3.1.4 → 3.3.1
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/cli.js +54 -15
- package/lib/errors.js +89 -41
- package/lib/exec/open.js +4 -0
- package/lib/exec/spawn.js +98 -19
- package/lib/exec/xvfb.js +38 -10
- package/lib/tasks/download.js +16 -1
- package/lib/tasks/verify.js +92 -39
- package/lib/util.js +68 -3
- package/package.json +18 -33
- package/types/blob-util/LICENSE +21 -0
- package/types/blob-util/README.md +16 -0
- package/types/blob-util/index.d.ts +97 -0
- package/types/bluebird/LICENSE +21 -0
- package/types/bluebird/README.md +16 -0
- package/types/bluebird/index.d.ts +1315 -0
- package/types/chai/LICENSE +21 -0
- package/types/chai/README.md +16 -0
- package/types/chai/index.d.ts +1624 -0
- package/types/chai-jquery/LICENSE +21 -0
- package/types/chai-jquery/README.md +16 -0
- package/types/chai-jquery/index.d.ts +2587 -0
- package/types/{blob-util.d.ts → cy-blob-util.d.ts} +1 -1
- package/types/{bluebird.d.ts → cy-bluebird.d.ts} +1 -1
- package/types/{chai.d.ts → cy-chai.d.ts} +1 -2
- package/types/cy-minimatch.d.ts +96 -0
- package/types/cy-moment.d.ts +7 -0
- package/types/cypress-npm-api.d.ts +504 -0
- package/types/index.d.ts +403 -125
- package/types/jquery/LICENSE +21 -0
- package/types/jquery/README.md +16 -0
- package/types/jquery/index.d.ts +8560 -0
- package/types/lodash/LICENSE +21 -0
- package/types/lodash/README.md +16 -0
- package/types/lodash/add.d.ts +2 -0
- package/types/lodash/after.d.ts +2 -0
- package/types/lodash/ary.d.ts +2 -0
- package/types/lodash/assign.d.ts +2 -0
- package/types/lodash/assignIn.d.ts +2 -0
- package/types/lodash/assignInWith.d.ts +2 -0
- package/types/lodash/assignWith.d.ts +2 -0
- package/types/lodash/at.d.ts +2 -0
- package/types/lodash/attempt.d.ts +2 -0
- package/types/lodash/before.d.ts +2 -0
- package/types/lodash/bind.d.ts +2 -0
- package/types/lodash/bindAll.d.ts +2 -0
- package/types/lodash/bindKey.d.ts +2 -0
- package/types/lodash/camelCase.d.ts +2 -0
- package/types/lodash/capitalize.d.ts +2 -0
- package/types/lodash/castArray.d.ts +2 -0
- package/types/lodash/ceil.d.ts +2 -0
- package/types/lodash/chain.d.ts +2 -0
- package/types/lodash/chunk.d.ts +2 -0
- package/types/lodash/clamp.d.ts +2 -0
- package/types/lodash/clone.d.ts +2 -0
- package/types/lodash/cloneDeep.d.ts +2 -0
- package/types/lodash/cloneDeepWith.d.ts +2 -0
- package/types/lodash/cloneWith.d.ts +2 -0
- package/types/lodash/common/array.d.ts +3708 -0
- package/types/lodash/common/collection.d.ts +2575 -0
- package/types/lodash/common/common.d.ts +270 -0
- package/types/lodash/common/date.d.ts +27 -0
- package/types/lodash/common/function.d.ts +1489 -0
- package/types/lodash/common/lang.d.ts +1936 -0
- package/types/lodash/common/math.d.ts +532 -0
- package/types/lodash/common/number.d.ts +178 -0
- package/types/lodash/common/object.d.ts +3905 -0
- package/types/lodash/common/seq.d.ts +196 -0
- package/types/lodash/common/string.d.ts +1059 -0
- package/types/lodash/common/util.d.ts +1463 -0
- package/types/lodash/compact.d.ts +2 -0
- package/types/lodash/concat.d.ts +2 -0
- package/types/lodash/cond.d.ts +2 -0
- package/types/lodash/conformsTo.d.ts +2 -0
- package/types/lodash/constant.d.ts +2 -0
- package/types/lodash/countBy.d.ts +2 -0
- package/types/lodash/create.d.ts +2 -0
- package/types/lodash/curry.d.ts +2 -0
- package/types/lodash/curryRight.d.ts +2 -0
- package/types/lodash/debounce.d.ts +2 -0
- package/types/lodash/deburr.d.ts +2 -0
- package/types/lodash/defaultTo.d.ts +2 -0
- package/types/lodash/defaults.d.ts +2 -0
- package/types/lodash/defaultsDeep.d.ts +2 -0
- package/types/lodash/defer.d.ts +2 -0
- package/types/lodash/delay.d.ts +2 -0
- package/types/lodash/difference.d.ts +2 -0
- package/types/lodash/differenceBy.d.ts +2 -0
- package/types/lodash/differenceWith.d.ts +2 -0
- package/types/lodash/divide.d.ts +2 -0
- package/types/lodash/drop.d.ts +2 -0
- package/types/lodash/dropRight.d.ts +2 -0
- package/types/lodash/dropRightWhile.d.ts +2 -0
- package/types/lodash/dropWhile.d.ts +2 -0
- package/types/lodash/each.d.ts +2 -0
- package/types/lodash/eachRight.d.ts +2 -0
- package/types/lodash/endsWith.d.ts +2 -0
- package/types/lodash/entries.d.ts +2 -0
- package/types/lodash/entriesIn.d.ts +2 -0
- package/types/lodash/eq.d.ts +2 -0
- package/types/lodash/escape.d.ts +2 -0
- package/types/lodash/escapeRegExp.d.ts +2 -0
- package/types/lodash/every.d.ts +2 -0
- package/types/lodash/extend.d.ts +2 -0
- package/types/lodash/extendWith.d.ts +2 -0
- package/types/lodash/fill.d.ts +2 -0
- package/types/lodash/filter.d.ts +2 -0
- package/types/lodash/find.d.ts +2 -0
- package/types/lodash/findIndex.d.ts +2 -0
- package/types/lodash/findKey.d.ts +2 -0
- package/types/lodash/findLast.d.ts +2 -0
- package/types/lodash/findLastIndex.d.ts +2 -0
- package/types/lodash/findLastKey.d.ts +2 -0
- package/types/lodash/first.d.ts +2 -0
- package/types/lodash/flatMap.d.ts +2 -0
- package/types/lodash/flatMapDeep.d.ts +2 -0
- package/types/lodash/flatMapDepth.d.ts +2 -0
- package/types/lodash/flatten.d.ts +2 -0
- package/types/lodash/flattenDeep.d.ts +2 -0
- package/types/lodash/flattenDepth.d.ts +2 -0
- package/types/lodash/flip.d.ts +2 -0
- package/types/lodash/floor.d.ts +2 -0
- package/types/lodash/flow.d.ts +2 -0
- package/types/lodash/flowRight.d.ts +2 -0
- package/types/lodash/forEach.d.ts +2 -0
- package/types/lodash/forEachRight.d.ts +2 -0
- package/types/lodash/forIn.d.ts +2 -0
- package/types/lodash/forInRight.d.ts +2 -0
- package/types/lodash/forOwn.d.ts +2 -0
- package/types/lodash/forOwnRight.d.ts +2 -0
- package/types/lodash/fp/F.d.ts +2 -0
- package/types/lodash/fp/T.d.ts +2 -0
- package/types/lodash/fp/__.d.ts +3 -0
- package/types/lodash/fp/add.d.ts +2 -0
- package/types/lodash/fp/after.d.ts +2 -0
- package/types/lodash/fp/all.d.ts +2 -0
- package/types/lodash/fp/allPass.d.ts +2 -0
- package/types/lodash/fp/always.d.ts +2 -0
- package/types/lodash/fp/any.d.ts +2 -0
- package/types/lodash/fp/anyPass.d.ts +2 -0
- package/types/lodash/fp/apply.d.ts +2 -0
- package/types/lodash/fp/ary.d.ts +2 -0
- package/types/lodash/fp/assign.d.ts +2 -0
- package/types/lodash/fp/assignAll.d.ts +2 -0
- package/types/lodash/fp/assignAllWith.d.ts +2 -0
- package/types/lodash/fp/assignIn.d.ts +2 -0
- package/types/lodash/fp/assignInAll.d.ts +2 -0
- package/types/lodash/fp/assignInAllWith.d.ts +2 -0
- package/types/lodash/fp/assignInWith.d.ts +2 -0
- package/types/lodash/fp/assignWith.d.ts +2 -0
- package/types/lodash/fp/assoc.d.ts +2 -0
- package/types/lodash/fp/assocPath.d.ts +2 -0
- package/types/lodash/fp/at.d.ts +2 -0
- package/types/lodash/fp/attempt.d.ts +2 -0
- package/types/lodash/fp/before.d.ts +2 -0
- package/types/lodash/fp/bind.d.ts +2 -0
- package/types/lodash/fp/bindAll.d.ts +2 -0
- package/types/lodash/fp/bindKey.d.ts +2 -0
- package/types/lodash/fp/camelCase.d.ts +2 -0
- package/types/lodash/fp/capitalize.d.ts +2 -0
- package/types/lodash/fp/castArray.d.ts +2 -0
- package/types/lodash/fp/ceil.d.ts +2 -0
- package/types/lodash/fp/chunk.d.ts +2 -0
- package/types/lodash/fp/clamp.d.ts +2 -0
- package/types/lodash/fp/clone.d.ts +2 -0
- package/types/lodash/fp/cloneDeep.d.ts +2 -0
- package/types/lodash/fp/cloneDeepWith.d.ts +2 -0
- package/types/lodash/fp/cloneWith.d.ts +2 -0
- package/types/lodash/fp/compact.d.ts +2 -0
- package/types/lodash/fp/complement.d.ts +2 -0
- package/types/lodash/fp/compose.d.ts +2 -0
- package/types/lodash/fp/concat.d.ts +2 -0
- package/types/lodash/fp/cond.d.ts +2 -0
- package/types/lodash/fp/conforms.d.ts +2 -0
- package/types/lodash/fp/conformsTo.d.ts +2 -0
- package/types/lodash/fp/constant.d.ts +2 -0
- package/types/lodash/fp/contains.d.ts +2 -0
- package/types/lodash/fp/convert.d.ts +15 -0
- package/types/lodash/fp/countBy.d.ts +2 -0
- package/types/lodash/fp/create.d.ts +2 -0
- package/types/lodash/fp/curry.d.ts +2 -0
- package/types/lodash/fp/curryN.d.ts +2 -0
- package/types/lodash/fp/curryRight.d.ts +2 -0
- package/types/lodash/fp/curryRightN.d.ts +2 -0
- package/types/lodash/fp/debounce.d.ts +2 -0
- package/types/lodash/fp/deburr.d.ts +2 -0
- package/types/lodash/fp/defaultTo.d.ts +2 -0
- package/types/lodash/fp/defaults.d.ts +2 -0
- package/types/lodash/fp/defaultsAll.d.ts +2 -0
- package/types/lodash/fp/defaultsDeep.d.ts +2 -0
- package/types/lodash/fp/defaultsDeepAll.d.ts +2 -0
- package/types/lodash/fp/defer.d.ts +2 -0
- package/types/lodash/fp/delay.d.ts +2 -0
- package/types/lodash/fp/difference.d.ts +2 -0
- package/types/lodash/fp/differenceBy.d.ts +2 -0
- package/types/lodash/fp/differenceWith.d.ts +2 -0
- package/types/lodash/fp/dissoc.d.ts +2 -0
- package/types/lodash/fp/dissocPath.d.ts +2 -0
- package/types/lodash/fp/divide.d.ts +2 -0
- package/types/lodash/fp/drop.d.ts +2 -0
- package/types/lodash/fp/dropLast.d.ts +2 -0
- package/types/lodash/fp/dropLastWhile.d.ts +2 -0
- package/types/lodash/fp/dropRight.d.ts +2 -0
- package/types/lodash/fp/dropRightWhile.d.ts +2 -0
- package/types/lodash/fp/dropWhile.d.ts +2 -0
- package/types/lodash/fp/each.d.ts +2 -0
- package/types/lodash/fp/eachRight.d.ts +2 -0
- package/types/lodash/fp/endsWith.d.ts +2 -0
- package/types/lodash/fp/entries.d.ts +2 -0
- package/types/lodash/fp/entriesIn.d.ts +2 -0
- package/types/lodash/fp/eq.d.ts +2 -0
- package/types/lodash/fp/equals.d.ts +2 -0
- package/types/lodash/fp/escape.d.ts +2 -0
- package/types/lodash/fp/escapeRegExp.d.ts +2 -0
- package/types/lodash/fp/every.d.ts +2 -0
- package/types/lodash/fp/extend.d.ts +2 -0
- package/types/lodash/fp/extendAll.d.ts +2 -0
- package/types/lodash/fp/extendAllWith.d.ts +2 -0
- package/types/lodash/fp/extendWith.d.ts +2 -0
- package/types/lodash/fp/fill.d.ts +2 -0
- package/types/lodash/fp/filter.d.ts +2 -0
- package/types/lodash/fp/find.d.ts +2 -0
- package/types/lodash/fp/findFrom.d.ts +2 -0
- package/types/lodash/fp/findIndex.d.ts +2 -0
- package/types/lodash/fp/findIndexFrom.d.ts +2 -0
- package/types/lodash/fp/findKey.d.ts +2 -0
- package/types/lodash/fp/findLast.d.ts +2 -0
- package/types/lodash/fp/findLastFrom.d.ts +2 -0
- package/types/lodash/fp/findLastIndex.d.ts +2 -0
- package/types/lodash/fp/findLastIndexFrom.d.ts +2 -0
- package/types/lodash/fp/findLastKey.d.ts +2 -0
- package/types/lodash/fp/first.d.ts +2 -0
- package/types/lodash/fp/flatMap.d.ts +2 -0
- package/types/lodash/fp/flatMapDeep.d.ts +2 -0
- package/types/lodash/fp/flatMapDepth.d.ts +2 -0
- package/types/lodash/fp/flatten.d.ts +2 -0
- package/types/lodash/fp/flattenDeep.d.ts +2 -0
- package/types/lodash/fp/flattenDepth.d.ts +2 -0
- package/types/lodash/fp/flip.d.ts +2 -0
- package/types/lodash/fp/floor.d.ts +2 -0
- package/types/lodash/fp/flow.d.ts +2 -0
- package/types/lodash/fp/flowRight.d.ts +2 -0
- package/types/lodash/fp/forEach.d.ts +2 -0
- package/types/lodash/fp/forEachRight.d.ts +2 -0
- package/types/lodash/fp/forIn.d.ts +2 -0
- package/types/lodash/fp/forInRight.d.ts +2 -0
- package/types/lodash/fp/forOwn.d.ts +2 -0
- package/types/lodash/fp/forOwnRight.d.ts +2 -0
- package/types/lodash/fp/fromPairs.d.ts +2 -0
- package/types/lodash/fp/functions.d.ts +2 -0
- package/types/lodash/fp/functionsIn.d.ts +2 -0
- package/types/lodash/fp/get.d.ts +2 -0
- package/types/lodash/fp/getOr.d.ts +2 -0
- package/types/lodash/fp/groupBy.d.ts +2 -0
- package/types/lodash/fp/gt.d.ts +2 -0
- package/types/lodash/fp/gte.d.ts +2 -0
- package/types/lodash/fp/has.d.ts +2 -0
- package/types/lodash/fp/hasIn.d.ts +2 -0
- package/types/lodash/fp/head.d.ts +2 -0
- package/types/lodash/fp/identical.d.ts +2 -0
- package/types/lodash/fp/identity.d.ts +2 -0
- package/types/lodash/fp/inRange.d.ts +2 -0
- package/types/lodash/fp/includes.d.ts +2 -0
- package/types/lodash/fp/includesFrom.d.ts +2 -0
- package/types/lodash/fp/indexBy.d.ts +2 -0
- package/types/lodash/fp/indexOf.d.ts +2 -0
- package/types/lodash/fp/indexOfFrom.d.ts +2 -0
- package/types/lodash/fp/init.d.ts +2 -0
- package/types/lodash/fp/initial.d.ts +2 -0
- package/types/lodash/fp/intersection.d.ts +2 -0
- package/types/lodash/fp/intersectionBy.d.ts +2 -0
- package/types/lodash/fp/intersectionWith.d.ts +2 -0
- package/types/lodash/fp/invert.d.ts +2 -0
- package/types/lodash/fp/invertBy.d.ts +2 -0
- package/types/lodash/fp/invertObj.d.ts +2 -0
- package/types/lodash/fp/invoke.d.ts +2 -0
- package/types/lodash/fp/invokeArgs.d.ts +2 -0
- package/types/lodash/fp/invokeArgsMap.d.ts +2 -0
- package/types/lodash/fp/invokeMap.d.ts +2 -0
- package/types/lodash/fp/isArguments.d.ts +2 -0
- package/types/lodash/fp/isArray.d.ts +2 -0
- package/types/lodash/fp/isArrayBuffer.d.ts +2 -0
- package/types/lodash/fp/isArrayLike.d.ts +2 -0
- package/types/lodash/fp/isArrayLikeObject.d.ts +2 -0
- package/types/lodash/fp/isBoolean.d.ts +2 -0
- package/types/lodash/fp/isBuffer.d.ts +2 -0
- package/types/lodash/fp/isDate.d.ts +2 -0
- package/types/lodash/fp/isElement.d.ts +2 -0
- package/types/lodash/fp/isEmpty.d.ts +2 -0
- package/types/lodash/fp/isEqual.d.ts +2 -0
- package/types/lodash/fp/isEqualWith.d.ts +2 -0
- package/types/lodash/fp/isError.d.ts +2 -0
- package/types/lodash/fp/isFinite.d.ts +2 -0
- package/types/lodash/fp/isFunction.d.ts +2 -0
- package/types/lodash/fp/isInteger.d.ts +2 -0
- package/types/lodash/fp/isLength.d.ts +2 -0
- package/types/lodash/fp/isMap.d.ts +2 -0
- package/types/lodash/fp/isMatch.d.ts +2 -0
- package/types/lodash/fp/isMatchWith.d.ts +2 -0
- package/types/lodash/fp/isNaN.d.ts +2 -0
- package/types/lodash/fp/isNative.d.ts +2 -0
- package/types/lodash/fp/isNil.d.ts +2 -0
- package/types/lodash/fp/isNull.d.ts +2 -0
- package/types/lodash/fp/isNumber.d.ts +2 -0
- package/types/lodash/fp/isObject.d.ts +2 -0
- package/types/lodash/fp/isObjectLike.d.ts +2 -0
- package/types/lodash/fp/isPlainObject.d.ts +2 -0
- package/types/lodash/fp/isRegExp.d.ts +2 -0
- package/types/lodash/fp/isSafeInteger.d.ts +2 -0
- package/types/lodash/fp/isSet.d.ts +2 -0
- package/types/lodash/fp/isString.d.ts +2 -0
- package/types/lodash/fp/isSymbol.d.ts +2 -0
- package/types/lodash/fp/isTypedArray.d.ts +2 -0
- package/types/lodash/fp/isUndefined.d.ts +2 -0
- package/types/lodash/fp/isWeakMap.d.ts +2 -0
- package/types/lodash/fp/isWeakSet.d.ts +2 -0
- package/types/lodash/fp/iteratee.d.ts +2 -0
- package/types/lodash/fp/join.d.ts +2 -0
- package/types/lodash/fp/juxt.d.ts +2 -0
- package/types/lodash/fp/kebabCase.d.ts +2 -0
- package/types/lodash/fp/keyBy.d.ts +2 -0
- package/types/lodash/fp/keys.d.ts +2 -0
- package/types/lodash/fp/keysIn.d.ts +2 -0
- package/types/lodash/fp/last.d.ts +2 -0
- package/types/lodash/fp/lastIndexOf.d.ts +2 -0
- package/types/lodash/fp/lastIndexOfFrom.d.ts +2 -0
- package/types/lodash/fp/lowerCase.d.ts +2 -0
- package/types/lodash/fp/lowerFirst.d.ts +2 -0
- package/types/lodash/fp/lt.d.ts +2 -0
- package/types/lodash/fp/lte.d.ts +2 -0
- package/types/lodash/fp/map.d.ts +2 -0
- package/types/lodash/fp/mapKeys.d.ts +2 -0
- package/types/lodash/fp/mapValues.d.ts +2 -0
- package/types/lodash/fp/matches.d.ts +2 -0
- package/types/lodash/fp/matchesProperty.d.ts +2 -0
- package/types/lodash/fp/max.d.ts +2 -0
- package/types/lodash/fp/maxBy.d.ts +2 -0
- package/types/lodash/fp/mean.d.ts +2 -0
- package/types/lodash/fp/meanBy.d.ts +2 -0
- package/types/lodash/fp/memoize.d.ts +2 -0
- package/types/lodash/fp/merge.d.ts +2 -0
- package/types/lodash/fp/mergeAll.d.ts +2 -0
- package/types/lodash/fp/mergeAllWith.d.ts +2 -0
- package/types/lodash/fp/mergeWith.d.ts +2 -0
- package/types/lodash/fp/method.d.ts +2 -0
- package/types/lodash/fp/methodOf.d.ts +2 -0
- package/types/lodash/fp/min.d.ts +2 -0
- package/types/lodash/fp/minBy.d.ts +2 -0
- package/types/lodash/fp/multiply.d.ts +2 -0
- package/types/lodash/fp/nAry.d.ts +2 -0
- package/types/lodash/fp/negate.d.ts +2 -0
- package/types/lodash/fp/noConflict.d.ts +2 -0
- package/types/lodash/fp/noop.d.ts +2 -0
- package/types/lodash/fp/now.d.ts +2 -0
- package/types/lodash/fp/nth.d.ts +2 -0
- package/types/lodash/fp/nthArg.d.ts +2 -0
- package/types/lodash/fp/omit.d.ts +2 -0
- package/types/lodash/fp/omitAll.d.ts +2 -0
- package/types/lodash/fp/omitBy.d.ts +2 -0
- package/types/lodash/fp/once.d.ts +2 -0
- package/types/lodash/fp/orderBy.d.ts +2 -0
- package/types/lodash/fp/over.d.ts +2 -0
- package/types/lodash/fp/overArgs.d.ts +2 -0
- package/types/lodash/fp/overEvery.d.ts +2 -0
- package/types/lodash/fp/overSome.d.ts +2 -0
- package/types/lodash/fp/pad.d.ts +2 -0
- package/types/lodash/fp/padChars.d.ts +2 -0
- package/types/lodash/fp/padCharsEnd.d.ts +2 -0
- package/types/lodash/fp/padCharsStart.d.ts +2 -0
- package/types/lodash/fp/padEnd.d.ts +2 -0
- package/types/lodash/fp/padStart.d.ts +2 -0
- package/types/lodash/fp/parseInt.d.ts +2 -0
- package/types/lodash/fp/partial.d.ts +2 -0
- package/types/lodash/fp/partialRight.d.ts +2 -0
- package/types/lodash/fp/partition.d.ts +2 -0
- package/types/lodash/fp/path.d.ts +2 -0
- package/types/lodash/fp/pathEq.d.ts +2 -0
- package/types/lodash/fp/pathOr.d.ts +2 -0
- package/types/lodash/fp/paths.d.ts +2 -0
- package/types/lodash/fp/pick.d.ts +2 -0
- package/types/lodash/fp/pickAll.d.ts +2 -0
- package/types/lodash/fp/pickBy.d.ts +2 -0
- package/types/lodash/fp/pipe.d.ts +2 -0
- package/types/lodash/fp/placeholder.d.ts +3 -0
- package/types/lodash/fp/pluck.d.ts +2 -0
- package/types/lodash/fp/prop.d.ts +2 -0
- package/types/lodash/fp/propEq.d.ts +2 -0
- package/types/lodash/fp/propOr.d.ts +2 -0
- package/types/lodash/fp/property.d.ts +2 -0
- package/types/lodash/fp/propertyOf.d.ts +2 -0
- package/types/lodash/fp/props.d.ts +2 -0
- package/types/lodash/fp/pull.d.ts +2 -0
- package/types/lodash/fp/pullAll.d.ts +2 -0
- package/types/lodash/fp/pullAllBy.d.ts +2 -0
- package/types/lodash/fp/pullAllWith.d.ts +2 -0
- package/types/lodash/fp/pullAt.d.ts +2 -0
- package/types/lodash/fp/random.d.ts +2 -0
- package/types/lodash/fp/range.d.ts +2 -0
- package/types/lodash/fp/rangeRight.d.ts +2 -0
- package/types/lodash/fp/rangeStep.d.ts +2 -0
- package/types/lodash/fp/rangeStepRight.d.ts +2 -0
- package/types/lodash/fp/rearg.d.ts +2 -0
- package/types/lodash/fp/reduce.d.ts +2 -0
- package/types/lodash/fp/reduceRight.d.ts +2 -0
- package/types/lodash/fp/reject.d.ts +2 -0
- package/types/lodash/fp/remove.d.ts +2 -0
- package/types/lodash/fp/repeat.d.ts +2 -0
- package/types/lodash/fp/replace.d.ts +2 -0
- package/types/lodash/fp/rest.d.ts +2 -0
- package/types/lodash/fp/restFrom.d.ts +2 -0
- package/types/lodash/fp/result.d.ts +2 -0
- package/types/lodash/fp/reverse.d.ts +2 -0
- package/types/lodash/fp/round.d.ts +2 -0
- package/types/lodash/fp/runInContext.d.ts +2 -0
- package/types/lodash/fp/sample.d.ts +2 -0
- package/types/lodash/fp/sampleSize.d.ts +2 -0
- package/types/lodash/fp/set.d.ts +2 -0
- package/types/lodash/fp/setWith.d.ts +2 -0
- package/types/lodash/fp/shuffle.d.ts +2 -0
- package/types/lodash/fp/size.d.ts +2 -0
- package/types/lodash/fp/slice.d.ts +2 -0
- package/types/lodash/fp/snakeCase.d.ts +2 -0
- package/types/lodash/fp/some.d.ts +2 -0
- package/types/lodash/fp/sortBy.d.ts +2 -0
- package/types/lodash/fp/sortedIndex.d.ts +2 -0
- package/types/lodash/fp/sortedIndexBy.d.ts +2 -0
- package/types/lodash/fp/sortedIndexOf.d.ts +2 -0
- package/types/lodash/fp/sortedLastIndex.d.ts +2 -0
- package/types/lodash/fp/sortedLastIndexBy.d.ts +2 -0
- package/types/lodash/fp/sortedLastIndexOf.d.ts +2 -0
- package/types/lodash/fp/sortedUniq.d.ts +2 -0
- package/types/lodash/fp/sortedUniqBy.d.ts +2 -0
- package/types/lodash/fp/split.d.ts +2 -0
- package/types/lodash/fp/spread.d.ts +2 -0
- package/types/lodash/fp/spreadFrom.d.ts +2 -0
- package/types/lodash/fp/startCase.d.ts +2 -0
- package/types/lodash/fp/startsWith.d.ts +2 -0
- package/types/lodash/fp/stubArray.d.ts +2 -0
- package/types/lodash/fp/stubFalse.d.ts +2 -0
- package/types/lodash/fp/stubObject.d.ts +2 -0
- package/types/lodash/fp/stubString.d.ts +2 -0
- package/types/lodash/fp/stubTrue.d.ts +2 -0
- package/types/lodash/fp/subtract.d.ts +2 -0
- package/types/lodash/fp/sum.d.ts +2 -0
- package/types/lodash/fp/sumBy.d.ts +2 -0
- package/types/lodash/fp/symmetricDifference.d.ts +2 -0
- package/types/lodash/fp/symmetricDifferenceBy.d.ts +2 -0
- package/types/lodash/fp/symmetricDifferenceWith.d.ts +2 -0
- package/types/lodash/fp/tail.d.ts +2 -0
- package/types/lodash/fp/take.d.ts +2 -0
- package/types/lodash/fp/takeLast.d.ts +2 -0
- package/types/lodash/fp/takeLastWhile.d.ts +2 -0
- package/types/lodash/fp/takeRight.d.ts +2 -0
- package/types/lodash/fp/takeRightWhile.d.ts +2 -0
- package/types/lodash/fp/takeWhile.d.ts +2 -0
- package/types/lodash/fp/tap.d.ts +2 -0
- package/types/lodash/fp/template.d.ts +2 -0
- package/types/lodash/fp/throttle.d.ts +2 -0
- package/types/lodash/fp/thru.d.ts +2 -0
- package/types/lodash/fp/times.d.ts +2 -0
- package/types/lodash/fp/toArray.d.ts +2 -0
- package/types/lodash/fp/toFinite.d.ts +2 -0
- package/types/lodash/fp/toInteger.d.ts +2 -0
- package/types/lodash/fp/toLength.d.ts +2 -0
- package/types/lodash/fp/toLower.d.ts +2 -0
- package/types/lodash/fp/toNumber.d.ts +2 -0
- package/types/lodash/fp/toPairs.d.ts +2 -0
- package/types/lodash/fp/toPairsIn.d.ts +2 -0
- package/types/lodash/fp/toPath.d.ts +2 -0
- package/types/lodash/fp/toPlainObject.d.ts +2 -0
- package/types/lodash/fp/toSafeInteger.d.ts +2 -0
- package/types/lodash/fp/toString.d.ts +2 -0
- package/types/lodash/fp/toUpper.d.ts +2 -0
- package/types/lodash/fp/transform.d.ts +2 -0
- package/types/lodash/fp/trim.d.ts +2 -0
- package/types/lodash/fp/trimChars.d.ts +2 -0
- package/types/lodash/fp/trimCharsEnd.d.ts +2 -0
- package/types/lodash/fp/trimCharsStart.d.ts +2 -0
- package/types/lodash/fp/trimEnd.d.ts +2 -0
- package/types/lodash/fp/trimStart.d.ts +2 -0
- package/types/lodash/fp/truncate.d.ts +2 -0
- package/types/lodash/fp/unapply.d.ts +2 -0
- package/types/lodash/fp/unary.d.ts +2 -0
- package/types/lodash/fp/unescape.d.ts +2 -0
- package/types/lodash/fp/union.d.ts +2 -0
- package/types/lodash/fp/unionBy.d.ts +2 -0
- package/types/lodash/fp/unionWith.d.ts +2 -0
- package/types/lodash/fp/uniq.d.ts +2 -0
- package/types/lodash/fp/uniqBy.d.ts +2 -0
- package/types/lodash/fp/uniqWith.d.ts +2 -0
- package/types/lodash/fp/uniqueId.d.ts +2 -0
- package/types/lodash/fp/unnest.d.ts +2 -0
- package/types/lodash/fp/unset.d.ts +2 -0
- package/types/lodash/fp/unzip.d.ts +2 -0
- package/types/lodash/fp/unzipWith.d.ts +2 -0
- package/types/lodash/fp/update.d.ts +2 -0
- package/types/lodash/fp/updateWith.d.ts +2 -0
- package/types/lodash/fp/upperCase.d.ts +2 -0
- package/types/lodash/fp/upperFirst.d.ts +2 -0
- package/types/lodash/fp/useWith.d.ts +2 -0
- package/types/lodash/fp/values.d.ts +2 -0
- package/types/lodash/fp/valuesIn.d.ts +2 -0
- package/types/lodash/fp/where.d.ts +2 -0
- package/types/lodash/fp/whereEq.d.ts +2 -0
- package/types/lodash/fp/without.d.ts +2 -0
- package/types/lodash/fp/words.d.ts +2 -0
- package/types/lodash/fp/wrap.d.ts +2 -0
- package/types/lodash/fp/xor.d.ts +2 -0
- package/types/lodash/fp/xorBy.d.ts +2 -0
- package/types/lodash/fp/xorWith.d.ts +2 -0
- package/types/lodash/fp/zip.d.ts +2 -0
- package/types/lodash/fp/zipAll.d.ts +2 -0
- package/types/lodash/fp/zipObj.d.ts +2 -0
- package/types/lodash/fp/zipObject.d.ts +2 -0
- package/types/lodash/fp/zipObjectDeep.d.ts +2 -0
- package/types/lodash/fp/zipWith.d.ts +2 -0
- package/types/lodash/fp.d.ts +4766 -0
- package/types/lodash/fromPairs.d.ts +2 -0
- package/types/lodash/functions.d.ts +2 -0
- package/types/lodash/functionsIn.d.ts +2 -0
- package/types/lodash/get.d.ts +2 -0
- package/types/lodash/groupBy.d.ts +2 -0
- package/types/lodash/gt.d.ts +2 -0
- package/types/lodash/gte.d.ts +2 -0
- package/types/lodash/has.d.ts +2 -0
- package/types/lodash/hasIn.d.ts +2 -0
- package/types/lodash/head.d.ts +2 -0
- package/types/lodash/identity.d.ts +2 -0
- package/types/lodash/inRange.d.ts +2 -0
- package/types/lodash/includes.d.ts +2 -0
- package/types/lodash/index.d.ts +47 -0
- package/types/lodash/indexOf.d.ts +2 -0
- package/types/lodash/initial.d.ts +2 -0
- package/types/lodash/intersection.d.ts +2 -0
- package/types/lodash/intersectionBy.d.ts +2 -0
- package/types/lodash/intersectionWith.d.ts +2 -0
- package/types/lodash/invert.d.ts +2 -0
- package/types/lodash/invertBy.d.ts +2 -0
- package/types/lodash/invoke.d.ts +2 -0
- package/types/lodash/invokeMap.d.ts +2 -0
- package/types/lodash/isArguments.d.ts +2 -0
- package/types/lodash/isArray.d.ts +2 -0
- package/types/lodash/isArrayBuffer.d.ts +2 -0
- package/types/lodash/isArrayLike.d.ts +2 -0
- package/types/lodash/isArrayLikeObject.d.ts +2 -0
- package/types/lodash/isBoolean.d.ts +2 -0
- package/types/lodash/isBuffer.d.ts +2 -0
- package/types/lodash/isDate.d.ts +2 -0
- package/types/lodash/isElement.d.ts +2 -0
- package/types/lodash/isEmpty.d.ts +2 -0
- package/types/lodash/isEqual.d.ts +2 -0
- package/types/lodash/isEqualWith.d.ts +2 -0
- package/types/lodash/isError.d.ts +2 -0
- package/types/lodash/isFinite.d.ts +2 -0
- package/types/lodash/isFunction.d.ts +2 -0
- package/types/lodash/isInteger.d.ts +2 -0
- package/types/lodash/isLength.d.ts +2 -0
- package/types/lodash/isMap.d.ts +2 -0
- package/types/lodash/isMatch.d.ts +2 -0
- package/types/lodash/isMatchWith.d.ts +2 -0
- package/types/lodash/isNaN.d.ts +2 -0
- package/types/lodash/isNative.d.ts +2 -0
- package/types/lodash/isNil.d.ts +2 -0
- package/types/lodash/isNull.d.ts +2 -0
- package/types/lodash/isNumber.d.ts +2 -0
- package/types/lodash/isObject.d.ts +2 -0
- package/types/lodash/isObjectLike.d.ts +2 -0
- package/types/lodash/isPlainObject.d.ts +2 -0
- package/types/lodash/isRegExp.d.ts +2 -0
- package/types/lodash/isSafeInteger.d.ts +2 -0
- package/types/lodash/isSet.d.ts +2 -0
- package/types/lodash/isString.d.ts +2 -0
- package/types/lodash/isSymbol.d.ts +2 -0
- package/types/lodash/isTypedArray.d.ts +2 -0
- package/types/lodash/isUndefined.d.ts +2 -0
- package/types/lodash/isWeakMap.d.ts +2 -0
- package/types/lodash/isWeakSet.d.ts +2 -0
- package/types/lodash/iteratee.d.ts +2 -0
- package/types/lodash/join.d.ts +2 -0
- package/types/lodash/kebabCase.d.ts +2 -0
- package/types/lodash/keyBy.d.ts +2 -0
- package/types/lodash/keys.d.ts +2 -0
- package/types/lodash/keysIn.d.ts +2 -0
- package/types/lodash/last.d.ts +2 -0
- package/types/lodash/lastIndexOf.d.ts +2 -0
- package/types/lodash/lowerCase.d.ts +2 -0
- package/types/lodash/lowerFirst.d.ts +2 -0
- package/types/lodash/lt.d.ts +2 -0
- package/types/lodash/lte.d.ts +2 -0
- package/types/lodash/map.d.ts +2 -0
- package/types/lodash/mapKeys.d.ts +2 -0
- package/types/lodash/mapValues.d.ts +2 -0
- package/types/lodash/matches.d.ts +2 -0
- package/types/lodash/matchesProperty.d.ts +2 -0
- package/types/lodash/max.d.ts +2 -0
- package/types/lodash/maxBy.d.ts +2 -0
- package/types/lodash/mean.d.ts +2 -0
- package/types/lodash/meanBy.d.ts +2 -0
- package/types/lodash/memoize.d.ts +2 -0
- package/types/lodash/merge.d.ts +2 -0
- package/types/lodash/mergeWith.d.ts +2 -0
- package/types/lodash/method.d.ts +2 -0
- package/types/lodash/methodOf.d.ts +2 -0
- package/types/lodash/min.d.ts +2 -0
- package/types/lodash/minBy.d.ts +2 -0
- package/types/lodash/mixin.d.ts +2 -0
- package/types/lodash/negate.d.ts +2 -0
- package/types/lodash/noConflict.d.ts +2 -0
- package/types/lodash/noop.d.ts +2 -0
- package/types/lodash/now.d.ts +2 -0
- package/types/lodash/nth.d.ts +2 -0
- package/types/lodash/nthArg.d.ts +2 -0
- package/types/lodash/omit.d.ts +2 -0
- package/types/lodash/omitBy.d.ts +2 -0
- package/types/lodash/once.d.ts +2 -0
- package/types/lodash/orderBy.d.ts +2 -0
- package/types/lodash/over.d.ts +2 -0
- package/types/lodash/overArgs.d.ts +2 -0
- package/types/lodash/overEvery.d.ts +2 -0
- package/types/lodash/overSome.d.ts +2 -0
- package/types/lodash/pad.d.ts +2 -0
- package/types/lodash/padEnd.d.ts +2 -0
- package/types/lodash/padStart.d.ts +2 -0
- package/types/lodash/parseInt.d.ts +2 -0
- package/types/lodash/partial.d.ts +2 -0
- package/types/lodash/partialRight.d.ts +2 -0
- package/types/lodash/partition.d.ts +2 -0
- package/types/lodash/pick.d.ts +2 -0
- package/types/lodash/pickBy.d.ts +2 -0
- package/types/lodash/property.d.ts +2 -0
- package/types/lodash/propertyOf.d.ts +2 -0
- package/types/lodash/pull.d.ts +2 -0
- package/types/lodash/pullAll.d.ts +2 -0
- package/types/lodash/pullAllBy.d.ts +2 -0
- package/types/lodash/pullAllWith.d.ts +2 -0
- package/types/lodash/pullAt.d.ts +2 -0
- package/types/lodash/random.d.ts +2 -0
- package/types/lodash/range.d.ts +2 -0
- package/types/lodash/rangeRight.d.ts +2 -0
- package/types/lodash/rearg.d.ts +2 -0
- package/types/lodash/reduce.d.ts +2 -0
- package/types/lodash/reduceRight.d.ts +2 -0
- package/types/lodash/reject.d.ts +2 -0
- package/types/lodash/remove.d.ts +2 -0
- package/types/lodash/repeat.d.ts +2 -0
- package/types/lodash/replace.d.ts +2 -0
- package/types/lodash/rest.d.ts +2 -0
- package/types/lodash/result.d.ts +2 -0
- package/types/lodash/reverse.d.ts +2 -0
- package/types/lodash/round.d.ts +2 -0
- package/types/lodash/runInContext.d.ts +2 -0
- package/types/lodash/sample.d.ts +2 -0
- package/types/lodash/sampleSize.d.ts +2 -0
- package/types/lodash/set.d.ts +2 -0
- package/types/lodash/setWith.d.ts +2 -0
- package/types/lodash/shuffle.d.ts +2 -0
- package/types/lodash/size.d.ts +2 -0
- package/types/lodash/slice.d.ts +2 -0
- package/types/lodash/snakeCase.d.ts +2 -0
- package/types/lodash/some.d.ts +2 -0
- package/types/lodash/sortBy.d.ts +2 -0
- package/types/lodash/sortedIndex.d.ts +2 -0
- package/types/lodash/sortedIndexBy.d.ts +2 -0
- package/types/lodash/sortedIndexOf.d.ts +2 -0
- package/types/lodash/sortedLastIndex.d.ts +2 -0
- package/types/lodash/sortedLastIndexBy.d.ts +2 -0
- package/types/lodash/sortedLastIndexOf.d.ts +2 -0
- package/types/lodash/sortedUniq.d.ts +2 -0
- package/types/lodash/sortedUniqBy.d.ts +2 -0
- package/types/lodash/split.d.ts +2 -0
- package/types/lodash/spread.d.ts +2 -0
- package/types/lodash/startCase.d.ts +2 -0
- package/types/lodash/startsWith.d.ts +2 -0
- package/types/lodash/subtract.d.ts +2 -0
- package/types/lodash/sum.d.ts +2 -0
- package/types/lodash/sumBy.d.ts +2 -0
- package/types/lodash/tail.d.ts +2 -0
- package/types/lodash/take.d.ts +2 -0
- package/types/lodash/takeRight.d.ts +2 -0
- package/types/lodash/takeRightWhile.d.ts +2 -0
- package/types/lodash/takeWhile.d.ts +2 -0
- package/types/lodash/tap.d.ts +2 -0
- package/types/lodash/template.d.ts +2 -0
- package/types/lodash/throttle.d.ts +2 -0
- package/types/lodash/thru.d.ts +2 -0
- package/types/lodash/times.d.ts +2 -0
- package/types/lodash/toArray.d.ts +2 -0
- package/types/lodash/toFinite.d.ts +2 -0
- package/types/lodash/toInteger.d.ts +2 -0
- package/types/lodash/toLength.d.ts +2 -0
- package/types/lodash/toLower.d.ts +2 -0
- package/types/lodash/toNumber.d.ts +2 -0
- package/types/lodash/toPairs.d.ts +2 -0
- package/types/lodash/toPairsIn.d.ts +2 -0
- package/types/lodash/toPath.d.ts +2 -0
- package/types/lodash/toPlainObject.d.ts +2 -0
- package/types/lodash/toSafeInteger.d.ts +2 -0
- package/types/lodash/toString.d.ts +2 -0
- package/types/lodash/toUpper.d.ts +2 -0
- package/types/lodash/transform.d.ts +2 -0
- package/types/lodash/trim.d.ts +2 -0
- package/types/lodash/trimEnd.d.ts +2 -0
- package/types/lodash/trimStart.d.ts +2 -0
- package/types/lodash/truncate.d.ts +2 -0
- package/types/lodash/unary.d.ts +2 -0
- package/types/lodash/unescape.d.ts +2 -0
- package/types/lodash/union.d.ts +2 -0
- package/types/lodash/unionBy.d.ts +2 -0
- package/types/lodash/unionWith.d.ts +2 -0
- package/types/lodash/uniq.d.ts +2 -0
- package/types/lodash/uniqBy.d.ts +2 -0
- package/types/lodash/uniqWith.d.ts +2 -0
- package/types/lodash/uniqueId.d.ts +2 -0
- package/types/lodash/unset.d.ts +2 -0
- package/types/lodash/unzip.d.ts +2 -0
- package/types/lodash/unzipWith.d.ts +2 -0
- package/types/lodash/update.d.ts +2 -0
- package/types/lodash/updateWith.d.ts +2 -0
- package/types/lodash/upperCase.d.ts +2 -0
- package/types/lodash/upperFirst.d.ts +2 -0
- package/types/lodash/values.d.ts +2 -0
- package/types/lodash/valuesIn.d.ts +2 -0
- package/types/lodash/without.d.ts +2 -0
- package/types/lodash/words.d.ts +2 -0
- package/types/lodash/wrap.d.ts +2 -0
- package/types/lodash/xor.d.ts +2 -0
- package/types/lodash/xorBy.d.ts +2 -0
- package/types/lodash/xorWith.d.ts +2 -0
- package/types/lodash/zip.d.ts +2 -0
- package/types/lodash/zipObject.d.ts +2 -0
- package/types/lodash/zipObjectDeep.d.ts +2 -0
- package/types/lodash/zipWith.d.ts +2 -0
- package/types/minimatch/LICENSE +21 -0
- package/types/minimatch/README.md +16 -0
- package/types/minimatch/index.d.ts +214 -0
- package/types/mocha/LICENSE +21 -0
- package/types/mocha/README.md +16 -0
- package/types/mocha/index.d.ts +241 -0
- package/types/sinon/LICENSE +21 -0
- package/types/sinon/README.md +16 -0
- package/types/sinon/index.d.ts +1659 -0
- package/types/sinon/ts3.1/index.d.ts +1747 -0
- package/types/sinon-chai/LICENSE +21 -0
- package/types/sinon-chai/README.md +16 -0
- package/types/sinon-chai/index.d.ts +109 -0
- package/types/minimatch.d.ts +0 -11
- package/types/moment.d.ts +0 -11
package/lib/exec/xvfb.js
CHANGED
@@ -1,15 +1,24 @@
|
|
1
1
|
'use strict';
|
2
2
|
|
3
|
+
var _templateObject = _taggedTemplateLiteral(['\n DISPLAY environment variable is set to ', ' on Linux\n Assuming this DISPLAY points at working X11 server,\n Cypress will not spawn own Xvfb\n\n NOTE: if the X11 server is NOT working, Cypress will exit without explanation,\n see ', '\n Solution: Unset the DISPLAY variable and try again:\n DISPLAY= npx cypress run ...\n '], ['\n DISPLAY environment variable is set to ', ' on Linux\n Assuming this DISPLAY points at working X11 server,\n Cypress will not spawn own Xvfb\n\n NOTE: if the X11 server is NOT working, Cypress will exit without explanation,\n see ', '\n Solution: Unset the DISPLAY variable and try again:\n DISPLAY= npx cypress run ...\n ']);
|
4
|
+
|
5
|
+
function _taggedTemplateLiteral(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
6
|
+
|
3
7
|
var os = require('os');
|
4
8
|
var Promise = require('bluebird');
|
5
9
|
var Xvfb = require('@cypress/xvfb');
|
6
|
-
|
10
|
+
|
11
|
+
var _require = require('common-tags'),
|
12
|
+
stripIndent = _require.stripIndent;
|
13
|
+
|
7
14
|
var debug = require('debug')('cypress:cli');
|
8
15
|
var debugXvfb = require('debug')('cypress:xvfb');
|
9
16
|
|
10
|
-
var
|
11
|
-
throwFormErrorText =
|
12
|
-
errors =
|
17
|
+
var _require2 = require('../errors'),
|
18
|
+
throwFormErrorText = _require2.throwFormErrorText,
|
19
|
+
errors = _require2.errors;
|
20
|
+
|
21
|
+
var util = require('../util');
|
13
22
|
|
14
23
|
var xvfb = Promise.promisifyAll(new Xvfb({
|
15
24
|
timeout: 5000, // milliseconds
|
@@ -26,9 +35,9 @@ module.exports = {
|
|
26
35
|
_xvfb: xvfb, // expose for testing
|
27
36
|
|
28
37
|
start: function start() {
|
29
|
-
debug('Starting
|
38
|
+
debug('Starting Xvfb');
|
30
39
|
|
31
|
-
return xvfb.startAsync().catch({ nonZeroExitCode: true }, throwFormErrorText(errors.nonZeroExitCodeXvfb)).catch(function (err) {
|
40
|
+
return xvfb.startAsync().return(null).catch({ nonZeroExitCode: true }, throwFormErrorText(errors.nonZeroExitCodeXvfb)).catch(function (err) {
|
32
41
|
if (err.known) {
|
33
42
|
throw err;
|
34
43
|
}
|
@@ -37,18 +46,37 @@ module.exports = {
|
|
37
46
|
});
|
38
47
|
},
|
39
48
|
stop: function stop() {
|
40
|
-
debug('Stopping
|
49
|
+
debug('Stopping Xvfb');
|
41
50
|
|
42
|
-
return xvfb.stopAsync()
|
51
|
+
return xvfb.stopAsync().return(null).catch(function () {
|
52
|
+
// noop
|
53
|
+
});
|
43
54
|
},
|
44
55
|
isNeeded: function isNeeded() {
|
45
|
-
|
56
|
+
if (os.platform() !== 'linux') {
|
57
|
+
return false;
|
58
|
+
}
|
59
|
+
|
60
|
+
if (process.env.DISPLAY) {
|
61
|
+
var issueUrl = util.getGitHubIssueUrl(4034);
|
62
|
+
|
63
|
+
var message = stripIndent(_templateObject, process.env.DISPLAY, issueUrl);
|
64
|
+
|
65
|
+
debug(message);
|
66
|
+
|
67
|
+
return false;
|
68
|
+
}
|
69
|
+
|
70
|
+
debug('undefined DISPLAY environment variable');
|
71
|
+
debug('Cypress will spawn its own Xvfb');
|
72
|
+
|
73
|
+
return true;
|
46
74
|
},
|
47
75
|
|
48
76
|
|
49
77
|
// async method, resolved with Boolean
|
50
78
|
verify: function verify() {
|
51
|
-
return xvfb.startAsync().
|
79
|
+
return xvfb.startAsync().return(true).catch(function (err) {
|
52
80
|
debug('Could not verify xvfb: %s', err.message);
|
53
81
|
|
54
82
|
return false;
|
package/lib/tasks/download.js
CHANGED
@@ -7,6 +7,7 @@ var _templateObject = _taggedTemplateLiteral(['\n URL: ', '\n ', '\n '],
|
|
7
7
|
|
8
8
|
function _taggedTemplateLiteral(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
9
9
|
|
10
|
+
var arch = require('arch');
|
10
11
|
var la = require('lazy-ass');
|
11
12
|
var is = require('check-more-types');
|
12
13
|
var os = require('os');
|
@@ -29,6 +30,20 @@ var util = require('../util');
|
|
29
30
|
|
30
31
|
var defaultBaseUrl = 'https://download.cypress.io/';
|
31
32
|
|
33
|
+
var getRealOsArch = function getRealOsArch() {
|
34
|
+
// os.arch() returns the arch for which this node was compiled
|
35
|
+
// we want the operating system's arch instead: x64 or x86
|
36
|
+
|
37
|
+
var osArch = arch();
|
38
|
+
|
39
|
+
if (osArch === 'x86') {
|
40
|
+
// match process.platform output
|
41
|
+
return 'ia32';
|
42
|
+
}
|
43
|
+
|
44
|
+
return osArch;
|
45
|
+
};
|
46
|
+
|
32
47
|
var getBaseUrl = function getBaseUrl() {
|
33
48
|
if (util.getEnv('CYPRESS_DOWNLOAD_MIRROR')) {
|
34
49
|
var baseUrl = util.getEnv('CYPRESS_DOWNLOAD_MIRROR');
|
@@ -46,7 +61,7 @@ var getBaseUrl = function getBaseUrl() {
|
|
46
61
|
var prepend = function prepend(urlPath) {
|
47
62
|
var endpoint = url.resolve(getBaseUrl(), urlPath);
|
48
63
|
var platform = os.platform();
|
49
|
-
var arch =
|
64
|
+
var arch = getRealOsArch();
|
50
65
|
|
51
66
|
return endpoint + '?platform=' + platform + '&arch=' + arch;
|
52
67
|
};
|
package/lib/tasks/verify.js
CHANGED
@@ -1,11 +1,10 @@
|
|
1
1
|
'use strict';
|
2
2
|
|
3
3
|
var _templateObject = _taggedTemplateLiteral(['\n Cypress executable not found at: ', '\n '], ['\n Cypress executable not found at: ', '\n ']),
|
4
|
-
_templateObject2 = _taggedTemplateLiteral(['\n
|
5
|
-
_templateObject3 = _taggedTemplateLiteral(['\n
|
6
|
-
_templateObject4 = _taggedTemplateLiteral(['\n
|
7
|
-
_templateObject5 = _taggedTemplateLiteral(['\n
|
8
|
-
_templateObject6 = _taggedTemplateLiteral(['\n \n \n ', ' Warning: Binary version ', ' does not match the expected package version ', '\n\n These versions may not work properly together.\n '], ['\n \n \n ', ' Warning: Binary version ', ' does not match the expected package version ', '\n\n These versions may not work properly together.\n ']);
|
4
|
+
_templateObject2 = _taggedTemplateLiteral(['\n It looks like this is your first time using Cypress: ', '\n '], ['\n It looks like this is your first time using Cypress: ', '\n ']),
|
5
|
+
_templateObject3 = _taggedTemplateLiteral(['\n ', ' You have set the environment variable:\n\n ', '', '\n\n This overrides the default Cypress binary path used.\n '], ['\n ', ' You have set the environment variable:\n\n ', '', '\n\n This overrides the default Cypress binary path used.\n ']),
|
6
|
+
_templateObject4 = _taggedTemplateLiteral(['\n The supplied binary path is not executable\n '], ['\n The supplied binary path is not executable\n ']),
|
7
|
+
_templateObject5 = _taggedTemplateLiteral(['\n\n\n ', ' Warning: Binary version ', ' does not match the expected package version ', '\n\n These versions may not work properly together.\n '], ['\n\n\n ', ' Warning: Binary version ', ' does not match the expected package version ', '\n\n These versions may not work properly together.\n ']);
|
9
8
|
|
10
9
|
function _taggedTemplateLiteral(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
11
10
|
|
@@ -20,6 +19,7 @@ var _require = require('common-tags'),
|
|
20
19
|
|
21
20
|
var Promise = require('bluebird');
|
22
21
|
var logSymbols = require('log-symbols');
|
22
|
+
var path = require('path');
|
23
23
|
|
24
24
|
var _require2 = require('../errors'),
|
25
25
|
throwFormErrorText = _require2.throwFormErrorText,
|
@@ -49,60 +49,110 @@ var checkExecutable = function checkExecutable(binaryDir) {
|
|
49
49
|
});
|
50
50
|
};
|
51
51
|
|
52
|
-
var runSmokeTest = function runSmokeTest(binaryDir) {
|
53
|
-
|
54
|
-
var cypressExecPath = state.getPathToExecutable(binaryDir);
|
52
|
+
var runSmokeTest = function runSmokeTest(binaryDir, options) {
|
53
|
+
var executable = state.getPathToExecutable(binaryDir);
|
55
54
|
|
56
|
-
|
55
|
+
var onSmokeTestError = function onSmokeTestError(smokeTestCommand, linuxWithDisplayEnv) {
|
56
|
+
return function (err) {
|
57
|
+
debug('Smoke test failed:', err);
|
57
58
|
|
58
|
-
|
59
|
-
debug('caught xvfb error %s', err.message);
|
59
|
+
var errMessage = err.stderr || err.message;
|
60
60
|
|
61
|
-
|
62
|
-
};
|
61
|
+
debug('error message:', errMessage);
|
63
62
|
|
64
|
-
|
65
|
-
|
63
|
+
if (err.timedOut) {
|
64
|
+
debug('error timedOut is true');
|
65
|
+
|
66
|
+
return throwFormErrorText(errors.smokeTestFailure(smokeTestCommand, true))(errMessage);
|
67
|
+
}
|
68
|
+
|
69
|
+
if (linuxWithDisplayEnv && util.isBrokenGtkDisplay(errMessage)) {
|
70
|
+
util.logBrokenGtkDisplayWarning();
|
71
|
+
|
72
|
+
return throwFormErrorText(errors.invalidSmokeTestDisplayError)(errMessage);
|
73
|
+
}
|
66
74
|
|
67
|
-
|
75
|
+
return throwFormErrorText(errors.missingDependency)(errMessage);
|
76
|
+
};
|
68
77
|
};
|
69
78
|
|
70
79
|
var needsXvfb = xvfb.isNeeded();
|
71
80
|
|
72
|
-
debug('needs
|
81
|
+
debug('needs Xvfb?', needsXvfb);
|
73
82
|
|
74
|
-
|
83
|
+
/**
|
84
|
+
* Spawn Cypress running smoke test to check if all operating system
|
85
|
+
* dependencies are good.
|
86
|
+
*/
|
87
|
+
var spawn = function spawn(linuxWithDisplayEnv) {
|
75
88
|
var random = _.random(0, 1000);
|
76
89
|
var args = ['--smoke-test', '--ping=' + random];
|
77
|
-
var smokeTestCommand = cypressExecPath + ' ' + args.join(' ');
|
78
90
|
|
91
|
+
if (options.dev) {
|
92
|
+
executable = 'node';
|
93
|
+
args.unshift(path.resolve(__dirname, '..', '..', '..', 'scripts', 'start.js'));
|
94
|
+
}
|
95
|
+
|
96
|
+
var smokeTestCommand = executable + ' ' + args.join(' ');
|
97
|
+
|
98
|
+
debug('running smoke test');
|
99
|
+
debug('using Cypress executable %s', executable);
|
79
100
|
debug('smoke test command:', smokeTestCommand);
|
80
101
|
|
81
|
-
|
102
|
+
var env = _.extend({}, process.env, {
|
103
|
+
ELECTRON_ENABLE_LOGGING: true
|
104
|
+
});
|
105
|
+
|
106
|
+
var stdioOptions = _.extend({}, {
|
107
|
+
env: env,
|
108
|
+
timeout: options.smokeTestTimeout
|
109
|
+
});
|
110
|
+
|
111
|
+
return Promise.resolve(util.exec(executable, args, stdioOptions)).catch(onSmokeTestError(smokeTestCommand, linuxWithDisplayEnv)).then(function (result) {
|
112
|
+
// TODO: when execa > 1.1 is released
|
113
|
+
// change this to `result.all` for both stderr and stdout
|
82
114
|
var smokeTestReturned = result.stdout;
|
83
115
|
|
84
116
|
debug('smoke test stdout "%s"', smokeTestReturned);
|
85
117
|
|
86
118
|
if (!util.stdoutLineMatches(String(random), smokeTestReturned)) {
|
87
|
-
debug('Smoke test failed:', result);
|
88
|
-
|
119
|
+
debug('Smoke test failed because could not find %d in:', random, result);
|
120
|
+
|
121
|
+
return throwFormErrorText(errors.smokeTestFailure(smokeTestCommand, false))(result.stderr || result.stdout);
|
89
122
|
}
|
90
123
|
});
|
91
124
|
};
|
92
125
|
|
93
|
-
|
94
|
-
return xvfb.start().
|
95
|
-
return
|
126
|
+
var spawnInXvfb = function spawnInXvfb(linuxWithDisplayEnv) {
|
127
|
+
return xvfb.start().then(function () {
|
128
|
+
return spawn(linuxWithDisplayEnv);
|
129
|
+
}).finally(xvfb.stop);
|
130
|
+
};
|
131
|
+
|
132
|
+
var userFriendlySpawn = function userFriendlySpawn(linuxWithDisplayEnv) {
|
133
|
+
debug('spawning, should retry on display problem?', Boolean(linuxWithDisplayEnv));
|
134
|
+
|
135
|
+
return spawn(linuxWithDisplayEnv).catch({ code: 'INVALID_SMOKE_TEST_DISPLAY_ERROR' }, function () {
|
136
|
+
return spawnInXvfb(linuxWithDisplayEnv);
|
96
137
|
});
|
138
|
+
};
|
139
|
+
|
140
|
+
if (needsXvfb) {
|
141
|
+
return spawnInXvfb();
|
97
142
|
}
|
98
143
|
|
99
|
-
|
144
|
+
// if we are on linux and there's already a DISPLAY
|
145
|
+
// set, then we may need to rerun cypress after
|
146
|
+
// spawning our own Xvfb server
|
147
|
+
var linuxWithDisplayEnv = util.isPossibleLinuxWithIncorrectDisplay();
|
148
|
+
|
149
|
+
return userFriendlySpawn(linuxWithDisplayEnv);
|
100
150
|
};
|
101
151
|
|
102
|
-
function testBinary(version, binaryDir) {
|
152
|
+
function testBinary(version, binaryDir, options) {
|
103
153
|
debug('running binary verification check', version);
|
104
154
|
|
105
|
-
logger.log(stripIndent(
|
155
|
+
logger.log(stripIndent(_templateObject2, chalk.cyan(version)));
|
106
156
|
|
107
157
|
logger.log();
|
108
158
|
|
@@ -123,7 +173,7 @@ function testBinary(version, binaryDir) {
|
|
123
173
|
debug('clearing out the verified version');
|
124
174
|
|
125
175
|
return state.clearBinaryStateAsync(binaryDir).then(function () {
|
126
|
-
return Promise.all([runSmokeTest(binaryDir), Promise.resolve().delay(1500)] // good user experience
|
176
|
+
return Promise.all([runSmokeTest(binaryDir, options), Promise.resolve().delay(1500)] // good user experience
|
127
177
|
);
|
128
178
|
}).then(function () {
|
129
179
|
debug('write verified: true');
|
@@ -138,9 +188,7 @@ function testBinary(version, binaryDir) {
|
|
138
188
|
return tasks.run();
|
139
189
|
}
|
140
190
|
|
141
|
-
var maybeVerify = function maybeVerify(installedVersion, binaryDir) {
|
142
|
-
var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
143
|
-
|
191
|
+
var maybeVerify = function maybeVerify(installedVersion, binaryDir, options) {
|
144
192
|
return state.getBinaryVerifiedAsync(binaryDir).then(function (isVerified) {
|
145
193
|
|
146
194
|
debug('is Verified ?', isVerified);
|
@@ -154,7 +202,7 @@ var maybeVerify = function maybeVerify(installedVersion, binaryDir) {
|
|
154
202
|
}
|
155
203
|
|
156
204
|
if (shouldVerify) {
|
157
|
-
return testBinary(installedVersion, binaryDir).then(function () {
|
205
|
+
return testBinary(installedVersion, binaryDir, options).then(function () {
|
158
206
|
if (options.welcomeMessage) {
|
159
207
|
logger.log();
|
160
208
|
logger.log('Opening Cypress...');
|
@@ -173,21 +221,27 @@ var start = function start() {
|
|
173
221
|
var binaryDir = state.getBinaryDir(packageVersion);
|
174
222
|
|
175
223
|
_.defaults(options, {
|
224
|
+
dev: false,
|
176
225
|
force: false,
|
177
|
-
welcomeMessage: true
|
226
|
+
welcomeMessage: true,
|
227
|
+
smokeTestTimeout: 10000
|
178
228
|
});
|
179
229
|
|
230
|
+
if (options.dev) {
|
231
|
+
return runSmokeTest('', options);
|
232
|
+
}
|
233
|
+
|
180
234
|
var parseBinaryEnvVar = function parseBinaryEnvVar() {
|
181
235
|
var envBinaryPath = util.getEnv('CYPRESS_RUN_BINARY');
|
182
236
|
|
183
237
|
debug('CYPRESS_RUN_BINARY exists, =', envBinaryPath);
|
184
|
-
logger.log(stripIndent(
|
238
|
+
logger.log(stripIndent(_templateObject3, chalk.yellow('Note:'), chalk.white('CYPRESS_RUN_BINARY='), chalk.cyan(envBinaryPath)));
|
185
239
|
logger.log();
|
186
240
|
|
187
241
|
return util.isExecutableAsync(envBinaryPath).then(function (isExecutable) {
|
188
242
|
debug('CYPRESS_RUN_BINARY is executable? :', isExecutable);
|
189
243
|
if (!isExecutable) {
|
190
|
-
return throwFormErrorText(errors.CYPRESS_RUN_BINARY.notValid(envBinaryPath))(stripIndent(
|
244
|
+
return throwFormErrorText(errors.CYPRESS_RUN_BINARY.notValid(envBinaryPath))(stripIndent(_templateObject4));
|
191
245
|
}
|
192
246
|
}).then(function () {
|
193
247
|
return state.parseRealPlatformBinaryFolderAsync(envBinaryPath);
|
@@ -230,7 +284,7 @@ var start = function start() {
|
|
230
284
|
// in the package.json
|
231
285
|
logger.log('Found binary version ' + chalk.green(binaryVersion) + ' installed in: ' + chalk.cyan(binaryDir));
|
232
286
|
logger.log();
|
233
|
-
logger.warn(stripIndent(
|
287
|
+
logger.warn(stripIndent(_templateObject5, logSymbols.warning, chalk.green(binaryVersion), chalk.green(packageVersion)));
|
234
288
|
|
235
289
|
logger.log();
|
236
290
|
}
|
@@ -246,6 +300,5 @@ var start = function start() {
|
|
246
300
|
};
|
247
301
|
|
248
302
|
module.exports = {
|
249
|
-
start: start
|
250
|
-
maybeVerify: maybeVerify
|
303
|
+
start: start
|
251
304
|
};
|
package/lib/util.js
CHANGED
@@ -1,10 +1,16 @@
|
|
1
1
|
'use strict';
|
2
2
|
|
3
|
+
var _templateObject = _taggedTemplateLiteral(['\n\n ', ' Warning: Cypress failed to start.\n\n This is likely due to a misconfigured DISPLAY environment variable.\n\n DISPLAY was set to: "', '"\n\n Cypress will attempt to fix the problem and rerun.\n '], ['\n\n ', ' Warning: Cypress failed to start.\n\n This is likely due to a misconfigured DISPLAY environment variable.\n\n DISPLAY was set to: "', '"\n\n Cypress will attempt to fix the problem and rerun.\n ']);
|
4
|
+
|
3
5
|
function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
|
4
6
|
|
7
|
+
function _taggedTemplateLiteral(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
8
|
+
|
5
9
|
var _ = require('lodash');
|
6
10
|
var R = require('ramda');
|
7
11
|
var os = require('os');
|
12
|
+
var la = require('lazy-ass');
|
13
|
+
var is = require('check-more-types');
|
8
14
|
var tty = require('tty');
|
9
15
|
var path = require('path');
|
10
16
|
var _isCi = require('is-ci');
|
@@ -13,15 +19,24 @@ var getos = require('getos');
|
|
13
19
|
var chalk = require('chalk');
|
14
20
|
var Promise = require('bluebird');
|
15
21
|
var cachedir = require('cachedir');
|
22
|
+
var logSymbols = require('log-symbols');
|
16
23
|
var executable = require('executable');
|
24
|
+
|
25
|
+
var _require = require('common-tags'),
|
26
|
+
stripIndent = _require.stripIndent;
|
27
|
+
|
17
28
|
var _supportsColor = require('supports-color');
|
18
29
|
var _isInstalledGlobally = require('is-installed-globally');
|
19
30
|
var pkg = require(path.join(__dirname, '..', 'package.json'));
|
20
31
|
var logger = require('./logger');
|
21
32
|
var debug = require('debug')('cypress:cli');
|
22
33
|
|
34
|
+
var issuesUrl = 'https://github.com/cypress-io/cypress/issues';
|
35
|
+
|
23
36
|
var getosAsync = Promise.promisify(getos);
|
24
37
|
|
38
|
+
var isBrokenGtkDisplayRe = /Gtk: cannot open display/;
|
39
|
+
|
25
40
|
var stringify = function stringify(val) {
|
26
41
|
return _.isObject(val) ? JSON.stringify(val) : val;
|
27
42
|
};
|
@@ -32,6 +47,37 @@ function normalizeModuleOptions() {
|
|
32
47
|
return _.mapValues(options, stringify);
|
33
48
|
}
|
34
49
|
|
50
|
+
/**
|
51
|
+
* Returns true if the platform is Linux. We do a lot of different
|
52
|
+
* stuff on Linux (like Xvfb) and it helps to has readable code
|
53
|
+
*/
|
54
|
+
var isLinux = function isLinux() {
|
55
|
+
return os.platform() === 'linux';
|
56
|
+
};
|
57
|
+
|
58
|
+
/**
|
59
|
+
* If the DISPLAY variable is set incorrectly, when trying to spawn
|
60
|
+
* Cypress executable we get an error like this:
|
61
|
+
```
|
62
|
+
[1005:0509/184205.663837:WARNING:browser_main_loop.cc(258)] Gtk: cannot open display: 99
|
63
|
+
```
|
64
|
+
*/
|
65
|
+
var isBrokenGtkDisplay = function isBrokenGtkDisplay(str) {
|
66
|
+
return isBrokenGtkDisplayRe.test(str);
|
67
|
+
};
|
68
|
+
|
69
|
+
var isPossibleLinuxWithIncorrectDisplay = function isPossibleLinuxWithIncorrectDisplay() {
|
70
|
+
return isLinux() && process.env.DISPLAY;
|
71
|
+
};
|
72
|
+
|
73
|
+
var logBrokenGtkDisplayWarning = function logBrokenGtkDisplayWarning() {
|
74
|
+
debug('Cypress exited due to a broken gtk display because of a potential invalid DISPLAY env... retrying after starting Xvfb');
|
75
|
+
|
76
|
+
// if we get this error, we are on Linux and DISPLAY is set
|
77
|
+
logger.warn(stripIndent(_templateObject, logSymbols.warning, process.env.DISPLAY));
|
78
|
+
logger.warn();
|
79
|
+
};
|
80
|
+
|
35
81
|
function stdoutLineMatches(expectedLine, stdout) {
|
36
82
|
var lines = stdout.split('\n').map(R.trim);
|
37
83
|
var lineMatches = R.equals(expectedLine);
|
@@ -154,7 +200,7 @@ var util = {
|
|
154
200
|
},
|
155
201
|
setTaskTitle: function setTaskTitle(task, title, renderer) {
|
156
202
|
// only update the renderer title when not running in CI
|
157
|
-
if (renderer === 'default') {
|
203
|
+
if (renderer === 'default' && task.title !== title) {
|
158
204
|
task.title = title;
|
159
205
|
}
|
160
206
|
},
|
@@ -168,9 +214,13 @@ var util = {
|
|
168
214
|
isExecutableAsync: function isExecutableAsync(filePath) {
|
169
215
|
return Promise.resolve(executable(filePath));
|
170
216
|
},
|
217
|
+
|
218
|
+
|
219
|
+
isLinux: isLinux,
|
220
|
+
|
171
221
|
getOsVersionAsync: function getOsVersionAsync() {
|
172
222
|
return Promise.try(function () {
|
173
|
-
if (
|
223
|
+
if (isLinux()) {
|
174
224
|
return getosAsync().then(function (osInfo) {
|
175
225
|
return [osInfo.dist, osInfo.release].join(' - ');
|
176
226
|
}).catch(function () {
|
@@ -229,7 +279,22 @@ var util = {
|
|
229
279
|
|
230
280
|
exec: execa,
|
231
281
|
|
232
|
-
stdoutLineMatches: stdoutLineMatches
|
282
|
+
stdoutLineMatches: stdoutLineMatches,
|
283
|
+
|
284
|
+
issuesUrl: issuesUrl,
|
285
|
+
|
286
|
+
isBrokenGtkDisplay: isBrokenGtkDisplay,
|
287
|
+
|
288
|
+
logBrokenGtkDisplayWarning: logBrokenGtkDisplayWarning,
|
289
|
+
|
290
|
+
isPossibleLinuxWithIncorrectDisplay: isPossibleLinuxWithIncorrectDisplay,
|
291
|
+
|
292
|
+
getGitHubIssueUrl: function getGitHubIssueUrl(number) {
|
293
|
+
la(is.positive(number), 'github issue should be a positive number', number);
|
294
|
+
la(_.isInteger(number), 'github issue should be an integer', number);
|
295
|
+
|
296
|
+
return issuesUrl + '/' + number;
|
297
|
+
}
|
233
298
|
};
|
234
299
|
|
235
300
|
module.exports = util;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "cypress",
|
3
|
-
"version": "3.1
|
3
|
+
"version": "3.3.1",
|
4
4
|
"main": "index.js",
|
5
5
|
"bin": {
|
6
6
|
"cypress": "bin/cypress"
|
@@ -12,60 +12,45 @@
|
|
12
12
|
"postinstall": "node index.js --exec install",
|
13
13
|
"size": "t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";"
|
14
14
|
},
|
15
|
-
"nyc": {
|
16
|
-
"exclude": [
|
17
|
-
"test",
|
18
|
-
"scripts"
|
19
|
-
]
|
20
|
-
},
|
21
15
|
"types": "types",
|
22
16
|
"dependencies": {
|
23
17
|
"@cypress/listr-verbose-renderer": "0.4.1",
|
24
|
-
"@cypress/xvfb": "1.2.
|
25
|
-
"
|
26
|
-
"@types/bluebird": "3.5.18",
|
27
|
-
"@types/chai": "4.0.8",
|
28
|
-
"@types/chai-jquery": "1.1.35",
|
29
|
-
"@types/jquery": "3.3.6",
|
30
|
-
"@types/lodash": "4.14.87",
|
31
|
-
"@types/minimatch": "3.0.3",
|
32
|
-
"@types/mocha": "2.2.44",
|
33
|
-
"@types/sinon": "7.0.0",
|
34
|
-
"@types/sinon-chai": "2.7.29",
|
18
|
+
"@cypress/xvfb": "1.2.4",
|
19
|
+
"arch": "2.1.1",
|
35
20
|
"bluebird": "3.5.0",
|
36
21
|
"cachedir": "1.3.0",
|
37
|
-
"chalk": "2.4.
|
22
|
+
"chalk": "2.4.2",
|
38
23
|
"check-more-types": "2.24.0",
|
39
|
-
"commander": "2.
|
40
|
-
"common-tags": "1.
|
41
|
-
"debug": "3.
|
24
|
+
"commander": "2.15.1",
|
25
|
+
"common-tags": "1.8.0",
|
26
|
+
"debug": "3.2.6",
|
42
27
|
"execa": "0.10.0",
|
43
28
|
"executable": "4.1.1",
|
44
|
-
"extract-zip": "1.6.
|
29
|
+
"extract-zip": "1.6.7",
|
45
30
|
"fs-extra": "4.0.1",
|
46
|
-
"getos": "3.1.
|
47
|
-
"glob": "7.1.
|
48
|
-
"is-ci": "1.
|
31
|
+
"getos": "3.1.1",
|
32
|
+
"glob": "7.1.3",
|
33
|
+
"is-ci": "1.2.1",
|
49
34
|
"is-installed-globally": "0.1.0",
|
50
35
|
"lazy-ass": "1.6.0",
|
51
36
|
"listr": "0.12.0",
|
52
37
|
"lodash": "4.17.11",
|
53
38
|
"log-symbols": "2.2.0",
|
54
39
|
"minimist": "1.2.0",
|
55
|
-
"moment": "2.
|
40
|
+
"moment": "2.24.0",
|
56
41
|
"ramda": "0.24.1",
|
57
|
-
"request": "2.
|
58
|
-
"request-progress": "0.
|
59
|
-
"supports-color": "5.
|
60
|
-
"tmp": "0.0
|
42
|
+
"request": "2.88.0",
|
43
|
+
"request-progress": "0.4.0",
|
44
|
+
"supports-color": "5.5.0",
|
45
|
+
"tmp": "0.1.0",
|
61
46
|
"url": "0.11.0",
|
62
|
-
"yauzl": "2.
|
47
|
+
"yauzl": "2.10.0"
|
63
48
|
},
|
64
49
|
"files": [
|
65
50
|
"bin",
|
66
51
|
"lib",
|
67
52
|
"index.js",
|
68
|
-
"types
|
53
|
+
"types/**/*.d.ts"
|
69
54
|
],
|
70
55
|
"description": "Cypress.io end to end testing tool",
|
71
56
|
"author": "Brian Mann",
|
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) Microsoft Corporation. All rights reserved.
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# Installation
|
2
|
+
> `npm install --save @types/blob-util`
|
3
|
+
|
4
|
+
# Summary
|
5
|
+
This package contains type definitions for blob-util (https://github.com/nolanlawson/blob-util#readme).
|
6
|
+
|
7
|
+
# Details
|
8
|
+
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/blob-util
|
9
|
+
|
10
|
+
Additional Details
|
11
|
+
* Last updated: Wed, 25 Oct 2017 00:19:45 GMT
|
12
|
+
* Dependencies: none
|
13
|
+
* Global values: none
|
14
|
+
|
15
|
+
# Credits
|
16
|
+
These definitions were written by Max Battcher <https://github.com/WorldMaker>.
|