epuber-stylus-source 0.54.8 → 0.56.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (465) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +3 -1
  3. data/Rakefile +1 -1
  4. data/VERSION +1 -1
  5. data/vendor/{History.md → Changelog.md} +50 -0
  6. data/vendor/Readme.md +37 -23
  7. data/vendor/bin/stylus +1 -2
  8. data/vendor/lib/convert/css.js +1 -1
  9. data/vendor/lib/functions/acos.js +20 -0
  10. data/vendor/lib/functions/asin.js +21 -0
  11. data/vendor/lib/functions/atan.js +21 -0
  12. data/vendor/lib/functions/convert-angle.js +19 -0
  13. data/vendor/lib/functions/index.js +3 -0
  14. data/vendor/lib/functions/url.js +5 -5
  15. data/vendor/lib/lexer.js +1 -1
  16. data/vendor/lib/middleware.js +1 -2
  17. data/vendor/lib/visitor/compiler.js +2 -2
  18. data/vendor/lib/visitor/deps-resolver.js +3 -0
  19. data/vendor/node_modules/{cliui/node_modules/ansi-regex → ansi-regex}/index.d.ts +0 -0
  20. data/vendor/node_modules/ansi-regex/index.js +4 -4
  21. data/vendor/node_modules/ansi-regex/package.json +53 -51
  22. data/vendor/node_modules/ansi-regex/readme.md +35 -3
  23. data/vendor/node_modules/assertion-error/History.md +24 -0
  24. data/vendor/node_modules/{mkdirp/LICENSE → assertion-error/README.md} +22 -2
  25. data/vendor/node_modules/assertion-error/index.d.ts +11 -0
  26. data/vendor/node_modules/assertion-error/index.js +116 -0
  27. data/vendor/node_modules/assertion-error/package.json +29 -0
  28. data/vendor/node_modules/camelcase/index.d.ts +5 -3
  29. data/vendor/node_modules/camelcase/index.js +40 -18
  30. data/vendor/node_modules/camelcase/package.json +1 -1
  31. data/vendor/node_modules/camelcase/readme.md +21 -5
  32. data/vendor/node_modules/chai/CODEOWNERS +1 -0
  33. data/vendor/node_modules/chai/CODE_OF_CONDUCT.md +58 -0
  34. data/vendor/node_modules/chai/CONTRIBUTING.md +218 -0
  35. data/vendor/node_modules/chai/History.md +1059 -0
  36. data/vendor/node_modules/{should-type-adaptors → chai}/LICENSE +1 -1
  37. data/vendor/node_modules/chai/README.md +212 -0
  38. data/vendor/node_modules/chai/ReleaseNotes.md +737 -0
  39. data/vendor/node_modules/chai/bower.json +26 -0
  40. data/vendor/node_modules/chai/chai.js +11464 -0
  41. data/vendor/node_modules/chai/index.js +1 -0
  42. data/vendor/node_modules/chai/index.mjs +14 -0
  43. data/vendor/node_modules/chai/karma.conf.js +34 -0
  44. data/vendor/node_modules/chai/karma.sauce.js +41 -0
  45. data/vendor/node_modules/chai/lib/chai/assertion.js +175 -0
  46. data/vendor/node_modules/chai/lib/chai/config.js +94 -0
  47. data/vendor/node_modules/chai/lib/chai/core/assertions.js +3853 -0
  48. data/vendor/node_modules/chai/lib/chai/interface/assert.js +3113 -0
  49. data/vendor/node_modules/chai/lib/chai/interface/expect.js +47 -0
  50. data/vendor/node_modules/chai/lib/chai/interface/should.js +219 -0
  51. data/vendor/node_modules/chai/lib/chai/utils/addChainableMethod.js +152 -0
  52. data/vendor/node_modules/chai/lib/chai/utils/addLengthGuard.js +60 -0
  53. data/vendor/node_modules/chai/lib/chai/utils/addMethod.js +68 -0
  54. data/vendor/node_modules/chai/lib/chai/utils/addProperty.js +72 -0
  55. data/vendor/node_modules/chai/lib/chai/utils/compareByInspect.js +31 -0
  56. data/vendor/node_modules/chai/lib/chai/utils/expectTypes.js +51 -0
  57. data/vendor/node_modules/chai/lib/chai/utils/flag.js +33 -0
  58. data/vendor/node_modules/chai/lib/chai/utils/getActual.js +20 -0
  59. data/vendor/node_modules/chai/lib/chai/utils/getEnumerableProperties.js +26 -0
  60. data/vendor/node_modules/chai/lib/chai/utils/getMessage.js +50 -0
  61. data/vendor/node_modules/chai/lib/chai/utils/getOperator.js +55 -0
  62. data/vendor/node_modules/chai/lib/chai/utils/getOwnEnumerableProperties.js +29 -0
  63. data/vendor/node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js +27 -0
  64. data/vendor/node_modules/chai/lib/chai/utils/getProperties.js +36 -0
  65. data/vendor/node_modules/chai/lib/chai/utils/index.js +178 -0
  66. data/vendor/node_modules/chai/lib/chai/utils/inspect.js +33 -0
  67. data/vendor/node_modules/chai/lib/chai/utils/isNaN.js +26 -0
  68. data/vendor/node_modules/chai/lib/chai/utils/isProxyEnabled.js +24 -0
  69. data/vendor/node_modules/chai/lib/chai/utils/objDisplay.js +50 -0
  70. data/vendor/node_modules/chai/lib/chai/utils/overwriteChainableMethod.js +69 -0
  71. data/vendor/node_modules/chai/lib/chai/utils/overwriteMethod.js +92 -0
  72. data/vendor/node_modules/chai/lib/chai/utils/overwriteProperty.js +92 -0
  73. data/vendor/node_modules/chai/lib/chai/utils/proxify.js +147 -0
  74. data/vendor/node_modules/chai/lib/chai/utils/test.js +28 -0
  75. data/vendor/node_modules/chai/lib/chai/utils/transferFlags.js +45 -0
  76. data/vendor/node_modules/chai/lib/chai.js +92 -0
  77. data/vendor/node_modules/chai/package.json +63 -0
  78. data/vendor/node_modules/chai/register-assert.js +1 -0
  79. data/vendor/node_modules/chai/register-expect.js +1 -0
  80. data/vendor/node_modules/chai/register-should.js +1 -0
  81. data/vendor/node_modules/chai/sauce.browsers.js +106 -0
  82. data/vendor/node_modules/chalk/package.json +1 -1
  83. data/vendor/node_modules/chalk/readme.md +7 -1
  84. data/vendor/node_modules/{source-map-url → check-error}/LICENSE +1 -3
  85. data/vendor/node_modules/check-error/README.md +207 -0
  86. data/vendor/node_modules/check-error/check-error.js +176 -0
  87. data/vendor/node_modules/check-error/index.js +172 -0
  88. data/vendor/node_modules/check-error/package.json +85 -0
  89. data/vendor/node_modules/chokidar/README.md +5 -4
  90. data/vendor/node_modules/chokidar/index.js +7 -1
  91. data/vendor/node_modules/chokidar/lib/constants.js +2 -0
  92. data/vendor/node_modules/chokidar/lib/fsevents-handler.js +2 -1
  93. data/vendor/node_modules/chokidar/lib/nodefs-handler.js +9 -1
  94. data/vendor/node_modules/chokidar/package.json +15 -8
  95. data/vendor/node_modules/chokidar/types/index.d.ts +4 -3
  96. data/vendor/node_modules/css/lib/stringify/source-map-support.js +10 -3
  97. data/vendor/node_modules/css/package.json +8 -9
  98. data/vendor/node_modules/debug/LICENSE +10 -9
  99. data/vendor/node_modules/debug/README.md +116 -3
  100. data/vendor/node_modules/debug/package.json +35 -19
  101. data/vendor/node_modules/debug/src/browser.js +194 -120
  102. data/vendor/node_modules/debug/src/common.js +274 -0
  103. data/vendor/node_modules/debug/src/index.js +4 -4
  104. data/vendor/node_modules/debug/src/node.js +174 -97
  105. data/vendor/node_modules/{resolve-url → deep-eql}/LICENSE +1 -3
  106. data/vendor/node_modules/deep-eql/README.md +116 -0
  107. data/vendor/node_modules/deep-eql/deep-eql.js +833 -0
  108. data/vendor/node_modules/deep-eql/index.js +455 -0
  109. data/vendor/node_modules/deep-eql/package.json +90 -0
  110. data/vendor/node_modules/{urix → get-func-name}/LICENSE +1 -3
  111. data/vendor/node_modules/get-func-name/README.md +123 -0
  112. data/vendor/node_modules/get-func-name/get-func-name.js +48 -0
  113. data/vendor/node_modules/get-func-name/index.js +44 -0
  114. data/vendor/node_modules/get-func-name/package.json +85 -0
  115. data/vendor/node_modules/glob/README.md +3 -0
  116. data/vendor/node_modules/glob/common.js +2 -0
  117. data/vendor/node_modules/glob/glob.js +4 -5
  118. data/vendor/node_modules/glob/package.json +2 -1
  119. data/vendor/node_modules/glob/sync.js +4 -5
  120. data/vendor/node_modules/{cliui/node_modules/is-fullwidth-code-point → is-fullwidth-code-point}/index.d.ts +0 -0
  121. data/vendor/node_modules/is-fullwidth-code-point/index.js +25 -21
  122. data/vendor/node_modules/is-fullwidth-code-point/license +4 -16
  123. data/vendor/node_modules/is-fullwidth-code-point/package.json +40 -43
  124. data/vendor/node_modules/is-fullwidth-code-point/readme.md +6 -6
  125. data/vendor/node_modules/is-glob/README.md +1 -1
  126. data/vendor/node_modules/is-glob/index.js +126 -24
  127. data/vendor/node_modules/is-glob/package.json +2 -2
  128. data/vendor/node_modules/is-unicode-supported/index.d.ts +14 -0
  129. data/vendor/node_modules/is-unicode-supported/index.js +13 -0
  130. data/vendor/node_modules/{cliui/node_modules/string-width → is-unicode-supported}/license +1 -1
  131. data/vendor/node_modules/is-unicode-supported/package.json +41 -0
  132. data/vendor/node_modules/is-unicode-supported/readme.md +35 -0
  133. data/vendor/node_modules/js-yaml/CHANGELOG.md +13 -0
  134. data/vendor/node_modules/js-yaml/README.md +1 -1
  135. data/vendor/node_modules/js-yaml/dist/js-yaml.js +90 -70
  136. data/vendor/node_modules/js-yaml/dist/js-yaml.min.js +2 -2
  137. data/vendor/node_modules/js-yaml/dist/js-yaml.mjs +84 -65
  138. data/vendor/node_modules/js-yaml/index.js +17 -0
  139. data/vendor/node_modules/js-yaml/lib/schema.js +9 -9
  140. data/vendor/node_modules/js-yaml/lib/type.js +1 -0
  141. data/vendor/node_modules/js-yaml/package.json +1 -1
  142. data/vendor/node_modules/jscoverage/node_modules/ms/index.js +152 -0
  143. data/vendor/node_modules/{should-format/LICENSE → jscoverage/node_modules/ms/license.md} +1 -2
  144. data/vendor/node_modules/jscoverage/node_modules/ms/package.json +37 -0
  145. data/vendor/node_modules/jscoverage/node_modules/ms/readme.md +51 -0
  146. data/vendor/node_modules/log-symbols/index.d.ts +2 -2
  147. data/vendor/node_modules/log-symbols/index.js +3 -4
  148. data/vendor/node_modules/log-symbols/package.json +7 -5
  149. data/vendor/node_modules/log-symbols/readme.md +3 -3
  150. data/vendor/node_modules/loupe/CHANGELOG.md +5 -0
  151. data/vendor/node_modules/{cliui/node_modules/strip-ansi/license → loupe/LICENSE} +2 -2
  152. data/vendor/node_modules/loupe/README.md +63 -0
  153. data/vendor/node_modules/loupe/index.js +195 -0
  154. data/vendor/node_modules/loupe/lib/arguments.js +7 -0
  155. data/vendor/node_modules/loupe/lib/array.js +20 -0
  156. data/vendor/node_modules/loupe/lib/bigint.js +7 -0
  157. data/vendor/node_modules/loupe/lib/class.js +18 -0
  158. data/vendor/node_modules/loupe/lib/date.js +8 -0
  159. data/vendor/node_modules/loupe/lib/error.js +34 -0
  160. data/vendor/node_modules/loupe/lib/function.js +10 -0
  161. data/vendor/node_modules/loupe/lib/helpers.js +177 -0
  162. data/vendor/node_modules/loupe/lib/html.js +40 -0
  163. data/vendor/node_modules/loupe/lib/map.js +27 -0
  164. data/vendor/node_modules/loupe/lib/number.js +18 -0
  165. data/vendor/node_modules/loupe/lib/object.js +31 -0
  166. data/vendor/node_modules/loupe/lib/promise.js +16 -0
  167. data/vendor/node_modules/loupe/lib/regexp.js +8 -0
  168. data/vendor/node_modules/loupe/lib/set.js +16 -0
  169. data/vendor/node_modules/loupe/lib/string.js +29 -0
  170. data/vendor/node_modules/loupe/lib/symbol.js +6 -0
  171. data/vendor/node_modules/loupe/lib/typedarray.js +45 -0
  172. data/vendor/node_modules/loupe/loupe.js +852 -0
  173. data/vendor/node_modules/loupe/package.json +141 -0
  174. data/vendor/node_modules/minimatch/README.md +22 -1
  175. data/vendor/node_modules/minimatch/minimatch.js +93 -69
  176. data/vendor/node_modules/minimatch/package.json +6 -3
  177. data/vendor/node_modules/mocha/LICENSE +1 -1
  178. data/vendor/node_modules/mocha/README.md +1 -1
  179. data/vendor/node_modules/mocha/bin/mocha +18 -27
  180. data/vendor/node_modules/mocha/browser-entry.js +27 -20
  181. data/vendor/node_modules/mocha/lib/browser/growl.js +5 -5
  182. data/vendor/node_modules/mocha/lib/browser/parse-query.js +1 -1
  183. data/vendor/node_modules/mocha/lib/browser/progress.js +6 -6
  184. data/vendor/node_modules/mocha/lib/cli/cli.js +3 -2
  185. data/vendor/node_modules/mocha/lib/cli/config.js +7 -12
  186. data/vendor/node_modules/mocha/lib/cli/lookup-files.js +2 -8
  187. data/vendor/node_modules/mocha/lib/cli/node-flags.js +2 -5
  188. data/vendor/node_modules/mocha/lib/cli/one-and-dones.js +1 -2
  189. data/vendor/node_modules/mocha/lib/cli/run-helpers.js +15 -15
  190. data/vendor/node_modules/mocha/lib/cli/run-option-metadata.js +4 -0
  191. data/vendor/node_modules/mocha/lib/cli/run.js +13 -1
  192. data/vendor/node_modules/mocha/lib/cli/watch-run.js +3 -6
  193. data/vendor/node_modules/mocha/lib/context.js +5 -5
  194. data/vendor/node_modules/mocha/lib/errors.js +3 -3
  195. data/vendor/node_modules/mocha/lib/hook.js +9 -3
  196. data/vendor/node_modules/mocha/lib/interfaces/bdd.js +23 -20
  197. data/vendor/node_modules/mocha/lib/interfaces/common.js +7 -7
  198. data/vendor/node_modules/mocha/lib/interfaces/exports.js +1 -1
  199. data/vendor/node_modules/mocha/lib/interfaces/qunit.js +7 -7
  200. data/vendor/node_modules/mocha/lib/interfaces/tdd.js +9 -9
  201. data/vendor/node_modules/mocha/lib/mocha.js +105 -99
  202. data/vendor/node_modules/mocha/lib/nodejs/buffered-worker-pool.js +17 -1
  203. data/vendor/node_modules/mocha/lib/nodejs/esm-utils.js +124 -0
  204. data/vendor/node_modules/mocha/lib/reporters/base.js +49 -35
  205. data/vendor/node_modules/mocha/lib/reporters/doc.js +4 -4
  206. data/vendor/node_modules/mocha/lib/reporters/dot.js +5 -5
  207. data/vendor/node_modules/mocha/lib/reporters/html.js +12 -12
  208. data/vendor/node_modules/mocha/lib/reporters/json-stream.js +4 -4
  209. data/vendor/node_modules/mocha/lib/reporters/json.js +35 -10
  210. data/vendor/node_modules/mocha/lib/reporters/landing.js +5 -5
  211. data/vendor/node_modules/mocha/lib/reporters/list.js +5 -5
  212. data/vendor/node_modules/mocha/lib/reporters/markdown.js +5 -5
  213. data/vendor/node_modules/mocha/lib/reporters/min.js +1 -1
  214. data/vendor/node_modules/mocha/lib/reporters/nyan.js +16 -16
  215. data/vendor/node_modules/mocha/lib/reporters/progress.js +3 -3
  216. data/vendor/node_modules/mocha/lib/reporters/spec.js +6 -6
  217. data/vendor/node_modules/mocha/lib/reporters/tap.js +17 -17
  218. data/vendor/node_modules/mocha/lib/reporters/xunit.js +9 -9
  219. data/vendor/node_modules/mocha/lib/runnable.js +21 -21
  220. data/vendor/node_modules/mocha/lib/runner.js +63 -61
  221. data/vendor/node_modules/mocha/lib/stats-collector.js +7 -7
  222. data/vendor/node_modules/mocha/lib/suite.js +46 -75
  223. data/vendor/node_modules/mocha/lib/test.js +5 -5
  224. data/vendor/node_modules/mocha/lib/utils.js +19 -114
  225. data/vendor/node_modules/mocha/mocha-es2018.js +19794 -0
  226. data/vendor/node_modules/mocha/mocha.js +8059 -6920
  227. data/vendor/node_modules/mocha/mocha.js.map +1 -1
  228. data/vendor/node_modules/mocha/node_modules/debug/LICENSE +10 -9
  229. data/vendor/node_modules/mocha/node_modules/debug/README.md +24 -1
  230. data/vendor/node_modules/mocha/node_modules/debug/package.json +6 -6
  231. data/vendor/node_modules/mocha/node_modules/debug/src/common.js +15 -2
  232. data/vendor/node_modules/{semver → mocha/node_modules/minimatch}/LICENSE +1 -1
  233. data/vendor/node_modules/mocha/node_modules/minimatch/README.md +230 -0
  234. data/vendor/node_modules/mocha/node_modules/minimatch/minimatch.js +908 -0
  235. data/vendor/node_modules/mocha/node_modules/minimatch/package.json +31 -0
  236. data/vendor/node_modules/mocha/package.json +66 -65
  237. data/vendor/node_modules/ms/index.js +29 -19
  238. data/vendor/node_modules/ms/package.json +6 -6
  239. data/vendor/node_modules/ms/readme.md +18 -9
  240. data/vendor/node_modules/nanoid/README.md +9 -473
  241. data/vendor/node_modules/nanoid/async/index.browser.cjs +34 -0
  242. data/vendor/node_modules/nanoid/async/index.browser.js +7 -43
  243. data/vendor/node_modules/nanoid/async/index.cjs +5 -41
  244. data/vendor/node_modules/nanoid/async/index.d.ts +7 -7
  245. data/vendor/node_modules/nanoid/async/index.js +5 -41
  246. data/vendor/node_modules/nanoid/async/index.native.js +5 -36
  247. data/vendor/node_modules/nanoid/async/package.json +2 -1
  248. data/vendor/node_modules/nanoid/bin/nanoid.cjs +52 -2
  249. data/vendor/node_modules/nanoid/index.browser.cjs +37 -0
  250. data/vendor/node_modules/nanoid/index.browser.js +5 -73
  251. data/vendor/node_modules/nanoid/index.cjs +14 -49
  252. data/vendor/node_modules/nanoid/index.d.ts +9 -6
  253. data/vendor/node_modules/nanoid/index.js +14 -49
  254. data/vendor/node_modules/nanoid/non-secure/index.cjs +3 -12
  255. data/vendor/node_modules/nanoid/non-secure/index.d.ts +8 -5
  256. data/vendor/node_modules/nanoid/non-secure/index.js +3 -12
  257. data/vendor/node_modules/nanoid/package.json +14 -10
  258. data/vendor/node_modules/nanoid/url-alphabet/index.cjs +1 -4
  259. data/vendor/node_modules/nanoid/url-alphabet/index.js +1 -4
  260. data/vendor/node_modules/pathval/CHANGELOG.md +18 -0
  261. data/vendor/node_modules/pathval/LICENSE +16 -0
  262. data/vendor/node_modules/pathval/README.md +147 -0
  263. data/vendor/node_modules/pathval/index.js +301 -0
  264. data/vendor/node_modules/pathval/package.json +80 -0
  265. data/vendor/node_modules/pathval/pathval.js +1 -0
  266. data/vendor/node_modules/picomatch/CHANGELOG.md +16 -0
  267. data/vendor/node_modules/picomatch/README.md +34 -17
  268. data/vendor/node_modules/picomatch/lib/parse.js +19 -6
  269. data/vendor/node_modules/picomatch/lib/picomatch.js +34 -31
  270. data/vendor/node_modules/picomatch/lib/scan.js +8 -2
  271. data/vendor/node_modules/picomatch/package.json +1 -1
  272. data/vendor/node_modules/readdirp/index.js +11 -6
  273. data/vendor/node_modules/readdirp/package.json +1 -1
  274. data/vendor/node_modules/serialize-javascript/README.md +2 -4
  275. data/vendor/node_modules/serialize-javascript/index.js +11 -2
  276. data/vendor/node_modules/serialize-javascript/package.json +2 -2
  277. data/vendor/node_modules/source-map-resolve/LICENSE +1 -1
  278. data/vendor/node_modules/source-map-resolve/changelog.md +6 -0
  279. data/vendor/node_modules/source-map-resolve/{lib/source-map-resolve-node.js → index.js} +48 -13
  280. data/vendor/node_modules/source-map-resolve/package.json +7 -14
  281. data/vendor/node_modules/source-map-resolve/readme.md +1 -39
  282. data/vendor/node_modules/{cliui/node_modules/string-width → string-width}/index.d.ts +0 -0
  283. data/vendor/node_modules/string-width/index.js +16 -5
  284. data/vendor/node_modules/string-width/package.json +11 -10
  285. data/vendor/node_modules/string-width/readme.md +15 -7
  286. data/vendor/node_modules/{cliui/node_modules/strip-ansi → strip-ansi}/index.d.ts +0 -0
  287. data/vendor/node_modules/strip-ansi/index.js +1 -1
  288. data/vendor/node_modules/strip-ansi/package.json +52 -50
  289. data/vendor/node_modules/strip-ansi/readme.md +12 -5
  290. data/vendor/node_modules/{fsevents → type-detect}/LICENSE +1 -4
  291. data/vendor/node_modules/type-detect/README.md +228 -0
  292. data/vendor/node_modules/type-detect/index.js +378 -0
  293. data/vendor/node_modules/type-detect/package.json +1 -0
  294. data/vendor/node_modules/type-detect/type-detect.js +388 -0
  295. data/vendor/node_modules/workerpool/HISTORY.md +42 -0
  296. data/vendor/node_modules/workerpool/README.md +11 -1
  297. data/vendor/node_modules/workerpool/dist/worker.js +9 -42
  298. data/vendor/node_modules/workerpool/dist/worker.js.map +1 -1
  299. data/vendor/node_modules/workerpool/dist/workerpool.js +117 -74
  300. data/vendor/node_modules/workerpool/dist/workerpool.js.map +1 -1
  301. data/vendor/node_modules/workerpool/dist/workerpool.min.js +1 -1
  302. data/vendor/node_modules/workerpool/dist/workerpool.min.js.LICENSE.txt +3 -3
  303. data/vendor/node_modules/workerpool/dist/workerpool.min.js.map +1 -1
  304. data/vendor/node_modules/workerpool/package.json +11 -11
  305. data/vendor/node_modules/workerpool/src/Pool.js +29 -4
  306. data/vendor/node_modules/workerpool/src/WorkerHandler.js +17 -4
  307. data/vendor/node_modules/workerpool/src/generated/embeddedWorker.js +1 -1
  308. data/vendor/node_modules/workerpool/src/header.js +1 -1
  309. data/vendor/node_modules/workerpool/src/types.js +2 -1
  310. data/vendor/package-lock.json +401 -664
  311. data/vendor/package.json +7 -9
  312. metadata +139 -175
  313. data/vendor/node_modules/cliui/node_modules/ansi-regex/index.js +0 -10
  314. data/vendor/node_modules/cliui/node_modules/ansi-regex/license +0 -9
  315. data/vendor/node_modules/cliui/node_modules/ansi-regex/package.json +0 -55
  316. data/vendor/node_modules/cliui/node_modules/ansi-regex/readme.md +0 -78
  317. data/vendor/node_modules/cliui/node_modules/is-fullwidth-code-point/index.js +0 -50
  318. data/vendor/node_modules/cliui/node_modules/is-fullwidth-code-point/license +0 -9
  319. data/vendor/node_modules/cliui/node_modules/is-fullwidth-code-point/package.json +0 -42
  320. data/vendor/node_modules/cliui/node_modules/is-fullwidth-code-point/readme.md +0 -39
  321. data/vendor/node_modules/cliui/node_modules/string-width/index.js +0 -47
  322. data/vendor/node_modules/cliui/node_modules/string-width/package.json +0 -56
  323. data/vendor/node_modules/cliui/node_modules/string-width/readme.md +0 -50
  324. data/vendor/node_modules/cliui/node_modules/strip-ansi/index.js +0 -4
  325. data/vendor/node_modules/cliui/node_modules/strip-ansi/package.json +0 -54
  326. data/vendor/node_modules/cliui/node_modules/strip-ansi/readme.md +0 -46
  327. data/vendor/node_modules/css-parse/Readme.md +0 -15
  328. data/vendor/node_modules/css-parse/index.js +0 -1
  329. data/vendor/node_modules/css-parse/package.json +0 -23
  330. data/vendor/node_modules/debug/CHANGELOG.md +0 -395
  331. data/vendor/node_modules/debug/Makefile +0 -58
  332. data/vendor/node_modules/debug/karma.conf.js +0 -70
  333. data/vendor/node_modules/debug/node.js +0 -1
  334. data/vendor/node_modules/debug/src/debug.js +0 -225
  335. data/vendor/node_modules/fsevents/README.md +0 -83
  336. data/vendor/node_modules/fsevents/fsevents.d.ts +0 -46
  337. data/vendor/node_modules/fsevents/fsevents.js +0 -82
  338. data/vendor/node_modules/fsevents/fsevents.node +0 -0
  339. data/vendor/node_modules/fsevents/package.json +0 -62
  340. data/vendor/node_modules/glob/changelog.md +0 -67
  341. data/vendor/node_modules/mkdirp/CHANGELOG.md +0 -15
  342. data/vendor/node_modules/mkdirp/bin/cmd.js +0 -68
  343. data/vendor/node_modules/mkdirp/index.js +0 -31
  344. data/vendor/node_modules/mkdirp/lib/find-made.js +0 -29
  345. data/vendor/node_modules/mkdirp/lib/mkdirp-manual.js +0 -64
  346. data/vendor/node_modules/mkdirp/lib/mkdirp-native.js +0 -39
  347. data/vendor/node_modules/mkdirp/lib/opts-arg.js +0 -23
  348. data/vendor/node_modules/mkdirp/lib/path-arg.js +0 -29
  349. data/vendor/node_modules/mkdirp/lib/use-native.js +0 -10
  350. data/vendor/node_modules/mkdirp/package.json +0 -44
  351. data/vendor/node_modules/mkdirp/readme.markdown +0 -266
  352. data/vendor/node_modules/mocha/CHANGELOG.md +0 -931
  353. data/vendor/node_modules/mocha/lib/esm-utils.js +0 -58
  354. data/vendor/node_modules/mocha/node_modules/glob/LICENSE +0 -21
  355. data/vendor/node_modules/mocha/node_modules/glob/README.md +0 -375
  356. data/vendor/node_modules/mocha/node_modules/glob/changelog.md +0 -67
  357. data/vendor/node_modules/mocha/node_modules/glob/common.js +0 -240
  358. data/vendor/node_modules/mocha/node_modules/glob/glob.js +0 -790
  359. data/vendor/node_modules/mocha/node_modules/glob/package.json +0 -46
  360. data/vendor/node_modules/mocha/node_modules/glob/sync.js +0 -486
  361. data/vendor/node_modules/nanoid/CHANGELOG.md +0 -241
  362. data/vendor/node_modules/nanoid/index.dev.js +0 -105
  363. data/vendor/node_modules/nanoid/index.prod.js +0 -105
  364. data/vendor/node_modules/resolve-url/bower.json +0 -15
  365. data/vendor/node_modules/resolve-url/changelog.md +0 -15
  366. data/vendor/node_modules/resolve-url/component.json +0 -15
  367. data/vendor/node_modules/resolve-url/package.json +0 -34
  368. data/vendor/node_modules/resolve-url/readme.md +0 -83
  369. data/vendor/node_modules/resolve-url/resolve-url.js +0 -47
  370. data/vendor/node_modules/resolve-url/test/resolve-url.js +0 -70
  371. data/vendor/node_modules/semver/CHANGELOG.md +0 -70
  372. data/vendor/node_modules/semver/README.md +0 -443
  373. data/vendor/node_modules/semver/bin/semver.js +0 -174
  374. data/vendor/node_modules/semver/package.json +0 -28
  375. data/vendor/node_modules/semver/range.bnf +0 -16
  376. data/vendor/node_modules/semver/semver.js +0 -1596
  377. data/vendor/node_modules/should/CONTRIBUTING.md +0 -14
  378. data/vendor/node_modules/should/History.md +0 -554
  379. data/vendor/node_modules/should/LICENSE +0 -20
  380. data/vendor/node_modules/should/Readme.md +0 -223
  381. data/vendor/node_modules/should/as-function.js +0 -2935
  382. data/vendor/node_modules/should/cjs/should.js +0 -2962
  383. data/vendor/node_modules/should/es6/should.js +0 -2958
  384. data/vendor/node_modules/should/package.json +0 -51
  385. data/vendor/node_modules/should/should.d.ts +0 -243
  386. data/vendor/node_modules/should/should.js +0 -4371
  387. data/vendor/node_modules/should-equal/LICENSE +0 -21
  388. data/vendor/node_modules/should-equal/README.md +0 -24
  389. data/vendor/node_modules/should-equal/cjs/should-equal.js +0 -333
  390. data/vendor/node_modules/should-equal/es6/should-equal.js +0 -329
  391. data/vendor/node_modules/should-equal/package.json +0 -38
  392. data/vendor/node_modules/should-format/README.md +0 -6
  393. data/vendor/node_modules/should-format/cjs/should-format.js +0 -532
  394. data/vendor/node_modules/should-format/es6/should-format.js +0 -528
  395. data/vendor/node_modules/should-format/package.json +0 -44
  396. data/vendor/node_modules/should-type/LICENSE +0 -22
  397. data/vendor/node_modules/should-type/README.md +0 -4
  398. data/vendor/node_modules/should-type/cjs/should-type.js +0 -263
  399. data/vendor/node_modules/should-type/es6/should-type.js +0 -261
  400. data/vendor/node_modules/should-type/package.json +0 -38
  401. data/vendor/node_modules/should-type-adaptors/README.md +0 -1
  402. data/vendor/node_modules/should-type-adaptors/cjs/should-type-adaptors.js +0 -288
  403. data/vendor/node_modules/should-type-adaptors/es6/should-type-adaptors.js +0 -272
  404. data/vendor/node_modules/should-type-adaptors/package.json +0 -43
  405. data/vendor/node_modules/should-util/LICENSE +0 -21
  406. data/vendor/node_modules/should-util/README.md +0 -2
  407. data/vendor/node_modules/should-util/cjs/should-util.js +0 -50
  408. data/vendor/node_modules/should-util/es6/should-util.js +0 -42
  409. data/vendor/node_modules/should-util/package.json +0 -40
  410. data/vendor/node_modules/source-map-resolve/lib/decode-uri-component.js +0 -8
  411. data/vendor/node_modules/source-map-resolve/lib/resolve-url.js +0 -9
  412. data/vendor/node_modules/source-map-resolve/source-map-resolve.js +0 -348
  413. data/vendor/node_modules/source-map-url/changelog.md +0 -57
  414. data/vendor/node_modules/source-map-url/package.json +0 -39
  415. data/vendor/node_modules/source-map-url/readme.md +0 -97
  416. data/vendor/node_modules/source-map-url/source-map-url.js +0 -57
  417. data/vendor/node_modules/urix/index.js +0 -17
  418. data/vendor/node_modules/urix/package.json +0 -25
  419. data/vendor/node_modules/urix/readme.md +0 -46
  420. data/vendor/node_modules/urix/test/index.js +0 -43
  421. data/vendor/node_modules/wide-align/LICENSE +0 -14
  422. data/vendor/node_modules/wide-align/README.md +0 -47
  423. data/vendor/node_modules/wide-align/align.js +0 -65
  424. data/vendor/node_modules/wide-align/package.json +0 -33
  425. data/vendor/node_modules/wrap-ansi/node_modules/ansi-regex/index.d.ts +0 -37
  426. data/vendor/node_modules/wrap-ansi/node_modules/ansi-regex/index.js +0 -10
  427. data/vendor/node_modules/wrap-ansi/node_modules/ansi-regex/license +0 -9
  428. data/vendor/node_modules/wrap-ansi/node_modules/ansi-regex/package.json +0 -55
  429. data/vendor/node_modules/wrap-ansi/node_modules/ansi-regex/readme.md +0 -78
  430. data/vendor/node_modules/wrap-ansi/node_modules/is-fullwidth-code-point/index.d.ts +0 -17
  431. data/vendor/node_modules/wrap-ansi/node_modules/is-fullwidth-code-point/index.js +0 -50
  432. data/vendor/node_modules/wrap-ansi/node_modules/is-fullwidth-code-point/license +0 -9
  433. data/vendor/node_modules/wrap-ansi/node_modules/is-fullwidth-code-point/package.json +0 -42
  434. data/vendor/node_modules/wrap-ansi/node_modules/is-fullwidth-code-point/readme.md +0 -39
  435. data/vendor/node_modules/wrap-ansi/node_modules/string-width/index.d.ts +0 -29
  436. data/vendor/node_modules/wrap-ansi/node_modules/string-width/index.js +0 -47
  437. data/vendor/node_modules/wrap-ansi/node_modules/string-width/license +0 -9
  438. data/vendor/node_modules/wrap-ansi/node_modules/string-width/package.json +0 -56
  439. data/vendor/node_modules/wrap-ansi/node_modules/string-width/readme.md +0 -50
  440. data/vendor/node_modules/wrap-ansi/node_modules/strip-ansi/index.d.ts +0 -17
  441. data/vendor/node_modules/wrap-ansi/node_modules/strip-ansi/index.js +0 -4
  442. data/vendor/node_modules/wrap-ansi/node_modules/strip-ansi/license +0 -9
  443. data/vendor/node_modules/wrap-ansi/node_modules/strip-ansi/package.json +0 -54
  444. data/vendor/node_modules/wrap-ansi/node_modules/strip-ansi/readme.md +0 -46
  445. data/vendor/node_modules/yargs/node_modules/ansi-regex/index.d.ts +0 -37
  446. data/vendor/node_modules/yargs/node_modules/ansi-regex/index.js +0 -10
  447. data/vendor/node_modules/yargs/node_modules/ansi-regex/license +0 -9
  448. data/vendor/node_modules/yargs/node_modules/ansi-regex/package.json +0 -55
  449. data/vendor/node_modules/yargs/node_modules/ansi-regex/readme.md +0 -78
  450. data/vendor/node_modules/yargs/node_modules/is-fullwidth-code-point/index.d.ts +0 -17
  451. data/vendor/node_modules/yargs/node_modules/is-fullwidth-code-point/index.js +0 -50
  452. data/vendor/node_modules/yargs/node_modules/is-fullwidth-code-point/license +0 -9
  453. data/vendor/node_modules/yargs/node_modules/is-fullwidth-code-point/package.json +0 -42
  454. data/vendor/node_modules/yargs/node_modules/is-fullwidth-code-point/readme.md +0 -39
  455. data/vendor/node_modules/yargs/node_modules/string-width/index.d.ts +0 -29
  456. data/vendor/node_modules/yargs/node_modules/string-width/index.js +0 -47
  457. data/vendor/node_modules/yargs/node_modules/string-width/license +0 -9
  458. data/vendor/node_modules/yargs/node_modules/string-width/package.json +0 -56
  459. data/vendor/node_modules/yargs/node_modules/string-width/readme.md +0 -50
  460. data/vendor/node_modules/yargs/node_modules/strip-ansi/index.d.ts +0 -17
  461. data/vendor/node_modules/yargs/node_modules/strip-ansi/index.js +0 -4
  462. data/vendor/node_modules/yargs/node_modules/strip-ansi/license +0 -9
  463. data/vendor/node_modules/yargs/node_modules/strip-ansi/package.json +0 -54
  464. data/vendor/node_modules/yargs/node_modules/strip-ansi/readme.md +0 -46
  465. data/vendor/test.js +0 -31
