fsevents 1.0.12 → 1.0.14

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of fsevents might be problematic. Click here for more details.

Files changed (514) hide show
  1. package/.npmignore +1 -3
  2. package/.travis.yml +6 -5
  3. package/build/.target.mk +49 -0
  4. package/build/Makefile +352 -0
  5. package/build/action_after_build.target.mk +32 -0
  6. package/build/binding.Makefile +6 -0
  7. package/build/fse.target.mk +169 -0
  8. package/build/gyp-mac-tool +612 -0
  9. package/lib/binding/Release/node-v11-darwin-x64/fse.node +0 -0
  10. package/lib/binding/Release/node-v46-darwin-x64/fse.node +0 -0
  11. package/lib/binding/Release/node-v47-darwin-x64/fse.node +0 -0
  12. package/node_modules/abbrev/package.json +82 -0
  13. package/node_modules/{lodash.repeat/LICENSE → ansi-regex/license} +5 -7
  14. package/node_modules/ansi-regex/package.json +20 -2
  15. package/node_modules/{lodash.padstart/LICENSE → ansi-styles/license} +5 -7
  16. package/node_modules/ansi-styles/package.json +21 -4
  17. package/node_modules/aproba/LICENSE +14 -0
  18. package/node_modules/aproba/README.md +59 -0
  19. package/node_modules/aproba/index.js +62 -0
  20. package/node_modules/aproba/package.json +88 -0
  21. package/node_modules/are-we-there-yet/package.json +21 -4
  22. package/node_modules/asn1/package.json +19 -1
  23. package/node_modules/assert-plus/package.json +21 -4
  24. package/node_modules/async/CHANGELOG.md +125 -0
  25. package/node_modules/async/LICENSE +19 -0
  26. package/node_modules/async/package.json +20 -2
  27. package/node_modules/aws-sign2/package.json +20 -2
  28. package/node_modules/aws4/aws4.js +1 -1
  29. package/node_modules/aws4/lru.js +96 -0
  30. package/node_modules/aws4/package.json +31 -16
  31. package/node_modules/{rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion → balanced-match}/.npmignore +2 -0
  32. package/node_modules/{rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match → balanced-match}/README.md +5 -3
  33. package/node_modules/{fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match → balanced-match}/index.js +9 -1
  34. package/node_modules/{rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match → balanced-match}/package.json +35 -13
  35. package/node_modules/bl/README.md +3 -3
  36. package/node_modules/bl/bl.js +54 -38
  37. package/node_modules/bl/node_modules/readable-stream/.npmignore +5 -0
  38. package/node_modules/bl/node_modules/readable-stream/.travis.yml +52 -0
  39. package/node_modules/bl/node_modules/readable-stream/LICENSE +18 -0
  40. package/node_modules/bl/node_modules/readable-stream/README.md +36 -0
  41. package/node_modules/bl/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +60 -0
  42. package/node_modules/bl/node_modules/readable-stream/duplex.js +1 -0
  43. package/node_modules/bl/node_modules/readable-stream/lib/_stream_duplex.js +75 -0
  44. package/node_modules/bl/node_modules/readable-stream/lib/_stream_passthrough.js +26 -0
  45. package/node_modules/bl/node_modules/readable-stream/lib/_stream_readable.js +880 -0
  46. package/node_modules/bl/node_modules/readable-stream/lib/_stream_transform.js +180 -0
  47. package/node_modules/bl/node_modules/readable-stream/lib/_stream_writable.js +516 -0
  48. package/node_modules/bl/node_modules/readable-stream/package.json +105 -0
  49. package/node_modules/bl/node_modules/readable-stream/passthrough.js +1 -0
  50. package/node_modules/bl/node_modules/readable-stream/readable.js +12 -0
  51. package/node_modules/bl/node_modules/readable-stream/transform.js +1 -0
  52. package/node_modules/bl/node_modules/readable-stream/writable.js +1 -0
  53. package/node_modules/bl/package.json +39 -15
  54. package/node_modules/bl/test/test.js +71 -2
  55. package/node_modules/block-stream/package.json +37 -12
  56. package/node_modules/boom/package.json +20 -2
  57. package/node_modules/{rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion → brace-expansion}/package.json +34 -16
  58. package/node_modules/buffer-shims/index.js +108 -0
  59. package/node_modules/buffer-shims/license.md +19 -0
  60. package/node_modules/buffer-shims/package.json +77 -0
  61. package/node_modules/buffer-shims/readme.md +21 -0
  62. package/node_modules/caseless/package.json +20 -2
  63. package/node_modules/{lodash.pad/LICENSE → chalk/license} +5 -7
  64. package/node_modules/chalk/package.json +21 -4
  65. package/node_modules/code-point-at/index.js +33 -0
  66. package/node_modules/{lodash.padend/LICENSE → code-point-at/license} +5 -7
  67. package/node_modules/code-point-at/package.json +96 -0
  68. package/node_modules/code-point-at/readme.md +34 -0
  69. package/node_modules/combined-stream/package.json +20 -2
  70. package/node_modules/commander/History.md +261 -0
  71. package/node_modules/commander/LICENSE +22 -0
  72. package/node_modules/commander/package.json +20 -2
  73. package/node_modules/{rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map → concat-map}/package.json +21 -3
  74. package/node_modules/console-control-strings/LICENSE +13 -0
  75. package/node_modules/console-control-strings/README.md +145 -0
  76. package/node_modules/console-control-strings/README.md~ +140 -0
  77. package/node_modules/console-control-strings/index.js +125 -0
  78. package/node_modules/console-control-strings/package.json +88 -0
  79. package/node_modules/core-util-is/package.json +21 -2
  80. package/node_modules/cryptiles/package.json +20 -2
  81. package/node_modules/dashdash/lib/dashdash.js +34 -1
  82. package/node_modules/dashdash/node_modules/assert-plus/package.json +21 -4
  83. package/node_modules/dashdash/package.json +29 -12
  84. package/node_modules/debug/package.json +20 -2
  85. package/node_modules/deep-extend/CHANGELOG.md +21 -0
  86. package/node_modules/{rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map → deep-extend}/LICENSE +3 -1
  87. package/node_modules/deep-extend/package.json +21 -4
  88. package/node_modules/delayed-stream/package.json +20 -2
  89. package/node_modules/delegates/package.json +21 -4
  90. package/node_modules/ecc-jsbn/package.json +20 -2
  91. package/node_modules/escape-string-regexp/license +21 -0
  92. package/node_modules/escape-string-regexp/package.json +21 -4
  93. package/node_modules/extend/package.json +20 -2
  94. package/node_modules/extsprintf/package.json +20 -3
  95. package/node_modules/forever-agent/package.json +20 -2
  96. package/node_modules/form-data/package.json +21 -4
  97. package/node_modules/fs.realpath/LICENSE +43 -0
  98. package/node_modules/fs.realpath/README.md +33 -0
  99. package/node_modules/fs.realpath/index.js +66 -0
  100. package/node_modules/fs.realpath/old.js +303 -0
  101. package/node_modules/fs.realpath/package.json +86 -0
  102. package/node_modules/fstream/.travis.yml +4 -4
  103. package/node_modules/fstream/lib/collect.js +2 -0
  104. package/node_modules/fstream/package.json +37 -15
  105. package/node_modules/fstream-ignore/package.json +45 -17
  106. package/node_modules/gauge/CHANGELOG.md +131 -0
  107. package/node_modules/gauge/CHANGELOG.md~ +123 -0
  108. package/node_modules/gauge/README.md +317 -88
  109. package/node_modules/gauge/README.md~ +393 -0
  110. package/node_modules/gauge/base-theme.js +14 -0
  111. package/node_modules/gauge/error.js +24 -0
  112. package/node_modules/gauge/has-color.js +12 -0
  113. package/node_modules/gauge/index.js +226 -0
  114. package/node_modules/gauge/package.json +67 -21
  115. package/node_modules/gauge/plumbing.js +47 -0
  116. package/node_modules/gauge/process.js +3 -0
  117. package/node_modules/gauge/progress-bar.js +29 -219
  118. package/node_modules/gauge/render-template.js +181 -0
  119. package/node_modules/gauge/set-immediate.js +7 -0
  120. package/node_modules/gauge/set-interval.js +3 -0
  121. package/node_modules/gauge/spin.js +5 -0
  122. package/node_modules/gauge/template-item.js +73 -0
  123. package/node_modules/gauge/theme-set.js +115 -0
  124. package/node_modules/gauge/themes.js +54 -0
  125. package/node_modules/gauge/wide-truncate.js +25 -0
  126. package/node_modules/generate-function/package.json +20 -2
  127. package/node_modules/generate-object-property/package.json +20 -2
  128. package/node_modules/getpass/.npmignore +8 -0
  129. package/node_modules/getpass/.travis.yml +9 -0
  130. package/node_modules/getpass/LICENSE +18 -0
  131. package/node_modules/getpass/README.md +32 -0
  132. package/node_modules/getpass/lib/index.js +123 -0
  133. package/node_modules/getpass/node_modules/assert-plus/AUTHORS +6 -0
  134. package/node_modules/getpass/node_modules/assert-plus/CHANGES.md +14 -0
  135. package/node_modules/getpass/node_modules/assert-plus/README.md +162 -0
  136. package/node_modules/getpass/node_modules/assert-plus/assert.js +211 -0
  137. package/node_modules/getpass/node_modules/assert-plus/package.json +107 -0
  138. package/node_modules/getpass/package.json +82 -0
  139. package/node_modules/glob/changelog.md +67 -0
  140. package/node_modules/{rimraf/node_modules/glob → glob}/glob.js +2 -1
  141. package/node_modules/glob/package.json +103 -0
  142. package/node_modules/{rimraf/node_modules/glob → glob}/sync.js +2 -1
  143. package/node_modules/graceful-fs/LICENSE +15 -0
  144. package/node_modules/graceful-fs/README.md +82 -2
  145. package/node_modules/graceful-fs/package.json +30 -12
  146. package/node_modules/graceful-readlink/package.json +20 -2
  147. package/node_modules/har-validator/LICENSE +13 -0
  148. package/node_modules/har-validator/package.json +20 -2
  149. package/node_modules/has-ansi/license +21 -0
  150. package/node_modules/has-ansi/package.json +20 -2
  151. package/node_modules/has-color/index.js +32 -0
  152. package/node_modules/has-color/package.json +97 -0
  153. package/node_modules/has-color/readme.md +30 -0
  154. package/node_modules/has-unicode/index.js +3 -8
  155. package/node_modules/has-unicode/package.json +36 -12
  156. package/node_modules/hawk/package.json +20 -2
  157. package/node_modules/hoek/package.json +20 -2
  158. package/node_modules/http-signature/package.json +20 -2
  159. package/node_modules/inflight/package.json +97 -0
  160. package/node_modules/inherits/package.json +16 -9
  161. package/node_modules/ini/package.json +21 -4
  162. package/node_modules/is-fullwidth-code-point/index.js +46 -0
  163. package/node_modules/is-fullwidth-code-point/license +21 -0
  164. package/node_modules/is-fullwidth-code-point/package.json +100 -0
  165. package/node_modules/is-fullwidth-code-point/readme.md +39 -0
  166. package/node_modules/is-my-json-valid/package.json +21 -4
  167. package/node_modules/is-property/package.json +20 -2
  168. package/node_modules/is-typedarray/package.json +20 -2
  169. package/node_modules/isarray/package.json +21 -2
  170. package/node_modules/isstream/package.json +20 -2
  171. package/node_modules/jodid25519/package.json +19 -1
  172. package/node_modules/jsbn/package.json +19 -1
  173. package/node_modules/json-schema/package.json +20 -2
  174. package/node_modules/json-stringify-safe/package.json +20 -2
  175. package/node_modules/jsonpointer/package.json +19 -1
  176. package/node_modules/jsprim/CHANGES.md +5 -0
  177. package/node_modules/jsprim/README.md +13 -4
  178. package/node_modules/jsprim/lib/jsprim.js +12 -2
  179. package/node_modules/jsprim/package.json +33 -11
  180. package/node_modules/mime-db/HISTORY.md +21 -0
  181. package/node_modules/mime-db/db.json +53 -1
  182. package/node_modules/mime-db/package.json +36 -19
  183. package/node_modules/mime-types/HISTORY.md +6 -0
  184. package/node_modules/mime-types/package.json +33 -16
  185. package/node_modules/{fstream-ignore/node_modules/minimatch → minimatch}/README.md +2 -9
  186. package/node_modules/{fstream-ignore/node_modules/minimatch → minimatch}/minimatch.js +15 -3
  187. package/node_modules/{rimraf/node_modules/glob/node_modules/minimatch → minimatch}/package.json +37 -14
  188. package/node_modules/mkdirp/package.json +10 -8
  189. package/node_modules/ms/History.md +66 -0
  190. package/node_modules/ms/package.json +19 -1
  191. package/node_modules/node-pre-gyp/CHANGELOG.md +21 -0
  192. package/node_modules/node-pre-gyp/appveyor.yml +2 -2
  193. package/node_modules/node-pre-gyp/lib/install.js +12 -2
  194. package/node_modules/node-pre-gyp/lib/testbinary.js +9 -9
  195. package/node_modules/node-pre-gyp/lib/util/abi_crosswalk.json +84 -0
  196. package/node_modules/node-pre-gyp/package.json +21 -31
  197. package/node_modules/node-uuid/package.json +20 -2
  198. package/node_modules/{node-pre-gyp/node_modules/nopt → nopt}/package.json +21 -3
  199. package/node_modules/npmlog/CHANGELOG.md +36 -0
  200. package/node_modules/npmlog/CHANGELOG.md~ +31 -0
  201. package/node_modules/npmlog/README.md +16 -1
  202. package/node_modules/npmlog/log.js +97 -50
  203. package/node_modules/npmlog/package.json +43 -17
  204. package/node_modules/number-is-nan/index.js +4 -0
  205. package/node_modules/number-is-nan/license +21 -0
  206. package/node_modules/number-is-nan/package.json +94 -0
  207. package/node_modules/number-is-nan/readme.md +30 -0
  208. package/node_modules/oauth-sign/package.json +36 -12
  209. package/node_modules/object-assign/index.js +83 -0
  210. package/node_modules/object-assign/license +21 -0
  211. package/node_modules/object-assign/package.json +106 -0
  212. package/node_modules/object-assign/readme.md +56 -0
  213. package/node_modules/once/package.json +22 -2
  214. package/node_modules/path-is-absolute/license +21 -0
  215. package/node_modules/{rimraf/node_modules/glob/node_modules/path-is-absolute → path-is-absolute}/package.json +22 -4
  216. package/node_modules/pinkie/license +21 -0
  217. package/node_modules/pinkie/package.json +21 -4
  218. package/node_modules/pinkie-promise/index.js +1 -1
  219. package/node_modules/pinkie-promise/license +21 -0
  220. package/node_modules/pinkie-promise/package.json +32 -10
  221. package/node_modules/process-nextick-args/index.js +31 -8
  222. package/node_modules/process-nextick-args/package.json +33 -10
  223. package/node_modules/qs/.eslintrc +5 -3
  224. package/node_modules/qs/.jscs.json +176 -0
  225. package/node_modules/qs/CHANGELOG.md +10 -0
  226. package/node_modules/qs/dist/qs.js +75 -63
  227. package/node_modules/qs/lib/parse.js +32 -29
  228. package/node_modules/qs/lib/stringify.js +37 -30
  229. package/node_modules/qs/lib/utils.js +6 -4
  230. package/node_modules/qs/package.json +41 -18
  231. package/node_modules/qs/test/parse.js +30 -0
  232. package/node_modules/qs/test/stringify.js +70 -0
  233. package/node_modules/rc/node_modules/minimist/package.json +20 -2
  234. package/node_modules/rc/package.json +21 -4
  235. package/node_modules/readable-stream/.npmignore +4 -1
  236. package/node_modules/readable-stream/.travis.yml +2 -0
  237. package/node_modules/readable-stream/README.md +2 -2
  238. package/node_modules/readable-stream/doc/stream.md +1772 -0
  239. package/node_modules/readable-stream/lib/_stream_readable.js +33 -20
  240. package/node_modules/readable-stream/lib/_stream_transform.js +3 -3
  241. package/node_modules/readable-stream/lib/_stream_writable.js +25 -15
  242. package/node_modules/readable-stream/package.json +44 -15
  243. package/node_modules/readable-stream/readable.js +4 -0
  244. package/node_modules/request/.eslintrc +1 -1
  245. package/node_modules/request/.travis.yml +9 -3
  246. package/node_modules/request/CHANGELOG.md +46 -8
  247. package/node_modules/request/CONTRIBUTING.md +41 -4
  248. package/node_modules/request/README.md +9 -6
  249. package/node_modules/request/codecov.yml +2 -0
  250. package/node_modules/request/index.js +6 -5
  251. package/node_modules/request/lib/helpers.js +3 -3
  252. package/node_modules/request/package.json +52 -30
  253. package/node_modules/request/request.js +58 -43
  254. package/node_modules/rimraf/package.json +33 -16
  255. package/node_modules/rimraf/rimraf.js +10 -2
  256. package/node_modules/semver/README.md +27 -8
  257. package/node_modules/semver/package.json +38 -12
  258. package/node_modules/semver/range.bnf +1 -1
  259. package/node_modules/semver/semver.js +7 -1
  260. package/node_modules/set-blocking/CHANGELOG.md +26 -0
  261. package/node_modules/set-blocking/LICENSE.txt +14 -0
  262. package/node_modules/set-blocking/README.md +31 -0
  263. package/node_modules/set-blocking/index.js +7 -0
  264. package/node_modules/set-blocking/package.json +98 -0
  265. package/node_modules/signal-exit/CHANGELOG.md +17 -0
  266. package/node_modules/signal-exit/LICENSE.txt +14 -0
  267. package/node_modules/signal-exit/README.md +40 -0
  268. package/node_modules/signal-exit/index.js +148 -0
  269. package/node_modules/signal-exit/package.json +98 -0
  270. package/node_modules/signal-exit/signals.js +52 -0
  271. package/node_modules/sntp/package.json +20 -2
  272. package/node_modules/sshpk/.travis.yml +3 -3
  273. package/node_modules/sshpk/README.md +26 -7
  274. package/node_modules/sshpk/bin/sshpk-conv +14 -2
  275. package/node_modules/sshpk/bin/sshpk-sign +16 -1
  276. package/node_modules/sshpk/lib/errors.js +14 -1
  277. package/node_modules/sshpk/lib/formats/auto.js +8 -8
  278. package/node_modules/sshpk/lib/formats/pem.js +39 -5
  279. package/node_modules/sshpk/lib/formats/pkcs1.js +4 -4
  280. package/node_modules/sshpk/lib/formats/pkcs8.js +4 -4
  281. package/node_modules/sshpk/lib/formats/rfc4253.js +2 -2
  282. package/node_modules/sshpk/lib/formats/ssh-private.js +3 -3
  283. package/node_modules/sshpk/lib/formats/ssh.js +2 -2
  284. package/node_modules/sshpk/lib/index.js +2 -1
  285. package/node_modules/sshpk/lib/key.js +20 -17
  286. package/node_modules/sshpk/lib/private-key.js +19 -12
  287. package/node_modules/sshpk/lib/utils.js +40 -1
  288. package/node_modules/sshpk/node_modules/assert-plus/AUTHORS +6 -0
  289. package/node_modules/sshpk/node_modules/assert-plus/CHANGES.md +14 -0
  290. package/node_modules/sshpk/node_modules/assert-plus/README.md +162 -0
  291. package/node_modules/sshpk/node_modules/assert-plus/assert.js +211 -0
  292. package/node_modules/sshpk/node_modules/assert-plus/package.json +107 -0
  293. package/node_modules/sshpk/package.json +48 -30
  294. package/node_modules/string-width/index.js +32 -0
  295. package/node_modules/string-width/license +21 -0
  296. package/node_modules/string-width/package.json +111 -0
  297. package/node_modules/string-width/readme.md +41 -0
  298. package/node_modules/string_decoder/package.json +21 -2
  299. package/node_modules/stringstream/package.json +20 -2
  300. package/node_modules/strip-ansi/license +21 -0
  301. package/node_modules/strip-ansi/package.json +24 -5
  302. package/node_modules/strip-json-comments/license +21 -0
  303. package/node_modules/strip-json-comments/package.json +20 -2
  304. package/node_modules/supports-color/license +21 -0
  305. package/node_modules/supports-color/package.json +20 -2
  306. package/node_modules/tar/package.json +20 -2
  307. package/node_modules/tar-pack/package.json +34 -17
  308. package/node_modules/tough-cookie/LICENSE +27 -0
  309. package/node_modules/tough-cookie/package.json +21 -4
  310. package/node_modules/tunnel-agent/package.json +35 -10
  311. package/node_modules/tweetnacl/CHANGELOG.md +0 -53
  312. package/node_modules/tweetnacl/README.md +42 -24
  313. package/node_modules/tweetnacl/nacl-fast.js +52 -22
  314. package/node_modules/tweetnacl/nacl-fast.min.js +2 -2
  315. package/node_modules/tweetnacl/nacl.js +51 -21
  316. package/node_modules/tweetnacl/nacl.min.js +1 -1
  317. package/node_modules/tweetnacl/package.json +56 -30
  318. package/node_modules/uid-number/package.json +21 -4
  319. package/node_modules/util-deprecate/package.json +21 -2
  320. package/node_modules/verror/package.json +20 -3
  321. package/node_modules/wide-align/.npmignore +5 -0
  322. package/node_modules/wide-align/LICENSE +14 -0
  323. package/node_modules/wide-align/README.md +47 -0
  324. package/node_modules/wide-align/align.js +65 -0
  325. package/node_modules/wide-align/package.json +85 -0
  326. package/node_modules/wide-align/test/align.js +37 -0
  327. package/node_modules/wrappy/package.json +44 -14
  328. package/node_modules/xtend/package.json +20 -2
  329. package/package.json +2 -2
  330. package/node_modules/ansi/.jshintrc +0 -4
  331. package/node_modules/ansi/History.md +0 -23
  332. package/node_modules/ansi/LICENSE +0 -24
  333. package/node_modules/ansi/README.md +0 -98
  334. package/node_modules/ansi/examples/beep/index.js +0 -16
  335. package/node_modules/ansi/examples/clear/index.js +0 -15
  336. package/node_modules/ansi/examples/cursorPosition.js +0 -32
  337. package/node_modules/ansi/examples/progress/index.js +0 -87
  338. package/node_modules/ansi/lib/ansi.js +0 -405
  339. package/node_modules/ansi/lib/newlines.js +0 -71
  340. package/node_modules/ansi/package.json +0 -69
  341. package/node_modules/aws4/node_modules/lru-cache/README.md +0 -142
  342. package/node_modules/aws4/node_modules/lru-cache/lib/lru-cache.js +0 -469
  343. package/node_modules/aws4/node_modules/lru-cache/node_modules/pseudomap/README.md +0 -60
  344. package/node_modules/aws4/node_modules/lru-cache/node_modules/pseudomap/map.js +0 -9
  345. package/node_modules/aws4/node_modules/lru-cache/node_modules/pseudomap/package.json +0 -60
  346. package/node_modules/aws4/node_modules/lru-cache/node_modules/pseudomap/pseudomap.js +0 -113
  347. package/node_modules/aws4/node_modules/lru-cache/node_modules/pseudomap/test/basic.js +0 -86
  348. package/node_modules/aws4/node_modules/lru-cache/node_modules/yallist/.npmignore +0 -4
  349. package/node_modules/aws4/node_modules/lru-cache/node_modules/yallist/.travis.yml +0 -7
  350. package/node_modules/aws4/node_modules/lru-cache/node_modules/yallist/CONTRIBUTING.md +0 -4
  351. package/node_modules/aws4/node_modules/lru-cache/node_modules/yallist/README.md +0 -204
  352. package/node_modules/aws4/node_modules/lru-cache/node_modules/yallist/package.json +0 -60
  353. package/node_modules/aws4/node_modules/lru-cache/node_modules/yallist/test/basic.js +0 -188
  354. package/node_modules/aws4/node_modules/lru-cache/node_modules/yallist/yallist.js +0 -360
  355. package/node_modules/aws4/node_modules/lru-cache/package.json +0 -78
  356. package/node_modules/block-stream/bench/block-stream-pause.js +0 -70
  357. package/node_modules/block-stream/bench/block-stream.js +0 -68
  358. package/node_modules/block-stream/bench/dropper-pause.js +0 -70
  359. package/node_modules/block-stream/bench/dropper.js +0 -68
  360. package/node_modules/block-stream/test/basic.js +0 -27
  361. package/node_modules/block-stream/test/nopad-thorough.js +0 -68
  362. package/node_modules/block-stream/test/nopad.js +0 -57
  363. package/node_modules/block-stream/test/pause-resume.js +0 -73
  364. package/node_modules/block-stream/test/thorough.js +0 -68
  365. package/node_modules/block-stream/test/two-stream.js +0 -59
  366. package/node_modules/fstream-ignore/.npmignore +0 -1
  367. package/node_modules/fstream-ignore/example/basic.js +0 -13
  368. package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/.npmignore +0 -3
  369. package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/example.js +0 -8
  370. package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/.npmignore +0 -2
  371. package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/.travis.yml +0 -3
  372. package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/Makefile +0 -6
  373. package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/README.md +0 -89
  374. package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/example.js +0 -5
  375. package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/package.json +0 -80
  376. package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/test/balanced.js +0 -84
  377. package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/package.json +0 -91
  378. package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/package.json +0 -86
  379. package/node_modules/fstream-ignore/node_modules/minimatch/package.json +0 -67
  380. package/node_modules/fstream-ignore/test/.ignore +0 -2
  381. package/node_modules/fstream-ignore/test/.npmignore +0 -1
  382. package/node_modules/fstream-ignore/test/00-setup.js +0 -71
  383. package/node_modules/fstream-ignore/test/basic.js +0 -28
  384. package/node_modules/fstream-ignore/test/common.js +0 -40
  385. package/node_modules/fstream-ignore/test/ignore-most.js +0 -41
  386. package/node_modules/fstream-ignore/test/nested-ignores.js +0 -51
  387. package/node_modules/fstream-ignore/test/read-file-order.js +0 -81
  388. package/node_modules/fstream-ignore/test/unignore-child.js +0 -38
  389. package/node_modules/fstream-ignore/test/zz-cleanup.js +0 -10
  390. package/node_modules/gauge/.npmignore +0 -32
  391. package/node_modules/gauge/example.png +0 -0
  392. package/node_modules/gauge/test/progress-bar.js +0 -176
  393. package/node_modules/has-unicode/.npmignore +0 -32
  394. package/node_modules/has-unicode/test/index.js +0 -26
  395. package/node_modules/lodash.pad/README.md +0 -18
  396. package/node_modules/lodash.pad/index.js +0 -296
  397. package/node_modules/lodash.pad/package.json +0 -91
  398. package/node_modules/lodash.padend/README.md +0 -18
  399. package/node_modules/lodash.padend/index.js +0 -285
  400. package/node_modules/lodash.padend/package.json +0 -91
  401. package/node_modules/lodash.padstart/README.md +0 -18
  402. package/node_modules/lodash.padstart/index.js +0 -285
  403. package/node_modules/lodash.padstart/package.json +0 -91
  404. package/node_modules/lodash.repeat/README.md +0 -18
  405. package/node_modules/lodash.repeat/index.js +0 -215
  406. package/node_modules/lodash.repeat/package.json +0 -92
  407. package/node_modules/lodash.tostring/LICENSE +0 -23
  408. package/node_modules/lodash.tostring/README.md +0 -18
  409. package/node_modules/lodash.tostring/index.js +0 -164
  410. package/node_modules/lodash.tostring/package.json +0 -91
  411. package/node_modules/node-pre-gyp/README.md +0 -570
  412. package/node_modules/node-pre-gyp/node_modules/nopt/.npmignore +0 -1
  413. package/node_modules/node-pre-gyp/node_modules/nopt/node_modules/abbrev/.npmignore +0 -4
  414. package/node_modules/node-pre-gyp/node_modules/nopt/node_modules/abbrev/.travis.yml +0 -5
  415. package/node_modules/node-pre-gyp/node_modules/nopt/node_modules/abbrev/CONTRIBUTING.md +0 -3
  416. package/node_modules/node-pre-gyp/node_modules/nopt/node_modules/abbrev/package.json +0 -56
  417. package/node_modules/node-pre-gyp/node_modules/nopt/node_modules/abbrev/test.js +0 -47
  418. package/node_modules/npmlog/.nyc_output/64996.json +0 -1
  419. package/node_modules/npmlog/.nyc_output/64998.json +0 -1
  420. package/node_modules/npmlog/.nyc_output/65000.json +0 -1
  421. package/node_modules/npmlog/.travis.yml +0 -14
  422. package/node_modules/npmlog/example.js +0 -39
  423. package/node_modules/npmlog/test/basic.js +0 -235
  424. package/node_modules/npmlog/test/progress.js +0 -131
  425. package/node_modules/oauth-sign/test.js +0 -89
  426. package/node_modules/qs/.npmignore +0 -18
  427. package/node_modules/qs/.travis.yml +0 -69
  428. package/node_modules/qs/README.md +0 -335
  429. package/node_modules/qs/bower.json +0 -22
  430. package/node_modules/qs/component.json +0 -15
  431. package/node_modules/rimraf/node_modules/glob/node_modules/inflight/.eslintrc +0 -17
  432. package/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/README.md +0 -36
  433. package/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/package.json +0 -59
  434. package/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/test/basic.js +0 -51
  435. package/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/wrappy.js +0 -33
  436. package/node_modules/rimraf/node_modules/glob/node_modules/inflight/package.json +0 -68
  437. package/node_modules/rimraf/node_modules/glob/node_modules/inflight/test.js +0 -97
  438. package/node_modules/rimraf/node_modules/glob/node_modules/inherits/LICENSE +0 -16
  439. package/node_modules/rimraf/node_modules/glob/node_modules/inherits/README.md +0 -42
  440. package/node_modules/rimraf/node_modules/glob/node_modules/inherits/inherits.js +0 -1
  441. package/node_modules/rimraf/node_modules/glob/node_modules/inherits/inherits_browser.js +0 -23
  442. package/node_modules/rimraf/node_modules/glob/node_modules/inherits/package.json +0 -59
  443. package/node_modules/rimraf/node_modules/glob/node_modules/inherits/test.js +0 -25
  444. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/README.md +0 -216
  445. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/minimatch.js +0 -912
  446. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/README.md +0 -122
  447. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/example.js +0 -8
  448. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/index.js +0 -191
  449. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/.npmignore +0 -2
  450. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/.travis.yml +0 -3
  451. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/LICENSE.md +0 -21
  452. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/Makefile +0 -6
  453. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/example.js +0 -5
  454. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/index.js +0 -50
  455. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/test/balanced.js +0 -84
  456. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/.travis.yml +0 -4
  457. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/README.markdown +0 -62
  458. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/example/map.js +0 -6
  459. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/index.js +0 -13
  460. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/test/map.js +0 -39
  461. package/node_modules/rimraf/node_modules/glob/node_modules/once/README.md +0 -51
  462. package/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/README.md +0 -36
  463. package/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/package.json +0 -59
  464. package/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/test/basic.js +0 -51
  465. package/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/wrappy.js +0 -33
  466. package/node_modules/rimraf/node_modules/glob/node_modules/once/once.js +0 -21
  467. package/node_modules/rimraf/node_modules/glob/node_modules/once/package.json +0 -71
  468. package/node_modules/rimraf/node_modules/glob/package.json +0 -85
  469. package/node_modules/semver/.npmignore +0 -4
  470. package/node_modules/semver/.travis.yml +0 -5
  471. package/node_modules/semver/test/big-numbers.js +0 -31
  472. package/node_modules/semver/test/clean.js +0 -29
  473. package/node_modules/semver/test/gtr.js +0 -173
  474. package/node_modules/semver/test/index.js +0 -698
  475. package/node_modules/semver/test/ltr.js +0 -181
  476. package/node_modules/semver/test/major-minor-patch.js +0 -72
  477. package/node_modules/tunnel-agent/.jshintrc +0 -5
  478. package/node_modules/tweetnacl/COPYING.txt +0 -9
  479. package/node_modules/wrappy/test/basic.js +0 -51
  480. package/test/fsevents.js +0 -27
  481. package/test/function.js +0 -93
  482. /package/node_modules/{aws4/node_modules/lru-cache/node_modules/pseudomap → abbrev}/LICENSE +0 -0
  483. /package/node_modules/{node-pre-gyp/node_modules/nopt/node_modules/abbrev → abbrev}/README.md +0 -0
  484. /package/node_modules/{node-pre-gyp/node_modules/nopt/node_modules/abbrev → abbrev}/abbrev.js +0 -0
  485. /package/node_modules/{fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match → balanced-match}/LICENSE.md +0 -0
  486. /package/node_modules/{readable-stream → bl/node_modules/readable-stream}/.zuul.yml +0 -0
  487. /package/node_modules/{readable-stream → bl/node_modules/readable-stream}/doc/stream.markdown +0 -0
  488. /package/node_modules/{fstream-ignore/node_modules/minimatch/node_modules/brace-expansion → brace-expansion}/README.md +0 -0
  489. /package/node_modules/{fstream-ignore/node_modules/minimatch/node_modules/brace-expansion → brace-expansion}/index.js +0 -0
  490. /package/node_modules/{fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map → concat-map}/.travis.yml +0 -0
  491. /package/node_modules/{fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map → concat-map}/LICENSE +0 -0
  492. /package/node_modules/{fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map → concat-map}/README.markdown +0 -0
  493. /package/node_modules/{fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map → concat-map}/example/map.js +0 -0
  494. /package/node_modules/{fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map → concat-map}/index.js +0 -0
  495. /package/node_modules/{fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map → concat-map}/test/map.js +0 -0
  496. /package/node_modules/{aws4/node_modules/lru-cache/node_modules/yallist → glob}/LICENSE +0 -0
  497. /package/node_modules/{rimraf/node_modules/glob → glob}/README.md +0 -0
  498. /package/node_modules/{rimraf/node_modules/glob → glob}/common.js +0 -0
  499. /package/node_modules/{rimraf/node_modules/glob/node_modules/inflight → inflight}/LICENSE +0 -0
  500. /package/node_modules/{rimraf/node_modules/glob/node_modules/inflight → inflight}/README.md +0 -0
  501. /package/node_modules/{rimraf/node_modules/glob/node_modules/inflight → inflight}/inflight.js +0 -0
  502. /package/node_modules/{node-pre-gyp/node_modules/nopt → ini}/LICENSE +0 -0
  503. /package/node_modules/{node-pre-gyp/node_modules/nopt/node_modules/abbrev → minimatch}/LICENSE +0 -0
  504. /package/node_modules/{ansi → nopt}/.npmignore +0 -0
  505. /package/node_modules/{node-pre-gyp/node_modules/nopt → nopt}/.travis.yml +0 -0
  506. /package/node_modules/{rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy → nopt}/LICENSE +0 -0
  507. /package/node_modules/{node-pre-gyp/node_modules/nopt → nopt}/README.md +0 -0
  508. /package/node_modules/{node-pre-gyp/node_modules/nopt → nopt}/bin/nopt.js +0 -0
  509. /package/node_modules/{node-pre-gyp/node_modules/nopt → nopt}/examples/my-program.js +0 -0
  510. /package/node_modules/{node-pre-gyp/node_modules/nopt → nopt}/lib/nopt.js +0 -0
  511. /package/node_modules/{node-pre-gyp/node_modules/nopt → nopt}/test/basic.js +0 -0
  512. /package/node_modules/{rimraf/node_modules/glob/node_modules/once/node_modules/wrappy → once}/LICENSE +0 -0
  513. /package/node_modules/{rimraf/node_modules/glob/node_modules/path-is-absolute → path-is-absolute}/index.js +0 -0
  514. /package/node_modules/{rimraf/node_modules/glob/node_modules/path-is-absolute → path-is-absolute}/readme.md +0 -0
