fsevents 1.0.6 → 1.0.7

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 (216) hide show
  1. package/node_modules/are-we-there-yet/LICENSE +5 -0
  2. package/node_modules/are-we-there-yet/README.md +2 -1
  3. package/node_modules/are-we-there-yet/README.md~ +183 -0
  4. package/node_modules/are-we-there-yet/package.json +10 -9
  5. package/node_modules/async/README.md +14 -10
  6. package/node_modules/async/dist/async.js +22 -18
  7. package/node_modules/async/dist/async.min.js +1 -1
  8. package/node_modules/async/lib/async.js +22 -18
  9. package/node_modules/async/package.json +11 -10
  10. package/node_modules/core-util-is/package.json +2 -1
  11. package/node_modules/dashdash/README.md +6 -3
  12. package/node_modules/dashdash/lib/dashdash.js +10 -1
  13. package/node_modules/dashdash/package.json +9 -8
  14. package/node_modules/escape-string-regexp/index.js +1 -1
  15. package/node_modules/escape-string-regexp/package.json +17 -15
  16. package/node_modules/escape-string-regexp/readme.md +4 -4
  17. package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/README.md +9 -0
  18. package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/index.js +42 -30
  19. package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/package.json +9 -9
  20. package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/test/balanced.js +28 -0
  21. package/node_modules/fstream-ignore/node_modules/minimatch/node_modules/brace-expansion/package.json +11 -11
  22. package/node_modules/graceful-fs/package.json +2 -3
  23. package/node_modules/isarray/package.json +2 -1
  24. package/node_modules/mime-db/HISTORY.md +32 -0
  25. package/node_modules/mime-db/README.md +1 -1
  26. package/node_modules/mime-db/db.json +78 -0
  27. package/node_modules/mime-db/package.json +15 -14
  28. package/node_modules/mime-types/HISTORY.md +12 -0
  29. package/node_modules/mime-types/package.json +11 -10
  30. package/node_modules/node-pre-gyp/CHANGELOG.md +8 -0
  31. package/node_modules/node-pre-gyp/lib/util/abi_crosswalk.json +32 -0
  32. package/node_modules/node-pre-gyp/package.json +8 -8
  33. package/node_modules/{bl/node_modules/readable-stream/node_modules/process-nextick-args → process-nextick-args}/.travis.yml +6 -1
  34. package/node_modules/{bl/node_modules/readable-stream/node_modules/process-nextick-args → process-nextick-args}/index.js +8 -1
  35. package/node_modules/{bl/node_modules/readable-stream/node_modules/process-nextick-args → process-nextick-args}/package.json +13 -12
  36. package/node_modules/rc/lib/utils.js +1 -1
  37. package/node_modules/rc/package.json +11 -10
  38. package/node_modules/readable-stream/README.md +27 -6
  39. package/node_modules/{bl/node_modules/readable-stream → readable-stream}/doc/stream.markdown +608 -574
  40. package/node_modules/readable-stream/lib/_stream_duplex.js +18 -25
  41. package/node_modules/readable-stream/lib/_stream_passthrough.js +2 -21
  42. package/node_modules/readable-stream/lib/_stream_readable.js +117 -93
  43. package/node_modules/readable-stream/lib/_stream_transform.js +15 -27
  44. package/node_modules/readable-stream/lib/_stream_writable.js +140 -88
  45. package/node_modules/readable-stream/package.json +33 -25
  46. package/node_modules/readable-stream/readable.js +6 -1
  47. package/node_modules/rimraf/README.md +58 -0
  48. package/node_modules/rimraf/node_modules/glob/README.md +27 -45
  49. package/node_modules/rimraf/node_modules/glob/common.js +7 -26
  50. package/node_modules/rimraf/node_modules/glob/node_modules/inherits/package.json +1 -1
  51. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/README.md +9 -0
  52. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/index.js +42 -30
  53. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/package.json +9 -9
  54. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/test/balanced.js +28 -0
  55. package/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/package.json +11 -11
  56. package/node_modules/rimraf/node_modules/glob/package.json +11 -10
  57. package/node_modules/rimraf/package.json +12 -11
  58. package/node_modules/rimraf/rimraf.js +7 -5
  59. package/node_modules/sshpk/bin/sshpk-conv +1 -1
  60. package/node_modules/sshpk/lib/dhe.js +1 -2
  61. package/node_modules/sshpk/lib/ssh-buffer.js +2 -1
  62. package/node_modules/sshpk/package.json +13 -11
  63. package/node_modules/string_decoder/package.json +2 -1
  64. package/node_modules/tar-pack/index.js +1 -2
  65. package/node_modules/tar-pack/node_modules/rimraf/LICENSE +12 -20
  66. package/node_modules/tar-pack/node_modules/rimraf/README.md +17 -4
  67. package/node_modules/tar-pack/node_modules/rimraf/bin.js +11 -4
  68. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/README.md +359 -0
  69. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/common.js +226 -0
  70. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/glob.js +752 -0
  71. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/inflight/.eslintrc +17 -0
  72. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/inflight/LICENSE +15 -0
  73. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/inflight/README.md +37 -0
  74. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/inflight/inflight.js +44 -0
  75. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/LICENSE +15 -0
  76. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/README.md +36 -0
  77. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/package.json +58 -0
  78. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/test/basic.js +51 -0
  79. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy/wrappy.js +33 -0
  80. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/inflight/package.json +67 -0
  81. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/inflight/test.js +97 -0
  82. package/node_modules/{bl/node_modules/readable-stream → tar-pack/node_modules/rimraf/node_modules/glob}/node_modules/inherits/package.json +3 -3
  83. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/README.md +216 -0
  84. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/minimatch.js +912 -0
  85. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/.npmignore +3 -0
  86. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/README.md +122 -0
  87. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/example.js +8 -0
  88. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/index.js +191 -0
  89. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/.npmignore +2 -0
  90. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/.travis.yml +3 -0
  91. package/node_modules/tar-pack/node_modules/{readable-stream/node_modules/isarray/README.md → rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/LICENSE.md} +0 -33
  92. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/Makefile +6 -0
  93. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/README.md +89 -0
  94. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/example.js +5 -0
  95. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/index.js +50 -0
  96. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/package.json +79 -0
  97. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/test/balanced.js +84 -0
  98. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/.travis.yml +4 -0
  99. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/LICENSE +18 -0
  100. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/README.markdown +62 -0
  101. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/example/map.js +6 -0
  102. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/index.js +13 -0
  103. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/package.json +90 -0
  104. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/test/map.js +39 -0
  105. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/package.json +81 -0
  106. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/minimatch/package.json +66 -0
  107. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/once/README.md +51 -0
  108. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/LICENSE +15 -0
  109. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/README.md +36 -0
  110. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/package.json +58 -0
  111. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/test/basic.js +51 -0
  112. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy/wrappy.js +33 -0
  113. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/once/once.js +21 -0
  114. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/once/package.json +70 -0
  115. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/path-is-absolute/index.js +20 -0
  116. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/path-is-absolute/package.json +78 -0
  117. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/node_modules/path-is-absolute/readme.md +51 -0
  118. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/package.json +79 -0
  119. package/node_modules/tar-pack/node_modules/rimraf/node_modules/glob/sync.js +460 -0
  120. package/node_modules/tar-pack/node_modules/rimraf/package.json +28 -40
  121. package/node_modules/tar-pack/node_modules/rimraf/rimraf.js +138 -53
  122. package/node_modules/tar-pack/package.json +21 -11
  123. package/node_modules/tunnel-agent/index.js +2 -0
  124. package/node_modules/tunnel-agent/package.json +10 -9
  125. package/node_modules/{bl/node_modules/readable-stream/node_modules/util-deprecate → util-deprecate}/package.json +3 -2
  126. package/node_modules/verror/package.json +3 -2
  127. package/package.json +2 -2
  128. package/CHANGELOG.md +0 -16
  129. package/node_modules/bl/node_modules/readable-stream/.npmignore +0 -5
  130. package/node_modules/bl/node_modules/readable-stream/LICENSE +0 -18
  131. package/node_modules/bl/node_modules/readable-stream/README.md +0 -36
  132. package/node_modules/bl/node_modules/readable-stream/duplex.js +0 -1
  133. package/node_modules/bl/node_modules/readable-stream/lib/_stream_duplex.js +0 -82
  134. package/node_modules/bl/node_modules/readable-stream/lib/_stream_passthrough.js +0 -27
  135. package/node_modules/bl/node_modules/readable-stream/lib/_stream_readable.js +0 -973
  136. package/node_modules/bl/node_modules/readable-stream/lib/_stream_transform.js +0 -197
  137. package/node_modules/bl/node_modules/readable-stream/lib/_stream_writable.js +0 -527
  138. package/node_modules/bl/node_modules/readable-stream/node_modules/core-util-is/LICENSE +0 -19
  139. package/node_modules/bl/node_modules/readable-stream/node_modules/core-util-is/README.md +0 -3
  140. package/node_modules/bl/node_modules/readable-stream/node_modules/core-util-is/float.patch +0 -604
  141. package/node_modules/bl/node_modules/readable-stream/node_modules/core-util-is/lib/util.js +0 -107
  142. package/node_modules/bl/node_modules/readable-stream/node_modules/core-util-is/package.json +0 -67
  143. package/node_modules/bl/node_modules/readable-stream/node_modules/core-util-is/test.js +0 -68
  144. package/node_modules/bl/node_modules/readable-stream/node_modules/isarray/README.md +0 -54
  145. package/node_modules/bl/node_modules/readable-stream/node_modules/isarray/build/build.js +0 -209
  146. package/node_modules/bl/node_modules/readable-stream/node_modules/isarray/component.json +0 -19
  147. package/node_modules/bl/node_modules/readable-stream/node_modules/isarray/index.js +0 -3
  148. package/node_modules/bl/node_modules/readable-stream/node_modules/isarray/package.json +0 -59
  149. package/node_modules/bl/node_modules/readable-stream/node_modules/string_decoder/.npmignore +0 -2
  150. package/node_modules/bl/node_modules/readable-stream/node_modules/string_decoder/LICENSE +0 -20
  151. package/node_modules/bl/node_modules/readable-stream/node_modules/string_decoder/README.md +0 -7
  152. package/node_modules/bl/node_modules/readable-stream/node_modules/string_decoder/index.js +0 -221
  153. package/node_modules/bl/node_modules/readable-stream/node_modules/string_decoder/package.json +0 -60
  154. package/node_modules/bl/node_modules/readable-stream/package.json +0 -82
  155. package/node_modules/bl/node_modules/readable-stream/passthrough.js +0 -1
  156. package/node_modules/bl/node_modules/readable-stream/readable.js +0 -12
  157. package/node_modules/bl/node_modules/readable-stream/transform.js +0 -1
  158. package/node_modules/bl/node_modules/readable-stream/writable.js +0 -1
  159. package/node_modules/node-pre-gyp/LICENSE +0 -27
  160. package/node_modules/readable-stream/float.patch +0 -923
  161. package/node_modules/tar-pack/node_modules/readable-stream/.npmignore +0 -5
  162. package/node_modules/tar-pack/node_modules/readable-stream/LICENSE +0 -18
  163. package/node_modules/tar-pack/node_modules/readable-stream/README.md +0 -15
  164. package/node_modules/tar-pack/node_modules/readable-stream/duplex.js +0 -1
  165. package/node_modules/tar-pack/node_modules/readable-stream/lib/_stream_duplex.js +0 -89
  166. package/node_modules/tar-pack/node_modules/readable-stream/lib/_stream_passthrough.js +0 -46
  167. package/node_modules/tar-pack/node_modules/readable-stream/lib/_stream_readable.js +0 -982
  168. package/node_modules/tar-pack/node_modules/readable-stream/lib/_stream_transform.js +0 -210
  169. package/node_modules/tar-pack/node_modules/readable-stream/lib/_stream_writable.js +0 -386
  170. package/node_modules/tar-pack/node_modules/readable-stream/node_modules/core-util-is/LICENSE +0 -19
  171. package/node_modules/tar-pack/node_modules/readable-stream/node_modules/core-util-is/README.md +0 -3
  172. package/node_modules/tar-pack/node_modules/readable-stream/node_modules/core-util-is/float.patch +0 -604
  173. package/node_modules/tar-pack/node_modules/readable-stream/node_modules/core-util-is/lib/util.js +0 -107
  174. package/node_modules/tar-pack/node_modules/readable-stream/node_modules/core-util-is/package.json +0 -67
  175. package/node_modules/tar-pack/node_modules/readable-stream/node_modules/core-util-is/test.js +0 -68
  176. package/node_modules/tar-pack/node_modules/readable-stream/node_modules/inherits/LICENSE +0 -16
  177. package/node_modules/tar-pack/node_modules/readable-stream/node_modules/inherits/README.md +0 -42
  178. package/node_modules/tar-pack/node_modules/readable-stream/node_modules/inherits/inherits.js +0 -1
  179. package/node_modules/tar-pack/node_modules/readable-stream/node_modules/inherits/inherits_browser.js +0 -23
  180. package/node_modules/tar-pack/node_modules/readable-stream/node_modules/inherits/package.json +0 -58
  181. package/node_modules/tar-pack/node_modules/readable-stream/node_modules/inherits/test.js +0 -25
  182. package/node_modules/tar-pack/node_modules/readable-stream/node_modules/isarray/build/build.js +0 -209
  183. package/node_modules/tar-pack/node_modules/readable-stream/node_modules/isarray/component.json +0 -19
  184. package/node_modules/tar-pack/node_modules/readable-stream/node_modules/isarray/index.js +0 -3
  185. package/node_modules/tar-pack/node_modules/readable-stream/node_modules/isarray/package.json +0 -59
  186. package/node_modules/tar-pack/node_modules/readable-stream/node_modules/string_decoder/.npmignore +0 -2
  187. package/node_modules/tar-pack/node_modules/readable-stream/node_modules/string_decoder/LICENSE +0 -20
  188. package/node_modules/tar-pack/node_modules/readable-stream/node_modules/string_decoder/README.md +0 -7
  189. package/node_modules/tar-pack/node_modules/readable-stream/node_modules/string_decoder/index.js +0 -221
  190. package/node_modules/tar-pack/node_modules/readable-stream/node_modules/string_decoder/package.json +0 -60
  191. package/node_modules/tar-pack/node_modules/readable-stream/package.json +0 -76
  192. package/node_modules/tar-pack/node_modules/readable-stream/passthrough.js +0 -1
  193. package/node_modules/tar-pack/node_modules/readable-stream/readable.js +0 -8
  194. package/node_modules/tar-pack/node_modules/readable-stream/transform.js +0 -1
  195. package/node_modules/tar-pack/node_modules/readable-stream/writable.js +0 -1
  196. package/node_modules/tar-pack/node_modules/rimraf/AUTHORS +0 -6
  197. package/node_modules/tar-pack/node_modules/rimraf/test/run.sh +0 -16
  198. package/node_modules/tar-pack/node_modules/rimraf/test/setup.sh +0 -47
  199. package/node_modules/tar-pack/node_modules/rimraf/test/test-async.js +0 -5
  200. package/node_modules/tar-pack/node_modules/rimraf/test/test-sync.js +0 -3
  201. /package/node_modules/{bl/node_modules/readable-stream/node_modules/process-nextick-args → process-nextick-args}/license.md +0 -0
  202. /package/node_modules/{bl/node_modules/readable-stream/node_modules/process-nextick-args → process-nextick-args}/readme.md +0 -0
  203. /package/node_modules/{bl/node_modules/readable-stream/node_modules/process-nextick-args → process-nextick-args}/test.js +0 -0
  204. /package/node_modules/{bl/node_modules/readable-stream → readable-stream}/.travis.yml +0 -0
  205. /package/node_modules/{bl/node_modules/readable-stream → readable-stream}/.zuul.yml +0 -0
  206. /package/node_modules/{bl/node_modules/readable-stream → readable-stream}/doc/wg-meetings/2015-01-30.md +0 -0
  207. /package/node_modules/{bl/node_modules/readable-stream → tar-pack/node_modules/rimraf/node_modules/glob}/node_modules/inherits/LICENSE +0 -0
  208. /package/node_modules/{bl/node_modules/readable-stream → tar-pack/node_modules/rimraf/node_modules/glob}/node_modules/inherits/README.md +0 -0
  209. /package/node_modules/{bl/node_modules/readable-stream → tar-pack/node_modules/rimraf/node_modules/glob}/node_modules/inherits/inherits.js +0 -0
  210. /package/node_modules/{bl/node_modules/readable-stream → tar-pack/node_modules/rimraf/node_modules/glob}/node_modules/inherits/inherits_browser.js +0 -0
  211. /package/node_modules/{bl/node_modules/readable-stream → tar-pack/node_modules/rimraf/node_modules/glob}/node_modules/inherits/test.js +0 -0
  212. /package/node_modules/{bl/node_modules/readable-stream/node_modules/util-deprecate → util-deprecate}/History.md +0 -0
  213. /package/node_modules/{bl/node_modules/readable-stream/node_modules/util-deprecate → util-deprecate}/LICENSE +0 -0
  214. /package/node_modules/{bl/node_modules/readable-stream/node_modules/util-deprecate → util-deprecate}/README.md +0 -0
  215. /package/node_modules/{bl/node_modules/readable-stream/node_modules/util-deprecate → util-deprecate}/browser.js +0 -0
  216. /package/node_modules/{bl/node_modules/readable-stream/node_modules/util-deprecate → util-deprecate}/node.js +0 -0
