cypress 7.1.0 → 7.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (732) hide show
  1. package/lib/cli.js +4 -4
  2. package/lib/errors.js +6 -1
  3. package/lib/exec/open.js +6 -9
  4. package/lib/exec/run.js +6 -26
  5. package/lib/exec/shared.js +50 -0
  6. package/lib/tasks/download.js +39 -5
  7. package/lib/tasks/install.js +18 -6
  8. package/lib/tasks/unzip.js +9 -12
  9. package/lib/tasks/verify.js +9 -3
  10. package/package.json +3 -4
  11. package/types/chai/index.d.ts +5 -3
  12. package/types/cypress-npm-api.d.ts +5 -0
  13. package/types/cypress.d.ts +40 -7
  14. package/types/lodash/common/array.d.ts +519 -2105
  15. package/types/lodash/common/collection.d.ts +912 -1569
  16. package/types/lodash/common/common.d.ts +71 -61
  17. package/types/lodash/common/date.d.ts +2 -6
  18. package/types/lodash/common/function.d.ts +808 -867
  19. package/types/lodash/common/lang.d.ts +239 -483
  20. package/types/lodash/common/math.d.ts +64 -191
  21. package/types/lodash/common/number.d.ts +39 -86
  22. package/types/lodash/common/object.d.ts +675 -2265
  23. package/types/lodash/common/seq.d.ts +101 -87
  24. package/types/lodash/common/string.d.ts +81 -352
  25. package/types/lodash/common/util.d.ts +337 -639
  26. package/types/lodash/fp.d.ts +478 -532
  27. package/types/lodash/index.d.ts +0 -1
  28. package/types/minimatch/index.d.ts +5 -15
  29. package/types/net-stubbing.ts +14 -10
  30. package/types/sinon/index.d.ts +218 -227
  31. package/types/sinon/ts3.1/index.d.ts +1789 -0
  32. package/types/lodash/ts3.1/add.d.ts +0 -2
  33. package/types/lodash/ts3.1/after.d.ts +0 -2
  34. package/types/lodash/ts3.1/ary.d.ts +0 -2
  35. package/types/lodash/ts3.1/assign.d.ts +0 -2
  36. package/types/lodash/ts3.1/assignIn.d.ts +0 -2
  37. package/types/lodash/ts3.1/assignInWith.d.ts +0 -2
  38. package/types/lodash/ts3.1/assignWith.d.ts +0 -2
  39. package/types/lodash/ts3.1/at.d.ts +0 -2
  40. package/types/lodash/ts3.1/attempt.d.ts +0 -2
  41. package/types/lodash/ts3.1/before.d.ts +0 -2
  42. package/types/lodash/ts3.1/bind.d.ts +0 -2
  43. package/types/lodash/ts3.1/bindAll.d.ts +0 -2
  44. package/types/lodash/ts3.1/bindKey.d.ts +0 -2
  45. package/types/lodash/ts3.1/camelCase.d.ts +0 -2
  46. package/types/lodash/ts3.1/capitalize.d.ts +0 -2
  47. package/types/lodash/ts3.1/castArray.d.ts +0 -2
  48. package/types/lodash/ts3.1/ceil.d.ts +0 -2
  49. package/types/lodash/ts3.1/chain.d.ts +0 -2
  50. package/types/lodash/ts3.1/chunk.d.ts +0 -2
  51. package/types/lodash/ts3.1/clamp.d.ts +0 -2
  52. package/types/lodash/ts3.1/clone.d.ts +0 -2
  53. package/types/lodash/ts3.1/cloneDeep.d.ts +0 -2
  54. package/types/lodash/ts3.1/cloneDeepWith.d.ts +0 -2
  55. package/types/lodash/ts3.1/cloneWith.d.ts +0 -2
  56. package/types/lodash/ts3.1/common/array.d.ts +0 -2127
  57. package/types/lodash/ts3.1/common/collection.d.ts +0 -1930
  58. package/types/lodash/ts3.1/common/common.d.ts +0 -284
  59. package/types/lodash/ts3.1/common/date.d.ts +0 -23
  60. package/types/lodash/ts3.1/common/function.d.ts +0 -1392
  61. package/types/lodash/ts3.1/common/lang.d.ts +0 -1694
  62. package/types/lodash/ts3.1/common/math.d.ts +0 -405
  63. package/types/lodash/ts3.1/common/number.d.ts +0 -131
  64. package/types/lodash/ts3.1/common/object.d.ts +0 -2507
  65. package/types/lodash/ts3.1/common/seq.d.ts +0 -210
  66. package/types/lodash/ts3.1/common/string.d.ts +0 -788
  67. package/types/lodash/ts3.1/common/util.d.ts +0 -1219
  68. package/types/lodash/ts3.1/compact.d.ts +0 -2
  69. package/types/lodash/ts3.1/concat.d.ts +0 -2
  70. package/types/lodash/ts3.1/cond.d.ts +0 -2
  71. package/types/lodash/ts3.1/conformsTo.d.ts +0 -2
  72. package/types/lodash/ts3.1/constant.d.ts +0 -2
  73. package/types/lodash/ts3.1/countBy.d.ts +0 -2
  74. package/types/lodash/ts3.1/create.d.ts +0 -2
  75. package/types/lodash/ts3.1/curry.d.ts +0 -2
  76. package/types/lodash/ts3.1/curryRight.d.ts +0 -2
  77. package/types/lodash/ts3.1/debounce.d.ts +0 -2
  78. package/types/lodash/ts3.1/deburr.d.ts +0 -2
  79. package/types/lodash/ts3.1/defaultTo.d.ts +0 -2
  80. package/types/lodash/ts3.1/defaults.d.ts +0 -2
  81. package/types/lodash/ts3.1/defaultsDeep.d.ts +0 -2
  82. package/types/lodash/ts3.1/defer.d.ts +0 -2
  83. package/types/lodash/ts3.1/delay.d.ts +0 -2
  84. package/types/lodash/ts3.1/difference.d.ts +0 -2
  85. package/types/lodash/ts3.1/differenceBy.d.ts +0 -2
  86. package/types/lodash/ts3.1/differenceWith.d.ts +0 -2
  87. package/types/lodash/ts3.1/divide.d.ts +0 -2
  88. package/types/lodash/ts3.1/drop.d.ts +0 -2
  89. package/types/lodash/ts3.1/dropRight.d.ts +0 -2
  90. package/types/lodash/ts3.1/dropRightWhile.d.ts +0 -2
  91. package/types/lodash/ts3.1/dropWhile.d.ts +0 -2
  92. package/types/lodash/ts3.1/each.d.ts +0 -2
  93. package/types/lodash/ts3.1/eachRight.d.ts +0 -2
  94. package/types/lodash/ts3.1/endsWith.d.ts +0 -2
  95. package/types/lodash/ts3.1/entries.d.ts +0 -2
  96. package/types/lodash/ts3.1/entriesIn.d.ts +0 -2
  97. package/types/lodash/ts3.1/eq.d.ts +0 -2
  98. package/types/lodash/ts3.1/escape.d.ts +0 -2
  99. package/types/lodash/ts3.1/escapeRegExp.d.ts +0 -2
  100. package/types/lodash/ts3.1/every.d.ts +0 -2
  101. package/types/lodash/ts3.1/extend.d.ts +0 -2
  102. package/types/lodash/ts3.1/extendWith.d.ts +0 -2
  103. package/types/lodash/ts3.1/fill.d.ts +0 -2
  104. package/types/lodash/ts3.1/filter.d.ts +0 -2
  105. package/types/lodash/ts3.1/find.d.ts +0 -2
  106. package/types/lodash/ts3.1/findIndex.d.ts +0 -2
  107. package/types/lodash/ts3.1/findKey.d.ts +0 -2
  108. package/types/lodash/ts3.1/findLast.d.ts +0 -2
  109. package/types/lodash/ts3.1/findLastIndex.d.ts +0 -2
  110. package/types/lodash/ts3.1/findLastKey.d.ts +0 -2
  111. package/types/lodash/ts3.1/first.d.ts +0 -2
  112. package/types/lodash/ts3.1/flatMap.d.ts +0 -2
  113. package/types/lodash/ts3.1/flatMapDeep.d.ts +0 -2
  114. package/types/lodash/ts3.1/flatMapDepth.d.ts +0 -2
  115. package/types/lodash/ts3.1/flatten.d.ts +0 -2
  116. package/types/lodash/ts3.1/flattenDeep.d.ts +0 -2
  117. package/types/lodash/ts3.1/flattenDepth.d.ts +0 -2
  118. package/types/lodash/ts3.1/flip.d.ts +0 -2
  119. package/types/lodash/ts3.1/floor.d.ts +0 -2
  120. package/types/lodash/ts3.1/flow.d.ts +0 -2
  121. package/types/lodash/ts3.1/flowRight.d.ts +0 -2
  122. package/types/lodash/ts3.1/forEach.d.ts +0 -2
  123. package/types/lodash/ts3.1/forEachRight.d.ts +0 -2
  124. package/types/lodash/ts3.1/forIn.d.ts +0 -2
  125. package/types/lodash/ts3.1/forInRight.d.ts +0 -2
  126. package/types/lodash/ts3.1/forOwn.d.ts +0 -2
  127. package/types/lodash/ts3.1/forOwnRight.d.ts +0 -2
  128. package/types/lodash/ts3.1/fp/F.d.ts +0 -2
  129. package/types/lodash/ts3.1/fp/T.d.ts +0 -2
  130. package/types/lodash/ts3.1/fp/__.d.ts +0 -3
  131. package/types/lodash/ts3.1/fp/add.d.ts +0 -2
  132. package/types/lodash/ts3.1/fp/after.d.ts +0 -2
  133. package/types/lodash/ts3.1/fp/all.d.ts +0 -2
  134. package/types/lodash/ts3.1/fp/allPass.d.ts +0 -2
  135. package/types/lodash/ts3.1/fp/always.d.ts +0 -2
  136. package/types/lodash/ts3.1/fp/any.d.ts +0 -2
  137. package/types/lodash/ts3.1/fp/anyPass.d.ts +0 -2
  138. package/types/lodash/ts3.1/fp/apply.d.ts +0 -2
  139. package/types/lodash/ts3.1/fp/ary.d.ts +0 -2
  140. package/types/lodash/ts3.1/fp/assign.d.ts +0 -2
  141. package/types/lodash/ts3.1/fp/assignAll.d.ts +0 -2
  142. package/types/lodash/ts3.1/fp/assignAllWith.d.ts +0 -2
  143. package/types/lodash/ts3.1/fp/assignIn.d.ts +0 -2
  144. package/types/lodash/ts3.1/fp/assignInAll.d.ts +0 -2
  145. package/types/lodash/ts3.1/fp/assignInAllWith.d.ts +0 -2
  146. package/types/lodash/ts3.1/fp/assignInWith.d.ts +0 -2
  147. package/types/lodash/ts3.1/fp/assignWith.d.ts +0 -2
  148. package/types/lodash/ts3.1/fp/assoc.d.ts +0 -2
  149. package/types/lodash/ts3.1/fp/assocPath.d.ts +0 -2
  150. package/types/lodash/ts3.1/fp/at.d.ts +0 -2
  151. package/types/lodash/ts3.1/fp/attempt.d.ts +0 -2
  152. package/types/lodash/ts3.1/fp/before.d.ts +0 -2
  153. package/types/lodash/ts3.1/fp/bind.d.ts +0 -2
  154. package/types/lodash/ts3.1/fp/bindAll.d.ts +0 -2
  155. package/types/lodash/ts3.1/fp/bindKey.d.ts +0 -2
  156. package/types/lodash/ts3.1/fp/camelCase.d.ts +0 -2
  157. package/types/lodash/ts3.1/fp/capitalize.d.ts +0 -2
  158. package/types/lodash/ts3.1/fp/castArray.d.ts +0 -2
  159. package/types/lodash/ts3.1/fp/ceil.d.ts +0 -2
  160. package/types/lodash/ts3.1/fp/chunk.d.ts +0 -2
  161. package/types/lodash/ts3.1/fp/clamp.d.ts +0 -2
  162. package/types/lodash/ts3.1/fp/clone.d.ts +0 -2
  163. package/types/lodash/ts3.1/fp/cloneDeep.d.ts +0 -2
  164. package/types/lodash/ts3.1/fp/cloneDeepWith.d.ts +0 -2
  165. package/types/lodash/ts3.1/fp/cloneWith.d.ts +0 -2
  166. package/types/lodash/ts3.1/fp/compact.d.ts +0 -2
  167. package/types/lodash/ts3.1/fp/complement.d.ts +0 -2
  168. package/types/lodash/ts3.1/fp/compose.d.ts +0 -2
  169. package/types/lodash/ts3.1/fp/concat.d.ts +0 -2
  170. package/types/lodash/ts3.1/fp/cond.d.ts +0 -2
  171. package/types/lodash/ts3.1/fp/conforms.d.ts +0 -2
  172. package/types/lodash/ts3.1/fp/conformsTo.d.ts +0 -2
  173. package/types/lodash/ts3.1/fp/constant.d.ts +0 -2
  174. package/types/lodash/ts3.1/fp/contains.d.ts +0 -2
  175. package/types/lodash/ts3.1/fp/convert.d.ts +0 -15
  176. package/types/lodash/ts3.1/fp/countBy.d.ts +0 -2
  177. package/types/lodash/ts3.1/fp/create.d.ts +0 -2
  178. package/types/lodash/ts3.1/fp/curry.d.ts +0 -2
  179. package/types/lodash/ts3.1/fp/curryN.d.ts +0 -2
  180. package/types/lodash/ts3.1/fp/curryRight.d.ts +0 -2
  181. package/types/lodash/ts3.1/fp/curryRightN.d.ts +0 -2
  182. package/types/lodash/ts3.1/fp/debounce.d.ts +0 -2
  183. package/types/lodash/ts3.1/fp/deburr.d.ts +0 -2
  184. package/types/lodash/ts3.1/fp/defaultTo.d.ts +0 -2
  185. package/types/lodash/ts3.1/fp/defaults.d.ts +0 -2
  186. package/types/lodash/ts3.1/fp/defaultsAll.d.ts +0 -2
  187. package/types/lodash/ts3.1/fp/defaultsDeep.d.ts +0 -2
  188. package/types/lodash/ts3.1/fp/defaultsDeepAll.d.ts +0 -2
  189. package/types/lodash/ts3.1/fp/defer.d.ts +0 -2
  190. package/types/lodash/ts3.1/fp/delay.d.ts +0 -2
  191. package/types/lodash/ts3.1/fp/difference.d.ts +0 -2
  192. package/types/lodash/ts3.1/fp/differenceBy.d.ts +0 -2
  193. package/types/lodash/ts3.1/fp/differenceWith.d.ts +0 -2
  194. package/types/lodash/ts3.1/fp/dissoc.d.ts +0 -2
  195. package/types/lodash/ts3.1/fp/dissocPath.d.ts +0 -2
  196. package/types/lodash/ts3.1/fp/divide.d.ts +0 -2
  197. package/types/lodash/ts3.1/fp/drop.d.ts +0 -2
  198. package/types/lodash/ts3.1/fp/dropLast.d.ts +0 -2
  199. package/types/lodash/ts3.1/fp/dropLastWhile.d.ts +0 -2
  200. package/types/lodash/ts3.1/fp/dropRight.d.ts +0 -2
  201. package/types/lodash/ts3.1/fp/dropRightWhile.d.ts +0 -2
  202. package/types/lodash/ts3.1/fp/dropWhile.d.ts +0 -2
  203. package/types/lodash/ts3.1/fp/each.d.ts +0 -2
  204. package/types/lodash/ts3.1/fp/eachRight.d.ts +0 -2
  205. package/types/lodash/ts3.1/fp/endsWith.d.ts +0 -2
  206. package/types/lodash/ts3.1/fp/entries.d.ts +0 -2
  207. package/types/lodash/ts3.1/fp/entriesIn.d.ts +0 -2
  208. package/types/lodash/ts3.1/fp/eq.d.ts +0 -2
  209. package/types/lodash/ts3.1/fp/equals.d.ts +0 -2
  210. package/types/lodash/ts3.1/fp/escape.d.ts +0 -2
  211. package/types/lodash/ts3.1/fp/escapeRegExp.d.ts +0 -2
  212. package/types/lodash/ts3.1/fp/every.d.ts +0 -2
  213. package/types/lodash/ts3.1/fp/extend.d.ts +0 -2
  214. package/types/lodash/ts3.1/fp/extendAll.d.ts +0 -2
  215. package/types/lodash/ts3.1/fp/extendAllWith.d.ts +0 -2
  216. package/types/lodash/ts3.1/fp/extendWith.d.ts +0 -2
  217. package/types/lodash/ts3.1/fp/fill.d.ts +0 -2
  218. package/types/lodash/ts3.1/fp/filter.d.ts +0 -2
  219. package/types/lodash/ts3.1/fp/find.d.ts +0 -2
  220. package/types/lodash/ts3.1/fp/findFrom.d.ts +0 -2
  221. package/types/lodash/ts3.1/fp/findIndex.d.ts +0 -2
  222. package/types/lodash/ts3.1/fp/findIndexFrom.d.ts +0 -2
  223. package/types/lodash/ts3.1/fp/findKey.d.ts +0 -2
  224. package/types/lodash/ts3.1/fp/findLast.d.ts +0 -2
  225. package/types/lodash/ts3.1/fp/findLastFrom.d.ts +0 -2
  226. package/types/lodash/ts3.1/fp/findLastIndex.d.ts +0 -2
  227. package/types/lodash/ts3.1/fp/findLastIndexFrom.d.ts +0 -2
  228. package/types/lodash/ts3.1/fp/findLastKey.d.ts +0 -2
  229. package/types/lodash/ts3.1/fp/first.d.ts +0 -2
  230. package/types/lodash/ts3.1/fp/flatMap.d.ts +0 -2
  231. package/types/lodash/ts3.1/fp/flatMapDeep.d.ts +0 -2
  232. package/types/lodash/ts3.1/fp/flatMapDepth.d.ts +0 -2
  233. package/types/lodash/ts3.1/fp/flatten.d.ts +0 -2
  234. package/types/lodash/ts3.1/fp/flattenDeep.d.ts +0 -2
  235. package/types/lodash/ts3.1/fp/flattenDepth.d.ts +0 -2
  236. package/types/lodash/ts3.1/fp/flip.d.ts +0 -2
  237. package/types/lodash/ts3.1/fp/floor.d.ts +0 -2
  238. package/types/lodash/ts3.1/fp/flow.d.ts +0 -2
  239. package/types/lodash/ts3.1/fp/flowRight.d.ts +0 -2
  240. package/types/lodash/ts3.1/fp/forEach.d.ts +0 -2
  241. package/types/lodash/ts3.1/fp/forEachRight.d.ts +0 -2
  242. package/types/lodash/ts3.1/fp/forIn.d.ts +0 -2
  243. package/types/lodash/ts3.1/fp/forInRight.d.ts +0 -2
  244. package/types/lodash/ts3.1/fp/forOwn.d.ts +0 -2
  245. package/types/lodash/ts3.1/fp/forOwnRight.d.ts +0 -2
  246. package/types/lodash/ts3.1/fp/fromPairs.d.ts +0 -2
  247. package/types/lodash/ts3.1/fp/functions.d.ts +0 -2
  248. package/types/lodash/ts3.1/fp/functionsIn.d.ts +0 -2
  249. package/types/lodash/ts3.1/fp/get.d.ts +0 -2
  250. package/types/lodash/ts3.1/fp/getOr.d.ts +0 -2
  251. package/types/lodash/ts3.1/fp/groupBy.d.ts +0 -2
  252. package/types/lodash/ts3.1/fp/gt.d.ts +0 -2
  253. package/types/lodash/ts3.1/fp/gte.d.ts +0 -2
  254. package/types/lodash/ts3.1/fp/has.d.ts +0 -2
  255. package/types/lodash/ts3.1/fp/hasIn.d.ts +0 -2
  256. package/types/lodash/ts3.1/fp/head.d.ts +0 -2
  257. package/types/lodash/ts3.1/fp/identical.d.ts +0 -2
  258. package/types/lodash/ts3.1/fp/identity.d.ts +0 -2
  259. package/types/lodash/ts3.1/fp/inRange.d.ts +0 -2
  260. package/types/lodash/ts3.1/fp/includes.d.ts +0 -2
  261. package/types/lodash/ts3.1/fp/includesFrom.d.ts +0 -2
  262. package/types/lodash/ts3.1/fp/indexBy.d.ts +0 -2
  263. package/types/lodash/ts3.1/fp/indexOf.d.ts +0 -2
  264. package/types/lodash/ts3.1/fp/indexOfFrom.d.ts +0 -2
  265. package/types/lodash/ts3.1/fp/init.d.ts +0 -2
  266. package/types/lodash/ts3.1/fp/initial.d.ts +0 -2
  267. package/types/lodash/ts3.1/fp/intersection.d.ts +0 -2
  268. package/types/lodash/ts3.1/fp/intersectionBy.d.ts +0 -2
  269. package/types/lodash/ts3.1/fp/intersectionWith.d.ts +0 -2
  270. package/types/lodash/ts3.1/fp/invert.d.ts +0 -2
  271. package/types/lodash/ts3.1/fp/invertBy.d.ts +0 -2
  272. package/types/lodash/ts3.1/fp/invertObj.d.ts +0 -2
  273. package/types/lodash/ts3.1/fp/invoke.d.ts +0 -2
  274. package/types/lodash/ts3.1/fp/invokeArgs.d.ts +0 -2
  275. package/types/lodash/ts3.1/fp/invokeArgsMap.d.ts +0 -2
  276. package/types/lodash/ts3.1/fp/invokeMap.d.ts +0 -2
  277. package/types/lodash/ts3.1/fp/isArguments.d.ts +0 -2
  278. package/types/lodash/ts3.1/fp/isArray.d.ts +0 -2
  279. package/types/lodash/ts3.1/fp/isArrayBuffer.d.ts +0 -2
  280. package/types/lodash/ts3.1/fp/isArrayLike.d.ts +0 -2
  281. package/types/lodash/ts3.1/fp/isArrayLikeObject.d.ts +0 -2
  282. package/types/lodash/ts3.1/fp/isBoolean.d.ts +0 -2
  283. package/types/lodash/ts3.1/fp/isBuffer.d.ts +0 -2
  284. package/types/lodash/ts3.1/fp/isDate.d.ts +0 -2
  285. package/types/lodash/ts3.1/fp/isElement.d.ts +0 -2
  286. package/types/lodash/ts3.1/fp/isEmpty.d.ts +0 -2
  287. package/types/lodash/ts3.1/fp/isEqual.d.ts +0 -2
  288. package/types/lodash/ts3.1/fp/isEqualWith.d.ts +0 -2
  289. package/types/lodash/ts3.1/fp/isError.d.ts +0 -2
  290. package/types/lodash/ts3.1/fp/isFinite.d.ts +0 -2
  291. package/types/lodash/ts3.1/fp/isFunction.d.ts +0 -2
  292. package/types/lodash/ts3.1/fp/isInteger.d.ts +0 -2
  293. package/types/lodash/ts3.1/fp/isLength.d.ts +0 -2
  294. package/types/lodash/ts3.1/fp/isMap.d.ts +0 -2
  295. package/types/lodash/ts3.1/fp/isMatch.d.ts +0 -2
  296. package/types/lodash/ts3.1/fp/isMatchWith.d.ts +0 -2
  297. package/types/lodash/ts3.1/fp/isNaN.d.ts +0 -2
  298. package/types/lodash/ts3.1/fp/isNative.d.ts +0 -2
  299. package/types/lodash/ts3.1/fp/isNil.d.ts +0 -2
  300. package/types/lodash/ts3.1/fp/isNull.d.ts +0 -2
  301. package/types/lodash/ts3.1/fp/isNumber.d.ts +0 -2
  302. package/types/lodash/ts3.1/fp/isObject.d.ts +0 -2
  303. package/types/lodash/ts3.1/fp/isObjectLike.d.ts +0 -2
  304. package/types/lodash/ts3.1/fp/isPlainObject.d.ts +0 -2
  305. package/types/lodash/ts3.1/fp/isRegExp.d.ts +0 -2
  306. package/types/lodash/ts3.1/fp/isSafeInteger.d.ts +0 -2
  307. package/types/lodash/ts3.1/fp/isSet.d.ts +0 -2
  308. package/types/lodash/ts3.1/fp/isString.d.ts +0 -2
  309. package/types/lodash/ts3.1/fp/isSymbol.d.ts +0 -2
  310. package/types/lodash/ts3.1/fp/isTypedArray.d.ts +0 -2
  311. package/types/lodash/ts3.1/fp/isUndefined.d.ts +0 -2
  312. package/types/lodash/ts3.1/fp/isWeakMap.d.ts +0 -2
  313. package/types/lodash/ts3.1/fp/isWeakSet.d.ts +0 -2
  314. package/types/lodash/ts3.1/fp/iteratee.d.ts +0 -2
  315. package/types/lodash/ts3.1/fp/join.d.ts +0 -2
  316. package/types/lodash/ts3.1/fp/juxt.d.ts +0 -2
  317. package/types/lodash/ts3.1/fp/kebabCase.d.ts +0 -2
  318. package/types/lodash/ts3.1/fp/keyBy.d.ts +0 -2
  319. package/types/lodash/ts3.1/fp/keys.d.ts +0 -2
  320. package/types/lodash/ts3.1/fp/keysIn.d.ts +0 -2
  321. package/types/lodash/ts3.1/fp/last.d.ts +0 -2
  322. package/types/lodash/ts3.1/fp/lastIndexOf.d.ts +0 -2
  323. package/types/lodash/ts3.1/fp/lastIndexOfFrom.d.ts +0 -2
  324. package/types/lodash/ts3.1/fp/lowerCase.d.ts +0 -2
  325. package/types/lodash/ts3.1/fp/lowerFirst.d.ts +0 -2
  326. package/types/lodash/ts3.1/fp/lt.d.ts +0 -2
  327. package/types/lodash/ts3.1/fp/lte.d.ts +0 -2
  328. package/types/lodash/ts3.1/fp/map.d.ts +0 -2
  329. package/types/lodash/ts3.1/fp/mapKeys.d.ts +0 -2
  330. package/types/lodash/ts3.1/fp/mapValues.d.ts +0 -2
  331. package/types/lodash/ts3.1/fp/matches.d.ts +0 -2
  332. package/types/lodash/ts3.1/fp/matchesProperty.d.ts +0 -2
  333. package/types/lodash/ts3.1/fp/max.d.ts +0 -2
  334. package/types/lodash/ts3.1/fp/maxBy.d.ts +0 -2
  335. package/types/lodash/ts3.1/fp/mean.d.ts +0 -2
  336. package/types/lodash/ts3.1/fp/meanBy.d.ts +0 -2
  337. package/types/lodash/ts3.1/fp/memoize.d.ts +0 -2
  338. package/types/lodash/ts3.1/fp/merge.d.ts +0 -2
  339. package/types/lodash/ts3.1/fp/mergeAll.d.ts +0 -2
  340. package/types/lodash/ts3.1/fp/mergeAllWith.d.ts +0 -2
  341. package/types/lodash/ts3.1/fp/mergeWith.d.ts +0 -2
  342. package/types/lodash/ts3.1/fp/method.d.ts +0 -2
  343. package/types/lodash/ts3.1/fp/methodOf.d.ts +0 -2
  344. package/types/lodash/ts3.1/fp/min.d.ts +0 -2
  345. package/types/lodash/ts3.1/fp/minBy.d.ts +0 -2
  346. package/types/lodash/ts3.1/fp/multiply.d.ts +0 -2
  347. package/types/lodash/ts3.1/fp/nAry.d.ts +0 -2
  348. package/types/lodash/ts3.1/fp/negate.d.ts +0 -2
  349. package/types/lodash/ts3.1/fp/noConflict.d.ts +0 -2
  350. package/types/lodash/ts3.1/fp/noop.d.ts +0 -2
  351. package/types/lodash/ts3.1/fp/now.d.ts +0 -2
  352. package/types/lodash/ts3.1/fp/nth.d.ts +0 -2
  353. package/types/lodash/ts3.1/fp/nthArg.d.ts +0 -2
  354. package/types/lodash/ts3.1/fp/omit.d.ts +0 -2
  355. package/types/lodash/ts3.1/fp/omitAll.d.ts +0 -2
  356. package/types/lodash/ts3.1/fp/omitBy.d.ts +0 -2
  357. package/types/lodash/ts3.1/fp/once.d.ts +0 -2
  358. package/types/lodash/ts3.1/fp/orderBy.d.ts +0 -2
  359. package/types/lodash/ts3.1/fp/over.d.ts +0 -2
  360. package/types/lodash/ts3.1/fp/overArgs.d.ts +0 -2
  361. package/types/lodash/ts3.1/fp/overEvery.d.ts +0 -2
  362. package/types/lodash/ts3.1/fp/overSome.d.ts +0 -2
  363. package/types/lodash/ts3.1/fp/pad.d.ts +0 -2
  364. package/types/lodash/ts3.1/fp/padChars.d.ts +0 -2
  365. package/types/lodash/ts3.1/fp/padCharsEnd.d.ts +0 -2
  366. package/types/lodash/ts3.1/fp/padCharsStart.d.ts +0 -2
  367. package/types/lodash/ts3.1/fp/padEnd.d.ts +0 -2
  368. package/types/lodash/ts3.1/fp/padStart.d.ts +0 -2
  369. package/types/lodash/ts3.1/fp/parseInt.d.ts +0 -2
  370. package/types/lodash/ts3.1/fp/partial.d.ts +0 -2
  371. package/types/lodash/ts3.1/fp/partialRight.d.ts +0 -2
  372. package/types/lodash/ts3.1/fp/partition.d.ts +0 -2
  373. package/types/lodash/ts3.1/fp/path.d.ts +0 -2
  374. package/types/lodash/ts3.1/fp/pathEq.d.ts +0 -2
  375. package/types/lodash/ts3.1/fp/pathOr.d.ts +0 -2
  376. package/types/lodash/ts3.1/fp/paths.d.ts +0 -2
  377. package/types/lodash/ts3.1/fp/pick.d.ts +0 -2
  378. package/types/lodash/ts3.1/fp/pickAll.d.ts +0 -2
  379. package/types/lodash/ts3.1/fp/pickBy.d.ts +0 -2
  380. package/types/lodash/ts3.1/fp/pipe.d.ts +0 -2
  381. package/types/lodash/ts3.1/fp/placeholder.d.ts +0 -3
  382. package/types/lodash/ts3.1/fp/pluck.d.ts +0 -2
  383. package/types/lodash/ts3.1/fp/prop.d.ts +0 -2
  384. package/types/lodash/ts3.1/fp/propEq.d.ts +0 -2
  385. package/types/lodash/ts3.1/fp/propOr.d.ts +0 -2
  386. package/types/lodash/ts3.1/fp/property.d.ts +0 -2
  387. package/types/lodash/ts3.1/fp/propertyOf.d.ts +0 -2
  388. package/types/lodash/ts3.1/fp/props.d.ts +0 -2
  389. package/types/lodash/ts3.1/fp/pull.d.ts +0 -2
  390. package/types/lodash/ts3.1/fp/pullAll.d.ts +0 -2
  391. package/types/lodash/ts3.1/fp/pullAllBy.d.ts +0 -2
  392. package/types/lodash/ts3.1/fp/pullAllWith.d.ts +0 -2
  393. package/types/lodash/ts3.1/fp/pullAt.d.ts +0 -2
  394. package/types/lodash/ts3.1/fp/random.d.ts +0 -2
  395. package/types/lodash/ts3.1/fp/range.d.ts +0 -2
  396. package/types/lodash/ts3.1/fp/rangeRight.d.ts +0 -2
  397. package/types/lodash/ts3.1/fp/rangeStep.d.ts +0 -2
  398. package/types/lodash/ts3.1/fp/rangeStepRight.d.ts +0 -2
  399. package/types/lodash/ts3.1/fp/rearg.d.ts +0 -2
  400. package/types/lodash/ts3.1/fp/reduce.d.ts +0 -2
  401. package/types/lodash/ts3.1/fp/reduceRight.d.ts +0 -2
  402. package/types/lodash/ts3.1/fp/reject.d.ts +0 -2
  403. package/types/lodash/ts3.1/fp/remove.d.ts +0 -2
  404. package/types/lodash/ts3.1/fp/repeat.d.ts +0 -2
  405. package/types/lodash/ts3.1/fp/replace.d.ts +0 -2
  406. package/types/lodash/ts3.1/fp/rest.d.ts +0 -2
  407. package/types/lodash/ts3.1/fp/restFrom.d.ts +0 -2
  408. package/types/lodash/ts3.1/fp/result.d.ts +0 -2
  409. package/types/lodash/ts3.1/fp/reverse.d.ts +0 -2
  410. package/types/lodash/ts3.1/fp/round.d.ts +0 -2
  411. package/types/lodash/ts3.1/fp/runInContext.d.ts +0 -2
  412. package/types/lodash/ts3.1/fp/sample.d.ts +0 -2
  413. package/types/lodash/ts3.1/fp/sampleSize.d.ts +0 -2
  414. package/types/lodash/ts3.1/fp/set.d.ts +0 -2
  415. package/types/lodash/ts3.1/fp/setWith.d.ts +0 -2
  416. package/types/lodash/ts3.1/fp/shuffle.d.ts +0 -2
  417. package/types/lodash/ts3.1/fp/size.d.ts +0 -2
  418. package/types/lodash/ts3.1/fp/slice.d.ts +0 -2
  419. package/types/lodash/ts3.1/fp/snakeCase.d.ts +0 -2
  420. package/types/lodash/ts3.1/fp/some.d.ts +0 -2
  421. package/types/lodash/ts3.1/fp/sortBy.d.ts +0 -2
  422. package/types/lodash/ts3.1/fp/sortedIndex.d.ts +0 -2
  423. package/types/lodash/ts3.1/fp/sortedIndexBy.d.ts +0 -2
  424. package/types/lodash/ts3.1/fp/sortedIndexOf.d.ts +0 -2
  425. package/types/lodash/ts3.1/fp/sortedLastIndex.d.ts +0 -2
  426. package/types/lodash/ts3.1/fp/sortedLastIndexBy.d.ts +0 -2
  427. package/types/lodash/ts3.1/fp/sortedLastIndexOf.d.ts +0 -2
  428. package/types/lodash/ts3.1/fp/sortedUniq.d.ts +0 -2
  429. package/types/lodash/ts3.1/fp/sortedUniqBy.d.ts +0 -2
  430. package/types/lodash/ts3.1/fp/split.d.ts +0 -2
  431. package/types/lodash/ts3.1/fp/spread.d.ts +0 -2
  432. package/types/lodash/ts3.1/fp/spreadFrom.d.ts +0 -2
  433. package/types/lodash/ts3.1/fp/startCase.d.ts +0 -2
  434. package/types/lodash/ts3.1/fp/startsWith.d.ts +0 -2
  435. package/types/lodash/ts3.1/fp/stubArray.d.ts +0 -2
  436. package/types/lodash/ts3.1/fp/stubFalse.d.ts +0 -2
  437. package/types/lodash/ts3.1/fp/stubObject.d.ts +0 -2
  438. package/types/lodash/ts3.1/fp/stubString.d.ts +0 -2
  439. package/types/lodash/ts3.1/fp/stubTrue.d.ts +0 -2
  440. package/types/lodash/ts3.1/fp/subtract.d.ts +0 -2
  441. package/types/lodash/ts3.1/fp/sum.d.ts +0 -2
  442. package/types/lodash/ts3.1/fp/sumBy.d.ts +0 -2
  443. package/types/lodash/ts3.1/fp/symmetricDifference.d.ts +0 -2
  444. package/types/lodash/ts3.1/fp/symmetricDifferenceBy.d.ts +0 -2
  445. package/types/lodash/ts3.1/fp/symmetricDifferenceWith.d.ts +0 -2
  446. package/types/lodash/ts3.1/fp/tail.d.ts +0 -2
  447. package/types/lodash/ts3.1/fp/take.d.ts +0 -2
  448. package/types/lodash/ts3.1/fp/takeLast.d.ts +0 -2
  449. package/types/lodash/ts3.1/fp/takeLastWhile.d.ts +0 -2
  450. package/types/lodash/ts3.1/fp/takeRight.d.ts +0 -2
  451. package/types/lodash/ts3.1/fp/takeRightWhile.d.ts +0 -2
  452. package/types/lodash/ts3.1/fp/takeWhile.d.ts +0 -2
  453. package/types/lodash/ts3.1/fp/tap.d.ts +0 -2
  454. package/types/lodash/ts3.1/fp/template.d.ts +0 -2
  455. package/types/lodash/ts3.1/fp/throttle.d.ts +0 -2
  456. package/types/lodash/ts3.1/fp/thru.d.ts +0 -2
  457. package/types/lodash/ts3.1/fp/times.d.ts +0 -2
  458. package/types/lodash/ts3.1/fp/toArray.d.ts +0 -2
  459. package/types/lodash/ts3.1/fp/toFinite.d.ts +0 -2
  460. package/types/lodash/ts3.1/fp/toInteger.d.ts +0 -2
  461. package/types/lodash/ts3.1/fp/toLength.d.ts +0 -2
  462. package/types/lodash/ts3.1/fp/toLower.d.ts +0 -2
  463. package/types/lodash/ts3.1/fp/toNumber.d.ts +0 -2
  464. package/types/lodash/ts3.1/fp/toPairs.d.ts +0 -2
  465. package/types/lodash/ts3.1/fp/toPairsIn.d.ts +0 -2
  466. package/types/lodash/ts3.1/fp/toPath.d.ts +0 -2
  467. package/types/lodash/ts3.1/fp/toPlainObject.d.ts +0 -2
  468. package/types/lodash/ts3.1/fp/toSafeInteger.d.ts +0 -2
  469. package/types/lodash/ts3.1/fp/toString.d.ts +0 -2
  470. package/types/lodash/ts3.1/fp/toUpper.d.ts +0 -2
  471. package/types/lodash/ts3.1/fp/transform.d.ts +0 -2
  472. package/types/lodash/ts3.1/fp/trim.d.ts +0 -2
  473. package/types/lodash/ts3.1/fp/trimChars.d.ts +0 -2
  474. package/types/lodash/ts3.1/fp/trimCharsEnd.d.ts +0 -2
  475. package/types/lodash/ts3.1/fp/trimCharsStart.d.ts +0 -2
  476. package/types/lodash/ts3.1/fp/trimEnd.d.ts +0 -2
  477. package/types/lodash/ts3.1/fp/trimStart.d.ts +0 -2
  478. package/types/lodash/ts3.1/fp/truncate.d.ts +0 -2
  479. package/types/lodash/ts3.1/fp/unapply.d.ts +0 -2
  480. package/types/lodash/ts3.1/fp/unary.d.ts +0 -2
  481. package/types/lodash/ts3.1/fp/unescape.d.ts +0 -2
  482. package/types/lodash/ts3.1/fp/union.d.ts +0 -2
  483. package/types/lodash/ts3.1/fp/unionBy.d.ts +0 -2
  484. package/types/lodash/ts3.1/fp/unionWith.d.ts +0 -2
  485. package/types/lodash/ts3.1/fp/uniq.d.ts +0 -2
  486. package/types/lodash/ts3.1/fp/uniqBy.d.ts +0 -2
  487. package/types/lodash/ts3.1/fp/uniqWith.d.ts +0 -2
  488. package/types/lodash/ts3.1/fp/uniqueId.d.ts +0 -2
  489. package/types/lodash/ts3.1/fp/unnest.d.ts +0 -2
  490. package/types/lodash/ts3.1/fp/unset.d.ts +0 -2
  491. package/types/lodash/ts3.1/fp/unzip.d.ts +0 -2
  492. package/types/lodash/ts3.1/fp/unzipWith.d.ts +0 -2
  493. package/types/lodash/ts3.1/fp/update.d.ts +0 -2
  494. package/types/lodash/ts3.1/fp/updateWith.d.ts +0 -2
  495. package/types/lodash/ts3.1/fp/upperCase.d.ts +0 -2
  496. package/types/lodash/ts3.1/fp/upperFirst.d.ts +0 -2
  497. package/types/lodash/ts3.1/fp/useWith.d.ts +0 -2
  498. package/types/lodash/ts3.1/fp/values.d.ts +0 -2
  499. package/types/lodash/ts3.1/fp/valuesIn.d.ts +0 -2
  500. package/types/lodash/ts3.1/fp/where.d.ts +0 -2
  501. package/types/lodash/ts3.1/fp/whereEq.d.ts +0 -2
  502. package/types/lodash/ts3.1/fp/without.d.ts +0 -2
  503. package/types/lodash/ts3.1/fp/words.d.ts +0 -2
  504. package/types/lodash/ts3.1/fp/wrap.d.ts +0 -2
  505. package/types/lodash/ts3.1/fp/xor.d.ts +0 -2
  506. package/types/lodash/ts3.1/fp/xorBy.d.ts +0 -2
  507. package/types/lodash/ts3.1/fp/xorWith.d.ts +0 -2
  508. package/types/lodash/ts3.1/fp/zip.d.ts +0 -2
  509. package/types/lodash/ts3.1/fp/zipAll.d.ts +0 -2
  510. package/types/lodash/ts3.1/fp/zipObj.d.ts +0 -2
  511. package/types/lodash/ts3.1/fp/zipObject.d.ts +0 -2
  512. package/types/lodash/ts3.1/fp/zipObjectDeep.d.ts +0 -2
  513. package/types/lodash/ts3.1/fp/zipWith.d.ts +0 -2
  514. package/types/lodash/ts3.1/fp.d.ts +0 -4938
  515. package/types/lodash/ts3.1/fromPairs.d.ts +0 -2
  516. package/types/lodash/ts3.1/functions.d.ts +0 -2
  517. package/types/lodash/ts3.1/functionsIn.d.ts +0 -2
  518. package/types/lodash/ts3.1/get.d.ts +0 -2
  519. package/types/lodash/ts3.1/groupBy.d.ts +0 -2
  520. package/types/lodash/ts3.1/gt.d.ts +0 -2
  521. package/types/lodash/ts3.1/gte.d.ts +0 -2
  522. package/types/lodash/ts3.1/has.d.ts +0 -2
  523. package/types/lodash/ts3.1/hasIn.d.ts +0 -2
  524. package/types/lodash/ts3.1/head.d.ts +0 -2
  525. package/types/lodash/ts3.1/identity.d.ts +0 -2
  526. package/types/lodash/ts3.1/inRange.d.ts +0 -2
  527. package/types/lodash/ts3.1/includes.d.ts +0 -2
  528. package/types/lodash/ts3.1/index.d.ts +0 -33
  529. package/types/lodash/ts3.1/indexOf.d.ts +0 -2
  530. package/types/lodash/ts3.1/initial.d.ts +0 -2
  531. package/types/lodash/ts3.1/intersection.d.ts +0 -2
  532. package/types/lodash/ts3.1/intersectionBy.d.ts +0 -2
  533. package/types/lodash/ts3.1/intersectionWith.d.ts +0 -2
  534. package/types/lodash/ts3.1/invert.d.ts +0 -2
  535. package/types/lodash/ts3.1/invertBy.d.ts +0 -2
  536. package/types/lodash/ts3.1/invoke.d.ts +0 -2
  537. package/types/lodash/ts3.1/invokeMap.d.ts +0 -2
  538. package/types/lodash/ts3.1/isArguments.d.ts +0 -2
  539. package/types/lodash/ts3.1/isArray.d.ts +0 -2
  540. package/types/lodash/ts3.1/isArrayBuffer.d.ts +0 -2
  541. package/types/lodash/ts3.1/isArrayLike.d.ts +0 -2
  542. package/types/lodash/ts3.1/isArrayLikeObject.d.ts +0 -2
  543. package/types/lodash/ts3.1/isBoolean.d.ts +0 -2
  544. package/types/lodash/ts3.1/isBuffer.d.ts +0 -2
  545. package/types/lodash/ts3.1/isDate.d.ts +0 -2
  546. package/types/lodash/ts3.1/isElement.d.ts +0 -2
  547. package/types/lodash/ts3.1/isEmpty.d.ts +0 -2
  548. package/types/lodash/ts3.1/isEqual.d.ts +0 -2
  549. package/types/lodash/ts3.1/isEqualWith.d.ts +0 -2
  550. package/types/lodash/ts3.1/isError.d.ts +0 -2
  551. package/types/lodash/ts3.1/isFinite.d.ts +0 -2
  552. package/types/lodash/ts3.1/isFunction.d.ts +0 -2
  553. package/types/lodash/ts3.1/isInteger.d.ts +0 -2
  554. package/types/lodash/ts3.1/isLength.d.ts +0 -2
  555. package/types/lodash/ts3.1/isMap.d.ts +0 -2
  556. package/types/lodash/ts3.1/isMatch.d.ts +0 -2
  557. package/types/lodash/ts3.1/isMatchWith.d.ts +0 -2
  558. package/types/lodash/ts3.1/isNaN.d.ts +0 -2
  559. package/types/lodash/ts3.1/isNative.d.ts +0 -2
  560. package/types/lodash/ts3.1/isNil.d.ts +0 -2
  561. package/types/lodash/ts3.1/isNull.d.ts +0 -2
  562. package/types/lodash/ts3.1/isNumber.d.ts +0 -2
  563. package/types/lodash/ts3.1/isObject.d.ts +0 -2
  564. package/types/lodash/ts3.1/isObjectLike.d.ts +0 -2
  565. package/types/lodash/ts3.1/isPlainObject.d.ts +0 -2
  566. package/types/lodash/ts3.1/isRegExp.d.ts +0 -2
  567. package/types/lodash/ts3.1/isSafeInteger.d.ts +0 -2
  568. package/types/lodash/ts3.1/isSet.d.ts +0 -2
  569. package/types/lodash/ts3.1/isString.d.ts +0 -2
  570. package/types/lodash/ts3.1/isSymbol.d.ts +0 -2
  571. package/types/lodash/ts3.1/isTypedArray.d.ts +0 -2
  572. package/types/lodash/ts3.1/isUndefined.d.ts +0 -2
  573. package/types/lodash/ts3.1/isWeakMap.d.ts +0 -2
  574. package/types/lodash/ts3.1/isWeakSet.d.ts +0 -2
  575. package/types/lodash/ts3.1/iteratee.d.ts +0 -2
  576. package/types/lodash/ts3.1/join.d.ts +0 -2
  577. package/types/lodash/ts3.1/kebabCase.d.ts +0 -2
  578. package/types/lodash/ts3.1/keyBy.d.ts +0 -2
  579. package/types/lodash/ts3.1/keys.d.ts +0 -2
  580. package/types/lodash/ts3.1/keysIn.d.ts +0 -2
  581. package/types/lodash/ts3.1/last.d.ts +0 -2
  582. package/types/lodash/ts3.1/lastIndexOf.d.ts +0 -2
  583. package/types/lodash/ts3.1/lowerCase.d.ts +0 -2
  584. package/types/lodash/ts3.1/lowerFirst.d.ts +0 -2
  585. package/types/lodash/ts3.1/lt.d.ts +0 -2
  586. package/types/lodash/ts3.1/lte.d.ts +0 -2
  587. package/types/lodash/ts3.1/map.d.ts +0 -2
  588. package/types/lodash/ts3.1/mapKeys.d.ts +0 -2
  589. package/types/lodash/ts3.1/mapValues.d.ts +0 -2
  590. package/types/lodash/ts3.1/matches.d.ts +0 -2
  591. package/types/lodash/ts3.1/matchesProperty.d.ts +0 -2
  592. package/types/lodash/ts3.1/max.d.ts +0 -2
  593. package/types/lodash/ts3.1/maxBy.d.ts +0 -2
  594. package/types/lodash/ts3.1/mean.d.ts +0 -2
  595. package/types/lodash/ts3.1/meanBy.d.ts +0 -2
  596. package/types/lodash/ts3.1/memoize.d.ts +0 -2
  597. package/types/lodash/ts3.1/merge.d.ts +0 -2
  598. package/types/lodash/ts3.1/mergeWith.d.ts +0 -2
  599. package/types/lodash/ts3.1/method.d.ts +0 -2
  600. package/types/lodash/ts3.1/methodOf.d.ts +0 -2
  601. package/types/lodash/ts3.1/min.d.ts +0 -2
  602. package/types/lodash/ts3.1/minBy.d.ts +0 -2
  603. package/types/lodash/ts3.1/mixin.d.ts +0 -2
  604. package/types/lodash/ts3.1/multiply.d.ts +0 -2
  605. package/types/lodash/ts3.1/negate.d.ts +0 -2
  606. package/types/lodash/ts3.1/noConflict.d.ts +0 -2
  607. package/types/lodash/ts3.1/noop.d.ts +0 -2
  608. package/types/lodash/ts3.1/now.d.ts +0 -2
  609. package/types/lodash/ts3.1/nth.d.ts +0 -2
  610. package/types/lodash/ts3.1/nthArg.d.ts +0 -2
  611. package/types/lodash/ts3.1/omit.d.ts +0 -2
  612. package/types/lodash/ts3.1/omitBy.d.ts +0 -2
  613. package/types/lodash/ts3.1/once.d.ts +0 -2
  614. package/types/lodash/ts3.1/orderBy.d.ts +0 -2
  615. package/types/lodash/ts3.1/over.d.ts +0 -2
  616. package/types/lodash/ts3.1/overArgs.d.ts +0 -2
  617. package/types/lodash/ts3.1/overEvery.d.ts +0 -2
  618. package/types/lodash/ts3.1/overSome.d.ts +0 -2
  619. package/types/lodash/ts3.1/pad.d.ts +0 -2
  620. package/types/lodash/ts3.1/padEnd.d.ts +0 -2
  621. package/types/lodash/ts3.1/padStart.d.ts +0 -2
  622. package/types/lodash/ts3.1/parseInt.d.ts +0 -2
  623. package/types/lodash/ts3.1/partial.d.ts +0 -2
  624. package/types/lodash/ts3.1/partialRight.d.ts +0 -2
  625. package/types/lodash/ts3.1/partition.d.ts +0 -2
  626. package/types/lodash/ts3.1/pick.d.ts +0 -2
  627. package/types/lodash/ts3.1/pickBy.d.ts +0 -2
  628. package/types/lodash/ts3.1/property.d.ts +0 -2
  629. package/types/lodash/ts3.1/propertyOf.d.ts +0 -2
  630. package/types/lodash/ts3.1/pull.d.ts +0 -2
  631. package/types/lodash/ts3.1/pullAll.d.ts +0 -2
  632. package/types/lodash/ts3.1/pullAllBy.d.ts +0 -2
  633. package/types/lodash/ts3.1/pullAllWith.d.ts +0 -2
  634. package/types/lodash/ts3.1/pullAt.d.ts +0 -2
  635. package/types/lodash/ts3.1/random.d.ts +0 -2
  636. package/types/lodash/ts3.1/range.d.ts +0 -2
  637. package/types/lodash/ts3.1/rangeRight.d.ts +0 -2
  638. package/types/lodash/ts3.1/rearg.d.ts +0 -2
  639. package/types/lodash/ts3.1/reduce.d.ts +0 -2
  640. package/types/lodash/ts3.1/reduceRight.d.ts +0 -2
  641. package/types/lodash/ts3.1/reject.d.ts +0 -2
  642. package/types/lodash/ts3.1/remove.d.ts +0 -2
  643. package/types/lodash/ts3.1/repeat.d.ts +0 -2
  644. package/types/lodash/ts3.1/replace.d.ts +0 -2
  645. package/types/lodash/ts3.1/rest.d.ts +0 -2
  646. package/types/lodash/ts3.1/result.d.ts +0 -2
  647. package/types/lodash/ts3.1/reverse.d.ts +0 -2
  648. package/types/lodash/ts3.1/round.d.ts +0 -2
  649. package/types/lodash/ts3.1/runInContext.d.ts +0 -2
  650. package/types/lodash/ts3.1/sample.d.ts +0 -2
  651. package/types/lodash/ts3.1/sampleSize.d.ts +0 -2
  652. package/types/lodash/ts3.1/set.d.ts +0 -2
  653. package/types/lodash/ts3.1/setWith.d.ts +0 -2
  654. package/types/lodash/ts3.1/shuffle.d.ts +0 -2
  655. package/types/lodash/ts3.1/size.d.ts +0 -2
  656. package/types/lodash/ts3.1/slice.d.ts +0 -2
  657. package/types/lodash/ts3.1/snakeCase.d.ts +0 -2
  658. package/types/lodash/ts3.1/some.d.ts +0 -2
  659. package/types/lodash/ts3.1/sortBy.d.ts +0 -2
  660. package/types/lodash/ts3.1/sortedIndex.d.ts +0 -2
  661. package/types/lodash/ts3.1/sortedIndexBy.d.ts +0 -2
  662. package/types/lodash/ts3.1/sortedIndexOf.d.ts +0 -2
  663. package/types/lodash/ts3.1/sortedLastIndex.d.ts +0 -2
  664. package/types/lodash/ts3.1/sortedLastIndexBy.d.ts +0 -2
  665. package/types/lodash/ts3.1/sortedLastIndexOf.d.ts +0 -2
  666. package/types/lodash/ts3.1/sortedUniq.d.ts +0 -2
  667. package/types/lodash/ts3.1/sortedUniqBy.d.ts +0 -2
  668. package/types/lodash/ts3.1/split.d.ts +0 -2
  669. package/types/lodash/ts3.1/spread.d.ts +0 -2
  670. package/types/lodash/ts3.1/startCase.d.ts +0 -2
  671. package/types/lodash/ts3.1/startsWith.d.ts +0 -2
  672. package/types/lodash/ts3.1/stubFalse.d.ts +0 -2
  673. package/types/lodash/ts3.1/stubTrue.d.ts +0 -2
  674. package/types/lodash/ts3.1/subtract.d.ts +0 -2
  675. package/types/lodash/ts3.1/sum.d.ts +0 -2
  676. package/types/lodash/ts3.1/sumBy.d.ts +0 -2
  677. package/types/lodash/ts3.1/tail.d.ts +0 -2
  678. package/types/lodash/ts3.1/take.d.ts +0 -2
  679. package/types/lodash/ts3.1/takeRight.d.ts +0 -2
  680. package/types/lodash/ts3.1/takeRightWhile.d.ts +0 -2
  681. package/types/lodash/ts3.1/takeWhile.d.ts +0 -2
  682. package/types/lodash/ts3.1/tap.d.ts +0 -2
  683. package/types/lodash/ts3.1/template.d.ts +0 -2
  684. package/types/lodash/ts3.1/throttle.d.ts +0 -2
  685. package/types/lodash/ts3.1/thru.d.ts +0 -2
  686. package/types/lodash/ts3.1/times.d.ts +0 -2
  687. package/types/lodash/ts3.1/toArray.d.ts +0 -2
  688. package/types/lodash/ts3.1/toFinite.d.ts +0 -2
  689. package/types/lodash/ts3.1/toInteger.d.ts +0 -2
  690. package/types/lodash/ts3.1/toLength.d.ts +0 -2
  691. package/types/lodash/ts3.1/toLower.d.ts +0 -2
  692. package/types/lodash/ts3.1/toNumber.d.ts +0 -2
  693. package/types/lodash/ts3.1/toPairs.d.ts +0 -2
  694. package/types/lodash/ts3.1/toPairsIn.d.ts +0 -2
  695. package/types/lodash/ts3.1/toPath.d.ts +0 -2
  696. package/types/lodash/ts3.1/toPlainObject.d.ts +0 -2
  697. package/types/lodash/ts3.1/toSafeInteger.d.ts +0 -2
  698. package/types/lodash/ts3.1/toString.d.ts +0 -2
  699. package/types/lodash/ts3.1/toUpper.d.ts +0 -2
  700. package/types/lodash/ts3.1/transform.d.ts +0 -2
  701. package/types/lodash/ts3.1/trim.d.ts +0 -2
  702. package/types/lodash/ts3.1/trimEnd.d.ts +0 -2
  703. package/types/lodash/ts3.1/trimStart.d.ts +0 -2
  704. package/types/lodash/ts3.1/truncate.d.ts +0 -2
  705. package/types/lodash/ts3.1/unary.d.ts +0 -2
  706. package/types/lodash/ts3.1/unescape.d.ts +0 -2
  707. package/types/lodash/ts3.1/union.d.ts +0 -2
  708. package/types/lodash/ts3.1/unionBy.d.ts +0 -2
  709. package/types/lodash/ts3.1/unionWith.d.ts +0 -2
  710. package/types/lodash/ts3.1/uniq.d.ts +0 -2
  711. package/types/lodash/ts3.1/uniqBy.d.ts +0 -2
  712. package/types/lodash/ts3.1/uniqWith.d.ts +0 -2
  713. package/types/lodash/ts3.1/uniqueId.d.ts +0 -2
  714. package/types/lodash/ts3.1/unset.d.ts +0 -2
  715. package/types/lodash/ts3.1/unzip.d.ts +0 -2
  716. package/types/lodash/ts3.1/unzipWith.d.ts +0 -2
  717. package/types/lodash/ts3.1/update.d.ts +0 -2
  718. package/types/lodash/ts3.1/updateWith.d.ts +0 -2
  719. package/types/lodash/ts3.1/upperCase.d.ts +0 -2
  720. package/types/lodash/ts3.1/upperFirst.d.ts +0 -2
  721. package/types/lodash/ts3.1/values.d.ts +0 -2
  722. package/types/lodash/ts3.1/valuesIn.d.ts +0 -2
  723. package/types/lodash/ts3.1/without.d.ts +0 -2
  724. package/types/lodash/ts3.1/words.d.ts +0 -2
  725. package/types/lodash/ts3.1/wrap.d.ts +0 -2
  726. package/types/lodash/ts3.1/xor.d.ts +0 -2
  727. package/types/lodash/ts3.1/xorBy.d.ts +0 -2
  728. package/types/lodash/ts3.1/xorWith.d.ts +0 -2
  729. package/types/lodash/ts3.1/zip.d.ts +0 -2
  730. package/types/lodash/ts3.1/zipObject.d.ts +0 -2
  731. package/types/lodash/ts3.1/zipObjectDeep.d.ts +0 -2
  732. package/types/lodash/ts3.1/zipWith.d.ts +0 -2