@@ -1,58 +0,0 @@
1
- const path = require('path');
2
- const url = require('url');
3
-
4
- const formattedImport = async file => {
5
- if (path.isAbsolute(file)) {
6
- try {
7
- return await import(url.pathToFileURL(file));
8
- } catch (err) {
9
- // This is a hack created because ESM in Node.js (at least in Node v15.5.1) does not emit
10
- // the location of the syntax error in the error thrown.
11
- // This is problematic because the user can't see what file has the problem,
12
- // so we add the file location to the error.
13
- // This `if` should be removed once Node.js fixes the problem.
14
- if (
15
- err instanceof SyntaxError &&
16
- err.message &&
17
- err.stack &&
18
- !err.stack.includes(file)
19
- ) {
20
- const newErrorWithFilename = new SyntaxError(err.message);
21
- newErrorWithFilename.stack = err.stack.replace(
22
- /^SyntaxError/,
23
- `SyntaxError[ @${file} ]`
24
- );
25
- throw newErrorWithFilename;
26
- }
27
- throw err;
28
- }
29
- }
30
- return import(file);
31
- };
32
-
33
- exports.requireOrImport = async file => {
34
- if (path.extname(file) === '.mjs') {
35
- return formattedImport(file);
36
- }
37
- // This is currently the only known way of figuring out whether a file is CJS or ESM.
38
- // If Node.js or the community establish a better procedure for that, we can fix this code.
39
- // Another option here would be to always use `import()`, as this also supports CJS, but I would be
40
- // wary of using it for _all_ existing test files, till ESM is fully stable.
41
- try {
42
- return require(file);
43
- } catch (err) {
44
- if (err.code === 'ERR_REQUIRE_ESM') {
45
- return formattedImport(file);
46
- } else {
47
- throw err;
48
- }
49
- }
50
- };
51
-
52
- exports.loadFilesAsync = async (files, preLoadFunc, postLoadFunc) => {
53
- for (const file of files) {
54
- preLoadFunc(file);
55
- const result = await exports.requireOrImport(path.resolve(file));
56
- postLoadFunc(file, result);
57
- }
58
- };
@@ -1,21 +0,0 @@
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.
16
-
17
- ## Glob Logo
18
-
19
- Glob's logo created by Tanya Brassie <http://tanyabrassie.com/>, licensed
20
- under a Creative Commons Attribution-ShareAlike 4.0 International License
21
- https://creativecommons.org/licenses/by-sa/4.0/
@@ -1,375 +0,0 @@
1
- # Glob
2
-
3
- Match files using the patterns the shell uses, like stars and stuff.
4
-
5
- [![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)
6
-
7
- This is a glob implementation in JavaScript. It uses the `minimatch`
8
- library to do its matching.
9
-
10
- ![](logo/glob.png)
11
-
12
- ## Usage
13
-
14
- Install with npm
15
-
16
- ```
17
- npm i glob
18
- ```
19
-
20
- ```javascript
21
- var glob = require("glob")
22
-
23
- // options is optional
24
- glob("**/*.js", options, function (er, files) {
25
- // files is an array of filenames.
26
- // If the `nonull` option is set, and nothing
27
- // was found, then files is ["**/*.js"]
28
- // er is an error object or null.
29
- })
30
- ```
31
-
32
- ## Glob Primer
33
-
34
- "Globs" are the patterns you type when you do stuff like `ls *.js` on
35
- the command line, or put `build/*` in a `.gitignore` file.
36
-
37
- Before parsing the path part patterns, braced sections are expanded
38
- into a set. Braced sections start with `{` and end with `}`, with any
39
- number of comma-delimited sections within. Braced sections may contain
40
- slash characters, so `a{/b/c,bcd}` would expand into `a/b/c` and `abcd`.
41
-
42
- The following characters have special magic meaning when used in a
43
- path portion:
44
-
45
- * `*` Matches 0 or more characters in a single path portion
46
- * `?` Matches 1 character
47
- * `[...]` Matches a range of characters, similar to a RegExp range.
48
- If the first character of the range is `!` or `^` then it matches
49
- any character not in the range.
50
- * `!(pattern|pattern|pattern)` Matches anything that does not match
51
- any of the patterns provided.
52
- * `?(pattern|pattern|pattern)` Matches zero or one occurrence of the
53
- patterns provided.
54
- * `+(pattern|pattern|pattern)` Matches one or more occurrences of the
55
- patterns provided.
56
- * `*(a|b|c)` Matches zero or more occurrences of the patterns provided
57
- * `@(pattern|pat*|pat?erN)` Matches exactly one of the patterns
58
- provided
59
- * `**` If a "globstar" is alone in a path portion, then it matches
60
- zero or more directories and subdirectories searching for matches.
61
- It does not crawl symlinked directories.
62
-
63
- ### Dots
64
-
65
- If a file or directory path portion has a `.` as the first character,
66
- then it will not match any glob pattern unless that pattern's
67
- corresponding path part also has a `.` as its first character.
68
-
69
- For example, the pattern `a/.*/c` would match the file at `a/.b/c`.
70
- However the pattern `a/*/c` would not, because `*` does not start with
71
- a dot character.
72
-
73
- You can make glob treat dots as normal characters by setting
74
- `dot:true` in the options.
75
-
76
- ### Basename Matching
77
-
78
- If you set `matchBase:true` in the options, and the pattern has no
79
- slashes in it, then it will seek for any file anywhere in the tree
80
- with a matching basename. For example, `*.js` would match
81
- `test/simple/basic.js`.
82
-
83
- ### Empty Sets
84
-
85
- If no matching files are found, then an empty array is returned. This
86
- differs from the shell, where the pattern itself is returned. For
87
- example:
88
-
89
- $ echo a*s*d*f
90
- a*s*d*f
91
-
92
- To get the bash-style behavior, set the `nonull:true` in the options.
93
-
94
- ### See Also:
95
-
96
- * `man sh`
97
- * `man bash` (Search for "Pattern Matching")
98
- * `man 3 fnmatch`
99
- * `man 5 gitignore`
100
- * [minimatch documentation](https://github.com/isaacs/minimatch)
101
-
102
- ## glob.hasMagic(pattern, [options])
103
-
104
- Returns `true` if there are any special characters in the pattern, and
105
- `false` otherwise.
106
-
107
- Note that the options affect the results. If `noext:true` is set in
108
- the options object, then `+(a|b)` will not be considered a magic
109
- pattern. If the pattern has a brace expansion, like `a/{b/c,x/y}`
110
- then that is considered magical, unless `nobrace:true` is set in the
111
- options.
112
-
113
- ## glob(pattern, [options], cb)
114
-
115
- * `pattern` `{String}` Pattern to be matched
116
- * `options` `{Object}`
117
- * `cb` `{Function}`
118
- * `err` `{Error | null}`
119
- * `matches` `{Array<String>}` filenames found matching the pattern
120
-
121
- Perform an asynchronous glob search.
122
-
123
- ## glob.sync(pattern, [options])
124
-
125
- * `pattern` `{String}` Pattern to be matched
126
- * `options` `{Object}`
127
- * return: `{Array<String>}` filenames found matching the pattern
128
-
129
- Perform a synchronous glob search.
130
-
131
- ## Class: glob.Glob
132
-
133
- Create a Glob object by instantiating the `glob.Glob` class.
134
-
135
- ```javascript
136
- var Glob = require("glob").Glob
137
- var mg = new Glob(pattern, options, cb)
138
- ```
139
-
140
- It's an EventEmitter, and starts walking the filesystem to find matches
141
- immediately.
142
-
143
- ### new glob.Glob(pattern, [options], [cb])
144
-
145
- * `pattern` `{String}` pattern to search for
146
- * `options` `{Object}`
147
- * `cb` `{Function}` Called when an error occurs, or matches are found
148
- * `err` `{Error | null}`
149
- * `matches` `{Array<String>}` filenames found matching the pattern
150
-
151
- Note that if the `sync` flag is set in the options, then matches will
152
- be immediately available on the `g.found` member.
153
-
154
- ### Properties
155
-
156
- * `minimatch` The minimatch object that the glob uses.
157
- * `options` The options object passed in.
158
- * `aborted` Boolean which is set to true when calling `abort()`. There
159
- is no way at this time to continue a glob search after aborting, but
160
- you can re-use the statCache to avoid having to duplicate syscalls.
161
- * `cache` Convenience object. Each field has the following possible
162
- values:
163
- * `false` - Path does not exist
164
- * `true` - Path exists
165
- * `'FILE'` - Path exists, and is not a directory
166
- * `'DIR'` - Path exists, and is a directory
167
- * `[file, entries, ...]` - Path exists, is a directory, and the
168
- array value is the results of `fs.readdir`
169
- * `statCache` Cache of `fs.stat` results, to prevent statting the same
170
- path multiple times.
171
- * `symlinks` A record of which paths are symbolic links, which is
172
- relevant in resolving `**` patterns.
173
- * `realpathCache` An optional object which is passed to `fs.realpath`
174
- to minimize unnecessary syscalls. It is stored on the instantiated
175
- Glob object, and may be re-used.
176
-
177
- ### Events
178
-
179
- * `end` When the matching is finished, this is emitted with all the
180
- matches found. If the `nonull` option is set, and no match was found,
181
- then the `matches` list contains the original pattern. The matches
182
- are sorted, unless the `nosort` flag is set.
183
- * `match` Every time a match is found, this is emitted with the specific
184
- thing that matched. It is not deduplicated or resolved to a realpath.
185
- * `error` Emitted when an unexpected error is encountered, or whenever
186
- any fs error occurs if `options.strict` is set.
187
- * `abort` When `abort()` is called, this event is raised.
188
-
189
- ### Methods
190
-
191
- * `pause` Temporarily stop the search
192
- * `resume` Resume the search
193
- * `abort` Stop the search forever
194
-
195
- ### Options
196
-
197
- All the options that can be passed to Minimatch can also be passed to
198
- Glob to change pattern matching behavior. Also, some have been added,
199
- or have glob-specific ramifications.
200
-
201
- All options are false by default, unless otherwise noted.
202
-
203
- All options are added to the Glob object, as well.
204
-
205
- If you are running many `glob` operations, you can pass a Glob object
206
- as the `options` argument to a subsequent operation to shortcut some
207
- `stat` and `readdir` calls. At the very least, you may pass in shared
208
- `symlinks`, `statCache`, `realpathCache`, and `cache` options, so that
209
- parallel glob operations will be sped up by sharing information about
210
- the filesystem.
211
-
212
- * `cwd` The current working directory in which to search. Defaults
213
- to `process.cwd()`.
214
- * `root` The place where patterns starting with `/` will be mounted
215
- onto. Defaults to `path.resolve(options.cwd, "/")` (`/` on Unix
216
- systems, and `C:\` or some such on Windows.)
217
- * `dot` Include `.dot` files in normal matches and `globstar` matches.
218
- Note that an explicit dot in a portion of the pattern will always
219
- match dot files.
220
- * `nomount` By default, a pattern starting with a forward-slash will be
221
- "mounted" onto the root setting, so that a valid filesystem path is
222
- returned. Set this flag to disable that behavior.
223
- * `mark` Add a `/` character to directory matches. Note that this
224
- requires additional stat calls.
225
- * `nosort` Don't sort the results.
226
- * `stat` Set to true to stat *all* results. This reduces performance
227
- somewhat, and is completely unnecessary, unless `readdir` is presumed
228
- to be an untrustworthy indicator of file existence.
229
- * `silent` When an unusual error is encountered when attempting to
230
- read a directory, a warning will be printed to stderr. Set the
231
- `silent` option to true to suppress these warnings.
232
- * `strict` When an unusual error is encountered when attempting to
233
- read a directory, the process will just continue on in search of
234
- other matches. Set the `strict` option to raise an error in these
235
- cases.
236
- * `cache` See `cache` property above. Pass in a previously generated
237
- cache object to save some fs calls.
238
- * `statCache` A cache of results of filesystem information, to prevent
239
- unnecessary stat calls. While it should not normally be necessary
240
- to set this, you may pass the statCache from one glob() call to the
241
- options object of another, if you know that the filesystem will not
242
- change between calls. (See "Race Conditions" below.)
243
- * `symlinks` A cache of known symbolic links. You may pass in a
244
- previously generated `symlinks` object to save `lstat` calls when
245
- resolving `**` matches.
246
- * `sync` DEPRECATED: use `glob.sync(pattern, opts)` instead.
247
- * `nounique` In some cases, brace-expanded patterns can result in the
248
- same file showing up multiple times in the result set. By default,
249
- this implementation prevents duplicates in the result set. Set this
250
- flag to disable that behavior.
251
- * `nonull` Set to never return an empty set, instead returning a set
252
- containing the pattern itself. This is the default in glob(3).
253
- * `debug` Set to enable debug logging in minimatch and glob.
254
- * `nobrace` Do not expand `{a,b}` and `{1..3}` brace sets.
255
- * `noglobstar` Do not match `**` against multiple filenames. (Ie,
256
- treat it as a normal `*` instead.)
257
- * `noext` Do not match `+(a|b)` "extglob" patterns.
258
- * `nocase` Perform a case-insensitive match. Note: on
259
- case-insensitive filesystems, non-magic patterns will match by
260
- default, since `stat` and `readdir` will not raise errors.
261
- * `matchBase` Perform a basename-only match if the pattern does not
262
- contain any slash characters. That is, `*.js` would be treated as
263
- equivalent to `**/*.js`, matching all js files in all directories.
264
- * `nodir` Do not match directories, only files. (Note: to match
265
- *only* directories, simply put a `/` at the end of the pattern.)
266
- * `ignore` Add a pattern or an array of glob patterns to exclude matches.
267
- Note: `ignore` patterns are *always* in `dot:true` mode, regardless
268
- of any other settings.
269
- * `follow` Follow symlinked directories when expanding `**` patterns.
270
- Note that this can result in a lot of duplicate references in the
271
- presence of cyclic links.
272
- * `realpath` Set to true to call `fs.realpath` on all of the results.
273
- In the case of a symlink that cannot be resolved, the full absolute
274
- path to the matched entry is returned (though it will usually be a
275
- broken symlink)
276
- * `absolute` Set to true to always receive absolute paths for matched
277
- files. Unlike `realpath`, this also affects the values returned in
278
- the `match` event.
279
-
280
- ## Comparisons to other fnmatch/glob implementations
281
-
282
- While strict compliance with the existing standards is a worthwhile
283
- goal, some discrepancies exist between node-glob and other
284
- implementations, and are intentional.
285
-
286
- The double-star character `**` is supported by default, unless the
287
- `noglobstar` flag is set. This is supported in the manner of bsdglob
288
- and bash 4.3, where `**` only has special significance if it is the only
289
- thing in a path part. That is, `a/**/b` will match `a/x/y/b`, but
290
- `a/**b` will not.
291
-
292
- Note that symlinked directories are not crawled as part of a `**`,
293
- though their contents may match against subsequent portions of the
294
- pattern. This prevents infinite loops and duplicates and the like.
295
-
296
- If an escaped pattern has no matches, and the `nonull` flag is set,
297
- then glob returns the pattern as-provided, rather than
298
- interpreting the character escapes. For example,
299
- `glob.match([], "\\*a\\?")` will return `"\\*a\\?"` rather than
300
- `"*a?"`. This is akin to setting the `nullglob` option in bash, except
301
- that it does not resolve escaped pattern characters.
302
-
303
- If brace expansion is not disabled, then it is performed before any
304
- other interpretation of the glob pattern. Thus, a pattern like
305
- `+(a|{b),c)}`, which would not be valid in bash or zsh, is expanded
306
- **first** into the set of `+(a|b)` and `+(a|c)`, and those patterns are
307
- checked for validity. Since those two are valid, matching proceeds.
308
-
309
- ### Comments and Negation
310
-
311
- Previously, this module let you mark a pattern as a "comment" if it
312
- started with a `#` character, or a "negated" pattern if it started
313
- with a `!` character.
314
-
315
- These options were deprecated in version 5, and removed in version 6.
316
-
317
- To specify things that should not match, use the `ignore` option.
318
-
319
- ## Windows
320
-
321
- **Please only use forward-slashes in glob expressions.**
322
-
323
- Though windows uses either `/` or `\` as its path separator, only `/`
324
- characters are used by this glob implementation. You must use
325
- forward-slashes **only** in glob expressions. Back-slashes will always
326
- be interpreted as escape characters, not path separators.
327
-
328
- Results from absolute patterns such as `/foo/*` are mounted onto the
329
- root setting using `path.join`. On windows, this will by default result
330
- in `/foo/*` matching `C:\foo\bar.txt`.
331
-
332
- ## Race Conditions
333
-
334
- Glob searching, by its very nature, is susceptible to race conditions,
335
- since it relies on directory walking and such.
336
-
337
- As a result, it is possible that a file that exists when glob looks for
338
- it may have been deleted or modified by the time it returns the result.
339
-
340
- As part of its internal implementation, this program caches all stat
341
- and readdir calls that it makes, in order to cut down on system
342
- overhead. However, this also makes it even more susceptible to races,
343
- especially if the cache or statCache objects are reused between glob
344
- calls.
345
-
346
- Users are thus advised not to use a glob result as a guarantee of
347
- filesystem state in the face of rapid changes. For the vast majority
348
- of operations, this is never a problem.
349
-
350
- ## Glob Logo
351
- Glob's logo was created by [Tanya Brassie](http://tanyabrassie.com/). Logo files can be found [here](https://github.com/isaacs/node-glob/tree/master/logo).
352
-
353
- The logo is licensed under a [Creative Commons Attribution-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-sa/4.0/).
354
-
355
- ## Contributing
356
-
357
- Any change to behavior (including bugfixes) must come with a test.
358
-
359
- Patches that fail tests or reduce performance will be rejected.
360
-
361
- ```
362
- # to run tests
363
- npm test
364
-
365
- # to re-generate test fixtures
366
- npm run test-regen
367
-
368
- # to benchmark against bash/zsh
369
- npm run bench
370
-
371
- # to profile javascript
372
- npm run prof
373
- ```
374
-
375
- ![](oh-my-glob.gif)
@@ -1,67 +0,0 @@
1
- ## 7.0
2
-
3
- - Raise error if `options.cwd` is specified, and not a directory
4
-
5
- ## 6.0
6
-
7
- - Remove comment and negation pattern support
8
- - Ignore patterns are always in `dot:true` mode
9
-
10
- ## 5.0
11
-
12
- - Deprecate comment and negation patterns
13
- - Fix regression in `mark` and `nodir` options from making all cache
14
- keys absolute path.
15
- - Abort if `fs.readdir` returns an error that's unexpected
16
- - Don't emit `match` events for ignored items
17
- - Treat ENOTSUP like ENOTDIR in readdir
18
-
19
- ## 4.5
20
-
21
- - Add `options.follow` to always follow directory symlinks in globstar
22
- - Add `options.realpath` to call `fs.realpath` on all results
23
- - Always cache based on absolute path
24
-
25
- ## 4.4
26
-
27
- - Add `options.ignore`
28
- - Fix handling of broken symlinks
29
-
30
- ## 4.3
31
-
32
- - Bump minimatch to 2.x
33
- - Pass all tests on Windows
34
-
35
- ## 4.2
36
-
37
- - Add `glob.hasMagic` function
38
- - Add `options.nodir` flag
39
-
40
- ## 4.1
41
-
42
- - Refactor sync and async implementations for performance
43
- - Throw if callback provided to sync glob function
44
- - Treat symbolic links in globstar results the same as Bash 4.3
45
-
46
- ## 4.0
47
-
48
- - Use `^` for dependency versions (bumped major because this breaks
49
- older npm versions)
50
- - Ensure callbacks are only ever called once
51
- - switch to ISC license
52
-
53
- ## 3.x
54
-
55
- - Rewrite in JavaScript
56
- - Add support for setting root, cwd, and windows support
57
- - Cache many fs calls
58
- - Add globstar support
59
- - emit match events
60
-
61
- ## 2.x
62
-
63
- - Use `glob.h` and `fnmatch.h` from NetBSD
64
-
65
- ## 1.x
66
-
67
- - `glob.h` static binding.