@@ -1,30 +1,16 @@
1
- // Copyright Joyent, Inc. and other Node contributors.
2
- //
3
- // Permission is hereby granted, free of charge, to any person obtaining a
4
- // copy of this software and associated documentation files (the
5
- // "Software"), to deal in the Software without restriction, including
6
- // without limitation the rights to use, copy, modify, merge, publish,
7
- // distribute, sublicense, and/or sell copies of the Software, and to permit
8
- // persons to whom the Software is furnished to do so, subject to the
9
- // following conditions:
10
- //
11
- // The above copyright notice and this permission notice shall be included
12
- // in all copies or substantial portions of the Software.
13
- //
14
- // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
15
- // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
- // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
17
- // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
18
- // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
19
- // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
20
- // USE OR OTHER DEALINGS IN THE SOFTWARE.
21
-
22
1
  // A bit simpler than readable streams.
23
- // Implement an async ._write(chunk, cb), and it'll handle all
2
+ // Implement an async ._write(chunk, encoding, cb), and it'll handle all
24
3
  // the drain event emission and buffering.
25
4
 
5
+ 'use strict';
6
+
26
7
  module.exports = Writable;
27
8
 
9
+ /*<replacement>*/
10
+ var processNextTick = require('process-nextick-args');
11
+ /*</replacement>*/
12
+
13
+
28
14
  /*<replacement>*/
