fsevents 1.0.15 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


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

Files changed (369) hide show
  1. package/fsevents.js +3 -0
  2. package/install.js +7 -0
  3. package/lib/binding/Release/node-v48-darwin-x64/fse.node +0 -0
  4. package/node_modules/abbrev/abbrev.js +0 -1
  5. package/node_modules/abbrev/package.json +32 -21
  6. package/node_modules/ansi-regex/index.js +1 -1
  7. package/node_modules/ansi-regex/package.json +61 -42
  8. package/node_modules/ansi-regex/readme.md +10 -2
  9. package/node_modules/ansi-styles/package.json +27 -19
  10. package/node_modules/aproba/README.md +33 -3
  11. package/node_modules/aproba/index.js +71 -30
  12. package/node_modules/aproba/package.json +30 -22
  13. package/node_modules/are-we-there-yet/package.json +14 -6
  14. package/node_modules/asn1/package.json +16 -8
  15. package/node_modules/assert-plus/package.json +16 -8
  16. package/node_modules/{node-uuid/LICENSE.md → asynckit/LICENSE} +1 -1
  17. package/node_modules/asynckit/README.md +233 -0
  18. package/node_modules/asynckit/bench.js +76 -0
  19. package/node_modules/asynckit/index.js +6 -0
  20. package/node_modules/asynckit/lib/abort.js +29 -0
  21. package/node_modules/asynckit/lib/async.js +34 -0
  22. package/node_modules/asynckit/lib/defer.js +26 -0
  23. package/node_modules/asynckit/lib/iterate.js +75 -0
  24. package/node_modules/asynckit/lib/readable_asynckit.js +91 -0
  25. package/node_modules/asynckit/lib/readable_parallel.js +25 -0
  26. package/node_modules/asynckit/lib/readable_serial.js +25 -0
  27. package/node_modules/asynckit/lib/readable_serial_ordered.js +29 -0
  28. package/node_modules/asynckit/lib/state.js +37 -0
  29. package/node_modules/asynckit/lib/streamify.js +141 -0
  30. package/node_modules/asynckit/lib/terminator.js +29 -0
  31. package/node_modules/asynckit/package.json +126 -0
  32. package/node_modules/asynckit/parallel.js +43 -0
  33. package/node_modules/asynckit/serial.js +17 -0
  34. package/node_modules/asynckit/serialOrdered.js +75 -0
  35. package/node_modules/asynckit/stream.js +21 -0
  36. package/node_modules/aws-sign2/package.json +15 -7
  37. package/node_modules/aws4/README.md +9 -0
  38. package/node_modules/aws4/aws4.js +21 -7
  39. package/node_modules/aws4/package.json +62 -54
  40. package/node_modules/balanced-match/package.json +27 -19
  41. package/node_modules/bcrypt-pbkdf/README.md +39 -0
  42. package/node_modules/bcrypt-pbkdf/index.js +556 -0
  43. package/node_modules/bcrypt-pbkdf/package.json +84 -0
  44. package/node_modules/block-stream/package.json +15 -7
  45. package/node_modules/boom/package.json +14 -6
  46. package/node_modules/brace-expansion/index.js +10 -0
  47. package/node_modules/brace-expansion/package.json +35 -27
  48. package/node_modules/buffer-shims/package.json +16 -7
  49. package/node_modules/caseless/package.json +18 -10
  50. package/node_modules/chalk/package.json +30 -22
  51. package/node_modules/code-point-at/index.js +3 -4
  52. package/node_modules/code-point-at/package.json +40 -30
  53. package/node_modules/code-point-at/readme.md +2 -4
  54. package/node_modules/combined-stream/package.json +15 -7
  55. package/node_modules/commander/package.json +16 -8
  56. package/node_modules/concat-map/package.json +30 -22
  57. package/node_modules/console-control-strings/package.json +15 -7
  58. package/node_modules/core-util-is/package.json +22 -14
  59. package/node_modules/cryptiles/package.json +14 -6
  60. package/node_modules/dashdash/CHANGES.md +364 -0
  61. package/node_modules/dashdash/LICENSE.txt +24 -0
  62. package/node_modules/dashdash/etc/dashdash.bash_completion.in +4 -3
  63. package/node_modules/dashdash/node_modules/assert-plus/package.json +16 -8
  64. package/node_modules/dashdash/package.json +33 -24
  65. package/node_modules/debug/package.json +20 -12
  66. package/node_modules/deep-extend/package.json +23 -15
  67. package/node_modules/delayed-stream/package.json +15 -7
  68. package/node_modules/delegates/package.json +14 -6
  69. package/node_modules/ecc-jsbn/package.json +17 -9
  70. package/node_modules/escape-string-regexp/package.json +20 -12
  71. package/node_modules/extend/package.json +16 -8
  72. package/node_modules/extsprintf/package.json +14 -6
  73. package/node_modules/forever-agent/package.json +15 -7
  74. package/node_modules/form-data/README.md +7 -8
  75. package/node_modules/form-data/lib/browser.js +1 -1
  76. package/node_modules/form-data/lib/form_data.js +101 -72
  77. package/node_modules/form-data/lib/populate.js +6 -5
  78. package/node_modules/form-data/package.json +68 -52
  79. package/node_modules/fs.realpath/package.json +19 -11
  80. package/node_modules/fstream/package.json +15 -7
  81. package/node_modules/fstream-ignore/package.json +15 -7
  82. package/node_modules/gauge/CHANGELOG.md +24 -0
  83. package/node_modules/gauge/README.md +4 -0
  84. package/node_modules/gauge/index.js +16 -9
  85. package/node_modules/gauge/package.json +37 -29
  86. package/node_modules/generate-function/package.json +16 -8
  87. package/node_modules/generate-object-property/package.json +14 -6
  88. package/node_modules/getpass/node_modules/assert-plus/package.json +16 -8
  89. package/node_modules/getpass/package.json +16 -8
  90. package/node_modules/glob/README.md +3 -0
  91. package/node_modules/glob/common.js +6 -1
  92. package/node_modules/glob/glob.js +23 -14
  93. package/node_modules/glob/package.json +29 -21
  94. package/node_modules/glob/sync.js +29 -11
  95. package/node_modules/graceful-fs/README.md +1 -1
  96. package/node_modules/graceful-fs/graceful-fs.js +23 -14
  97. package/node_modules/graceful-fs/package.json +35 -27
  98. package/node_modules/graceful-fs/polyfills.js +99 -21
  99. package/node_modules/graceful-readlink/package.json +14 -6
  100. package/node_modules/har-validator/package.json +16 -8
  101. package/node_modules/has-ansi/package.json +29 -21
  102. package/node_modules/has-unicode/package.json +18 -10
  103. package/node_modules/hawk/package.json +18 -10
  104. package/node_modules/hoek/package.json +14 -6
  105. package/node_modules/http-signature/package.json +14 -6
  106. package/node_modules/inflight/inflight.js +22 -12
  107. package/node_modules/inflight/package.json +28 -20
  108. package/node_modules/inherits/inherits.js +7 -1
  109. package/node_modules/inherits/package.json +41 -21
  110. package/node_modules/ini/package.json +15 -7
  111. package/node_modules/is-fullwidth-code-point/package.json +27 -19
  112. package/node_modules/is-my-json-valid/index.js +10 -0
  113. package/node_modules/is-my-json-valid/package.json +36 -20
  114. package/node_modules/is-my-json-valid/test/misc.js +24 -0
  115. package/node_modules/is-property/package.json +19 -11
  116. package/node_modules/is-typedarray/package.json +16 -8
  117. package/node_modules/isarray/package.json +28 -20
  118. package/node_modules/isstream/package.json +19 -11
  119. package/node_modules/jodid25519/package.json +18 -10
  120. package/node_modules/jsbn/index.js +8 -9
  121. package/node_modules/jsbn/package.json +30 -18
  122. package/node_modules/json-schema/lib/links.js +17 -3
  123. package/node_modules/json-schema/lib/validate.js +18 -5
  124. package/node_modules/json-schema/package.json +32 -18
  125. package/node_modules/json-stringify-safe/package.json +18 -10
  126. package/node_modules/{async/LICENSE → jsonpointer/LICENSE.md} +3 -1
  127. package/node_modules/jsonpointer/README.md +17 -10
  128. package/node_modules/jsonpointer/jsonpointer.js +73 -56
  129. package/node_modules/jsonpointer/package.json +47 -26
  130. package/node_modules/jsprim/CHANGES.md +4 -0
  131. package/node_modules/jsprim/package.json +25 -17
  132. package/node_modules/mime-db/HISTORY.md +50 -0
  133. package/node_modules/mime-db/db.json +126 -2
  134. package/node_modules/mime-db/package.json +43 -30
  135. package/node_modules/mime-types/HISTORY.md +19 -0
  136. package/node_modules/mime-types/index.js +8 -8
  137. package/node_modules/mime-types/package.json +32 -19
  138. package/node_modules/minimatch/minimatch.js +19 -20
  139. package/node_modules/minimatch/package.json +25 -17
  140. package/node_modules/minimist/package.json +24 -16
  141. package/node_modules/mkdirp/package.json +21 -13
  142. package/node_modules/ms/package.json +14 -6
  143. package/node_modules/node-pre-gyp/CHANGELOG.md +20 -0
  144. package/node_modules/node-pre-gyp/README.md +574 -0
  145. package/node_modules/node-pre-gyp/appveyor.yml +19 -9
  146. package/node_modules/node-pre-gyp/lib/install.js +31 -7
  147. package/node_modules/node-pre-gyp/lib/node-pre-gyp.js +3 -1
  148. package/node_modules/node-pre-gyp/lib/util/abi_crosswalk.json +140 -0
  149. package/node_modules/node-pre-gyp/package.json +52 -48
  150. package/node_modules/nopt/package.json +19 -11
  151. package/node_modules/npmlog/CHANGELOG.md +9 -0
  152. package/node_modules/npmlog/README.md +7 -1
  153. package/node_modules/npmlog/log.js +12 -8
  154. package/node_modules/npmlog/package.json +30 -22
  155. package/node_modules/number-is-nan/package.json +39 -30
  156. package/node_modules/number-is-nan/readme.md +1 -3
  157. package/node_modules/oauth-sign/package.json +15 -7
  158. package/node_modules/object-assign/index.js +11 -4
  159. package/node_modules/object-assign/package.json +42 -30
  160. package/node_modules/object-assign/readme.md +8 -3
  161. package/node_modules/once/README.md +28 -0
  162. package/node_modules/once/once.js +21 -0
  163. package/node_modules/once/package.json +31 -20
  164. package/node_modules/path-is-absolute/index.js +5 -5
  165. package/node_modules/path-is-absolute/package.json +45 -31
  166. package/node_modules/path-is-absolute/readme.md +19 -11
  167. package/node_modules/pinkie/package.json +18 -10
  168. package/node_modules/pinkie-promise/package.json +18 -10
  169. package/node_modules/process-nextick-args/package.json +16 -8
  170. package/node_modules/punycode/LICENSE-MIT.txt +20 -0
  171. package/node_modules/punycode/README.md +176 -0
  172. package/node_modules/punycode/package.json +127 -0
  173. package/node_modules/punycode/punycode.js +533 -0
  174. package/node_modules/qs/.eslintrc +15 -15
  175. package/node_modules/qs/CHANGELOG.md +36 -0
  176. package/node_modules/qs/README.md +431 -0
  177. package/node_modules/qs/dist/qs.js +167 -67
  178. package/node_modules/qs/lib/formats.js +18 -0
  179. package/node_modules/qs/lib/index.js +6 -4
  180. package/node_modules/qs/lib/parse.js +31 -32
  181. package/node_modules/qs/lib/stringify.js +83 -20
  182. package/node_modules/qs/lib/utils.js +23 -7
  183. package/node_modules/qs/package.json +40 -30
  184. package/node_modules/qs/test/.eslintrc +10 -0
  185. package/node_modules/qs/test/index.js +2 -0
  186. package/node_modules/qs/test/parse.js +108 -47
  187. package/node_modules/qs/test/stringify.js +261 -28
  188. package/node_modules/qs/test/utils.js +13 -0
  189. package/node_modules/rc/node_modules/minimist/package.json +24 -16
  190. package/node_modules/rc/package.json +35 -23
  191. package/node_modules/readable-stream/.npmignore +1 -0
  192. package/node_modules/readable-stream/.travis.yml +2 -7
  193. package/node_modules/readable-stream/README.md +6 -2
  194. package/node_modules/readable-stream/lib/_stream_readable.js +158 -110
  195. package/node_modules/readable-stream/lib/_stream_transform.js +7 -5
  196. package/node_modules/readable-stream/lib/_stream_writable.js +35 -7
  197. package/node_modules/readable-stream/lib/internal/streams/BufferList.js +64 -0
  198. package/node_modules/readable-stream/package.json +34 -26
  199. package/node_modules/request/CHANGELOG.md +49 -18
  200. package/node_modules/request/README.md +3 -2
  201. package/node_modules/request/index.js +2 -3
  202. package/node_modules/request/lib/auth.js +1 -1
  203. package/node_modules/request/lib/helpers.js +4 -13
  204. package/node_modules/request/lib/multipart.js +1 -1
  205. package/node_modules/request/lib/oauth.js +1 -1
  206. package/node_modules/request/lib/redirect.js +5 -1
  207. package/node_modules/request/package.json +50 -31
  208. package/node_modules/request/request.js +84 -43
  209. package/node_modules/rimraf/package.json +28 -20
  210. package/node_modules/rimraf/rimraf.js +2 -2
  211. package/node_modules/semver/README.md +4 -0
  212. package/node_modules/semver/package.json +27 -19
  213. package/node_modules/semver/semver.js +14 -5
  214. package/node_modules/set-blocking/package.json +21 -13
  215. package/node_modules/signal-exit/CHANGELOG.md +10 -0
  216. package/node_modules/signal-exit/LICENSE.txt +2 -0
  217. package/node_modules/signal-exit/index.js +9 -0
  218. package/node_modules/signal-exit/package.json +32 -24
  219. package/node_modules/signal-exit/signals.js +5 -4
  220. package/node_modules/sntp/package.json +16 -8
  221. package/node_modules/sshpk/README.md +214 -3
  222. package/node_modules/sshpk/bin/sshpk-conv +6 -0
  223. package/node_modules/sshpk/lib/certificate.js +291 -0
  224. package/node_modules/sshpk/lib/errors.js +14 -1
  225. package/node_modules/sshpk/lib/fingerprint.js +28 -7
  226. package/node_modules/sshpk/lib/formats/openssh-cert.js +289 -0
  227. package/node_modules/sshpk/lib/formats/pem.js +2 -2
  228. package/node_modules/sshpk/lib/formats/pkcs8.js +2 -7
  229. package/node_modules/sshpk/lib/formats/ssh-private.js +140 -17
  230. package/node_modules/sshpk/lib/formats/x509-pem.js +77 -0
  231. package/node_modules/sshpk/lib/formats/x509.js +484 -0
  232. package/node_modules/sshpk/lib/identity.js +277 -0
  233. package/node_modules/sshpk/lib/index.js +13 -1
  234. package/node_modules/sshpk/lib/key.js +1 -0
  235. package/node_modules/sshpk/lib/signature.js +14 -6
  236. package/node_modules/sshpk/lib/ssh-buffer.js +24 -0
  237. package/node_modules/sshpk/lib/utils.js +43 -1
  238. package/node_modules/sshpk/node_modules/assert-plus/package.json +16 -8
  239. package/node_modules/sshpk/package.json +32 -22
  240. package/node_modules/string-width/index.js +5 -0
  241. package/node_modules/string-width/package.json +49 -36
  242. package/node_modules/string-width/readme.md +4 -3
  243. package/node_modules/string_decoder/package.json +19 -11
  244. package/node_modules/stringstream/package.json +18 -10
  245. package/node_modules/strip-ansi/package.json +29 -21
  246. package/node_modules/strip-json-comments/index.js +70 -0
  247. package/node_modules/strip-json-comments/package.json +49 -43
  248. package/node_modules/strip-json-comments/readme.md +12 -28
  249. package/node_modules/supports-color/package.json +26 -18
  250. package/node_modules/tar/package.json +19 -11
  251. package/node_modules/tar-pack/README.md +4 -1
  252. package/node_modules/tar-pack/index.js +17 -12
  253. package/node_modules/tar-pack/node_modules/once/LICENSE +15 -0
  254. package/node_modules/tar-pack/node_modules/once/README.md +51 -0
  255. package/node_modules/tar-pack/node_modules/once/once.js +21 -0
  256. package/node_modules/tar-pack/node_modules/once/package.json +96 -0
  257. package/node_modules/tar-pack/node_modules/readable-stream/.npmignore +8 -0
  258. package/node_modules/{bl → tar-pack}/node_modules/readable-stream/.travis.yml +4 -7
  259. package/node_modules/{bl → tar-pack}/node_modules/readable-stream/LICENSE +0 -0
  260. package/node_modules/{bl → tar-pack}/node_modules/readable-stream/README.md +2 -2
  261. package/node_modules/tar-pack/node_modules/readable-stream/doc/stream.md +2015 -0
  262. package/node_modules/{bl → tar-pack}/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +0 -0
  263. package/node_modules/{bl → tar-pack}/node_modules/readable-stream/duplex.js +0 -0
  264. package/node_modules/{bl → tar-pack}/node_modules/readable-stream/lib/_stream_duplex.js +0 -0
  265. package/node_modules/{bl → tar-pack}/node_modules/readable-stream/lib/_stream_passthrough.js +0 -0
  266. package/node_modules/{bl → tar-pack}/node_modules/readable-stream/lib/_stream_readable.js +164 -107
  267. package/node_modules/{bl → tar-pack}/node_modules/readable-stream/lib/_stream_transform.js +3 -3
  268. package/node_modules/{bl → tar-pack}/node_modules/readable-stream/lib/_stream_writable.js +25 -15
  269. package/node_modules/tar-pack/node_modules/readable-stream/lib/internal/streams/BufferList.js +64 -0
  270. package/node_modules/{bl → tar-pack}/node_modules/readable-stream/package.json +50 -30
  271. package/node_modules/{bl → tar-pack}/node_modules/readable-stream/passthrough.js +0 -0
  272. package/node_modules/{bl → tar-pack}/node_modules/readable-stream/readable.js +4 -0
  273. package/node_modules/{bl → tar-pack}/node_modules/readable-stream/transform.js +0 -0
  274. package/node_modules/{bl → tar-pack}/node_modules/readable-stream/writable.js +0 -0
  275. package/node_modules/tar-pack/package.json +39 -22
  276. package/node_modules/tar-pack/test/index.js +43 -1
  277. package/node_modules/tough-cookie/README.md +17 -3
  278. package/node_modules/tough-cookie/lib/cookie.js +6 -12
  279. package/node_modules/tough-cookie/package.json +50 -35
  280. package/node_modules/tunnel-agent/package.json +15 -7
  281. package/node_modules/tweetnacl/AUTHORS.md +28 -0
  282. package/node_modules/tweetnacl/CHANGELOG.md +93 -0
  283. package/node_modules/tweetnacl/LICENSE +24 -0
  284. package/node_modules/tweetnacl/PULL_REQUEST_TEMPLATE.md +20 -0
  285. package/node_modules/tweetnacl/README.md +57 -61
  286. package/node_modules/tweetnacl/nacl-fast.js +22 -52
  287. package/node_modules/tweetnacl/nacl-fast.min.js +2 -2
  288. package/node_modules/tweetnacl/nacl.d.ts +98 -0
  289. package/node_modules/tweetnacl/nacl.js +21 -51
  290. package/node_modules/tweetnacl/nacl.min.js +1 -1
  291. package/node_modules/tweetnacl/package.json +47 -46
  292. package/node_modules/uid-number/package.json +15 -7
  293. package/node_modules/util-deprecate/package.json +21 -13
  294. package/node_modules/uuid/.npmignore +8 -0
  295. package/node_modules/uuid/.travis.yml +5 -0
  296. package/node_modules/uuid/AUTHORS +5 -0
  297. package/node_modules/uuid/HISTORY.md +28 -0
  298. package/node_modules/uuid/LICENSE.md +21 -0
  299. package/node_modules/uuid/README.md +132 -0
  300. package/node_modules/{node-uuid → uuid}/bin/uuid +0 -0
  301. package/node_modules/uuid/index.js +8 -0
  302. package/node_modules/uuid/lib/bytesToUuid.js +23 -0
  303. package/node_modules/uuid/lib/rng-browser.js +33 -0
  304. package/node_modules/uuid/lib/rng.js +10 -0
  305. package/node_modules/uuid/package.json +122 -0
  306. package/node_modules/uuid/test/mocha.opts +3 -0
  307. package/node_modules/uuid/test/test.js +96 -0
  308. package/node_modules/uuid/v1.js +103 -0
  309. package/node_modules/uuid/v4.js +29 -0
  310. package/node_modules/verror/package.json +14 -6
  311. package/node_modules/wide-align/package.json +19 -11
  312. package/node_modules/wrappy/package.json +17 -8
  313. package/node_modules/xtend/package.json +29 -21
  314. package/package.json +2 -2
  315. package/node_modules/async/CHANGELOG.md +0 -125
  316. package/node_modules/async/README.md +0 -1877
  317. package/node_modules/async/dist/async.js +0 -1265
  318. package/node_modules/async/dist/async.min.js +0 -2
  319. package/node_modules/async/lib/async.js +0 -1265
  320. package/node_modules/async/package.json +0 -149
  321. package/node_modules/bl/.jshintrc +0 -59
  322. package/node_modules/bl/.npmignore +0 -1
  323. package/node_modules/bl/.travis.yml +0 -13
  324. package/node_modules/bl/LICENSE.md +0 -13
  325. package/node_modules/bl/README.md +0 -200
  326. package/node_modules/bl/bl.js +0 -243
  327. package/node_modules/bl/node_modules/readable-stream/.npmignore +0 -5
  328. package/node_modules/bl/node_modules/readable-stream/.zuul.yml +0 -1
  329. package/node_modules/bl/node_modules/readable-stream/doc/stream.markdown +0 -1760
  330. package/node_modules/bl/package.json +0 -96
  331. package/node_modules/bl/test/test.js +0 -640
  332. package/node_modules/form-data/.dockerignore +0 -7
  333. package/node_modules/form-data/.editorconfig +0 -10
  334. package/node_modules/form-data/.eslintignore +0 -1
  335. package/node_modules/form-data/.eslintrc +0 -64
  336. package/node_modules/form-data/wercker.yml +0 -36
  337. package/node_modules/gauge/CHANGELOG.md~ +0 -123
  338. package/node_modules/gauge/README.md~ +0 -393
  339. package/node_modules/has-color/index.js +0 -32
  340. package/node_modules/has-color/package.json +0 -97
  341. package/node_modules/has-color/readme.md +0 -30
  342. package/node_modules/inherits/test.js +0 -25
  343. package/node_modules/jsonpointer/.travis.yml +0 -10
  344. package/node_modules/jsonpointer/test.js +0 -98
  345. package/node_modules/node-uuid/.npmignore +0 -4
  346. package/node_modules/node-uuid/README.md +0 -254
  347. package/node_modules/node-uuid/benchmark/README.md +0 -53
  348. package/node_modules/node-uuid/benchmark/bench.gnu +0 -174
  349. package/node_modules/node-uuid/benchmark/bench.sh +0 -34
  350. package/node_modules/node-uuid/benchmark/benchmark-native.c +0 -34
  351. package/node_modules/node-uuid/benchmark/benchmark.js +0 -84
  352. package/node_modules/node-uuid/bower.json +0 -23
  353. package/node_modules/node-uuid/component.json +0 -25
  354. package/node_modules/node-uuid/package.json +0 -105
  355. package/node_modules/node-uuid/test/compare_v1.js +0 -63
  356. package/node_modules/node-uuid/test/test.html +0 -17
  357. package/node_modules/node-uuid/test/test.js +0 -231
  358. package/node_modules/node-uuid/uuid.js +0 -272
  359. package/node_modules/npmlog/CHANGELOG.md~ +0 -31
  360. package/node_modules/qs/.jscs.json +0 -176
  361. package/node_modules/qs/CONTRIBUTING.md +0 -1
  362. package/node_modules/readable-stream/doc/stream.md +0 -1772
  363. package/node_modules/request/.eslintrc +0 -45
  364. package/node_modules/request/.npmignore +0 -6
  365. package/node_modules/request/.travis.yml +0 -21
  366. package/node_modules/request/CONTRIBUTING.md +0 -81
  367. package/node_modules/request/codecov.yml +0 -2
  368. package/node_modules/strip-json-comments/cli.js +0 -41
  369. package/node_modules/strip-json-comments/strip-json-comments.js +0 -73