package/lib/cli.js CHANGED
@@ -330,15 +330,15 @@ module.exports = {
330
330
  program.command('open-ct').usage('[options]').description('Opens Cypress component testing interactive mode.').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(opts => {
331
331
  debug('opening Cypress');
332
332
 
333
- require('./exec/open').start(util.parseOpts(opts), {
334
- isComponentTesting: true
333
+ require('./exec/open').start({ ...util.parseOpts(opts),
334
+ testingType: 'component'
335
335
  }).catch(util.logErrorExit1);
336
336
  });
337
337
  program.command('run-ct').usage('[options]').description('Runs all Cypress Component Testing suites').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('-q, --quiet', text('quiet')).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(opts => {
338
338
  debug('running Cypress run-ct');
339
339
 
340
- require('./exec/run').start(util.parseOpts(opts), {
341
- isComponentTesting: true
340
+ require('./exec/run').start({ ...util.parseOpts(opts),
341
+ testingType: 'component'
342
342
  }).then(util.exit).catch(util.logErrorExit1);
343
343
  });
344
344
  program.command('install').usage('[options]').description('Installs the Cypress executable matching this package\'s version').option('-f, --force', text('forceInstall')).action(opts => {
package/lib/errors.js CHANGED
@@ -210,6 +210,10 @@ const invalidCypressEnv = {
210
210
  solution: chalk.red('Unset the "CYPRESS_INTERNAL_ENV" environment variable and run Cypress again.'),
211
211
  exitCode: 11
212
212
  };
213
+ const invalidTestingType = {
214
+ description: 'Invalid testingType',
215
+ solution: `Please provide a valid testingType. Valid test types are ${chalk.cyan('\'e2e\'')} and ${chalk.cyan('\'component\'')}.`
216
+ };
213
217
  /**
214
218
  * This error happens when CLI detects that the child Test Runner process
215
219
  * was killed with a signal, like SIGBUS
@@ -390,6 +394,7 @@ module.exports = {
390
394
  smokeTestFailure,
391
395
  childProcessKilled,
392
396
  incompatibleHeadlessFlags,
393
- invalidRunProjectPath
397
+ invalidRunProjectPath,
398
+ invalidTestingType
394
399
  }
395
400
  };
package/lib/exec/open.js CHANGED
@@ -8,12 +8,12 @@ const spawn = require('./spawn');
8
8
 
9
9
  const verify = require('../tasks/verify');
10
10
 
11
+ const {
12
+ processTestingType
13
+ } = require('./shared');
14
+
11
15
  module.exports = {
12
- start(options = {}, {
13
- isComponentTesting
14
- } = {
15
- isComponentTesting: false
16
- }) {
16
+ start(options = {}) {
17
17
  if (!util.isInstalledGlobally() && !options.global && !options.project) {
18
18
  options.project = process.cwd();
19
19
  }
@@ -44,10 +44,7 @@ module.exports = {
44
44
  args.push('--project', options.project);
45
45
  }
46
46
 
47
- if (isComponentTesting) {
48
- args.push('--testing-type', 'component');
49
- }
50
-
47
+ args.push(...processTestingType(options.testingType));
51
48
  debug('opening from options %j', options);
52
49
  debug('command line arguments %j', args);
53
50
 
package/lib/exec/run.js CHANGED
@@ -14,24 +14,11 @@ const {
14
14
  exitWithError,
15
15
  errors
16
16
  } = require('../errors');
17
- /**
18
- * Throws an error with "details" property from
19
- * "errors" object.
20
- * @param {Object} details - Error details
21
- */
22
-
23
-
24
- const throwInvalidOptionError = details => {
25
- if (!details) {
26
- details = errors.unknownError;
27
- } // throw this error synchronously, it will be caught later on and
28
- // the details will be propagated to the promise chain
29
-
30
17
 
31
- const err = new Error();
32
- err.details = details;
33
- throw err;
34
- };
18
+ const {
19
+ processTestingType,
20
+ throwInvalidOptionError
21
+ } = require('./shared');
35
22
  /**
36
23
  * Typically a user passes a string path to the project.
37
24
  * But "cypress open" allows using `false` to open in global mode,
@@ -166,6 +153,7 @@ const processRunOptions = (options = {}) => {
166
153
  args.push('--tag', options.tag);
167
154
  }
168
155
 
156
+ args.push(...processTestingType(options.testingType));
169
157
  return args;
170
158
  };
171
159
 
@@ -174,11 +162,7 @@ module.exports = {
174
162
  isValidProject,
175
163
 
176
164
  // resolves with the number of failed tests
177
- start(options = {}, {
178
- isComponentTesting
179
- } = {
180
- isComponentTesting: false
181
- }) {
165
+ start(options = {}) {
182
166
  _.defaults(options, {
183
167
  key: null,
184
168
  spec: null,
@@ -200,10 +184,6 @@ module.exports = {
200
184
  throw err;
201
185
  }
202
186
 
203
- if (isComponentTesting) {
204
- args.push('--testing-type', 'component');
205
- }
206
-
207
187
  debug('run to spawn.start args %j', args);
208
188
  return spawn.start(args, {
209
189
  dev: options.dev
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+
3
+ const {
4
+ errors
5
+ } = require('../errors');
6
+ /**
7
+ * Throws an error with "details" property from
8
+ * "errors" object.
9
+ * @param {Object} details - Error details
10
+ */
11
+
12
+
13
+ const throwInvalidOptionError = details => {
14
+ if (!details) {
15
+ details = errors.unknownError;
16
+ } // throw this error synchronously, it will be caught later on and
17
+ // the details will be propagated to the promise chain
18
+
19
+
20
+ const err = new Error();
21
+ err.details = details;
22
+ throw err;
23
+ };
24
+ /**
25
+ * Selects exec args based on the configured `testingType`
26
+ * @param {string} testingType The type of tests being executed
27
+ * @returns {string[]} The array of new exec arguments
28
+ */
29
+
30
+
31
+ const processTestingType = testingType => {
32
+ if (testingType) {
33
+ if (testingType === 'e2e') {
34
+ return ['--testing-type', 'e2e'];
35
+ }
36
+
37
+ if (testingType === 'component') {
38
+ return ['--testing-type', 'component'];
39
+ }
40
+
41
+ return throwInvalidOptionError(errors.invalidTestingType);
42
+ }
43
+
44
+ return [];
45
+ };
46
+
47
+ module.exports = {
48
+ throwInvalidOptionError,
49
+ processTestingType
50
+ };
@@ -66,6 +66,26 @@ const getBaseUrl = () => {
66
66
  return defaultBaseUrl;
67
67
  };
68
68
 
69
+ const getCA = () => {
70
+ return new Promise(resolve => {
71
+ if (!util.getEnv('CYPRESS_DOWNLOAD_USE_CA')) {
72
+ resolve();
73
+ }
74
+
75
+ if (process.env.npm_config_ca) {
76
+ resolve(process.env.npm_config_ca);
77
+ } else if (process.env.npm_config_cafile) {
78
+ fs.readFile(process.env.npm_config_cafile, 'utf8').then(cafileContent => {
79
+ resolve(cafileContent);
80
+ }).catch(() => {
81
+ resolve();
82
+ });
83
+ } else {
84
+ resolve();
85
+ }
86
+ });
87
+ };
88
+
69
89
  const prepend = urlPath => {
70
90
  const endpoint = url.resolve(getBaseUrl(), urlPath);
71
91
  const platform = os.platform();
@@ -174,7 +194,8 @@ const verifyDownloadedFile = (filename, expectedSize, expectedChecksum) => {
174
194
  const downloadFromUrl = ({
175
195
  url,
176
196
  downloadDestination,
177
- progress
197
+ progress,
198
+ ca
178
199
  }) => {
179
200
  return new Promise((resolve, reject) => {
180
201
  const proxy = getProxyUrl();
@@ -184,7 +205,7 @@ const downloadFromUrl = ({
184
205
  downloadDestination
185
206
  });
186
207
  let redirectVersion;
187
- const req = request({
208
+ const reqOptions = {
188
209
  url,
189
210
  proxy,
190
211
 
@@ -203,7 +224,16 @@ const downloadFromUrl = ({
203
224
  return true;
204
225
  }
205
226
 
206
- }); // closure
227
+ };
228
+
229
+ if (ca) {
230
+ debug('using custom CA details from npm config');
231
+ reqOptions.agentOptions = {
232
+ ca
233
+ };
234
+ }
235
+
236
+ const req = request(reqOptions); // closure
207
237
 
208
238
  let started = null;
209
239
  let expectedSize;
@@ -292,10 +322,13 @@ const start = opts => {
292
322
  debug(`downloading cypress.zip to "${downloadDestination}"`); // ensure download dir exists
293
323
 
294
324
  return fs.ensureDirAsync(path.dirname(downloadDestination)).then(() => {
325
+ return getCA();
326
+ }).then(ca => {
295
327
  return downloadFromUrl({
296
328
  url,
297
329
  downloadDestination,
298
- progress
330
+ progress,
331
+ ca
299
332
  });
300
333
  }).catch(err => {
301
334
  return prettyDownloadErr(err, version);
@@ -305,5 +338,6 @@ const start = opts => {
305
338
  module.exports = {
306
339
  start,
307
340
  getUrl,
308
- getProxyUrl
341
+ getProxyUrl,
342
+ getCA
309
343
  };
@@ -12,7 +12,9 @@ const chalk = require('chalk');
12
12
 
13
13
  const debug = require('debug')('cypress:cli');
14
14
 
15
- const Listr = require('listr');
15
+ const {
16
+ Listr
17
+ } = require('listr2');
16
18
 
17
19
  const verbose = require('@cypress/listr-verbose-renderer');
18
20
 
@@ -179,7 +181,9 @@ const downloadAndUnzip = ({
179
181
  logger.log(`Installing Cypress ${chalk.gray(`(version: ${version})`)}`);
180
182
  logger.log();
181
183
  const tasks = new Listr([{
182
- title: util.titleize('Downloading Cypress'),
184
+ options: {
185
+ title: util.titleize('Downloading Cypress')
186
+ },
183
187
  task: (ctx, task) => {
184
188
  // as our download progresses indicate the status
185
189
  progress.onProgress = progessify(task, 'Downloading Cypress');
@@ -201,7 +205,9 @@ const downloadAndUnzip = ({
201
205
  installDir,
202
206
  rendererOptions
203
207
  }), {
204
- title: util.titleize('Finishing Installation'),
208
+ options: {
209
+ title: util.titleize('Finishing Installation')
210
+ },
205
211
  task: (ctx, task) => {
206
212
  const cleanup = () => {
207
213
  debug('removing zip file %s', downloadDestination);
@@ -213,7 +219,9 @@ const downloadAndUnzip = ({
213
219
  util.setTaskTitle(task, util.titleize(chalk.green('Finished Installation'), chalk.gray(installDir)), rendererOptions.renderer);
214
220
  });
215
221
  }
216
- }], rendererOptions); // start the tasks!
222
+ }], {
223
+ rendererOptions
224
+ }); // start the tasks!
217
225
 
218
226
  return Promise.resolve(tasks.run());
219
227
  };
@@ -361,7 +369,9 @@ const start = (options = {}) => {
361
369
  zipFilePath: absolutePath,
362
370
  installDir,
363
371
  rendererOptions
364
- })], rendererOptions).run();
372
+ })], {
373
+ rendererOptions
374
+ }).run();
365
375
  }
366
376
 
367
377
  if (options.force) {
@@ -396,7 +406,9 @@ const unzipTask = ({
396
406
  rendererOptions
397
407
  }) => {
398
408
  return {
399
- title: util.titleize('Unzipping Cypress'),
409
+ options: {
410
+ title: util.titleize('Unzipping Cypress')
411
+ },
400
412
  task: (ctx, task) => {
401
413
  // as our unzip progresses indicate the status
402
414
  progress.onProgress = progessify(task, 'Unzipping Cypress');
@@ -78,23 +78,20 @@ const unzip = ({
78
78
 
79
79
  const unzipWithNode = () => {
80
80
  debug('unzipping with node.js (slow)');
81
-
82
- const endFn = err => {
83
- if (err) {
84
- debug('error %s', err.message);
85
- return reject(err);
86
- }
87
-
88
- debug('node unzip finished');
89
- return resolve();
90
- };
91
-
92
81
  const opts = {
93
82
  dir: installDir,
94
83
  onEntry: tick
95
84
  };
96
85
  debug('calling Node extract tool %s %o', zipFilePath, opts);
97
- return unzipTools.extract(zipFilePath, opts, endFn);
86
+ return unzipTools.extract(zipFilePath, opts).then(() => {
87
+ debug('node unzip finished');
88
+ return resolve();
89
+ }).catch(err => {
90
+ if (err) {
91
+ debug('error %s', err.message);
92
+ return reject(err);
93
+ }
94
+ });
98
95
  };
99
96
 
100
97
  const unzipFallback = _.once(unzipWithNode);
@@ -4,7 +4,9 @@ const _ = require('lodash');
4
4
 
5
5
  const chalk = require('chalk');
6
6
 
7
- const Listr = require('listr');
7
+ const {
8
+ Listr
9
+ } = require('listr2');
8
10
 
9
11
  const debug = require('debug')('cypress:cli');
10
12
 
@@ -184,7 +186,9 @@ function testBinary(version, binaryDir, options) {
184
186
  renderer
185
187
  };
186
188
  const tasks = new Listr([{
187
- title: util.titleize('Verifying Cypress can run', chalk.gray(binaryDir)),
189
+ options: {
190
+ title: util.titleize('Verifying Cypress can run', chalk.gray(binaryDir))
191
+ },
188
192
  task: (ctx, task) => {
189
193
  debug('clearing out the verified version');
190
194
  return state.clearBinaryStateAsync(binaryDir).then(() => {
@@ -197,7 +201,9 @@ function testBinary(version, binaryDir, options) {
197
201
  util.setTaskTitle(task, util.titleize(chalk.green('Verified Cypress!'), chalk.gray(binaryDir)), rendererOptions.renderer);
198
202
  });
199
203
  }
200
- }], rendererOptions);
204
+ }], {
205
+ rendererOptions
206
+ });
201
207
  return tasks.run();
202
208
  }
203
209
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cypress",
3
- "version": "7.1.0",
3
+ "version": "7.5.0",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "postinstall": "node index.js --exec install",
@@ -27,13 +27,13 @@
27
27
  "eventemitter2": "^6.4.3",
28
28
  "execa": "4.1.0",
29
29
  "executable": "^4.1.1",
30
- "extract-zip": "^1.7.0",
30
+ "extract-zip": "2.0.1",
31
31
  "fs-extra": "^9.1.0",
32
32
  "getos": "^3.2.1",
33
33
  "is-ci": "^3.0.0",
34
34
  "is-installed-globally": "~0.4.0",
35
35
  "lazy-ass": "^1.6.0",
36
- "listr": "^0.14.3",
36
+ "listr2": "^3.8.3",
37
37
  "lodash": "^4.17.21",
38
38
  "log-symbols": "^4.0.0",
39
39
  "minimist": "^1.2.5",
@@ -62,7 +62,6 @@
62
62
  },
63
63
  "types": "types",
64
64
  "description": "Cypress.io end to end testing tool",
65
- "author": "Brian Mann",
66
65
  "homepage": "https://github.com/cypress-io/cypress",
67
66
  "license": "MIT",
68
67
  "bugs": {
@@ -1949,6 +1949,8 @@ declare module "chai" {
1949
1949
  export = chai;
1950
1950
  }
1951
1951
 
1952
- interface Object {
1953
- should: Chai.Assertion;
1954
- }
1952
+ // const a = 1; a.should(1); doesn't work with Cypress
1953
+ // https://github.com/cypress-io/cypress/issues/16548
1954
+ // interface Object {
1955
+ // should: Chai.Assertion;
1956
+ // }
@@ -156,6 +156,11 @@ declare namespace CypressCommandLine {
156
156
  * Path to a specific project
157
157
  */
158
158
  project: string
159
+ /**
160
+ * Specify the type of tests to execute.
161
+ * @default "e2e"
162
+ */
163
+ testingType: Cypress.TestingType
159
164
  }
160
165
 
161
166
  // small utility types to better express meaning of other types
@@ -8,6 +8,7 @@ declare namespace Cypress {
8
8
  type RequestBody = string | object
9
9
  type ViewportOrientation = 'portrait' | 'landscape'
10
10
  type PrevSubject = 'optional' | 'element' | 'document' | 'window'
11
+ type TestingType = 'e2e' | 'component'
11
12
  type PluginConfig = (on: PluginEvents, config: PluginConfigOptions) => void | ConfigOptions | Promise<ConfigOptions>
12
13
 
13
14
  interface CommandOptions {
@@ -251,6 +252,11 @@ declare namespace Cypress {
251
252
  */
252
253
  LocalStorage: LocalStorage
253
254
 
255
+ /**
256
+ * Current testing type, determined by the Test Runner chosen to run.
257
+ */
258
+ testingType: TestingType
259
+
254
260
  /**
255
261
  * Fire automation:request event for internal use.
256
262
  */
@@ -392,7 +398,7 @@ declare namespace Cypress {
392
398
  Cookies: {
393
399
  debug(enabled: boolean, options?: Partial<DebugOptions>): void
394
400
  preserveOnce(...names: string[]): void
395
- defaults(options: Partial<CookieDefaults>): void
401
+ defaults(options: Partial<CookieDefaults>): CookieDefaults
396
402
  }
397
403
 
398
404
  /**
@@ -498,6 +504,14 @@ declare namespace Cypress {
498
504
  defaults(options: Partial<ScreenshotDefaultsOptions>): void
499
505
  }
500
506
 
507
+ /**
508
+ * @see https://on.cypress.io/selector-playground-api
509
+ */
510
+ SelectorPlayground: {
511
+ defaults(options: Partial<SelectorPlaygroundDefaultsOptions>): void
512
+ getSelector($el: JQuery): JQuery.Selector
513
+ }
514
+
501
515
  /**
502
516
  * These events come from Cypress as it issues commands and reacts to their state. These are all useful to listen to for debugging purposes.
503
517
  * @see https://on.cypress.io/catalog-of-events#App-Events
@@ -1456,7 +1470,7 @@ declare namespace Cypress {
1456
1470
  * @example
1457
1471
  * cy.request('http://dev.local/seed')
1458
1472
  */
1459
- request(url: string, body?: RequestBody): Chainable<Response>
1473
+ request<T = any>(url: string, body?: RequestBody): Chainable<Response<T>>
1460
1474
  /**
1461
1475
  * Make an HTTP request with specific method.
1462
1476
  *
@@ -1464,7 +1478,7 @@ declare namespace Cypress {
1464
1478
  * @example
1465
1479
  * cy.request('POST', 'http://localhost:8888/users', {name: 'Jane'})
1466
1480
  */
1467
- request(method: HttpMethod, url: string, body?: RequestBody): Chainable<Response>
1481
+ request<T = any>(method: HttpMethod, url: string, body?: RequestBody): Chainable<Response<T>>
1468
1482
  /**
1469
1483
  * Make an HTTP request with specific behavior.
1470
1484
  *
@@ -1475,7 +1489,7 @@ declare namespace Cypress {
1475
1489
  * followRedirect: false // turn off following redirects
1476
1490
  * })
1477
1491
  */
1478
- request(options: Partial<RequestOptions>): Chainable<Response>
1492
+ request<T = any>(options: Partial<RequestOptions>): Chainable<Response<T>>
1479
1493
 
1480
1494
  /**
1481
1495
  * Get the root DOM element.
@@ -1818,6 +1832,12 @@ declare namespace Cypress {
1818
1832
  * @see https://on.cypress.io/then
1819
1833
  */
1820
1834
  then<S extends HTMLElement>(fn: (this: ObjectLike, currentSubject: Subject) => S): Chainable<JQuery<S>>
1835
+ /**
1836
+ * Enables you to work with the subject yielded from the previous command / promise.
1837
+ *
1838
+ * @see https://on.cypress.io/then
1839
+ */
1840
+ then<S extends ArrayLike<HTMLElement>>(fn: (this: ObjectLike, currentSubject: Subject) => S): Chainable<JQuery<S extends ArrayLike<infer T> ? T : never>>
1821
1841
  /**
1822
1842
  * Enables you to work with the subject yielded from the previous command / promise.
1823
1843
  *
@@ -1836,6 +1856,12 @@ declare namespace Cypress {
1836
1856
  * @see https://on.cypress.io/then
1837
1857
  */
1838
1858
  then<S extends HTMLElement>(options: Partial<Timeoutable>, fn: (this: ObjectLike, currentSubject: Subject) => S): Chainable<JQuery<S>>
1859
+ /**
1860
+ * Enables you to work with the subject yielded from the previous command / promise.
1861
+ *
1862
+ * @see https://on.cypress.io/then
1863
+ */
1864
+ then<S extends ArrayLike<HTMLElement>>(options: Partial<Timeoutable>, fn: (this: ObjectLike, currentSubject: Subject) => S): Chainable<JQuery<S extends ArrayLike<infer T> ? T : never>>
1839
1865
  /**
1840
1866
  * Enables you to work with the subject yielded from the previous command / promise.
1841
1867
  *
@@ -2779,7 +2805,7 @@ declare namespace Cypress {
2779
2805
  /**
2780
2806
  * Type of test and associated runner that was launched.
2781
2807
  */
2782
- testingType: 'e2e' | 'component'
2808
+ testingType: TestingType
2783
2809
  /**
2784
2810
  * Cypress version.
2785
2811
  */
@@ -2882,6 +2908,11 @@ declare namespace Cypress {
2882
2908
  screenshotOnRunFailure: boolean
2883
2909
  }
2884
2910
 
2911
+ interface SelectorPlaygroundDefaultsOptions {
2912
+ selectorPriority: string[]
2913
+ onElement: ($el: JQuery) => string | null | undefined
2914
+ }
2915
+
2885
2916
  interface ScrollToOptions extends Loggable, Timeoutable {
2886
2917
  /**
2887
2918
  * Scrolls over the duration (in ms)
@@ -5458,6 +5489,8 @@ declare namespace Cypress {
5458
5489
  interface LogConfig extends Timeoutable {
5459
5490
  /** The JQuery element for the command. This will highlight the command in the main window when debugging */
5460
5491
  $el: JQuery
5492
+ /** The scope of the log entry. If child, will appear nested below parents, prefixed with '-' */
5493
+ type: 'parent' | 'child'
5461
5494
  /** Allows the name of the command to be overwritten */
5462
5495
  name: string
5463
5496
  /** Override *name* for display purposes only */
@@ -5469,9 +5502,9 @@ declare namespace Cypress {
5469
5502
  consoleProps(): ObjectLike
5470
5503
  }
5471
5504
 
5472
- interface Response {
5505
+ interface Response<T> {
5473
5506
  allRequestResponses: any[]
5474
- body: any
5507
+ body: T
5475
5508
  duration: number
5476
5509
  headers: { [key: string]: string | string[] }
5477
5510
  isOkStatusCode: boolean