29
15
  var Buffer = require('buffer').Buffer;
30
16
  /*</replacement>*/
@@ -37,28 +23,44 @@ var util = require('core-util-is');
37
23
  util.inherits = require('inherits');
38
24
  /*</replacement>*/
39
25
 
40
- var Stream = require('stream');
26
+
27
+ /*<replacement>*/
28
+ var internalUtil = {
29
+ deprecate: require('util-deprecate')
30
+ };
31
+ /*</replacement>*/
32
+
33
+
34
+
35
+ /*<replacement>*/
36
+ var Stream;
37
+ (function (){try{
38
+ Stream = require('st' + 'ream');
39
+ }catch(_){}finally{
40
+ if (!Stream)
41
+ Stream = require('events').EventEmitter;
42
+ }}())
43
+ /*</replacement>*/
44
+
45
+ var Buffer = require('buffer').Buffer;
41
46
 
42
47
  util.inherits(Writable, Stream);
43
48
 
49
+ function nop() {}
50
+
44
51
  function WriteReq(chunk, encoding, cb) {
45
52
  this.chunk = chunk;
46
53
  this.encoding = encoding;
47
54
  this.callback = cb;
55
+ this.next = null;
48
56
  }
49
57
 
58
+ var Duplex;
50
59
  function WritableState(options, stream) {
51
- var Duplex = require('./_stream_duplex');
60
+ Duplex = Duplex || require('./_stream_duplex');
52
61
 
53
62
  options = options || {};
54
63
 
55
- // the point at which write() starts returning false
56
- // Note: 0 is a valid value, means that we always return false if
57
- // the entire buffer is not flushed immediately on write()
58
- var hwm = options.highWaterMark;
59
- var defaultHwm = options.objectMode ? 16 : 16 * 1024;
60
- this.highWaterMark = (hwm || hwm === 0) ? hwm : defaultHwm;
61
-
62
64
  // object stream flag to indicate whether or not this stream
63
65
  // contains buffers or objects.
64
66
  this.objectMode = !!options.objectMode;
@@ -66,6 +68,13 @@ function WritableState(options, stream) {
66
68
  if (stream instanceof Duplex)
67
69
  this.objectMode = this.objectMode || !!options.writableObjectMode;
68
70
 
71
+ // the point at which write() starts returning false
72
+ // Note: 0 is a valid value, means that we always return false if
73
+ // the entire buffer is not flushed immediately on write()
74
+ var hwm = options.highWaterMark;
75
+ var defaultHwm = this.objectMode ? 16 : 16 * 1024;
76
+ this.highWaterMark = (hwm || hwm === 0) ? hwm : defaultHwm;
77
+
69
78
  // cast to ints.
70
79
  this.highWaterMark = ~~this.highWaterMark;
71
80
 
@@ -121,7 +130,8 @@ function WritableState(options, stream) {
121
130
  // the amount that is being written when _write is called.
122
131
  this.writelen = 0;
123
132
 
124
- this.buffer = [];
133
+ this.bufferedRequest = null;
134
+ this.lastBufferedRequest = null;
125
135
 
126
136
  // number of pending user-supplied write callbacks
127
137
  // this must be 0 before 'finish' can be emitted
@@ -135,8 +145,29 @@ function WritableState(options, stream) {
135
145
  this.errorEmitted = false;
136
146
  }
137
147
 
148
+ WritableState.prototype.getBuffer = function writableStateGetBuffer() {
149
+ var current = this.bufferedRequest;
150
+ var out = [];
151
+ while (current) {
152
+ out.push(current);
153
+ current = current.next;
154
+ }
155
+ return out;
156
+ };
157
+
158
+ (function (){try {
159
+ Object.defineProperty(WritableState.prototype, 'buffer', {
160
+ get: internalUtil.deprecate(function() {
161
+ return this.getBuffer();
162
+ }, '_writableState.buffer is deprecated. Use _writableState.getBuffer ' +
163
+ 'instead.')
164
+ });
165
+ }catch(_){}}());
166
+
167
+
168
+ var Duplex;
138
169
  function Writable(options) {
139
- var Duplex = require('./_stream_duplex');
170
+ Duplex = Duplex || require('./_stream_duplex');
140
171
 
141
172
  // Writable ctor is applied to Duplexes, though they're not
142
173
  // instanceof Writable, they're instanceof Readable.
@@ -148,6 +179,14 @@ function Writable(options) {
148
179
  // legacy.
149
180
  this.writable = true;
150
181
 
182
+ if (options) {
183
+ if (typeof options.write === 'function')
184
+ this._write = options.write;
185
+
186
+ if (typeof options.writev === 'function')
187
+ this._writev = options.writev;
188
+ }
189
+
151
190
  Stream.call(this);
152
191
  }
153
192
 
@@ -157,13 +196,11 @@ Writable.prototype.pipe = function() {
157
196
  };
158
197
 
159
198
 
160
- function writeAfterEnd(stream, state, cb) {
199
+ function writeAfterEnd(stream, cb) {
161
200
  var er = new Error('write after end');
162
201
  // TODO: defer error events consistently everywhere, not just the cb
163
202
  stream.emit('error', er);
164
- process.nextTick(function() {
165
- cb(er);
166
- });
203
+ processNextTick(cb, er);
167
204
  }
168
205
 
169
206
  // If we get something that is not a buffer, string, null, or undefined,
@@ -173,15 +210,15 @@ function writeAfterEnd(stream, state, cb) {
173
210
  // how many bytes or characters.
174
211
  function validChunk(stream, state, chunk, cb) {
175
212
  var valid = true;
176
- if (!util.isBuffer(chunk) &&
177
- !util.isString(chunk) &&
178
- !util.isNullOrUndefined(chunk) &&
213
+
214
+ if (!(Buffer.isBuffer(chunk)) &&
215
+ typeof chunk !== 'string' &&
216
+ chunk !== null &&
217
+ chunk !== undefined &&
179
218
  !state.objectMode) {
180
219
  var er = new TypeError('Invalid non-string/buffer chunk');
181
220
  stream.emit('error', er);
182
- process.nextTick(function() {
183
- cb(er);
184
- });
221
+ processNextTick(cb, er);
185
222
  valid = false;
186
223
  }
187
224
  return valid;
@@ -191,21 +228,21 @@ Writable.prototype.write = function(chunk, encoding, cb) {
191
228
  var state = this._writableState;
192
229
  var ret = false;
193
230
 
194
- if (util.isFunction(encoding)) {
231
+ if (typeof encoding === 'function') {
195
232
  cb = encoding;
196
233
  encoding = null;
197
234
  }
198
235
 
199
- if (util.isBuffer(chunk))
236
+ if (Buffer.isBuffer(chunk))
200
237
  encoding = 'buffer';
201
238
  else if (!encoding)
202
239
  encoding = state.defaultEncoding;
203
240
 
204
- if (!util.isFunction(cb))
205
- cb = function() {};
241
+ if (typeof cb !== 'function')
242
+ cb = nop;
206
243
 
207
244
  if (state.ended)
208
- writeAfterEnd(this, state, cb);
245
+ writeAfterEnd(this, cb);
209
246
  else if (validChunk(this, state, chunk, cb)) {
210
247
  state.pendingcb++;
211
248
  ret = writeOrBuffer(this, state, chunk, encoding, cb);
@@ -230,15 +267,26 @@ Writable.prototype.uncork = function() {
230
267
  !state.corked &&
231
268
  !state.finished &&
232
269
  !state.bufferProcessing &&
233
- state.buffer.length)
270
+ state.bufferedRequest)
234
271
  clearBuffer(this, state);
235
272
  }
236
273
  };
237
274
 
275
+ Writable.prototype.setDefaultEncoding = function setDefaultEncoding(encoding) {
276
+ // node::ParseEncoding() requires lower case.
277
+ if (typeof encoding === 'string')
278
+ encoding = encoding.toLowerCase();
279
+ if (!(['hex', 'utf8', 'utf-8', 'ascii', 'binary', 'base64',
280
+ 'ucs2', 'ucs-2','utf16le', 'utf-16le', 'raw']
281
+ .indexOf((encoding + '').toLowerCase()) > -1))
282
+ throw new TypeError('Unknown encoding: ' + encoding);
283
+ this._writableState.defaultEncoding = encoding;
284
+ };
285
+
238
286
  function decodeChunk(state, chunk, encoding) {
239
287
  if (!state.objectMode &&
240
288
  state.decodeStrings !== false &&
241
- util.isString(chunk)) {
289
+ typeof chunk === 'string') {
242
290
  chunk = new Buffer(chunk, encoding);
243
291
  }
244
292
  return chunk;
@@ -249,7 +297,8 @@ function decodeChunk(state, chunk, encoding) {
249
297
  // If we return false, then we need a drain event, so set that flag.
250
298
  function writeOrBuffer(stream, state, chunk, encoding, cb) {
251
299
  chunk = decodeChunk(state, chunk, encoding);
252
- if (util.isBuffer(chunk))
300
+
301
+ if (Buffer.isBuffer(chunk))
253
302
  encoding = 'buffer';
254
303
  var len = state.objectMode ? 1 : chunk.length;
255
304
 
@@ -260,10 +309,17 @@ function writeOrBuffer(stream, state, chunk, encoding, cb) {
260
309
  if (!ret)
261
310
  state.needDrain = true;
262
311
 
263
- if (state.writing || state.corked)
264
- state.buffer.push(new WriteReq(chunk, encoding, cb));
265
- else
312
+ if (state.writing || state.corked) {
313
+ var last = state.lastBufferedRequest;
314
+ state.lastBufferedRequest = new WriteReq(chunk, encoding, cb);
315
+ if (last) {
316
+ last.next = state.lastBufferedRequest;
317
+ } else {
318
+ state.bufferedRequest = state.lastBufferedRequest;
319
+ }
320
+ } else {
266
321
  doWrite(stream, state, false, len, chunk, encoding, cb);
322
+ }
267
323
 
268
324
  return ret;
269
325
  }
@@ -281,15 +337,11 @@ function doWrite(stream, state, writev, len, chunk, encoding, cb) {
281
337
  }
282
338
 
283
339
  function onwriteError(stream, state, sync, er, cb) {
340
+ --state.pendingcb;
284
341
  if (sync)
285
- process.nextTick(function() {
286
- state.pendingcb--;
287
- cb(er);
288
- });
289
- else {
290
- state.pendingcb--;
342
+ processNextTick(cb, er);
343
+ else
291
344
  cb(er);
292
- }
293
345
 
294
346
  stream._writableState.errorEmitted = true;
295
347
  stream.emit('error', er);
@@ -313,19 +365,17 @@ function onwrite(stream, er) {
313
365
  onwriteError(stream, state, sync, er, cb);
314
366
  else {
315
367
  // Check if we're actually ready to finish, but don't emit yet
316
- var finished = needFinish(stream, state);
368
+ var finished = needFinish(state);
317
369
 
318
370
  if (!finished &&
319
371
  !state.corked &&
320
372
  !state.bufferProcessing &&
321
- state.buffer.length) {
373
+ state.bufferedRequest) {
322
374
  clearBuffer(stream, state);
323
375
  }
324
376
 
325
377
  if (sync) {
326
- process.nextTick(function() {
327
- afterWrite(stream, state, finished, cb);
328
- });
378
+ processNextTick(afterWrite, stream, state, finished, cb);
329
379
  } else {
330
380
  afterWrite(stream, state, finished, cb);
331
381
  }
@@ -354,17 +404,23 @@ function onwriteDrain(stream, state) {
354
404
  // if there's something in the buffer waiting, then process it
355
405
  function clearBuffer(stream, state) {
356
406
  state.bufferProcessing = true;
407
+ var entry = state.bufferedRequest;
357
408
 
358
- if (stream._writev && state.buffer.length > 1) {
409
+ if (stream._writev && entry && entry.next) {
359
410
  // Fast case, write everything using _writev()
411
+ var buffer = [];
360
412
  var cbs = [];
361
- for (var c = 0; c < state.buffer.length; c++)
362
- cbs.push(state.buffer[c].callback);
413
+ while (entry) {
414
+ cbs.push(entry.callback);
415
+ buffer.push(entry);
416
+ entry = entry.next;
417
+ }
363
418
 
364
419
  // count the one we are adding, as well.
365
420
  // TODO(isaacs) clean this up
366
421
  state.pendingcb++;
367
- doWrite(stream, state, true, state.length, state.buffer, '', function(err) {
422
+ state.lastBufferedRequest = null;
423
+ doWrite(stream, state, true, state.length, buffer, '', function(err) {
368
424
  for (var i = 0; i < cbs.length; i++) {
369
425
  state.pendingcb--;
370
426
  cbs[i](err);
@@ -372,40 +428,34 @@ function clearBuffer(stream, state) {
372
428
  });
373
429
 
374
430
  // Clear buffer
375
- state.buffer = [];
376
431
  } else {
377
432
  // Slow case, write chunks one-by-one
378
- for (var c = 0; c < state.buffer.length; c++) {
379
- var entry = state.buffer[c];
433
+ while (entry) {
380
434
  var chunk = entry.chunk;
381
435
  var encoding = entry.encoding;
382
436
  var cb = entry.callback;
383
437
  var len = state.objectMode ? 1 : chunk.length;
384
438
 
385
439
  doWrite(stream, state, false, len, chunk, encoding, cb);
386
-
440
+ entry = entry.next;
387
441
  // if we didn't call the onwrite immediately, then
388
442
  // it means that we need to wait until it does.
389
443
  // also, that means that the chunk and cb are currently
390
444
  // being processed, so move the buffer counter past them.
391
445
  if (state.writing) {
392
- c++;
393
446
  break;
394
447
  }
395
448
  }
396
449
 
397
- if (c < state.buffer.length)
398
- state.buffer = state.buffer.slice(c);
399
- else
400
- state.buffer.length = 0;
450
+ if (entry === null)
451
+ state.lastBufferedRequest = null;
401
452
  }
402
-
453
+ state.bufferedRequest = entry;
403
454
  state.bufferProcessing = false;
404
455
  }
405
456
 
406
457
  Writable.prototype._write = function(chunk, encoding, cb) {
407
458
  cb(new Error('not implemented'));
408
-
409
459
  };
410
460
 
411
461
  Writable.prototype._writev = null;
@@ -413,16 +463,16 @@ Writable.prototype._writev = null;
413
463
  Writable.prototype.end = function(chunk, encoding, cb) {
414
464
  var state = this._writableState;
415
465
 
416
- if (util.isFunction(chunk)) {
466
+ if (typeof chunk === 'function') {
417
467
  cb = chunk;
418
468
  chunk = null;
419
469
  encoding = null;
420
- } else if (util.isFunction(encoding)) {
470
+ } else if (typeof encoding === 'function') {
421
471
  cb = encoding;
422
472
  encoding = null;
423
473
  }
424
474
 
425
- if (!util.isNullOrUndefined(chunk))
475
+ if (chunk !== null && chunk !== undefined)
426
476
  this.write(chunk, encoding);
427
477
 
428
478
  // .end() fully uncorks
@@ -437,9 +487,10 @@ Writable.prototype.end = function(chunk, encoding, cb) {
437
487
  };
438
488
 
439
489
 
440
- function needFinish(stream, state) {
490
+ function needFinish(state) {
441
491
  return (state.ending &&
442
492
  state.length === 0 &&
493
+ state.bufferedRequest === null &&
443
494
  !state.finished &&
444
495
  !state.writing);
445
496
  }
@@ -452,14 +503,15 @@ function prefinish(stream, state) {
452
503
  }
453
504
 
454
505
  function finishMaybe(stream, state) {
455
- var need = needFinish(stream, state);
506
+ var need = needFinish(state);
456
507
  if (need) {
457
508
  if (state.pendingcb === 0) {
458
509
  prefinish(stream, state);
459
510
  state.finished = true;
460
511
  stream.emit('finish');
461
- } else
512
+ } else {
462
513
  prefinish(stream, state);
514
+ }
463
515
  }
464
516
  return need;
465
517
  }
@@ -469,7 +521,7 @@ function endWritable(stream, state, cb) {
469
521
  finishMaybe(stream, state);
470
522
  if (cb) {
471
523
  if (state.finished)
472
- process.nextTick(cb);
524
+ processNextTick(cb);
473
525
  else
474
526
  stream.once('finish', cb);
475
527
  }
@@ -1,46 +1,48 @@
1
1
  {
2
- "_from": "readable-stream@^1.1.13",
3
- "_id": "readable-stream@1.1.13",
2
+ "_from": "readable-stream@^2.0.0 || ^1.1.13",
3
+ "_id": "readable-stream@2.0.5",
4
4
  "_location": "/readable-stream",
5
+ "_nodeVersion": "5.1.1",
5
6
  "_npmUser": {
6
- "email": "rod@vagg.org",
7
- "name": "rvagg"
7
+ "email": "calvin.metcalf@gmail.com",
8
+ "name": "cwmma"
8
9
  },
9
- "_npmVersion": "1.4.23",
10
+ "_npmVersion": "3.3.12",
10
11
  "_phantomChildren": {},
11
12
  "_requiredBy": [
12
- "/are-we-there-yet"
13
+ "/are-we-there-yet",
14
+ "/bl",
15
+ "/tar-pack"
13
16
  ],
14
- "_resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.13.tgz",
15
- "_shasum": "f6eef764f514c89e2b9e23146a75ba106756d23e",
16
- "author": {
17
- "email": "i@izs.me",
18
- "name": "Isaac Z. Schlueter",
19
- "url": "http://blog.izs.me/"
20
- },
17
+ "_resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.0.5.tgz",
18
+ "_shasum": "a2426f8dcd4551c77a33f96edf2886a23c829669",
21
19
  "browser": {
22
20
  "util": false
23
21
  },
24
22
  "bugs": {
25
- "url": "https://github.com/isaacs/readable-stream/issues"
23
+ "url": "https://github.com/nodejs/readable-stream/issues"
26
24
  },
27
25
  "dependencies": {
28
26
  "core-util-is": "~1.0.0",
29
27
  "inherits": "~2.0.1",
30
28
  "isarray": "0.0.1",
31
- "string_decoder": "~0.10.x"
29
+ "process-nextick-args": "~1.0.6",
30
+ "string_decoder": "~0.10.x",
31
+ "util-deprecate": "~1.0.1"
32
32
  },
33
- "description": "Streams3, a user-land copy of the stream library from Node.js v0.11.x",
33
+ "description": "Streams3, a user-land copy of the stream library from iojs v2.x",
34
34
  "devDependencies": {
35
- "tap": "~0.2.6"
35
+ "tap": "~0.2.6",
36
+ "tape": "~4.0.0",
37
+ "zuul": "~3.0.0"
36
38
  },
37
39
  "directories": {},
38
40
  "dist": {
39
- "shasum": "f6eef764f514c89e2b9e23146a75ba106756d23e",
40
- "tarball": "http://registry.npmjs.org/readable-stream/-/readable-stream-1.1.13.tgz"
41
+ "shasum": "a2426f8dcd4551c77a33f96edf2886a23c829669",
42
+ "tarball": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.0.5.tgz"
41
43
  },
42
- "gitHead": "3b672fd7ae92acf5b4ffdbabf74b372a0a56b051",
43
- "homepage": "https://github.com/isaacs/readable-stream",
44
+ "gitHead": "a4f23d8e451267684a8160679ce16e16149fe72b",
45
+ "homepage": "https://github.com/nodejs/readable-stream#readme",
44
46
  "keywords": [
45
47
  "pipe",
46
48
  "readable",
@@ -51,7 +53,7 @@
51
53
  "maintainers": [
52
54
  {
53
55
  "name": "isaacs",
54
- "email": "i@izs.me"
56
+ "email": "isaacs@npmjs.com"
55
57
  },
56
58
  {
57
59
  "name": "tootallnate",
@@ -60,6 +62,10 @@
60
62
  {
61
63
  "name": "rvagg",
62
64
  "email": "rod@vagg.org"
65
+ },
66
+ {
67
+ "name": "cwmma",
68
+ "email": "calvin.metcalf@gmail.com"
63
69
  }
64
70
  ],
65
71
  "name": "readable-stream",
@@ -67,10 +73,12 @@
67
73
  "readme": "ERROR: No README data found!",
68
74
  "repository": {
69
75
  "type": "git",
70
- "url": "git://github.com/isaacs/readable-stream.git"
76
+ "url": "git://github.com/nodejs/readable-stream.git"
71
77
  },
72
78
  "scripts": {
73
- "test": "tap test/simple/*.js"
79
+ "browser": "npm run write-zuul && zuul -- test/browser.js",
80
+ "test": "tap test/parallel/*.js",
81
+ "write-zuul": "printf \"ui: tape\nbrowsers:\n - name: $BROWSER_NAME\n version: $BROWSER_VERSION\n\">.zuul.yml"
74
82
  },
75
- "version": "1.1.13"
83
+ "version": "2.0.5"
76
84
  }
@@ -1,5 +1,10 @@
1
+ var Stream = (function (){
2
+ try {
3
+ return require('st' + 'ream'); // hack to fix a circular dependency issue when used with browserify
4
+ } catch(_){}
5
+ }());
1
6
  exports = module.exports = require('./lib/_stream_readable.js');
2
- exports.Stream = require('stream');
7
+ exports.Stream = Stream || exports;
3
8
  exports.Readable = exports;
4
9
  exports.Writable = require('./lib/_stream_writable.js');
5
10
  exports.Duplex = require('./lib/_stream_duplex.js');
@@ -27,6 +27,64 @@ errors are handled for you:
27
27
  async case, rimraf will gradually back off with timeouts up to
28
28
  `opts.emfileWait` ms, which defaults to 1000.
29
29
 
30
+ ## options
31
+
32
+ * unlink, chmod, stat, lstat, rmdir, readdir
33
+ unlinkSync, chmodSync, statSync, lstatSync, rmdirSync, readdirSync
34
+
35
+ In order to use a custom file system library, you can override
36
+ specific fs functions on the options object.
37
+
38
+ If any of these functions are present on the options object, then
39
+ the supplied function will be used instead of the default fs
40
+ method.
41
+
42
+ Sync methods are only relevant for `rimraf.sync()`, of course.
43
+
44
+ For example:
45
+
46
+ ```javascript
47
+ var myCustomFS = require('some-custom-fs')
48
+
49
+ rimraf('some-thing', myCustomFS, callback)
50
+ ```
51
+
52
+ * maxBusyTries
53
+
54
+ If an `EBUSY`, `ENOTEMPTY`, or `EPERM` error code is encountered
55
+ on Windows systems, then rimraf will retry with a linear backoff
56
+ wait of 100ms longer on each try. The default maxBusyTries is 3.
57
+
58
+ Only relevant for async usage.
59
+
60
+ * emfileWait
61
+
62
+ If an `EMFILE` error is encountered, then rimraf will retry
63
+ repeatedly with a linear backoff of 1ms longer on each try, until
64
+ the timeout counter hits this max. The default limit is 1000.
65
+
66
+ If you repeatedly encounter `EMFILE` errors, then consider using
67
+ [graceful-fs](http://npm.im/graceful-fs) in your program.
68
+
69
+ Only relevant for async usage.
70
+
71
+ * glob
72
+
73
+ Set to `false` to disable [glob](http://npm.im/glob) pattern
74
+ matching.
75
+
76
+ Set to an object to pass options to the glob module. The default
77
+ glob options are `{ nosort: true, silent: true }`.
78
+
79
+ Glob version 6 is used in this module.
80
+
81
+ Relevant for both sync and async usage.
82
+
83
+ * disableGlob
84
+
85
+ Set to any non-falsey value to disable globbing entirely.
86
+ (Equivalent to setting `glob: false`.)
87
+
30
88
  ## rimraf.sync
31
89
 
32
90
  It can remove stuff synchronously, too. But that's not so good. Use