@@ -11,34 +11,23 @@ This is now possible:
11
11
  }
12
12
  ```
13
13
 
14
- It will remove single-line comments `//` and multi-line comments `/**/`.
14
+ It will replace single-line comments `//` and multi-line comments `/**/` with whitespace. This allows JSON error positions to remain as close as possible to the original source.
15
15
 
16
16
  Also available as a [gulp](https://github.com/sindresorhus/gulp-strip-json-comments)/[grunt](https://github.com/sindresorhus/grunt-strip-json-comments)/[broccoli](https://github.com/sindresorhus/broccoli-strip-json-comments) plugin.
17
17
 
18
- -
19
-
20
- *There's also [`json-comments`](https://npmjs.org/package/json-comments), but it's only for Node.js, inefficient, bloated as it also minifies, and comes with a `require` hook, which is :(*
21
-
22
18
 
23
19
  ## Install
24
20
 
25
- ```sh
26
- $ npm install --save strip-json-comments
27
- ```
28
-
29
- ```sh
30
- $ bower install --save strip-json-comments
31
21
  ```
32
-
33
- ```sh
34
- $ component install sindresorhus/strip-json-comments
22
+ $ npm install --save strip-json-comments
35
23
  ```
36
24
 
37
25
 
38
26
  ## Usage
39
27
 
40
28
  ```js
41
- var json = '{/*rainbows*/"unicorn":"cake"}';
29
+ const json = '{/*rainbows*/"unicorn":"cake"}';
30
+
42
31
  JSON.parse(stripJsonComments(json));
43
32
  //=> {unicorn: 'cake'}
44
33
  ```
@@ -46,7 +35,7 @@ JSON.parse(stripJsonComments(json));
46
35
 
47
36
  ## API
48
37
 
49
- ### stripJsonComments(input)
38
+ ### stripJsonComments(input, [options])
50
39
 
51
40
  #### input
52
41
 
@@ -54,25 +43,20 @@ Type: `string`
54
43
 
55
44
  Accepts a string with JSON and returns a string without comments.
56
45
 
46
+ #### options
57
47
 
58
- ## CLI
48
+ ##### whitespace
59
49
 
60
- ```sh
61
- $ npm install --global strip-json-comments
62
- ```
50
+ Type: `boolean`
51
+ Default: `true`
63
52
 
64
- ```sh
65
- $ strip-json-comments --help
66
-
67
- strip-json-comments input-file > output-file
68
- # or
69
- strip-json-comments < input-file > output-file
70
- ```
53
+ Replace comments with whitespace instead of stripping them entirely.
71
54
 
72
55
 
73
56
  ## Related
74
57
 
75
- - [`strip-css-comments`](https://github.com/sindresorhus/strip-css-comments)
58
+ - [strip-json-comments-cli](https://github.com/sindresorhus/strip-json-comments-cli) - CLI for this module
59
+ - [strip-css-comments](https://github.com/sindresorhus/strip-css-comments) - Strip comments from CSS
76
60
 
77
61
 
78
62
  ## License
@@ -1,27 +1,35 @@
1
1
  {
2
2
  "_args": [
3
3
  [
4
- "supports-color@^2.0.0",
4
+ {
5
+ "raw": "supports-color@^2.0.0",
6
+ "scope": null,
7
+ "escapedName": "supports-color",
8
+ "name": "supports-color",
9
+ "rawSpec": "^2.0.0",
10
+ "spec": ">=2.0.0 <3.0.0",
11
+ "type": "range"
12
+ },
5
13
  "/Users/eshanker/Code/fsevents/node_modules/chalk"
6
14
  ]
7
15
  ],
8
16
  "_from": "supports-color@>=2.0.0 <3.0.0",
9
17
  "_id": "supports-color@2.0.0",
10
18
  "_inCache": true,
11
- "_installable": true,
12
19
  "_location": "/supports-color",
13
20
  "_nodeVersion": "0.12.5",
14
21
  "_npmUser": {
15
- "email": "sindresorhus@gmail.com",
16
- "name": "sindresorhus"
22
+ "name": "sindresorhus",
23
+ "email": "sindresorhus@gmail.com"
17
24
  },
18
25
  "_npmVersion": "2.11.2",
19
26
  "_phantomChildren": {},
20
27
  "_requested": {
21
- "name": "supports-color",
22
28
  "raw": "supports-color@^2.0.0",
23
- "rawSpec": "^2.0.0",
24
29
  "scope": null,
30
+ "escapedName": "supports-color",
31
+ "name": "supports-color",
32
+ "rawSpec": "^2.0.0",
25
33
  "spec": ">=2.0.0 <3.0.0",
26
34
  "type": "range"
27
35
  },
@@ -34,8 +42,8 @@
34
42
  "_spec": "supports-color@^2.0.0",
35
43
  "_where": "/Users/eshanker/Code/fsevents/node_modules/chalk",
36
44
  "author": {
37
- "email": "sindresorhus@gmail.com",
38
45
  "name": "Sindre Sorhus",
46
+ "email": "sindresorhus@gmail.com",
39
47
  "url": "sindresorhus.com"
40
48
  },
41
49
  "bugs": {
@@ -61,24 +69,24 @@
61
69
  "gitHead": "8400d98ade32b2adffd50902c06d9e725a5c6588",
62
70
  "homepage": "https://github.com/chalk/supports-color",
63
71
  "keywords": [
64
- "256",
65
- "ansi",
66
- "capability",
67
- "cli",
68
72
  "color",
69
- "colors",
70
73
  "colour",
71
- "command-line",
74
+ "colors",
75
+ "terminal",
72
76
  "console",
73
- "detect",
77
+ "cli",
78
+ "ansi",
79
+ "styles",
80
+ "tty",
74
81
  "rgb",
82
+ "256",
75
83
  "shell",
76
- "styles",
84
+ "xterm",
85
+ "command-line",
77
86
  "support",
78
87
  "supports",
79
- "terminal",
80
- "tty",
81
- "xterm"
88
+ "capability",
89
+ "detect"
82
90
  ],
83
91
  "license": "MIT",
84
92
  "maintainers": [
@@ -1,28 +1,36 @@
1
1
  {
2
2
  "_args": [
3
3
  [
4
- "tar@~2.2.0",
4
+ {
5
+ "raw": "tar@~2.2.1",
6
+ "scope": null,
7
+ "escapedName": "tar",
8
+ "name": "tar",
9
+ "rawSpec": "~2.2.1",
10
+ "spec": ">=2.2.1 <2.3.0",
11
+ "type": "range"
12
+ },
5
13
  "/Users/eshanker/Code/fsevents/node_modules/node-pre-gyp"
6
14
  ]
7
15
  ],
8
- "_from": "tar@>=2.2.0 <2.3.0",
16
+ "_from": "tar@>=2.2.1 <2.3.0",
9
17
  "_id": "tar@2.2.1",
10
18
  "_inCache": true,
11
- "_installable": true,
12
19
  "_location": "/tar",
13
20
  "_nodeVersion": "2.2.2",
14
21
  "_npmUser": {
15
- "email": "kat@sykosomatic.org",
16
- "name": "zkat"
22
+ "name": "zkat",
23
+ "email": "kat@sykosomatic.org"
17
24
  },
18
25
  "_npmVersion": "2.14.3",
19
26
  "_phantomChildren": {},
20
27
  "_requested": {
21
- "name": "tar",
22
- "raw": "tar@~2.2.0",
23
- "rawSpec": "~2.2.0",
28
+ "raw": "tar@~2.2.1",
24
29
  "scope": null,
25
- "spec": ">=2.2.0 <2.3.0",
30
+ "escapedName": "tar",
31
+ "name": "tar",
32
+ "rawSpec": "~2.2.1",
33
+ "spec": ">=2.2.1 <2.3.0",
26
34
  "type": "range"
27
35
  },
28
36
  "_requiredBy": [
@@ -32,11 +40,11 @@
32
40
  "_resolved": "https://registry.npmjs.org/tar/-/tar-2.2.1.tgz",
33
41
  "_shasum": "8e4d2a256c0e2185c6b18ad694aec968b83cb1d1",
34
42
  "_shrinkwrap": null,
35
- "_spec": "tar@~2.2.0",
43
+ "_spec": "tar@~2.2.1",
36
44
  "_where": "/Users/eshanker/Code/fsevents/node_modules/node-pre-gyp",
37
45
  "author": {
38
- "email": "i@izs.me",
39
46
  "name": "Isaac Z. Schlueter",
47
+ "email": "i@izs.me",
40
48
  "url": "http://blog.izs.me/"
41
49
  },
42
50
  "bugs": {
@@ -25,6 +25,7 @@ pack(require("fstream-npm")(folder), [options])
25
25
  Options:
26
26
 
27
27
  - `noProprietary` (defaults to `false`) Set this to `true` to prevent any proprietary attributes being added to the tarball. These attributes are allowed by the spec, but may trip up some poorly written tarball parsers.
28
+ - `fromBase` (defaults to `false`) Set this to `true` to make sure your tarballs root is the directory you pass in.
28
29
  - `ignoreFiles` (defaults to `['.gitignore']`) These files can specify files to be excluded from the package using the syntax of `.gitignore`. This option is ignored if you parse a `fstream.DirReader` instead of a string for folder.
29
30
  - `filter` (defaults to `entry => true`) A function that takes an entry and returns `true` if it should be included in the package and `false` if it should not. Entryies are of the form `{path, basename, dirname, type}` where (type is "Directory" or "File"). This function is ignored if you parse a `fstream.DirReader` instead of a string for folder.
30
31
 
@@ -63,6 +64,8 @@ Advanced Options (you probably don't need any of these):
63
64
  - `dmode` - (defaults to `0777`) The mode to use when creating directories
64
65
  - `fmode` - (defaults to `0666`) The mode to use when creating files
65
66
  - `unsafe` - (defaults to `false`) (on non win32 OSes it overrides `gid` and `uid` with the current processes IDs)
67
+ - `strip` - (defaults to `1`) Number of path segments to strip from the root when extracting
68
+ - `keepFiles` - (defaults to `false`) Set this to `true` to prevent target directory to be removed. Extracted files overwrite existing files.
66
69
 
67
70
  Example:
68
71
 
@@ -78,4 +81,4 @@ read(process.cwd() + '/package.tar.gz')
78
81
 
79
82
  ## License
80
83
 
81
- BSD
84
+ BSD
@@ -55,7 +55,7 @@ function pack(folder, options) {
55
55
  // However, npm *itself* excludes these from its own package,
56
56
  // so that it can be more easily bootstrapped using old and
57
57
  // non-compliant tar implementations.
58
- var tarPack = tar.Pack({ noProprietary: options.noProprietary || false })
58
+ var tarPack = tar.Pack({ noProprietary: options.noProprietary || false, fromBase: options.fromBase || false })
59
59
  var gzip = zlib.Gzip()
60
60
 
61
61
  folder
@@ -92,6 +92,7 @@ function unpack(unpackTarget, options, cb) {
92
92
  var dMode = options.dmode || 0x0777 //npm.modes.exec
93
93
  var fMode = options.fmode || 0x0666 //npm.modes.file
94
94
  var defaultName = options.defaultName || (options.defaultName === false ? false : 'index.js')
95
+ var strip = (options.strip !== undefined) ? options.strip : 1
95
96
 
96
97
  // figure out who we're supposed to be, if we're not pretending
97
98
  // to be a specific user.
@@ -108,23 +109,27 @@ function unpack(unpackTarget, options, cb) {
108
109
  }
109
110
  if (0 === --pending) next()
110
111
  })
111
- rm(unpackTarget, function (er) {
112
- if (er) {
113
- tarball.emit('error', er)
114
- return tarball.end()
115
- }
116
- if (0 === --pending) next()
117
- })
112
+ if (!options.keepFiles) {
113
+ rm(unpackTarget, function (er) {
114
+ if (er) {
115
+ tarball.emit('error', er)
116
+ return tarball.end()
117
+ }
118
+ if (0 === --pending) next()
119
+ })
120
+ } else {
121
+ next()
122
+ }
118
123
  function next() {
119
124
  // gzip {tarball} --decompress --stdout \
120
- // | tar -mvxpf - --strip-components=1 -C {unpackTarget}
121
- gunzTarPerm(tarball, unpackTarget, dMode, fMode, uid, gid, defaultName)
125
+ // | tar -mvxpf - --strip-components={strip} -C {unpackTarget}
126
+ gunzTarPerm(tarball, unpackTarget, dMode, fMode, uid, gid, defaultName, strip)
122
127
  }
123
128
  return tarball
124
129
  }
125
130
 
126
131
 
127
- function gunzTarPerm(tarball, target, dMode, fMode, uid, gid, defaultName) {
132
+ function gunzTarPerm(tarball, target, dMode, fMode, uid, gid, defaultName, strip) {
128
133
  debug('modes %j', [dMode.toString(8), fMode.toString(8)])
129
134
 
130
135
  function fixEntry(entry) {
@@ -145,7 +150,7 @@ function gunzTarPerm(tarball, target, dMode, fMode, uid, gid, defaultName) {
145
150
  }
146
151
  }
147
152
 
148
- var extractOpts = { type: 'Directory', path: target, strip: 1 }
153
+ var extractOpts = { type: 'Directory', path: target, strip: strip }
149
154
 
150
155
  if (!win32 && typeof uid === 'number' && typeof gid === 'number') {
151
156
  extractOpts.uid = uid
@@ -0,0 +1,15 @@
1
+ The ISC License
2
+
3
+ Copyright (c) Isaac Z. Schlueter and Contributors
4
+
5
+ Permission to use, copy, modify, and/or distribute this software for any
6
+ purpose with or without fee is hereby granted, provided that the above
7
+ copyright notice and this permission notice appear in all copies.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
15
+ IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
@@ -0,0 +1,51 @@
1
+ # once
2
+
3
+ Only call a function once.
4
+
5
+ ## usage
6
+
7
+ ```javascript
8
+ var once = require('once')
9
+
10
+ function load (file, cb) {
11
+ cb = once(cb)
12
+ loader.load('file')
13
+ loader.once('load', cb)
14
+ loader.once('error', cb)
15
+ }
16
+ ```
17
+
18
+ Or add to the Function.prototype in a responsible way:
19
+
20
+ ```javascript
21
+ // only has to be done once
22
+ require('once').proto()
23
+
24
+ function load (file, cb) {
25
+ cb = cb.once()
26
+ loader.load('file')
27
+ loader.once('load', cb)
28
+ loader.once('error', cb)
29
+ }
30
+ ```
31
+
32
+ Ironically, the prototype feature makes this module twice as
33
+ complicated as necessary.
34
+
35
+ To check whether you function has been called, use `fn.called`. Once the
36
+ function is called for the first time the return value of the original
37
+ function is saved in `fn.value` and subsequent calls will continue to
38
+ return this value.
39
+
40
+ ```javascript
41
+ var once = require('once')
42
+
43
+ function load (cb) {
44
+ cb = once(cb)
45
+ var stream = createStream()
46
+ stream.once('data', cb)
47
+ stream.once('end', function () {
48
+ if (!cb.called) cb(new Error('not found'))
49
+ })
50
+ }
51
+ ```
@@ -0,0 +1,21 @@
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
+ }
@@ -0,0 +1,96 @@
1
+ {
2
+ "_args": [
3
+ [
4
+ {
5
+ "raw": "once@~1.3.3",
6
+ "scope": null,
7
+ "escapedName": "once",
8
+ "name": "once",
9
+ "rawSpec": "~1.3.3",
10
+ "spec": ">=1.3.3 <1.4.0",
11
+ "type": "range"
12
+ },
13
+ "/Users/eshanker/Code/fsevents/node_modules/tar-pack"
14
+ ]
15
+ ],
16
+ "_from": "once@>=1.3.3 <1.4.0",
17
+ "_id": "once@1.3.3",
18
+ "_inCache": true,
19
+ "_location": "/tar-pack/once",
20
+ "_nodeVersion": "4.0.0",
21
+ "_npmUser": {
22
+ "name": "isaacs",
23
+ "email": "i@izs.me"
24
+ },
25
+ "_npmVersion": "3.3.2",
26
+ "_phantomChildren": {},
27
+ "_requested": {
28
+ "raw": "once@~1.3.3",
29
+ "scope": null,
30
+ "escapedName": "once",
31
+ "name": "once",
32
+ "rawSpec": "~1.3.3",
33
+ "spec": ">=1.3.3 <1.4.0",
34
+ "type": "range"
35
+ },
36
+ "_requiredBy": [
37
+ "/tar-pack"
38
+ ],
39
+ "_resolved": "https://registry.npmjs.org/once/-/once-1.3.3.tgz",
40
+ "_shasum": "b2e261557ce4c314ec8304f3fa82663e4297ca20",
41
+ "_shrinkwrap": null,
42
+ "_spec": "once@~1.3.3",
43
+ "_where": "/Users/eshanker/Code/fsevents/node_modules/tar-pack",
44
+ "author": {
45
+ "name": "Isaac Z. Schlueter",
46
+ "email": "i@izs.me",
47
+ "url": "http://blog.izs.me/"
48
+ },
49
+ "bugs": {
50
+ "url": "https://github.com/isaacs/once/issues"
51
+ },
52
+ "dependencies": {
53
+ "wrappy": "1"
54
+ },
55
+ "description": "Run a function exactly one time",
56
+ "devDependencies": {
57
+ "tap": "^1.2.0"
58
+ },
59
+ "directories": {
60
+ "test": "test"
61
+ },
62
+ "dist": {
63
+ "shasum": "b2e261557ce4c314ec8304f3fa82663e4297ca20",
64
+ "tarball": "https://registry.npmjs.org/once/-/once-1.3.3.tgz"
65
+ },
66
+ "files": [
67
+ "once.js"
68
+ ],
69
+ "gitHead": "2ad558657e17fafd24803217ba854762842e4178",
70
+ "homepage": "https://github.com/isaacs/once#readme",
71
+ "keywords": [
72
+ "once",
73
+ "function",
74
+ "one",
75
+ "single"
76
+ ],
77
+ "license": "ISC",
78
+ "main": "once.js",
79
+ "maintainers": [
80
+ {
81
+ "name": "isaacs",
82
+ "email": "i@izs.me"
83
+ }
84
+ ],
85
+ "name": "once",
86
+ "optionalDependencies": {},
87
+ "readme": "ERROR: No README data found!",
88
+ "repository": {
89
+ "type": "git",
90
+ "url": "git://github.com/isaacs/once.git"
91
+ },
92
+ "scripts": {
93
+ "test": "tap test/*.js"
94
+ },
95
+ "version": "1.3.3"
96
+ }
@@ -0,0 +1,8 @@
1
+ build/
2
+ test/
3
+ examples/
4
+ fs.js
5
+ zlib.js
6
+ .zuul.yml
7
+ .nyc_output
8
+ coverage
@@ -7,9 +7,6 @@ notifications:
7
7
  email: false
8
8
  matrix:
9
9
  fast_finish: true
10
- allow_failures:
11
- - env: TASK=browser BROWSER_NAME=ipad BROWSER_VERSION="6.0..latest"
12
- - env: TASK=browser BROWSER_NAME=iphone BROWSER_VERSION="6.0..latest"
13
10
  include:
14
11
  - node_js: '0.8'
15
12
  env: TASK=test
@@ -29,6 +26,8 @@ matrix:
29
26
  env: TASK=test
30
27
  - node_js: 5
31
28
  env: TASK=test
29
+ - node_js: 6
30
+ env: TASK=test
32
31
  - node_js: 5
33
32
  env: TASK=browser BROWSER_NAME=android BROWSER_VERSION="4.0..latest"
34
33
  - node_js: 5
@@ -39,12 +38,10 @@ matrix:
39
38
  env: TASK=browser BROWSER_NAME=chrome BROWSER_VERSION="-3..latest"
40
39
  - node_js: 5
41
40
  env: TASK=browser BROWSER_NAME=firefox BROWSER_VERSION="-3..latest"
42
- - node_js: 5
43
- env: TASK=browser BROWSER_NAME=ipad BROWSER_VERSION="6.0..latest"
44
- - node_js: 5
45
- env: TASK=browser BROWSER_NAME=iphone BROWSER_VERSION="6.0..latest"
46
41
  - node_js: 5
47
42
  env: TASK=browser BROWSER_NAME=safari BROWSER_VERSION="5..latest"
43
+ - node_js: 5
44
+ env: TASK=browser BROWSER_NAME=microsoftedge BROWSER_VERSION=latest
48
45
  script: "npm run $TASK"
49
46
  env:
50
47
  global:
@@ -1,6 +1,6 @@
1
1
  # readable-stream
2
2
 
3
- ***Node-core v5.8.0 streams for userland*** [![Build Status](https://travis-ci.org/nodejs/readable-stream.svg?branch=master)](https://travis-ci.org/nodejs/readable-stream)
3
+ ***Node-core v6.3.1 streams for userland*** [![Build Status](https://travis-ci.org/nodejs/readable-stream.svg?branch=master)](https://travis-ci.org/nodejs/readable-stream)
4
4
 
5
5
 
6
6
  [![NPM](https://nodei.co/npm/readable-stream.png?downloads=true&downloadRank=true)](https://nodei.co/npm/readable-stream/)
@@ -16,7 +16,7 @@ npm install --save readable-stream
16
16
  ***Node-core streams for userland***
17
17
 
18
18
  This package is a mirror of the Streams2 and Streams3 implementations in
19
- Node-core, including [documentation](doc/stream.markdown).
19
+ Node-core, including [documentation](doc/stream.md).
20
20
 
21
21
  If you want to guarantee a stable streams base, regardless of what version of
22
22
  Node you, or the users of your libraries are using, use **readable-stream** *only* and avoid the *"stream"* module in Node-core, for background see [this blogpost](http://r.va.gg/2014/06/why-i-dont-use-nodes-core-stream-module.html).