@@ -1,36 +0,0 @@
1
- # wrappy
2
-
3
- Callback wrapping utility
4
-
5
- ## USAGE
6
-
7
- ```javascript
8
- var wrappy = require("wrappy")
9
-
10
- // var wrapper = wrappy(wrapperFunction)
11
-
12
- // make sure a cb is called only once
13
- // See also: http://npm.im/once for this specific use case
14
- var once = wrappy(function (cb) {
15
- var called = false
16
- return function () {
17
- if (called) return
18
- called = true
19
- return cb.apply(this, arguments)
20
- }
21
- })
22
-
23
- function printBoo () {
24
- console.log('boo')
25
- }
26
- // has some rando property
27
- printBoo.iAmBooPrinter = true
28
-
29
- var onlyPrintOnce = once(printBoo)
30
-
31
- onlyPrintOnce() // prints 'boo'
32
- onlyPrintOnce() // does nothing
33
-
34
- // random property is retained!
35
- assert.equal(onlyPrintOnce.iAmBooPrinter, true)
36
- ```
@@ -1,59 +0,0 @@
1
- {
2
- "_from": "wrappy@1",
3
- "_id": "wrappy@1.0.1",
4
- "_location": "/rimraf/glob/once/wrappy",
5
- "_nodeVersion": "0.10.31",
6
- "_npmUser": {
7
- "email": "i@izs.me",
8
- "name": "isaacs"
9
- },
10
- "_npmVersion": "2.0.0",
11
- "_phantomChildren": {},
12
- "_requiredBy": [
13
- "/rimraf/glob/once"
14
- ],
15
- "_resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.1.tgz",
16
- "_shasum": "1e65969965ccbc2db4548c6b84a6f2c5aedd4739",
17
- "_shrinkwrap": null,
18
- "author": {
19
- "email": "i@izs.me",
20
- "name": "Isaac Z. Schlueter",
21
- "url": "http://blog.izs.me/"
22
- },
23
- "bugs": {
24
- "url": "https://github.com/npm/wrappy/issues"
25
- },
26
- "dependencies": {},
27
- "description": "Callback wrapping utility",
28
- "devDependencies": {
29
- "tap": "^0.4.12"
30
- },
31
- "directories": {
32
- "test": "test"
33
- },
34
- "dist": {
35
- "shasum": "1e65969965ccbc2db4548c6b84a6f2c5aedd4739",
36
- "tarball": "http://registry.npmjs.org/wrappy/-/wrappy-1.0.1.tgz"
37
- },
38
- "gitHead": "006a8cbac6b99988315834c207896eed71fd069a",
39
- "homepage": "https://github.com/npm/wrappy",
40
- "license": "ISC",
41
- "main": "wrappy.js",
42
- "maintainers": [
43
- {
44
- "name": "isaacs",
45
- "email": "i@izs.me"
46
- }
47
- ],
48
- "name": "wrappy",
49
- "optionalDependencies": {},
50
- "readme": "ERROR: No README data found!",
51
- "repository": {
52
- "type": "git",
53
- "url": "git+https://github.com/npm/wrappy.git"
54
- },
55
- "scripts": {
56
- "test": "tap test/*.js"
57
- },
58
- "version": "1.0.1"
59
- }
@@ -1,51 +0,0 @@
1
- var test = require('tap').test
2
- var wrappy = require('../wrappy.js')
3
-
4
- test('basic', function (t) {
5
- function onceifier (cb) {
6
- var called = false
7
- return function () {
8
- if (called) return
9
- called = true
10
- return cb.apply(this, arguments)
11
- }
12
- }
13
- onceifier.iAmOnce = {}
14
- var once = wrappy(onceifier)
15
- t.equal(once.iAmOnce, onceifier.iAmOnce)
16
-
17
- var called = 0
18
- function boo () {
19
- t.equal(called, 0)
20
- called++
21
- }
22
- // has some rando property
23
- boo.iAmBoo = true
24
-
25
- var onlyPrintOnce = once(boo)
26
-
27
- onlyPrintOnce() // prints 'boo'
28
- onlyPrintOnce() // does nothing
29
- t.equal(called, 1)
30
-
31
- // random property is retained!
32
- t.equal(onlyPrintOnce.iAmBoo, true)
33
-
34
- var logs = []
35
- var logwrap = wrappy(function (msg, cb) {
36
- logs.push(msg + ' wrapping cb')
37
- return function () {
38
- logs.push(msg + ' before cb')
39
- var ret = cb.apply(this, arguments)
40
- logs.push(msg + ' after cb')
41
- }
42
- })
43
-
44
- var c = logwrap('foo', function () {
45
- t.same(logs, [ 'foo wrapping cb', 'foo before cb' ])
46
- })
47
- c()
48
- t.same(logs, [ 'foo wrapping cb', 'foo before cb', 'foo after cb' ])
49
-
50
- t.end()
51
- })
@@ -1,33 +0,0 @@
1
- // Returns a wrapper function that returns a wrapped callback
2
- // The wrapper function should do some stuff, and return a
3
- // presumably different callback function.
4
- // This makes sure that own properties are retained, so that
5
- // decorations and such are not lost along the way.
6
- module.exports = wrappy
7
- function wrappy (fn, cb) {
8
- if (fn && cb) return wrappy(fn)(cb)
9
-
10
- if (typeof fn !== 'function')
11
- throw new TypeError('need wrapper function')
12
-
13
- Object.keys(fn).forEach(function (k) {
14
- wrapper[k] = fn[k]
15
- })
16
-
17
- return wrapper
18
-
19
- function wrapper() {
20
- var args = new Array(arguments.length)
21
- for (var i = 0; i < args.length; i++) {
22
- args[i] = arguments[i]
23
- }
24
- var ret = fn.apply(this, args)
25
- var cb = args[args.length-1]
26
- if (typeof ret === 'function' && ret !== cb) {
27
- Object.keys(cb).forEach(function (k) {
28
- ret[k] = cb[k]
29
- })
30
- }
31
- return ret
32
- }
33
- }
@@ -1,21 +0,0 @@
1
- var wrappy = require('wrappy')
2
- module.exports = wrappy(once)
3
-
4
- once.proto = once(function () {
5
- Object.defineProperty(Function.prototype, 'once', {
6
- value: function () {
7
- return once(this)
8
- },
9
- configurable: true
10
- })
11
- })
12
-
13
- function once (fn) {
14
- var f = function () {
15
- if (f.called) return f.value
16
- f.called = true
17
- return f.value = fn.apply(this, arguments)
18
- }
19
- f.called = false
20
- return f
21
- }
@@ -1,71 +0,0 @@
1
- {
2
- "_from": "once@^1.3.0",
3
- "_id": "once@1.3.3",
4
- "_location": "/rimraf/glob/once",
5
- "_nodeVersion": "4.0.0",
6
- "_npmUser": {
7
- "email": "i@izs.me",
8
- "name": "isaacs"
9
- },
10
- "_npmVersion": "3.3.2",
11
- "_phantomChildren": {},
12
- "_requiredBy": [
13
- "/rimraf/glob",
14
- "/rimraf/glob/inflight"
15
- ],
16
- "_resolved": "https://registry.npmjs.org/once/-/once-1.3.3.tgz",
17
- "_shasum": "b2e261557ce4c314ec8304f3fa82663e4297ca20",
18
- "_shrinkwrap": null,
19
- "author": {
20
- "email": "i@izs.me",
21
- "name": "Isaac Z. Schlueter",
22
- "url": "http://blog.izs.me/"
23
- },
24
- "bugs": {
25
- "url": "https://github.com/isaacs/once/issues"
26
- },
27
- "dependencies": {
28
- "wrappy": "1"
29
- },
30
- "description": "Run a function exactly one time",
31
- "devDependencies": {
32
- "tap": "^1.2.0"
33
- },
34
- "directories": {
35
- "test": "test"
36
- },
37
- "dist": {
38
- "shasum": "b2e261557ce4c314ec8304f3fa82663e4297ca20",
39
- "tarball": "http://registry.npmjs.org/once/-/once-1.3.3.tgz"
40
- },
41
- "files": [
42
- "once.js"
43
- ],
44
- "gitHead": "2ad558657e17fafd24803217ba854762842e4178",
45
- "homepage": "https://github.com/isaacs/once#readme",
46
- "keywords": [
47
- "function",
48
- "once",
49
- "one",
50
- "single"
51
- ],
52
- "license": "ISC",
53
- "main": "once.js",
54
- "maintainers": [
55
- {
56
- "name": "isaacs",
57
- "email": "i@izs.me"
58
- }
59
- ],
60
- "name": "once",
61
- "optionalDependencies": {},
62
- "readme": "ERROR: No README data found!",
63
- "repository": {
64
- "type": "git",
65
- "url": "git://github.com/isaacs/once.git"
66
- },
67
- "scripts": {
68
- "test": "tap test/*.js"
69
- },
70
- "version": "1.3.3"
71
- }
@@ -1,85 +0,0 @@
1
- {
2
- "_from": "glob@^7.0.0",
3
- "_id": "glob@7.0.3",
4
- "_location": "/rimraf/glob",
5
- "_nodeVersion": "5.6.0",
6
- "_npmOperationalInternal": {
7
- "host": "packages-12-west.internal.npmjs.com",
8
- "tmp": "tmp/glob-7.0.3.tgz_1457166529288_0.7840580905321985"
9
- },
10
- "_npmUser": {
11
- "email": "i@izs.me",
12
- "name": "isaacs"
13
- },
14
- "_npmVersion": "3.7.3",
15
- "_phantomChildren": {},
16
- "_requiredBy": [
17
- "/rimraf"
18
- ],
19
- "_resolved": "https://registry.npmjs.org/glob/-/glob-7.0.3.tgz",
20
- "_shasum": "0aa235931a4a96ac13d60ffac2fb877bd6ed4f58",
21
- "_shrinkwrap": null,
22
- "author": {
23
- "email": "i@izs.me",
24
- "name": "Isaac Z. Schlueter",
25
- "url": "http://blog.izs.me/"
26
- },
27
- "bugs": {
28
- "url": "https://github.com/isaacs/node-glob/issues"
29
- },
30
- "dependencies": {
31
- "inflight": "^1.0.4",
32
- "inherits": "2",
33
- "minimatch": "2 || 3",
34
- "once": "^1.3.0",
35
- "path-is-absolute": "^1.0.0"
36
- },
37
- "description": "a little globber",
38
- "devDependencies": {
39
- "mkdirp": "0",
40
- "rimraf": "^2.2.8",
41
- "tap": "^5.7.0",
42
- "tick": "0.0.6"
43
- },
44
- "directories": {},
45
- "dist": {
46
- "shasum": "0aa235931a4a96ac13d60ffac2fb877bd6ed4f58",
47
- "tarball": "http://registry.npmjs.org/glob/-/glob-7.0.3.tgz"
48
- },
49
- "engines": {
50
- "node": "*"
51
- },
52
- "files": [
53
- "common.js",
54
- "glob.js",
55
- "sync.js"
56
- ],
57
- "gitHead": "2fc2278ab857c7df117213a2fb431de090be6353",
58
- "homepage": "https://github.com/isaacs/node-glob#readme",
59
- "license": "ISC",
60
- "main": "glob.js",
61
- "maintainers": [
62
- {
63
- "name": "isaacs",
64
- "email": "i@izs.me"
65
- }
66
- ],
67
- "name": "glob",
68
- "optionalDependencies": {},
69
- "readme": "# Glob\n\nMatch files using the patterns the shell uses, like stars and stuff.\n\n[![Build Status](https://travis-ci.org/isaacs/node-glob.svg?branch=master)](https://travis-ci.org/isaacs/node-glob/) [![Build Status](https://ci.appveyor.com/api/projects/status/kd7f3yftf7unxlsx?svg=true)](https://ci.appveyor.com/project/isaacs/node-glob) [![Coverage Status](https://coveralls.io/repos/isaacs/node-glob/badge.svg?branch=master&service=github)](https://coveralls.io/github/isaacs/node-glob?branch=master)\n\nThis is a glob implementation in JavaScript. It uses the `minimatch`\nlibrary to do its matching.\n\n![](oh-my-glob.gif)\n\n## Usage\n\nInstall with npm\n\n```\nnpm i glob\n```\n\n```javascript\nvar glob = require(\"glob\")\n\n// options is optional\nglob(\"**/*.js\", options, function (er, files) {\n // files is an array of filenames.\n // If the `nonull` option is set, and nothing\n // was found, then files is [\"**/*.js\"]\n // er is an error object or null.\n})\n```\n\n## Glob Primer\n\n\"Globs\" are the patterns you type when you do stuff like `ls *.js` on\nthe command line, or put `build/*` in a `.gitignore` file.\n\nBefore parsing the path part patterns, braced sections are expanded\ninto a set. Braced sections start with `{` and end with `}`, with any\nnumber of comma-delimited sections within. Braced sections may contain\nslash characters, so `a{/b/c,bcd}` would expand into `a/b/c` and `abcd`.\n\nThe following characters have special magic meaning when used in a\npath portion:\n\n* `*` Matches 0 or more characters in a single path portion\n* `?` Matches 1 character\n* `[...]` Matches a range of characters, similar to a RegExp range.\n If the first character of the range is `!` or `^` then it matches\n any character not in the range.\n* `!(pattern|pattern|pattern)` Matches anything that does not match\n any of the patterns provided.\n* `?(pattern|pattern|pattern)` Matches zero or one occurrence of the\n patterns provided.\n* `+(pattern|pattern|pattern)` Matches one or more occurrences of the\n patterns provided.\n* `*(a|b|c)` Matches zero or more occurrences of the patterns provided\n* `@(pattern|pat*|pat?erN)` Matches exactly one of the patterns\n provided\n* `**` If a \"globstar\" is alone in a path portion, then it matches\n zero or more directories and subdirectories searching for matches.\n It does not crawl symlinked directories.\n\n### Dots\n\nIf a file or directory path portion has a `.` as the first character,\nthen it will not match any glob pattern unless that pattern's\ncorresponding path part also has a `.` as its first character.\n\nFor example, the pattern `a/.*/c` would match the file at `a/.b/c`.\nHowever the pattern `a/*/c` would not, because `*` does not start with\na dot character.\n\nYou can make glob treat dots as normal characters by setting\n`dot:true` in the options.\n\n### Basename Matching\n\nIf you set `matchBase:true` in the options, and the pattern has no\nslashes in it, then it will seek for any file anywhere in the tree\nwith a matching basename. For example, `*.js` would match\n`test/simple/basic.js`.\n\n### Empty Sets\n\nIf no matching files are found, then an empty array is returned. This\ndiffers from the shell, where the pattern itself is returned. For\nexample:\n\n $ echo a*s*d*f\n a*s*d*f\n\nTo get the bash-style behavior, set the `nonull:true` in the options.\n\n### See Also:\n\n* `man sh`\n* `man bash` (Search for \"Pattern Matching\")\n* `man 3 fnmatch`\n* `man 5 gitignore`\n* [minimatch documentation](https://github.com/isaacs/minimatch)\n\n## glob.hasMagic(pattern, [options])\n\nReturns `true` if there are any special characters in the pattern, and\n`false` otherwise.\n\nNote that the options affect the results. If `noext:true` is set in\nthe options object, then `+(a|b)` will not be considered a magic\npattern. If the pattern has a brace expansion, like `a/{b/c,x/y}`\nthen that is considered magical, unless `nobrace:true` is set in the\noptions.\n\n## glob(pattern, [options], cb)\n\n* `pattern` `{String}` Pattern to be matched\n* `options` `{Object}`\n* `cb` `{Function}`\n * `err` `{Error | null}`\n * `matches` `{Array<String>}` filenames found matching the pattern\n\nPerform an asynchronous glob search.\n\n## glob.sync(pattern, [options])\n\n* `pattern` `{String}` Pattern to be matched\n* `options` `{Object}`\n* return: `{Array<String>}` filenames found matching the pattern\n\nPerform a synchronous glob search.\n\n## Class: glob.Glob\n\nCreate a Glob object by instantiating the `glob.Glob` class.\n\n```javascript\nvar Glob = require(\"glob\").Glob\nvar mg = new Glob(pattern, options, cb)\n```\n\nIt's an EventEmitter, and starts walking the filesystem to find matches\nimmediately.\n\n### new glob.Glob(pattern, [options], [cb])\n\n* `pattern` `{String}` pattern to search for\n* `options` `{Object}`\n* `cb` `{Function}` Called when an error occurs, or matches are found\n * `err` `{Error | null}`\n * `matches` `{Array<String>}` filenames found matching the pattern\n\nNote that if the `sync` flag is set in the options, then matches will\nbe immediately available on the `g.found` member.\n\n### Properties\n\n* `minimatch` The minimatch object that the glob uses.\n* `options` The options object passed in.\n* `aborted` Boolean which is set to true when calling `abort()`. There\n is no way at this time to continue a glob search after aborting, but\n you can re-use the statCache to avoid having to duplicate syscalls.\n* `cache` Convenience object. Each field has the following possible\n values:\n * `false` - Path does not exist\n * `true` - Path exists\n * `'FILE'` - Path exists, and is not a directory\n * `'DIR'` - Path exists, and is a directory\n * `[file, entries, ...]` - Path exists, is a directory, and the\n array value is the results of `fs.readdir`\n* `statCache` Cache of `fs.stat` results, to prevent statting the same\n path multiple times.\n* `symlinks` A record of which paths are symbolic links, which is\n relevant in resolving `**` patterns.\n* `realpathCache` An optional object which is passed to `fs.realpath`\n to minimize unnecessary syscalls. It is stored on the instantiated\n Glob object, and may be re-used.\n\n### Events\n\n* `end` When the matching is finished, this is emitted with all the\n matches found. If the `nonull` option is set, and no match was found,\n then the `matches` list contains the original pattern. The matches\n are sorted, unless the `nosort` flag is set.\n* `match` Every time a match is found, this is emitted with the specific\n thing that matched. It is not deduplicated or resolved to a realpath.\n* `error` Emitted when an unexpected error is encountered, or whenever\n any fs error occurs if `options.strict` is set.\n* `abort` When `abort()` is called, this event is raised.\n\n### Methods\n\n* `pause` Temporarily stop the search\n* `resume` Resume the search\n* `abort` Stop the search forever\n\n### Options\n\nAll the options that can be passed to Minimatch can also be passed to\nGlob to change pattern matching behavior. Also, some have been added,\nor have glob-specific ramifications.\n\nAll options are false by default, unless otherwise noted.\n\nAll options are added to the Glob object, as well.\n\nIf you are running many `glob` operations, you can pass a Glob object\nas the `options` argument to a subsequent operation to shortcut some\n`stat` and `readdir` calls. At the very least, you may pass in shared\n`symlinks`, `statCache`, `realpathCache`, and `cache` options, so that\nparallel glob operations will be sped up by sharing information about\nthe filesystem.\n\n* `cwd` The current working directory in which to search. Defaults\n to `process.cwd()`.\n* `root` The place where patterns starting with `/` will be mounted\n onto. Defaults to `path.resolve(options.cwd, \"/\")` (`/` on Unix\n systems, and `C:\\` or some such on Windows.)\n* `dot` Include `.dot` files in normal matches and `globstar` matches.\n Note that an explicit dot in a portion of the pattern will always\n match dot files.\n* `nomount` By default, a pattern starting with a forward-slash will be\n \"mounted\" onto the root setting, so that a valid filesystem path is\n returned. Set this flag to disable that behavior.\n* `mark` Add a `/` character to directory matches. Note that this\n requires additional stat calls.\n* `nosort` Don't sort the results.\n* `stat` Set to true to stat *all* results. This reduces performance\n somewhat, and is completely unnecessary, unless `readdir` is presumed\n to be an untrustworthy indicator of file existence.\n* `silent` When an unusual error is encountered when attempting to\n read a directory, a warning will be printed to stderr. Set the\n `silent` option to true to suppress these warnings.\n* `strict` When an unusual error is encountered when attempting to\n read a directory, the process will just continue on in search of\n other matches. Set the `strict` option to raise an error in these\n cases.\n* `cache` See `cache` property above. Pass in a previously generated\n cache object to save some fs calls.\n* `statCache` A cache of results of filesystem information, to prevent\n unnecessary stat calls. While it should not normally be necessary\n to set this, you may pass the statCache from one glob() call to the\n options object of another, if you know that the filesystem will not\n change between calls. (See \"Race Conditions\" below.)\n* `symlinks` A cache of known symbolic links. You may pass in a\n previously generated `symlinks` object to save `lstat` calls when\n resolving `**` matches.\n* `sync` DEPRECATED: use `glob.sync(pattern, opts)` instead.\n* `nounique` In some cases, brace-expanded patterns can result in the\n same file showing up multiple times in the result set. By default,\n this implementation prevents duplicates in the result set. Set this\n flag to disable that behavior.\n* `nonull` Set to never return an empty set, instead returning a set\n containing the pattern itself. This is the default in glob(3).\n* `debug` Set to enable debug logging in minimatch and glob.\n* `nobrace` Do not expand `{a,b}` and `{1..3}` brace sets.\n* `noglobstar` Do not match `**` against multiple filenames. (Ie,\n treat it as a normal `*` instead.)\n* `noext` Do not match `+(a|b)` \"extglob\" patterns.\n* `nocase` Perform a case-insensitive match. Note: on\n case-insensitive filesystems, non-magic patterns will match by\n default, since `stat` and `readdir` will not raise errors.\n* `matchBase` Perform a basename-only match if the pattern does not\n contain any slash characters. That is, `*.js` would be treated as\n equivalent to `**/*.js`, matching all js files in all directories.\n* `nodir` Do not match directories, only files. (Note: to match\n *only* directories, simply put a `/` at the end of the pattern.)\n* `ignore` Add a pattern or an array of glob patterns to exclude matches.\n Note: `ignore` patterns are *always* in `dot:true` mode, regardless\n of any other settings.\n* `follow` Follow symlinked directories when expanding `**` patterns.\n Note that this can result in a lot of duplicate references in the\n presence of cyclic links.\n* `realpath` Set to true to call `fs.realpath` on all of the results.\n In the case of a symlink that cannot be resolved, the full absolute\n path to the matched entry is returned (though it will usually be a\n broken symlink)\n\n## Comparisons to other fnmatch/glob implementations\n\nWhile strict compliance with the existing standards is a worthwhile\ngoal, some discrepancies exist between node-glob and other\nimplementations, and are intentional.\n\nThe double-star character `**` is supported by default, unless the\n`noglobstar` flag is set. This is supported in the manner of bsdglob\nand bash 4.3, where `**` only has special significance if it is the only\nthing in a path part. That is, `a/**/b` will match `a/x/y/b`, but\n`a/**b` will not.\n\nNote that symlinked directories are not crawled as part of a `**`,\nthough their contents may match against subsequent portions of the\npattern. This prevents infinite loops and duplicates and the like.\n\nIf an escaped pattern has no matches, and the `nonull` flag is set,\nthen glob returns the pattern as-provided, rather than\ninterpreting the character escapes. For example,\n`glob.match([], \"\\\\*a\\\\?\")` will return `\"\\\\*a\\\\?\"` rather than\n`\"*a?\"`. This is akin to setting the `nullglob` option in bash, except\nthat it does not resolve escaped pattern characters.\n\nIf brace expansion is not disabled, then it is performed before any\nother interpretation of the glob pattern. Thus, a pattern like\n`+(a|{b),c)}`, which would not be valid in bash or zsh, is expanded\n**first** into the set of `+(a|b)` and `+(a|c)`, and those patterns are\nchecked for validity. Since those two are valid, matching proceeds.\n\n### Comments and Negation\n\nPreviously, this module let you mark a pattern as a \"comment\" if it\nstarted with a `#` character, or a \"negated\" pattern if it started\nwith a `!` character.\n\nThese options were deprecated in version 5, and removed in version 6.\n\nTo specify things that should not match, use the `ignore` option.\n\n## Windows\n\n**Please only use forward-slashes in glob expressions.**\n\nThough windows uses either `/` or `\\` as its path separator, only `/`\ncharacters are used by this glob implementation. You must use\nforward-slashes **only** in glob expressions. Back-slashes will always\nbe interpreted as escape characters, not path separators.\n\nResults from absolute patterns such as `/foo/*` are mounted onto the\nroot setting using `path.join`. On windows, this will by default result\nin `/foo/*` matching `C:\\foo\\bar.txt`.\n\n## Race Conditions\n\nGlob searching, by its very nature, is susceptible to race conditions,\nsince it relies on directory walking and such.\n\nAs a result, it is possible that a file that exists when glob looks for\nit may have been deleted or modified by the time it returns the result.\n\nAs part of its internal implementation, this program caches all stat\nand readdir calls that it makes, in order to cut down on system\noverhead. However, this also makes it even more susceptible to races,\nespecially if the cache or statCache objects are reused between glob\ncalls.\n\nUsers are thus advised not to use a glob result as a guarantee of\nfilesystem state in the face of rapid changes. For the vast majority\nof operations, this is never a problem.\n\n## Contributing\n\nAny change to behavior (including bugfixes) must come with a test.\n\nPatches that fail tests or reduce performance will be rejected.\n\n```\n# to run tests\nnpm test\n\n# to re-generate test fixtures\nnpm run test-regen\n\n# to benchmark against bash/zsh\nnpm run bench\n\n# to profile javascript\nnpm run prof\n```\n",
70
- "readmeFilename": "README.md",
71
- "repository": {
72
- "type": "git",
73
- "url": "git://github.com/isaacs/node-glob.git"
74
- },
75
- "scripts": {
76
- "bench": "bash benchmark.sh",
77
- "benchclean": "node benchclean.js",
78
- "prepublish": "npm run benchclean",
79
- "prof": "bash prof.sh && cat profile.txt",
80
- "profclean": "rm -f v8.log profile.txt",
81
- "test": "tap test/*.js --cov",
82
- "test-regen": "npm run profclean && TEST_REGEN=1 node test/00-setup.js"
83
- },
84
- "version": "7.0.3"
85
- }
@@ -1,4 +0,0 @@
1
- node_modules/
2
- coverage/
3
- .nyc_output/
4
- nyc_output/
@@ -1,5 +0,0 @@
1
- language: node_js
2
- node_js:
3
- - '0.10'
4
- - '0.12'
5
- - 'iojs'
@@ -1,31 +0,0 @@
1
- var test = require('tap').test
2
- var semver = require('../')
3
-
4
- test('long version is too long', function (t) {
5
- var v = '1.2.' + new Array(256).join('1')
6
- t.throws(function () {
7
- new semver.SemVer(v)
8
- })
9
- t.equal(semver.valid(v, false), null)
10
- t.equal(semver.valid(v, true), null)
11
- t.equal(semver.inc(v, 'patch'), null)
12
- t.end()
13
- })
14
-
15
- test('big number is like too long version', function (t) {
16
- var v = '1.2.' + new Array(100).join('1')
17
- t.throws(function () {
18
- new semver.SemVer(v)
19
- })
20
- t.equal(semver.valid(v, false), null)
21
- t.equal(semver.valid(v, true), null)
22
- t.equal(semver.inc(v, 'patch'), null)
23
- t.end()
24
- })
25
-
26
- test('parsing null does not throw', function (t) {
27
- t.equal(semver.parse(null), null)
28
- t.equal(semver.parse({}), null)
29
- t.equal(semver.parse(new semver.SemVer('1.2.3')).version, '1.2.3')
30
- t.end()
31
- })
@@ -1,29 +0,0 @@
1
- var tap = require('tap');
2
- var test = tap.test;
3
- var semver = require('../semver.js');
4
- var clean = semver.clean;
5
-
6
- test('\nclean tests', function(t) {
7
- // [range, version]
8
- // Version should be detectable despite extra characters
9
- [
10
- ['1.2.3', '1.2.3'],
11
- [' 1.2.3 ', '1.2.3'],
12
- [' 1.2.3-4 ', '1.2.3-4'],
13
- [' 1.2.3-pre ', '1.2.3-pre'],
14
- [' =v1.2.3 ', '1.2.3'],
15
- ['v1.2.3', '1.2.3'],
16
- [' v1.2.3 ', '1.2.3'],
17
- ['\t1.2.3', '1.2.3'],
18
- ['>1.2.3', null],
19
- ['~1.2.3', null],
20
- ['<=1.2.3', null],
21
- ['1.2.x', null]
22
- ].forEach(function(tuple) {
23
- var range = tuple[0];
24
- var version = tuple[1];
25
- var msg = 'clean(' + range + ') = ' + version;
26
- t.equal(clean(range), version, msg);
27
- });
28
- t.end();
29
- });
@@ -1,173 +0,0 @@
1
- var tap = require('tap');
2
- var test = tap.test;
3
- var semver = require('../semver.js');
4
- var gtr = semver.gtr;
5
-
6
- test('\ngtr tests', function(t) {
7
- // [range, version, loose]
8
- // Version should be greater than range
9
- [
10
- ['~1.2.2', '1.3.0'],
11
- ['~0.6.1-1', '0.7.1-1'],
12
- ['1.0.0 - 2.0.0', '2.0.1'],
13
- ['1.0.0', '1.0.1-beta1'],
14
- ['1.0.0', '2.0.0'],
15
- ['<=2.0.0', '2.1.1'],
16
- ['<=2.0.0', '3.2.9'],
17
- ['<2.0.0', '2.0.0'],
18
- ['0.1.20 || 1.2.4', '1.2.5'],
19
- ['2.x.x', '3.0.0'],
20
- ['1.2.x', '1.3.0'],
21
- ['1.2.x || 2.x', '3.0.0'],
22
- ['2.*.*', '5.0.1'],
23
- ['1.2.*', '1.3.3'],
24
- ['1.2.* || 2.*', '4.0.0'],
25
- ['2', '3.0.0'],
26
- ['2.3', '2.4.2'],
27
- ['~2.4', '2.5.0'], // >=2.4.0 <2.5.0
28
- ['~2.4', '2.5.5'],
29
- ['~>3.2.1', '3.3.0'], // >=3.2.1 <3.3.0
30
- ['~1', '2.2.3'], // >=1.0.0 <2.0.0
31
- ['~>1', '2.2.4'],
32
- ['~> 1', '3.2.3'],
33
- ['~1.0', '1.1.2'], // >=1.0.0 <1.1.0
34
- ['~ 1.0', '1.1.0'],
35
- ['<1.2', '1.2.0'],
36
- ['< 1.2', '1.2.1'],
37
- ['1', '2.0.0beta', true],
38
- ['~v0.5.4-pre', '0.6.0'],
39
- ['~v0.5.4-pre', '0.6.1-pre'],
40
- ['=0.7.x', '0.8.0'],
41
- ['=0.7.x', '0.8.0-asdf'],
42
- ['<0.7.x', '0.7.0'],
43
- ['~1.2.2', '1.3.0'],
44
- ['1.0.0 - 2.0.0', '2.2.3'],
45
- ['1.0.0', '1.0.1'],
46
- ['<=2.0.0', '3.0.0'],
47
- ['<=2.0.0', '2.9999.9999'],
48
- ['<=2.0.0', '2.2.9'],
49
- ['<2.0.0', '2.9999.9999'],
50
- ['<2.0.0', '2.2.9'],
51
- ['2.x.x', '3.1.3'],
52
- ['1.2.x', '1.3.3'],
53
- ['1.2.x || 2.x', '3.1.3'],
54
- ['2.*.*', '3.1.3'],
55
- ['1.2.*', '1.3.3'],
56
- ['1.2.* || 2.*', '3.1.3'],
57
- ['2', '3.1.2'],
58
- ['2.3', '2.4.1'],
59
- ['~2.4', '2.5.0'], // >=2.4.0 <2.5.0
60
- ['~>3.2.1', '3.3.2'], // >=3.2.1 <3.3.0
61
- ['~1', '2.2.3'], // >=1.0.0 <2.0.0
62
- ['~>1', '2.2.3'],
63
- ['~1.0', '1.1.0'], // >=1.0.0 <1.1.0
64
- ['<1', '1.0.0'],
65
- ['1', '2.0.0beta', true],
66
- ['<1', '1.0.0beta', true],
67
- ['< 1', '1.0.0beta', true],
68
- ['=0.7.x', '0.8.2'],
69
- ['<0.7.x', '0.7.2']
70
- ].forEach(function(tuple) {
71
- var range = tuple[0];
72
- var version = tuple[1];
73
- var loose = tuple[2] || false;
74
- var msg = 'gtr(' + version + ', ' + range + ', ' + loose + ')';
75
- t.ok(gtr(version, range, loose), msg);
76
- });
77
- t.end();
78
- });
79
-
80
- test('\nnegative gtr tests', function(t) {
81
- // [range, version, loose]
82
- // Version should NOT be greater than range
83
- [
84
- ['~0.6.1-1', '0.6.1-1'],
85
- ['1.0.0 - 2.0.0', '1.2.3'],
86
- ['1.0.0 - 2.0.0', '0.9.9'],
87
- ['1.0.0', '1.0.0'],
88
- ['>=*', '0.2.4'],
89
- ['', '1.0.0', true],
90
- ['*', '1.2.3'],
91
- ['*', 'v1.2.3-foo'],
92
- ['>=1.0.0', '1.0.0'],
93
- ['>=1.0.0', '1.0.1'],
94
- ['>=1.0.0', '1.1.0'],
95
- ['>1.0.0', '1.0.1'],
96
- ['>1.0.0', '1.1.0'],
97
- ['<=2.0.0', '2.0.0'],
98
- ['<=2.0.0', '1.9999.9999'],
99
- ['<=2.0.0', '0.2.9'],
100
- ['<2.0.0', '1.9999.9999'],
101
- ['<2.0.0', '0.2.9'],
102
- ['>= 1.0.0', '1.0.0'],
103
- ['>= 1.0.0', '1.0.1'],
104
- ['>= 1.0.0', '1.1.0'],
105
- ['> 1.0.0', '1.0.1'],
106
- ['> 1.0.0', '1.1.0'],
107
- ['<= 2.0.0', '2.0.0'],
108
- ['<= 2.0.0', '1.9999.9999'],
109
- ['<= 2.0.0', '0.2.9'],
110
- ['< 2.0.0', '1.9999.9999'],
111
- ['<\t2.0.0', '0.2.9'],
112
- ['>=0.1.97', 'v0.1.97'],
113
- ['>=0.1.97', '0.1.97'],
114
- ['0.1.20 || 1.2.4', '1.2.4'],
115
- ['0.1.20 || >1.2.4', '1.2.4'],
116
- ['0.1.20 || 1.2.4', '1.2.3'],
117
- ['0.1.20 || 1.2.4', '0.1.20'],
118
- ['>=0.2.3 || <0.0.1', '0.0.0'],
119
- ['>=0.2.3 || <0.0.1', '0.2.3'],
120
- ['>=0.2.3 || <0.0.1', '0.2.4'],
121
- ['||', '1.3.4'],
122
- ['2.x.x', '2.1.3'],
123
- ['1.2.x', '1.2.3'],
124
- ['1.2.x || 2.x', '2.1.3'],
125
- ['1.2.x || 2.x', '1.2.3'],
126
- ['x', '1.2.3'],
127
- ['2.*.*', '2.1.3'],
128
- ['1.2.*', '1.2.3'],
129
- ['1.2.* || 2.*', '2.1.3'],
130
- ['1.2.* || 2.*', '1.2.3'],
131
- ['1.2.* || 2.*', '1.2.3'],
132
- ['*', '1.2.3'],
133
- ['2', '2.1.2'],
134
- ['2.3', '2.3.1'],
135
- ['~2.4', '2.4.0'], // >=2.4.0 <2.5.0
136
- ['~2.4', '2.4.5'],
137
- ['~>3.2.1', '3.2.2'], // >=3.2.1 <3.3.0
138
- ['~1', '1.2.3'], // >=1.0.0 <2.0.0
139
- ['~>1', '1.2.3'],
140
- ['~> 1', '1.2.3'],
141
- ['~1.0', '1.0.2'], // >=1.0.0 <1.1.0
142
- ['~ 1.0', '1.0.2'],
143
- ['>=1', '1.0.0'],
144
- ['>= 1', '1.0.0'],
145
- ['<1.2', '1.1.1'],
146
- ['< 1.2', '1.1.1'],
147
- ['1', '1.0.0beta', true],
148
- ['~v0.5.4-pre', '0.5.5'],
149
- ['~v0.5.4-pre', '0.5.4'],
150
- ['=0.7.x', '0.7.2'],
151
- ['>=0.7.x', '0.7.2'],
152
- ['=0.7.x', '0.7.0-asdf'],
153
- ['>=0.7.x', '0.7.0-asdf'],
154
- ['<=0.7.x', '0.6.2'],
155
- ['>0.2.3 >0.2.4 <=0.2.5', '0.2.5'],
156
- ['>=0.2.3 <=0.2.4', '0.2.4'],
157
- ['1.0.0 - 2.0.0', '2.0.0'],
158
- ['^1', '0.0.0-0'],
159
- ['^3.0.0', '2.0.0'],
160
- ['^1.0.0 || ~2.0.1', '2.0.0'],
161
- ['^0.1.0 || ~3.0.1 || 5.0.0', '3.2.0'],
162
- ['^0.1.0 || ~3.0.1 || 5.0.0', '1.0.0beta', true],
163
- ['^0.1.0 || ~3.0.1 || 5.0.0', '5.0.0-0', true],
164
- ['^0.1.0 || ~3.0.1 || >4 <=5.0.0', '3.5.0']
165
- ].forEach(function(tuple) {
166
- var range = tuple[0];
167
- var version = tuple[1];
168
- var loose = tuple[2] || false;
169
- var msg = '!gtr(' + version + ', ' + range + ', ' + loose + ')';
170
- t.notOk(gtr(version, range, loose), msg);
171
- });
172
- t.end();
173
- });