porffor 0.1.0 → 0.2.0-77e30e8

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.
Files changed (658) hide show
  1. package/README.md +184 -204
  2. package/compiler/2c.js +377 -0
  3. package/compiler/builtins/base64.js +91 -91
  4. package/compiler/builtins.js +19 -13
  5. package/compiler/codeGen.js +1313 -418
  6. package/compiler/decompile.js +35 -9
  7. package/compiler/embedding.js +9 -5
  8. package/compiler/encoding.js +8 -2
  9. package/compiler/index.js +55 -17
  10. package/compiler/log.js +15 -0
  11. package/compiler/opt.js +357 -258
  12. package/compiler/parse.js +24 -1
  13. package/compiler/prototype.js +263 -56
  14. package/compiler/sections.js +51 -8
  15. package/compiler/wasmSpec.js +3 -0
  16. package/compiler/wrap.js +21 -7
  17. package/package.json +6 -1
  18. package/porf.cmd +1 -1
  19. package/rhemyn/README.md +37 -0
  20. package/rhemyn/compile.js +214 -0
  21. package/rhemyn/parse.js +321 -0
  22. package/rhemyn/test/parse.js +59 -0
  23. package/runner/index.js +54 -31
  24. package/runner/info.js +37 -2
  25. package/runner/profile.js +1 -2
  26. package/runner/repl.js +13 -11
  27. package/runner/results.json +1 -0
  28. package/runner/transform.js +15 -36
  29. package/runner/version.js +10 -0
  30. package/CNAME +0 -1
  31. package/index.html +0 -1264
  32. package/logo.png +0 -0
  33. package/sw.js +0 -26
  34. package/test/array_1.js +0 -8
  35. package/test/array_push.js +0 -8
  36. package/test/assignop_1.js +0 -15
  37. package/test/bitwise_1.js +0 -6
  38. package/test/bool_1.js +0 -3
  39. package/test/boolean.js +0 -6
  40. package/test/break_1.js +0 -6
  41. package/test/break_2.js +0 -12
  42. package/test/conditional_1.js +0 -3
  43. package/test/conditional_2.js +0 -4
  44. package/test/console_1.js +0 -2
  45. package/test/continue_1.js +0 -6
  46. package/test/continue_2.js +0 -10
  47. package/test/empty.js +0 -1
  48. package/test/ending_exp_1.js +0 -2
  49. package/test/ending_exp_2.js +0 -6
  50. package/test/eq_1.js +0 -4
  51. package/test/eq_2.js +0 -4
  52. package/test/eq_3.js +0 -5
  53. package/test/export_1.js +0 -9
  54. package/test/factorial.js +0 -3
  55. package/test/fibonacci.js +0 -16
  56. package/test/float_div0.js +0 -2
  57. package/test/float_frac.js +0 -2
  58. package/test/float_isfinite.js +0 -29
  59. package/test/float_isinteger.js +0 -13
  60. package/test/float_isnan.js +0 -20
  61. package/test/float_issafeinteger.js +0 -11
  62. package/test/float_large.js +0 -2
  63. package/test/float_math_funcs.js +0 -24
  64. package/test/float_math_random.js +0 -6
  65. package/test/float_nan.js +0 -3
  66. package/test/float_number_values.js +0 -12
  67. package/test/for_1.js +0 -4
  68. package/test/for_2.js +0 -4
  69. package/test/func_1.js +0 -16
  70. package/test/func_2.js +0 -6
  71. package/test/func_3.js +0 -10
  72. package/test/global_1.js +0 -8
  73. package/test/global_2.js +0 -10
  74. package/test/if_1.js +0 -6
  75. package/test/if_2.js +0 -9
  76. package/test/if_3.js +0 -7
  77. package/test/iife_1.js +0 -8
  78. package/test/iife_2.js +0 -8
  79. package/test/index.js +0 -93
  80. package/test/int_number_values.js +0 -6
  81. package/test/logic_1.js +0 -7
  82. package/test/logic_2.js +0 -7
  83. package/test/math_1.js +0 -6
  84. package/test/math_2.js +0 -12
  85. package/test/math_3.js +0 -6
  86. package/test/number_func.js +0 -4
  87. package/test/return_1.js +0 -8
  88. package/test/return_2.js +0 -11
  89. package/test/tailcall_1.js +0 -10
  90. package/test/throw_1.js +0 -2
  91. package/test/throw_2.js +0 -4
  92. package/test/throw_3.js +0 -2
  93. package/test/throw_4.js +0 -3
  94. package/test/try_1.js +0 -7
  95. package/test/unary_1.js +0 -4
  96. package/test/unary_2.js +0 -5
  97. package/test/unary_3.js +0 -6
  98. package/test/unary_4.js +0 -12
  99. package/test/unary_5.js +0 -8
  100. package/test/undefined_1.js +0 -8
  101. package/test/undefined_2.js +0 -10
  102. package/test/updateexp_1.js +0 -9
  103. package/test/vars_1.js +0 -5
  104. package/test/vars_2.js +0 -9
  105. package/test/while_1.js +0 -6
  106. package/test262/compare.js +0 -30
  107. package/test262/index.js +0 -314
  108. package/test262/node_modules/.bin/esparse +0 -12
  109. package/test262/node_modules/.bin/esparse.cmd +0 -17
  110. package/test262/node_modules/.bin/esparse.ps1 +0 -28
  111. package/test262/node_modules/.bin/esvalidate +0 -12
  112. package/test262/node_modules/.bin/esvalidate.cmd +0 -17
  113. package/test262/node_modules/.bin/esvalidate.ps1 +0 -28
  114. package/test262/node_modules/.bin/js-yaml +0 -12
  115. package/test262/node_modules/.bin/js-yaml.cmd +0 -17
  116. package/test262/node_modules/.bin/js-yaml.ps1 +0 -28
  117. package/test262/node_modules/.package-lock.json +0 -0
  118. package/test262/node_modules/@nodelib/fs.scandir/LICENSE +0 -21
  119. package/test262/node_modules/@nodelib/fs.scandir/README.md +0 -171
  120. package/test262/node_modules/@nodelib/fs.scandir/out/adapters/fs.d.ts +0 -20
  121. package/test262/node_modules/@nodelib/fs.scandir/out/adapters/fs.js +0 -19
  122. package/test262/node_modules/@nodelib/fs.scandir/out/constants.d.ts +0 -4
  123. package/test262/node_modules/@nodelib/fs.scandir/out/constants.js +0 -17
  124. package/test262/node_modules/@nodelib/fs.scandir/out/index.d.ts +0 -12
  125. package/test262/node_modules/@nodelib/fs.scandir/out/index.js +0 -26
  126. package/test262/node_modules/@nodelib/fs.scandir/out/providers/async.d.ts +0 -7
  127. package/test262/node_modules/@nodelib/fs.scandir/out/providers/async.js +0 -104
  128. package/test262/node_modules/@nodelib/fs.scandir/out/providers/common.d.ts +0 -1
  129. package/test262/node_modules/@nodelib/fs.scandir/out/providers/common.js +0 -13
  130. package/test262/node_modules/@nodelib/fs.scandir/out/providers/sync.d.ts +0 -5
  131. package/test262/node_modules/@nodelib/fs.scandir/out/providers/sync.js +0 -54
  132. package/test262/node_modules/@nodelib/fs.scandir/out/settings.d.ts +0 -20
  133. package/test262/node_modules/@nodelib/fs.scandir/out/settings.js +0 -24
  134. package/test262/node_modules/@nodelib/fs.scandir/out/types/index.d.ts +0 -20
  135. package/test262/node_modules/@nodelib/fs.scandir/out/types/index.js +0 -2
  136. package/test262/node_modules/@nodelib/fs.scandir/out/utils/fs.d.ts +0 -2
  137. package/test262/node_modules/@nodelib/fs.scandir/out/utils/fs.js +0 -19
  138. package/test262/node_modules/@nodelib/fs.scandir/out/utils/index.d.ts +0 -2
  139. package/test262/node_modules/@nodelib/fs.scandir/out/utils/index.js +0 -5
  140. package/test262/node_modules/@nodelib/fs.scandir/package.json +0 -44
  141. package/test262/node_modules/@nodelib/fs.stat/LICENSE +0 -21
  142. package/test262/node_modules/@nodelib/fs.stat/README.md +0 -126
  143. package/test262/node_modules/@nodelib/fs.stat/out/adapters/fs.d.ts +0 -13
  144. package/test262/node_modules/@nodelib/fs.stat/out/adapters/fs.js +0 -17
  145. package/test262/node_modules/@nodelib/fs.stat/out/index.d.ts +0 -12
  146. package/test262/node_modules/@nodelib/fs.stat/out/index.js +0 -26
  147. package/test262/node_modules/@nodelib/fs.stat/out/providers/async.d.ts +0 -4
  148. package/test262/node_modules/@nodelib/fs.stat/out/providers/async.js +0 -36
  149. package/test262/node_modules/@nodelib/fs.stat/out/providers/sync.d.ts +0 -3
  150. package/test262/node_modules/@nodelib/fs.stat/out/providers/sync.js +0 -23
  151. package/test262/node_modules/@nodelib/fs.stat/out/settings.d.ts +0 -16
  152. package/test262/node_modules/@nodelib/fs.stat/out/settings.js +0 -16
  153. package/test262/node_modules/@nodelib/fs.stat/out/types/index.d.ts +0 -4
  154. package/test262/node_modules/@nodelib/fs.stat/out/types/index.js +0 -2
  155. package/test262/node_modules/@nodelib/fs.stat/package.json +0 -37
  156. package/test262/node_modules/@nodelib/fs.walk/LICENSE +0 -21
  157. package/test262/node_modules/@nodelib/fs.walk/README.md +0 -215
  158. package/test262/node_modules/@nodelib/fs.walk/out/index.d.ts +0 -14
  159. package/test262/node_modules/@nodelib/fs.walk/out/index.js +0 -34
  160. package/test262/node_modules/@nodelib/fs.walk/out/providers/async.d.ts +0 -12
  161. package/test262/node_modules/@nodelib/fs.walk/out/providers/async.js +0 -30
  162. package/test262/node_modules/@nodelib/fs.walk/out/providers/index.d.ts +0 -4
  163. package/test262/node_modules/@nodelib/fs.walk/out/providers/index.js +0 -9
  164. package/test262/node_modules/@nodelib/fs.walk/out/providers/stream.d.ts +0 -12
  165. package/test262/node_modules/@nodelib/fs.walk/out/providers/stream.js +0 -34
  166. package/test262/node_modules/@nodelib/fs.walk/out/providers/sync.d.ts +0 -10
  167. package/test262/node_modules/@nodelib/fs.walk/out/providers/sync.js +0 -14
  168. package/test262/node_modules/@nodelib/fs.walk/out/readers/async.d.ts +0 -30
  169. package/test262/node_modules/@nodelib/fs.walk/out/readers/async.js +0 -97
  170. package/test262/node_modules/@nodelib/fs.walk/out/readers/common.d.ts +0 -7
  171. package/test262/node_modules/@nodelib/fs.walk/out/readers/common.js +0 -31
  172. package/test262/node_modules/@nodelib/fs.walk/out/readers/reader.d.ts +0 -6
  173. package/test262/node_modules/@nodelib/fs.walk/out/readers/reader.js +0 -11
  174. package/test262/node_modules/@nodelib/fs.walk/out/readers/sync.d.ts +0 -15
  175. package/test262/node_modules/@nodelib/fs.walk/out/readers/sync.js +0 -59
  176. package/test262/node_modules/@nodelib/fs.walk/out/settings.d.ts +0 -30
  177. package/test262/node_modules/@nodelib/fs.walk/out/settings.js +0 -26
  178. package/test262/node_modules/@nodelib/fs.walk/out/types/index.d.ts +0 -8
  179. package/test262/node_modules/@nodelib/fs.walk/out/types/index.js +0 -2
  180. package/test262/node_modules/@nodelib/fs.walk/package.json +0 -44
  181. package/test262/node_modules/argparse/CHANGELOG.md +0 -185
  182. package/test262/node_modules/argparse/LICENSE +0 -21
  183. package/test262/node_modules/argparse/README.md +0 -257
  184. package/test262/node_modules/argparse/index.js +0 -3
  185. package/test262/node_modules/argparse/lib/action/append/constant.js +0 -47
  186. package/test262/node_modules/argparse/lib/action/append.js +0 -53
  187. package/test262/node_modules/argparse/lib/action/count.js +0 -40
  188. package/test262/node_modules/argparse/lib/action/help.js +0 -47
  189. package/test262/node_modules/argparse/lib/action/store/constant.js +0 -43
  190. package/test262/node_modules/argparse/lib/action/store/false.js +0 -27
  191. package/test262/node_modules/argparse/lib/action/store/true.js +0 -26
  192. package/test262/node_modules/argparse/lib/action/store.js +0 -50
  193. package/test262/node_modules/argparse/lib/action/subparsers.js +0 -149
  194. package/test262/node_modules/argparse/lib/action/version.js +0 -47
  195. package/test262/node_modules/argparse/lib/action.js +0 -146
  196. package/test262/node_modules/argparse/lib/action_container.js +0 -482
  197. package/test262/node_modules/argparse/lib/argparse.js +0 -14
  198. package/test262/node_modules/argparse/lib/argument/error.js +0 -50
  199. package/test262/node_modules/argparse/lib/argument/exclusive.js +0 -54
  200. package/test262/node_modules/argparse/lib/argument/group.js +0 -75
  201. package/test262/node_modules/argparse/lib/argument_parser.js +0 -1161
  202. package/test262/node_modules/argparse/lib/const.js +0 -21
  203. package/test262/node_modules/argparse/lib/help/added_formatters.js +0 -87
  204. package/test262/node_modules/argparse/lib/help/formatter.js +0 -795
  205. package/test262/node_modules/argparse/lib/namespace.js +0 -76
  206. package/test262/node_modules/argparse/lib/utils.js +0 -57
  207. package/test262/node_modules/argparse/package.json +0 -34
  208. package/test262/node_modules/braces/CHANGELOG.md +0 -184
  209. package/test262/node_modules/braces/LICENSE +0 -21
  210. package/test262/node_modules/braces/README.md +0 -593
  211. package/test262/node_modules/braces/index.js +0 -170
  212. package/test262/node_modules/braces/lib/compile.js +0 -57
  213. package/test262/node_modules/braces/lib/constants.js +0 -57
  214. package/test262/node_modules/braces/lib/expand.js +0 -113
  215. package/test262/node_modules/braces/lib/parse.js +0 -333
  216. package/test262/node_modules/braces/lib/stringify.js +0 -32
  217. package/test262/node_modules/braces/lib/utils.js +0 -112
  218. package/test262/node_modules/braces/package.json +0 -77
  219. package/test262/node_modules/esprima/ChangeLog +0 -235
  220. package/test262/node_modules/esprima/LICENSE.BSD +0 -21
  221. package/test262/node_modules/esprima/README.md +0 -46
  222. package/test262/node_modules/esprima/bin/esparse.js +0 -139
  223. package/test262/node_modules/esprima/bin/esvalidate.js +0 -236
  224. package/test262/node_modules/esprima/dist/esprima.js +0 -6709
  225. package/test262/node_modules/esprima/package.json +0 -112
  226. package/test262/node_modules/fast-glob/LICENSE +0 -21
  227. package/test262/node_modules/fast-glob/README.md +0 -859
  228. package/test262/node_modules/fast-glob/out/index.d.ts +0 -40
  229. package/test262/node_modules/fast-glob/out/index.js +0 -102
  230. package/test262/node_modules/fast-glob/out/managers/tasks.d.ts +0 -22
  231. package/test262/node_modules/fast-glob/out/managers/tasks.js +0 -110
  232. package/test262/node_modules/fast-glob/out/providers/async.d.ts +0 -9
  233. package/test262/node_modules/fast-glob/out/providers/async.js +0 -23
  234. package/test262/node_modules/fast-glob/out/providers/filters/deep.d.ts +0 -16
  235. package/test262/node_modules/fast-glob/out/providers/filters/deep.js +0 -62
  236. package/test262/node_modules/fast-glob/out/providers/filters/entry.d.ts +0 -16
  237. package/test262/node_modules/fast-glob/out/providers/filters/entry.js +0 -63
  238. package/test262/node_modules/fast-glob/out/providers/filters/error.d.ts +0 -8
  239. package/test262/node_modules/fast-glob/out/providers/filters/error.js +0 -15
  240. package/test262/node_modules/fast-glob/out/providers/matchers/matcher.d.ts +0 -33
  241. package/test262/node_modules/fast-glob/out/providers/matchers/matcher.js +0 -45
  242. package/test262/node_modules/fast-glob/out/providers/matchers/partial.d.ts +0 -4
  243. package/test262/node_modules/fast-glob/out/providers/matchers/partial.js +0 -38
  244. package/test262/node_modules/fast-glob/out/providers/provider.d.ts +0 -19
  245. package/test262/node_modules/fast-glob/out/providers/provider.js +0 -48
  246. package/test262/node_modules/fast-glob/out/providers/stream.d.ts +0 -11
  247. package/test262/node_modules/fast-glob/out/providers/stream.js +0 -31
  248. package/test262/node_modules/fast-glob/out/providers/sync.d.ts +0 -9
  249. package/test262/node_modules/fast-glob/out/providers/sync.js +0 -23
  250. package/test262/node_modules/fast-glob/out/providers/transformers/entry.d.ts +0 -8
  251. package/test262/node_modules/fast-glob/out/providers/transformers/entry.js +0 -26
  252. package/test262/node_modules/fast-glob/out/readers/async.d.ts +0 -10
  253. package/test262/node_modules/fast-glob/out/readers/async.js +0 -35
  254. package/test262/node_modules/fast-glob/out/readers/reader.d.ts +0 -15
  255. package/test262/node_modules/fast-glob/out/readers/reader.js +0 -33
  256. package/test262/node_modules/fast-glob/out/readers/stream.d.ts +0 -14
  257. package/test262/node_modules/fast-glob/out/readers/stream.js +0 -55
  258. package/test262/node_modules/fast-glob/out/readers/sync.d.ts +0 -12
  259. package/test262/node_modules/fast-glob/out/readers/sync.js +0 -43
  260. package/test262/node_modules/fast-glob/out/settings.d.ts +0 -164
  261. package/test262/node_modules/fast-glob/out/settings.js +0 -57
  262. package/test262/node_modules/fast-glob/out/types/index.d.ts +0 -31
  263. package/test262/node_modules/fast-glob/out/types/index.js +0 -2
  264. package/test262/node_modules/fast-glob/out/utils/array.d.ts +0 -2
  265. package/test262/node_modules/fast-glob/out/utils/array.js +0 -22
  266. package/test262/node_modules/fast-glob/out/utils/errno.d.ts +0 -2
  267. package/test262/node_modules/fast-glob/out/utils/errno.js +0 -7
  268. package/test262/node_modules/fast-glob/out/utils/fs.d.ts +0 -4
  269. package/test262/node_modules/fast-glob/out/utils/fs.js +0 -19
  270. package/test262/node_modules/fast-glob/out/utils/index.d.ts +0 -8
  271. package/test262/node_modules/fast-glob/out/utils/index.js +0 -17
  272. package/test262/node_modules/fast-glob/out/utils/path.d.ts +0 -13
  273. package/test262/node_modules/fast-glob/out/utils/path.js +0 -68
  274. package/test262/node_modules/fast-glob/out/utils/pattern.d.ts +0 -47
  275. package/test262/node_modules/fast-glob/out/utils/pattern.js +0 -188
  276. package/test262/node_modules/fast-glob/out/utils/stream.d.ts +0 -4
  277. package/test262/node_modules/fast-glob/out/utils/stream.js +0 -17
  278. package/test262/node_modules/fast-glob/out/utils/string.d.ts +0 -2
  279. package/test262/node_modules/fast-glob/out/utils/string.js +0 -11
  280. package/test262/node_modules/fast-glob/package.json +0 -81
  281. package/test262/node_modules/fastq/.github/dependabot.yml +0 -11
  282. package/test262/node_modules/fastq/.github/workflows/ci.yml +0 -50
  283. package/test262/node_modules/fastq/LICENSE +0 -13
  284. package/test262/node_modules/fastq/README.md +0 -309
  285. package/test262/node_modules/fastq/bench.js +0 -66
  286. package/test262/node_modules/fastq/example.js +0 -14
  287. package/test262/node_modules/fastq/example.mjs +0 -11
  288. package/test262/node_modules/fastq/index.d.ts +0 -37
  289. package/test262/node_modules/fastq/package.json +0 -52
  290. package/test262/node_modules/fastq/queue.js +0 -289
  291. package/test262/node_modules/fastq/test/example.ts +0 -81
  292. package/test262/node_modules/fastq/test/promise.js +0 -248
  293. package/test262/node_modules/fastq/test/test.js +0 -566
  294. package/test262/node_modules/fastq/test/tsconfig.json +0 -11
  295. package/test262/node_modules/fill-range/LICENSE +0 -21
  296. package/test262/node_modules/fill-range/README.md +0 -237
  297. package/test262/node_modules/fill-range/index.js +0 -249
  298. package/test262/node_modules/fill-range/package.json +0 -69
  299. package/test262/node_modules/glob-parent/CHANGELOG.md +0 -110
  300. package/test262/node_modules/glob-parent/LICENSE +0 -15
  301. package/test262/node_modules/glob-parent/README.md +0 -137
  302. package/test262/node_modules/glob-parent/index.js +0 -42
  303. package/test262/node_modules/glob-parent/package.json +0 -48
  304. package/test262/node_modules/graceful-fs/LICENSE +0 -15
  305. package/test262/node_modules/graceful-fs/README.md +0 -143
  306. package/test262/node_modules/graceful-fs/clone.js +0 -23
  307. package/test262/node_modules/graceful-fs/graceful-fs.js +0 -448
  308. package/test262/node_modules/graceful-fs/legacy-streams.js +0 -118
  309. package/test262/node_modules/graceful-fs/package.json +0 -53
  310. package/test262/node_modules/graceful-fs/polyfills.js +0 -355
  311. package/test262/node_modules/is-extglob/LICENSE +0 -21
  312. package/test262/node_modules/is-extglob/README.md +0 -107
  313. package/test262/node_modules/is-extglob/index.js +0 -20
  314. package/test262/node_modules/is-extglob/package.json +0 -69
  315. package/test262/node_modules/is-glob/LICENSE +0 -21
  316. package/test262/node_modules/is-glob/README.md +0 -206
  317. package/test262/node_modules/is-glob/index.js +0 -150
  318. package/test262/node_modules/is-glob/package.json +0 -81
  319. package/test262/node_modules/is-number/LICENSE +0 -21
  320. package/test262/node_modules/is-number/README.md +0 -187
  321. package/test262/node_modules/is-number/index.js +0 -18
  322. package/test262/node_modules/is-number/package.json +0 -82
  323. package/test262/node_modules/js-yaml/CHANGELOG.md +0 -557
  324. package/test262/node_modules/js-yaml/LICENSE +0 -21
  325. package/test262/node_modules/js-yaml/README.md +0 -299
  326. package/test262/node_modules/js-yaml/bin/js-yaml.js +0 -132
  327. package/test262/node_modules/js-yaml/dist/js-yaml.js +0 -3989
  328. package/test262/node_modules/js-yaml/dist/js-yaml.min.js +0 -1
  329. package/test262/node_modules/js-yaml/index.js +0 -7
  330. package/test262/node_modules/js-yaml/lib/js-yaml/common.js +0 -59
  331. package/test262/node_modules/js-yaml/lib/js-yaml/dumper.js +0 -850
  332. package/test262/node_modules/js-yaml/lib/js-yaml/exception.js +0 -43
  333. package/test262/node_modules/js-yaml/lib/js-yaml/loader.js +0 -1644
  334. package/test262/node_modules/js-yaml/lib/js-yaml/mark.js +0 -76
  335. package/test262/node_modules/js-yaml/lib/js-yaml/schema/core.js +0 -18
  336. package/test262/node_modules/js-yaml/lib/js-yaml/schema/default_full.js +0 -25
  337. package/test262/node_modules/js-yaml/lib/js-yaml/schema/default_safe.js +0 -28
  338. package/test262/node_modules/js-yaml/lib/js-yaml/schema/failsafe.js +0 -17
  339. package/test262/node_modules/js-yaml/lib/js-yaml/schema/json.js +0 -25
  340. package/test262/node_modules/js-yaml/lib/js-yaml/schema.js +0 -108
  341. package/test262/node_modules/js-yaml/lib/js-yaml/type/binary.js +0 -138
  342. package/test262/node_modules/js-yaml/lib/js-yaml/type/bool.js +0 -35
  343. package/test262/node_modules/js-yaml/lib/js-yaml/type/float.js +0 -116
  344. package/test262/node_modules/js-yaml/lib/js-yaml/type/int.js +0 -173
  345. package/test262/node_modules/js-yaml/lib/js-yaml/type/js/function.js +0 -93
  346. package/test262/node_modules/js-yaml/lib/js-yaml/type/js/regexp.js +0 -60
  347. package/test262/node_modules/js-yaml/lib/js-yaml/type/js/undefined.js +0 -28
  348. package/test262/node_modules/js-yaml/lib/js-yaml/type/map.js +0 -8
  349. package/test262/node_modules/js-yaml/lib/js-yaml/type/merge.js +0 -12
  350. package/test262/node_modules/js-yaml/lib/js-yaml/type/null.js +0 -34
  351. package/test262/node_modules/js-yaml/lib/js-yaml/type/omap.js +0 -44
  352. package/test262/node_modules/js-yaml/lib/js-yaml/type/pairs.js +0 -53
  353. package/test262/node_modules/js-yaml/lib/js-yaml/type/seq.js +0 -8
  354. package/test262/node_modules/js-yaml/lib/js-yaml/type/set.js +0 -29
  355. package/test262/node_modules/js-yaml/lib/js-yaml/type/str.js +0 -8
  356. package/test262/node_modules/js-yaml/lib/js-yaml/type/timestamp.js +0 -88
  357. package/test262/node_modules/js-yaml/lib/js-yaml/type.js +0 -61
  358. package/test262/node_modules/js-yaml/lib/js-yaml.js +0 -39
  359. package/test262/node_modules/js-yaml/package.json +0 -49
  360. package/test262/node_modules/klaw/CHANGELOG.md +0 -62
  361. package/test262/node_modules/klaw/LICENSE +0 -15
  362. package/test262/node_modules/klaw/README.md +0 -252
  363. package/test262/node_modules/klaw/package.json +0 -40
  364. package/test262/node_modules/klaw/src/index.js +0 -56
  365. package/test262/node_modules/merge2/LICENSE +0 -21
  366. package/test262/node_modules/merge2/README.md +0 -144
  367. package/test262/node_modules/merge2/index.js +0 -144
  368. package/test262/node_modules/merge2/package.json +0 -43
  369. package/test262/node_modules/micromatch/LICENSE +0 -21
  370. package/test262/node_modules/micromatch/README.md +0 -1011
  371. package/test262/node_modules/micromatch/index.js +0 -467
  372. package/test262/node_modules/micromatch/package.json +0 -119
  373. package/test262/node_modules/picomatch/CHANGELOG.md +0 -136
  374. package/test262/node_modules/picomatch/LICENSE +0 -21
  375. package/test262/node_modules/picomatch/README.md +0 -708
  376. package/test262/node_modules/picomatch/index.js +0 -3
  377. package/test262/node_modules/picomatch/lib/constants.js +0 -179
  378. package/test262/node_modules/picomatch/lib/parse.js +0 -1091
  379. package/test262/node_modules/picomatch/lib/picomatch.js +0 -342
  380. package/test262/node_modules/picomatch/lib/scan.js +0 -391
  381. package/test262/node_modules/picomatch/lib/utils.js +0 -64
  382. package/test262/node_modules/picomatch/package.json +0 -81
  383. package/test262/node_modules/queue-microtask/LICENSE +0 -20
  384. package/test262/node_modules/queue-microtask/README.md +0 -90
  385. package/test262/node_modules/queue-microtask/index.d.ts +0 -2
  386. package/test262/node_modules/queue-microtask/index.js +0 -9
  387. package/test262/node_modules/queue-microtask/package.json +0 -55
  388. package/test262/node_modules/reusify/.coveralls.yml +0 -1
  389. package/test262/node_modules/reusify/.travis.yml +0 -28
  390. package/test262/node_modules/reusify/LICENSE +0 -22
  391. package/test262/node_modules/reusify/README.md +0 -145
  392. package/test262/node_modules/reusify/benchmarks/createNoCodeFunction.js +0 -30
  393. package/test262/node_modules/reusify/benchmarks/fib.js +0 -13
  394. package/test262/node_modules/reusify/benchmarks/reuseNoCodeFunction.js +0 -38
  395. package/test262/node_modules/reusify/package.json +0 -45
  396. package/test262/node_modules/reusify/reusify.js +0 -33
  397. package/test262/node_modules/reusify/test.js +0 -66
  398. package/test262/node_modules/run-parallel/LICENSE +0 -20
  399. package/test262/node_modules/run-parallel/README.md +0 -85
  400. package/test262/node_modules/run-parallel/index.js +0 -51
  401. package/test262/node_modules/run-parallel/package.json +0 -58
  402. package/test262/node_modules/sprintf-js/LICENSE +0 -24
  403. package/test262/node_modules/sprintf-js/README.md +0 -88
  404. package/test262/node_modules/sprintf-js/bower.json +0 -14
  405. package/test262/node_modules/sprintf-js/demo/angular.html +0 -20
  406. package/test262/node_modules/sprintf-js/dist/angular-sprintf.min.js +0 -4
  407. package/test262/node_modules/sprintf-js/dist/angular-sprintf.min.js.map +0 -1
  408. package/test262/node_modules/sprintf-js/dist/angular-sprintf.min.map +0 -1
  409. package/test262/node_modules/sprintf-js/dist/sprintf.min.js +0 -4
  410. package/test262/node_modules/sprintf-js/dist/sprintf.min.js.map +0 -1
  411. package/test262/node_modules/sprintf-js/dist/sprintf.min.map +0 -1
  412. package/test262/node_modules/sprintf-js/gruntfile.js +0 -36
  413. package/test262/node_modules/sprintf-js/package.json +0 -22
  414. package/test262/node_modules/sprintf-js/src/angular-sprintf.js +0 -18
  415. package/test262/node_modules/sprintf-js/src/sprintf.js +0 -208
  416. package/test262/node_modules/sprintf-js/test/test.js +0 -82
  417. package/test262/node_modules/test262-stream/.jshintignore +0 -2
  418. package/test262/node_modules/test262-stream/.jshintrc +0 -6
  419. package/test262/node_modules/test262-stream/.travis.yml +0 -5
  420. package/test262/node_modules/test262-stream/CONTRIBUTING.md +0 -37
  421. package/test262/node_modules/test262-stream/LICENSE-MICROSOFT.txt +0 -27
  422. package/test262/node_modules/test262-stream/LICENSE.txt +0 -27
  423. package/test262/node_modules/test262-stream/README.md +0 -71
  424. package/test262/node_modules/test262-stream/lib/builder.js +0 -46
  425. package/test262/node_modules/test262-stream/lib/compile.js +0 -24
  426. package/test262/node_modules/test262-stream/lib/create-scenarios.js +0 -29
  427. package/test262/node_modules/test262-stream/lib/index.js +0 -187
  428. package/test262/node_modules/test262-stream/lib/test-file.js +0 -150
  429. package/test262/node_modules/test262-stream/package.json +0 -26
  430. package/test262/node_modules/test262-stream/test/collateral/invalid-missing-harness/fake-test262/test/a-test-file.js +0 -16
  431. package/test262/node_modules/test262-stream/test/collateral/invalid-version-other-accepted/fake-test262/harness/assert.js +0 -17
  432. package/test262/node_modules/test262-stream/test/collateral/invalid-version-other-accepted/fake-test262/harness/doneprintHandle.js +0 -6
  433. package/test262/node_modules/test262-stream/test/collateral/invalid-version-other-accepted/fake-test262/harness/sta.js +0 -12
  434. package/test262/node_modules/test262-stream/test/collateral/invalid-version-other-accepted/fake-test262/package.json +0 -3
  435. package/test262/node_modules/test262-stream/test/collateral/invalid-version-other-accepted/fake-test262/test/strict.js +0 -9
  436. package/test262/node_modules/test262-stream/test/collateral/invalid-version-unsupported/fake-test262/harness/assert.js +0 -17
  437. package/test262/node_modules/test262-stream/test/collateral/invalid-version-unsupported/fake-test262/harness/doneprintHandle.js +0 -6
  438. package/test262/node_modules/test262-stream/test/collateral/invalid-version-unsupported/fake-test262/harness/sta.js +0 -12
  439. package/test262/node_modules/test262-stream/test/collateral/invalid-version-unsupported/fake-test262/package.json +0 -3
  440. package/test262/node_modules/test262-stream/test/collateral/invalid-version-unsupported/fake-test262/test/strict.js +0 -9
  441. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-content/test/asyncNegative_default.js +0 -49
  442. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-content/test/asyncNegative_strict_mode.js +0 -50
  443. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-content/test/async_default.js +0 -48
  444. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-content/test/async_strict_mode.js +0 -49
  445. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-content/test/bothStrict_default.js +0 -46
  446. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-content/test/bothStrict_strict_mode.js +0 -47
  447. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-content/test/error_default.js +0 -39
  448. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-content/test/error_strict_mode.js +0 -40
  449. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-content/test/module_default.js +0 -37
  450. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-content/test/module_strict_mode.js +0 -38
  451. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-content/test/negative-empty_default.js +0 -37
  452. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-content/test/negative-empty_strict_mode.js +0 -38
  453. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-content/test/noStrict_default.js +0 -36
  454. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-content/test/rawNoStrict_default.js +0 -14
  455. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-content/test/rawStrict_default.js +0 -15
  456. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-content/test/strict_strict_mode.js +0 -41
  457. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-metadata/test/asyncNegative_default.json +0 -22
  458. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-metadata/test/asyncNegative_strict_mode.json +0 -22
  459. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-metadata/test/async_default.json +0 -18
  460. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-metadata/test/async_strict_mode.json +0 -18
  461. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-metadata/test/bothStrict_default.json +0 -24
  462. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-metadata/test/bothStrict_strict_mode.json +0 -24
  463. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-metadata/test/error_default.json +0 -19
  464. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-metadata/test/error_strict_mode.json +0 -19
  465. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-metadata/test/module_default.json +0 -17
  466. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-metadata/test/module_strict_mode.json +0 -17
  467. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-metadata/test/negative-empty_default.json +0 -19
  468. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-metadata/test/negative-empty_strict_mode.json +0 -19
  469. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-metadata/test/noStrict_default.json +0 -17
  470. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-metadata/test/rawNoStrict_default.json +0 -14
  471. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-metadata/test/rawStrict_default.json +0 -14
  472. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-metadata/test/strict_strict_mode.json +0 -21
  473. package/test262/node_modules/test262-stream/test/collateral/valid-default/fake-test262/harness/assert.js +0 -17
  474. package/test262/node_modules/test262-stream/test/collateral/valid-default/fake-test262/harness/doneprintHandle.js +0 -6
  475. package/test262/node_modules/test262-stream/test/collateral/valid-default/fake-test262/harness/sta.js +0 -12
  476. package/test262/node_modules/test262-stream/test/collateral/valid-default/fake-test262/test/async.js +0 -10
  477. package/test262/node_modules/test262-stream/test/collateral/valid-default/fake-test262/test/asyncNegative.js +0 -11
  478. package/test262/node_modules/test262-stream/test/collateral/valid-default/fake-test262/test/bothStrict.js +0 -15
  479. package/test262/node_modules/test262-stream/test/collateral/valid-default/fake-test262/test/error.js +0 -8
  480. package/test262/node_modules/test262-stream/test/collateral/valid-default/fake-test262/test/module.js +0 -6
  481. package/test262/node_modules/test262-stream/test/collateral/valid-default/fake-test262/test/module_FIXTURE.js +0 -2
  482. package/test262/node_modules/test262-stream/test/collateral/valid-default/fake-test262/test/negative-empty.js +0 -6
  483. package/test262/node_modules/test262-stream/test/collateral/valid-default/fake-test262/test/noStrict.js +0 -5
  484. package/test262/node_modules/test262-stream/test/collateral/valid-default/fake-test262/test/rawNoStrict.js +0 -14
  485. package/test262/node_modules/test262-stream/test/collateral/valid-default/fake-test262/test/rawStrict.js +0 -15
  486. package/test262/node_modules/test262-stream/test/collateral/valid-default/fake-test262/test/strict.js +0 -9
  487. package/test262/node_modules/test262-stream/test/collateral/valid-extra-files/expected-content/test/bothStrict_default.js +0 -46
  488. package/test262/node_modules/test262-stream/test/collateral/valid-extra-files/expected-content/test/bothStrict_strict_mode.js +0 -47
  489. package/test262/node_modules/test262-stream/test/collateral/valid-extra-files/expected-metadata/test/bothStrict_default.json +0 -24
  490. package/test262/node_modules/test262-stream/test/collateral/valid-extra-files/expected-metadata/test/bothStrict_strict_mode.json +0 -24
  491. package/test262/node_modules/test262-stream/test/collateral/valid-extra-files/fake-test262/harness/assert.js +0 -17
  492. package/test262/node_modules/test262-stream/test/collateral/valid-extra-files/fake-test262/harness/doneprintHandle.js +0 -6
  493. package/test262/node_modules/test262-stream/test/collateral/valid-extra-files/fake-test262/harness/sta.js +0 -12
  494. package/test262/node_modules/test262-stream/test/collateral/valid-extra-files/fake-test262/test/bothStrict.js +0 -15
  495. package/test262/node_modules/test262-stream/test/collateral/valid-extra-files/fake-test262/test/zzz-0_FIXTURE.js +0 -2
  496. package/test262/node_modules/test262-stream/test/collateral/valid-extra-files/fake-test262/test/zzz-1_FIXTURE.js +0 -2
  497. package/test262/node_modules/test262-stream/test/collateral/valid-extra-files/fake-test262/test/zzz-2_FIXTURE.js +0 -2
  498. package/test262/node_modules/test262-stream/test/collateral/valid-extra-files/fake-test262/test/zzz-3_FIXTURE.js +0 -2
  499. package/test262/node_modules/test262-stream/test/collateral/valid-extra-files/fake-test262/test/zzz-4_FIXTURE.js +0 -2
  500. package/test262/node_modules/test262-stream/test/collateral/valid-extra-files/fake-test262/test/zzz-5_FIXTURE.js +0 -2
  501. package/test262/node_modules/test262-stream/test/collateral/valid-extra-files/fake-test262/test/zzz-6_FIXTURE.js +0 -2
  502. package/test262/node_modules/test262-stream/test/collateral/valid-extra-files/fake-test262/test/zzz-7_FIXTURE.js +0 -2
  503. package/test262/node_modules/test262-stream/test/collateral/valid-extra-files/fake-test262/test/zzz-8_FIXTURE.js +0 -2
  504. package/test262/node_modules/test262-stream/test/collateral/valid-extra-files/fake-test262/test/zzz-9_FIXTURE.txt +0 -2
  505. package/test262/node_modules/test262-stream/test/collateral/valid-insertionindex-with-copyright/expected-content/test/raw_default.js +0 -15
  506. package/test262/node_modules/test262-stream/test/collateral/valid-insertionindex-with-copyright/expected-content/test/runtime_default.js +0 -38
  507. package/test262/node_modules/test262-stream/test/collateral/valid-insertionindex-with-copyright/expected-content/test/runtime_strict_mode.js +0 -39
  508. package/test262/node_modules/test262-stream/test/collateral/valid-insertionindex-with-copyright/expected-metadata/test/raw_default.json +0 -14
  509. package/test262/node_modules/test262-stream/test/collateral/valid-insertionindex-with-copyright/expected-metadata/test/runtime_default.json +0 -15
  510. package/test262/node_modules/test262-stream/test/collateral/valid-insertionindex-with-copyright/expected-metadata/test/runtime_strict_mode.json +0 -15
  511. package/test262/node_modules/test262-stream/test/collateral/valid-insertionindex-with-copyright/fake-test262/harness/assert.js +0 -17
  512. package/test262/node_modules/test262-stream/test/collateral/valid-insertionindex-with-copyright/fake-test262/harness/sta.js +0 -12
  513. package/test262/node_modules/test262-stream/test/collateral/valid-insertionindex-with-copyright/fake-test262/test/raw.js +0 -15
  514. package/test262/node_modules/test262-stream/test/collateral/valid-insertionindex-with-copyright/fake-test262/test/runtime.js +0 -7
  515. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-content/test/asyncNegative_default.js +0 -11
  516. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-content/test/asyncNegative_strict_mode.js +0 -12
  517. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-content/test/async_default.js +0 -10
  518. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-content/test/async_strict_mode.js +0 -11
  519. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-content/test/bothStrict_default.js +0 -15
  520. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-content/test/bothStrict_strict_mode.js +0 -16
  521. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-content/test/error_default.js +0 -8
  522. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-content/test/error_strict_mode.js +0 -9
  523. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-content/test/module_default.js +0 -6
  524. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-content/test/module_strict_mode.js +0 -7
  525. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-content/test/negative-empty_default.js +0 -6
  526. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-content/test/negative-empty_strict_mode.js +0 -7
  527. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-content/test/noStrict_default.js +0 -5
  528. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-content/test/rawNoStrict_default.js +0 -14
  529. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-content/test/rawStrict_default.js +0 -15
  530. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-content/test/strict_strict_mode.js +0 -10
  531. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-metadata/test/asyncNegative_default.json +0 -18
  532. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-metadata/test/asyncNegative_strict_mode.json +0 -18
  533. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-metadata/test/async_default.json +0 -14
  534. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-metadata/test/async_strict_mode.json +0 -14
  535. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-metadata/test/bothStrict_default.json +0 -21
  536. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-metadata/test/bothStrict_strict_mode.json +0 -21
  537. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-metadata/test/error_default.json +0 -16
  538. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-metadata/test/error_strict_mode.json +0 -16
  539. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-metadata/test/module_default.json +0 -14
  540. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-metadata/test/module_strict_mode.json +0 -14
  541. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-metadata/test/negative-empty_default.json +0 -16
  542. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-metadata/test/negative-empty_strict_mode.json +0 -16
  543. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-metadata/test/noStrict_default.json +0 -14
  544. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-metadata/test/rawNoStrict_default.json +0 -14
  545. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-metadata/test/rawStrict_default.json +0 -14
  546. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-metadata/test/strict_strict_mode.json +0 -18
  547. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/fake-test262/harness/assert.js +0 -17
  548. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/fake-test262/harness/doneprintHandle.js +0 -6
  549. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/fake-test262/harness/sta.js +0 -12
  550. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/fake-test262/test/async.js +0 -10
  551. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/fake-test262/test/asyncNegative.js +0 -11
  552. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/fake-test262/test/bothStrict.js +0 -15
  553. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/fake-test262/test/error.js +0 -8
  554. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/fake-test262/test/module.js +0 -6
  555. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/fake-test262/test/module_FIXTURE.js +0 -2
  556. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/fake-test262/test/negative-empty.js +0 -6
  557. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/fake-test262/test/noStrict.js +0 -5
  558. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/fake-test262/test/rawNoStrict.js +0 -14
  559. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/fake-test262/test/rawStrict.js +0 -15
  560. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/fake-test262/test/strict.js +0 -9
  561. package/test262/node_modules/test262-stream/test/collateral/valid-version-ignored/expected-content/test/strict_strict_mode.js +0 -41
  562. package/test262/node_modules/test262-stream/test/collateral/valid-version-ignored/expected-metadata/test/strict_strict_mode.json +0 -21
  563. package/test262/node_modules/test262-stream/test/collateral/valid-version-ignored/fake-test262/harness/assert.js +0 -17
  564. package/test262/node_modules/test262-stream/test/collateral/valid-version-ignored/fake-test262/harness/doneprintHandle.js +0 -6
  565. package/test262/node_modules/test262-stream/test/collateral/valid-version-ignored/fake-test262/harness/sta.js +0 -12
  566. package/test262/node_modules/test262-stream/test/collateral/valid-version-ignored/fake-test262/package.json +0 -3
  567. package/test262/node_modules/test262-stream/test/collateral/valid-version-ignored/fake-test262/test/strict.js +0 -9
  568. package/test262/node_modules/test262-stream/test/collateral/valid-version-supported/expected-content/test/strict_strict_mode.js +0 -41
  569. package/test262/node_modules/test262-stream/test/collateral/valid-version-supported/expected-metadata/test/strict_strict_mode.json +0 -21
  570. package/test262/node_modules/test262-stream/test/collateral/valid-version-supported/fake-test262/harness/assert.js +0 -17
  571. package/test262/node_modules/test262-stream/test/collateral/valid-version-supported/fake-test262/harness/doneprintHandle.js +0 -6
  572. package/test262/node_modules/test262-stream/test/collateral/valid-version-supported/fake-test262/harness/sta.js +0 -12
  573. package/test262/node_modules/test262-stream/test/collateral/valid-version-supported/fake-test262/package.json +0 -3
  574. package/test262/node_modules/test262-stream/test/collateral/valid-version-supported/fake-test262/test/strict.js +0 -9
  575. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/expected-content/test/missing-raw-flag_default.js +0 -44
  576. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/expected-content/test/missing-raw-flag_strict_mode.js +0 -45
  577. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/expected-content/test/raw-with-ls-and-license-on-same-line_default.js +0 -20
  578. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/expected-content/test/raw-with-ls-multiline-block_default.js +0 -18
  579. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/expected-content/test/raw-with-ls_default.js +0 -17
  580. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/expected-content/test/raw-with-ps-and-license-on-same-line_default.js +0 -20
  581. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/expected-content/test/raw-with-ps-multiline-block_default.js +0 -18
  582. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/expected-content/test/raw-with-ps_default.js +0 -17
  583. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/expected-content/test/rawWithLicense_default.js +0 -21
  584. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/expected-content/test/raw_default.js +0 -17
  585. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/expected-metadata/test/missing-raw-flag_default.json +0 -22
  586. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/expected-metadata/test/missing-raw-flag_strict_mode.json +0 -22
  587. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/expected-metadata/test/raw-with-ls-and-license-on-same-line_default.json +0 -21
  588. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/expected-metadata/test/raw-with-ls-multiline-block_default.json +0 -21
  589. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/expected-metadata/test/raw-with-ls_default.json +0 -21
  590. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/expected-metadata/test/raw-with-ps-and-license-on-same-line_default.json +0 -21
  591. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/expected-metadata/test/raw-with-ps-multiline-block_default.json +0 -21
  592. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/expected-metadata/test/raw-with-ps_default.json +0 -21
  593. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/expected-metadata/test/rawWithLicense_default.json +0 -21
  594. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/expected-metadata/test/raw_default.json +0 -21
  595. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/fake-test262/harness/assert.js +0 -17
  596. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/fake-test262/harness/doneprintHandle.js +0 -6
  597. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/fake-test262/harness/sta.js +0 -12
  598. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/fake-test262/test/missing-raw-flag.js +0 -13
  599. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/fake-test262/test/raw-with-ls-and-license-on-same-line.js +0 -20
  600. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/fake-test262/test/raw-with-ls-multiline-block.js +0 -18
  601. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/fake-test262/test/raw-with-ls.js +0 -17
  602. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/fake-test262/test/raw-with-ps-and-license-on-same-line.js +0 -20
  603. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/fake-test262/test/raw-with-ps-multiline-block.js +0 -18
  604. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/fake-test262/test/raw-with-ps.js +0 -17
  605. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/fake-test262/test/raw.js +0 -17
  606. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/fake-test262/test/rawWithLicense.js +0 -21
  607. package/test262/node_modules/test262-stream/test/collateral/valid-with-includes/custom-includes/assert.js +0 -17
  608. package/test262/node_modules/test262-stream/test/collateral/valid-with-includes/custom-includes/doneprintHandle.js +0 -9
  609. package/test262/node_modules/test262-stream/test/collateral/valid-with-includes/custom-includes/sta.js +0 -13
  610. package/test262/node_modules/test262-stream/test/collateral/valid-with-includes/expected-content/test/async_default.js +0 -52
  611. package/test262/node_modules/test262-stream/test/collateral/valid-with-includes/expected-content/test/async_strict_mode.js +0 -53
  612. package/test262/node_modules/test262-stream/test/collateral/valid-with-includes/expected-content/test/bothStrict_default.js +0 -47
  613. package/test262/node_modules/test262-stream/test/collateral/valid-with-includes/expected-content/test/bothStrict_strict_mode.js +0 -48
  614. package/test262/node_modules/test262-stream/test/collateral/valid-with-includes/expected-metadata/test/async_default.json +0 -18
  615. package/test262/node_modules/test262-stream/test/collateral/valid-with-includes/expected-metadata/test/async_strict_mode.json +0 -18
  616. package/test262/node_modules/test262-stream/test/collateral/valid-with-includes/expected-metadata/test/bothStrict_default.json +0 -24
  617. package/test262/node_modules/test262-stream/test/collateral/valid-with-includes/expected-metadata/test/bothStrict_strict_mode.json +0 -24
  618. package/test262/node_modules/test262-stream/test/collateral/valid-with-includes/fake-test262/harness/assert.js +0 -17
  619. package/test262/node_modules/test262-stream/test/collateral/valid-with-includes/fake-test262/harness/doneprintHandle.js +0 -6
  620. package/test262/node_modules/test262-stream/test/collateral/valid-with-includes/fake-test262/test/async.js +0 -10
  621. package/test262/node_modules/test262-stream/test/collateral/valid-with-includes/fake-test262/test/bothStrict.js +0 -15
  622. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/expected-content/test/async/asyncNegative_default.js +0 -49
  623. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/expected-content/test/async/asyncNegative_strict_mode.js +0 -50
  624. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/expected-content/test/async/async_default.js +0 -48
  625. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/expected-content/test/async/async_strict_mode.js +0 -49
  626. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/expected-content/test/bothStrict_default.js +0 -46
  627. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/expected-content/test/bothStrict_strict_mode.js +0 -47
  628. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/expected-content/test/strict/no/noStrict_default.js +0 -36
  629. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/expected-content/test/strict/no/rawNoStrict_default.js +0 -14
  630. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/expected-metadata/test/async/asyncNegative_default.json +0 -22
  631. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/expected-metadata/test/async/asyncNegative_strict_mode.json +0 -22
  632. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/expected-metadata/test/async/async_default.json +0 -18
  633. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/expected-metadata/test/async/async_strict_mode.json +0 -18
  634. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/expected-metadata/test/bothStrict_default.json +0 -24
  635. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/expected-metadata/test/bothStrict_strict_mode.json +0 -24
  636. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/expected-metadata/test/strict/no/noStrict_default.json +0 -17
  637. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/expected-metadata/test/strict/no/rawNoStrict_default.json +0 -14
  638. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/fake-test262/harness/assert.js +0 -17
  639. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/fake-test262/harness/doneprintHandle.js +0 -6
  640. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/fake-test262/harness/sta.js +0 -12
  641. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/fake-test262/test/async/async.js +0 -10
  642. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/fake-test262/test/async/asyncNegative.js +0 -11
  643. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/fake-test262/test/bothStrict.js +0 -15
  644. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/fake-test262/test/error.js +0 -8
  645. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/fake-test262/test/negative-empty.js +0 -6
  646. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/fake-test262/test/strict/no/noStrict.js +0 -5
  647. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/fake-test262/test/strict/no/rawNoStrict.js +0 -14
  648. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/fake-test262/test/strict/rawStrict.js +0 -15
  649. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/fake-test262/test/strict/strict.js +0 -9
  650. package/test262/node_modules/test262-stream/test/test.js +0 -319
  651. package/test262/node_modules/to-regex-range/LICENSE +0 -21
  652. package/test262/node_modules/to-regex-range/README.md +0 -305
  653. package/test262/node_modules/to-regex-range/index.js +0 -288
  654. package/test262/node_modules/to-regex-range/package.json +0 -88
  655. package/test262/package-lock.json +0 -279
  656. package/test262/package.json +0 -6
  657. package/test262/prelude.js +0 -75
  658. package/test262/results.json +0 -1
@@ -1,1011 +0,0 @@
1
- # micromatch [![NPM version](https://img.shields.io/npm/v/micromatch.svg?style=flat)](https://www.npmjs.com/package/micromatch) [![NPM monthly downloads](https://img.shields.io/npm/dm/micromatch.svg?style=flat)](https://npmjs.org/package/micromatch) [![NPM total downloads](https://img.shields.io/npm/dt/micromatch.svg?style=flat)](https://npmjs.org/package/micromatch) [![Tests](https://github.com/micromatch/micromatch/actions/workflows/test.yml/badge.svg)](https://github.com/micromatch/micromatch/actions/workflows/test.yml)
2
-
3
- > Glob matching for javascript/node.js. A replacement and faster alternative to minimatch and multimatch.
4
-
5
- Please consider following this project's author, [Jon Schlinkert](https://github.com/jonschlinkert), and consider starring the project to show your :heart: and support.
6
-
7
- ## Table of Contents
8
-
9
- <details>
10
- <summary><strong>Details</strong></summary>
11
-
12
- - [Install](#install)
13
- - [Quickstart](#quickstart)
14
- - [Why use micromatch?](#why-use-micromatch)
15
- * [Matching features](#matching-features)
16
- - [Switching to micromatch](#switching-to-micromatch)
17
- * [From minimatch](#from-minimatch)
18
- * [From multimatch](#from-multimatch)
19
- - [API](#api)
20
- - [Options](#options)
21
- - [Options Examples](#options-examples)
22
- * [options.basename](#optionsbasename)
23
- * [options.bash](#optionsbash)
24
- * [options.expandRange](#optionsexpandrange)
25
- * [options.format](#optionsformat)
26
- * [options.ignore](#optionsignore)
27
- * [options.matchBase](#optionsmatchbase)
28
- * [options.noextglob](#optionsnoextglob)
29
- * [options.nonegate](#optionsnonegate)
30
- * [options.noglobstar](#optionsnoglobstar)
31
- * [options.nonull](#optionsnonull)
32
- * [options.nullglob](#optionsnullglob)
33
- * [options.onIgnore](#optionsonignore)
34
- * [options.onMatch](#optionsonmatch)
35
- * [options.onResult](#optionsonresult)
36
- * [options.posixSlashes](#optionsposixslashes)
37
- * [options.unescape](#optionsunescape)
38
- - [Extended globbing](#extended-globbing)
39
- * [Extglobs](#extglobs)
40
- * [Braces](#braces)
41
- * [Regex character classes](#regex-character-classes)
42
- * [Regex groups](#regex-groups)
43
- * [POSIX bracket expressions](#posix-bracket-expressions)
44
- - [Notes](#notes)
45
- * [Bash 4.3 parity](#bash-43-parity)
46
- * [Backslashes](#backslashes)
47
- - [Benchmarks](#benchmarks)
48
- * [Running benchmarks](#running-benchmarks)
49
- * [Latest results](#latest-results)
50
- - [Contributing](#contributing)
51
- - [About](#about)
52
-
53
- </details>
54
-
55
- ## Install
56
-
57
- Install with [npm](https://www.npmjs.com/) (requires [Node.js](https://nodejs.org/en/) >=8.6):
58
-
59
- ```sh
60
- $ npm install --save micromatch
61
- ```
62
-
63
- ## Quickstart
64
-
65
- ```js
66
- const micromatch = require('micromatch');
67
- // micromatch(list, patterns[, options]);
68
- ```
69
-
70
- The [main export](#micromatch) takes a list of strings and one or more glob patterns:
71
-
72
- ```js
73
- console.log(micromatch(['foo', 'bar', 'baz', 'qux'], ['f*', 'b*'])) //=> ['foo', 'bar', 'baz']
74
- console.log(micromatch(['foo', 'bar', 'baz', 'qux'], ['*', '!b*'])) //=> ['foo', 'qux']
75
- ```
76
-
77
- Use [.isMatch()](#ismatch) to for boolean matching:
78
-
79
- ```js
80
- console.log(micromatch.isMatch('foo', 'f*')) //=> true
81
- console.log(micromatch.isMatch('foo', ['b*', 'f*'])) //=> true
82
- ```
83
-
84
- [Switching](#switching-to-micromatch) from minimatch and multimatch is easy!
85
-
86
- <br>
87
-
88
- ## Why use micromatch?
89
-
90
- > micromatch is a [replacement](#switching-to-micromatch) for minimatch and multimatch
91
-
92
- * Supports all of the same matching features as [minimatch](https://github.com/isaacs/minimatch) and [multimatch](https://github.com/sindresorhus/multimatch)
93
- * More complete support for the Bash 4.3 specification than minimatch and multimatch. Micromatch passes _all of the spec tests_ from bash, including some that bash still fails.
94
- * **Fast & Performant** - Loads in about 5ms and performs [fast matches](#benchmarks).
95
- * **Glob matching** - Using wildcards (`*` and `?`), globstars (`**`) for nested directories
96
- * **[Advanced globbing](#extended-globbing)** - Supports [extglobs](#extglobs), [braces](#braces-1), and [POSIX brackets](#posix-bracket-expressions), and support for escaping special characters with `\` or quotes.
97
- * **Accurate** - Covers more scenarios [than minimatch](https://github.com/yarnpkg/yarn/pull/3339)
98
- * **Well tested** - More than 5,000 [test assertions](./test)
99
- * **Windows support** - More reliable windows support than minimatch and multimatch.
100
- * **[Safe](https://github.com/micromatch/braces#braces-is-safe)** - Micromatch is not subject to DoS with brace patterns like minimatch and multimatch.
101
-
102
- ### Matching features
103
-
104
- * Support for multiple glob patterns (no need for wrappers like multimatch)
105
- * Wildcards (`**`, `*.js`)
106
- * Negation (`'!a/*.js'`, `'*!(b).js'`)
107
- * [extglobs](#extglobs) (`+(x|y)`, `!(a|b)`)
108
- * [POSIX character classes](#posix-bracket-expressions) (`[[:alpha:][:digit:]]`)
109
- * [brace expansion](https://github.com/micromatch/braces) (`foo/{1..5}.md`, `bar/{a,b,c}.js`)
110
- * regex character classes (`foo-[1-5].js`)
111
- * regex logical "or" (`foo/(abc|xyz).js`)
112
-
113
- You can mix and match these features to create whatever patterns you need!
114
-
115
- ## Switching to micromatch
116
-
117
- _(There is one notable difference between micromatch and minimatch in regards to how backslashes are handled. See [the notes about backslashes](#backslashes) for more information.)_
118
-
119
- ### From minimatch
120
-
121
- Use [micromatch.isMatch()](#ismatch) instead of `minimatch()`:
122
-
123
- ```js
124
- console.log(micromatch.isMatch('foo', 'b*')); //=> false
125
- ```
126
-
127
- Use [micromatch.match()](#match) instead of `minimatch.match()`:
128
-
129
- ```js
130
- console.log(micromatch.match(['foo', 'bar'], 'b*')); //=> 'bar'
131
- ```
132
-
133
- ### From multimatch
134
-
135
- Same signature:
136
-
137
- ```js
138
- console.log(micromatch(['foo', 'bar', 'baz'], ['f*', '*z'])); //=> ['foo', 'baz']
139
- ```
140
-
141
- ## API
142
-
143
- **Params**
144
-
145
- * `list` **{String|Array<string>}**: List of strings to match.
146
- * `patterns` **{String|Array<string>}**: One or more glob patterns to use for matching.
147
- * `options` **{Object}**: See available [options](#options)
148
- * `returns` **{Array}**: Returns an array of matches
149
-
150
- **Example**
151
-
152
- ```js
153
- const mm = require('micromatch');
154
- // mm(list, patterns[, options]);
155
-
156
- console.log(mm(['a.js', 'a.txt'], ['*.js']));
157
- //=> [ 'a.js' ]
158
- ```
159
-
160
- ### [.matcher](index.js#L104)
161
-
162
- Returns a matcher function from the given glob `pattern` and `options`. The returned function takes a string to match as its only argument and returns true if the string is a match.
163
-
164
- **Params**
165
-
166
- * `pattern` **{String}**: Glob pattern
167
- * `options` **{Object}**
168
- * `returns` **{Function}**: Returns a matcher function.
169
-
170
- **Example**
171
-
172
- ```js
173
- const mm = require('micromatch');
174
- // mm.matcher(pattern[, options]);
175
-
176
- const isMatch = mm.matcher('*.!(*a)');
177
- console.log(isMatch('a.a')); //=> false
178
- console.log(isMatch('a.b')); //=> true
179
- ```
180
-
181
- ### [.isMatch](index.js#L123)
182
-
183
- Returns true if **any** of the given glob `patterns` match the specified `string`.
184
-
185
- **Params**
186
-
187
- * `str` **{String}**: The string to test.
188
- * `patterns` **{String|Array}**: One or more glob patterns to use for matching.
189
- * `[options]` **{Object}**: See available [options](#options).
190
- * `returns` **{Boolean}**: Returns true if any patterns match `str`
191
-
192
- **Example**
193
-
194
- ```js
195
- const mm = require('micromatch');
196
- // mm.isMatch(string, patterns[, options]);
197
-
198
- console.log(mm.isMatch('a.a', ['b.*', '*.a'])); //=> true
199
- console.log(mm.isMatch('a.a', 'b.*')); //=> false
200
- ```
201
-
202
- ### [.not](index.js#L148)
203
-
204
- Returns a list of strings that _**do not match any**_ of the given `patterns`.
205
-
206
- **Params**
207
-
208
- * `list` **{Array}**: Array of strings to match.
209
- * `patterns` **{String|Array}**: One or more glob pattern to use for matching.
210
- * `options` **{Object}**: See available [options](#options) for changing how matches are performed
211
- * `returns` **{Array}**: Returns an array of strings that **do not match** the given patterns.
212
-
213
- **Example**
214
-
215
- ```js
216
- const mm = require('micromatch');
217
- // mm.not(list, patterns[, options]);
218
-
219
- console.log(mm.not(['a.a', 'b.b', 'c.c'], '*.a'));
220
- //=> ['b.b', 'c.c']
221
- ```
222
-
223
- ### [.contains](index.js#L188)
224
-
225
- Returns true if the given `string` contains the given pattern. Similar to [.isMatch](#isMatch) but the pattern can match any part of the string.
226
-
227
- **Params**
228
-
229
- * `str` **{String}**: The string to match.
230
- * `patterns` **{String|Array}**: Glob pattern to use for matching.
231
- * `options` **{Object}**: See available [options](#options) for changing how matches are performed
232
- * `returns` **{Boolean}**: Returns true if any of the patterns matches any part of `str`.
233
-
234
- **Example**
235
-
236
- ```js
237
- var mm = require('micromatch');
238
- // mm.contains(string, pattern[, options]);
239
-
240
- console.log(mm.contains('aa/bb/cc', '*b'));
241
- //=> true
242
- console.log(mm.contains('aa/bb/cc', '*d'));
243
- //=> false
244
- ```
245
-
246
- ### [.matchKeys](index.js#L230)
247
-
248
- Filter the keys of the given object with the given `glob` pattern and `options`. Does not attempt to match nested keys. If you need this feature, use [glob-object](https://github.com/jonschlinkert/glob-object) instead.
249
-
250
- **Params**
251
-
252
- * `object` **{Object}**: The object with keys to filter.
253
- * `patterns` **{String|Array}**: One or more glob patterns to use for matching.
254
- * `options` **{Object}**: See available [options](#options) for changing how matches are performed
255
- * `returns` **{Object}**: Returns an object with only keys that match the given patterns.
256
-
257
- **Example**
258
-
259
- ```js
260
- const mm = require('micromatch');
261
- // mm.matchKeys(object, patterns[, options]);
262
-
263
- const obj = { aa: 'a', ab: 'b', ac: 'c' };
264
- console.log(mm.matchKeys(obj, '*b'));
265
- //=> { ab: 'b' }
266
- ```
267
-
268
- ### [.some](index.js#L259)
269
-
270
- Returns true if some of the strings in the given `list` match any of the given glob `patterns`.
271
-
272
- **Params**
273
-
274
- * `list` **{String|Array}**: The string or array of strings to test. Returns as soon as the first match is found.
275
- * `patterns` **{String|Array}**: One or more glob patterns to use for matching.
276
- * `options` **{Object}**: See available [options](#options) for changing how matches are performed
277
- * `returns` **{Boolean}**: Returns true if any `patterns` matches any of the strings in `list`
278
-
279
- **Example**
280
-
281
- ```js
282
- const mm = require('micromatch');
283
- // mm.some(list, patterns[, options]);
284
-
285
- console.log(mm.some(['foo.js', 'bar.js'], ['*.js', '!foo.js']));
286
- // true
287
- console.log(mm.some(['foo.js'], ['*.js', '!foo.js']));
288
- // false
289
- ```
290
-
291
- ### [.every](index.js#L295)
292
-
293
- Returns true if every string in the given `list` matches any of the given glob `patterns`.
294
-
295
- **Params**
296
-
297
- * `list` **{String|Array}**: The string or array of strings to test.
298
- * `patterns` **{String|Array}**: One or more glob patterns to use for matching.
299
- * `options` **{Object}**: See available [options](#options) for changing how matches are performed
300
- * `returns` **{Boolean}**: Returns true if all `patterns` matches all of the strings in `list`
301
-
302
- **Example**
303
-
304
- ```js
305
- const mm = require('micromatch');
306
- // mm.every(list, patterns[, options]);
307
-
308
- console.log(mm.every('foo.js', ['foo.js']));
309
- // true
310
- console.log(mm.every(['foo.js', 'bar.js'], ['*.js']));
311
- // true
312
- console.log(mm.every(['foo.js', 'bar.js'], ['*.js', '!foo.js']));
313
- // false
314
- console.log(mm.every(['foo.js'], ['*.js', '!foo.js']));
315
- // false
316
- ```
317
-
318
- ### [.all](index.js#L334)
319
-
320
- Returns true if **all** of the given `patterns` match the specified string.
321
-
322
- **Params**
323
-
324
- * `str` **{String|Array}**: The string to test.
325
- * `patterns` **{String|Array}**: One or more glob patterns to use for matching.
326
- * `options` **{Object}**: See available [options](#options) for changing how matches are performed
327
- * `returns` **{Boolean}**: Returns true if any patterns match `str`
328
-
329
- **Example**
330
-
331
- ```js
332
- const mm = require('micromatch');
333
- // mm.all(string, patterns[, options]);
334
-
335
- console.log(mm.all('foo.js', ['foo.js']));
336
- // true
337
-
338
- console.log(mm.all('foo.js', ['*.js', '!foo.js']));
339
- // false
340
-
341
- console.log(mm.all('foo.js', ['*.js', 'foo.js']));
342
- // true
343
-
344
- console.log(mm.all('foo.js', ['*.js', 'f*', '*o*', '*o.js']));
345
- // true
346
- ```
347
-
348
- ### [.capture](index.js#L361)
349
-
350
- Returns an array of matches captured by `pattern` in `string, or`null` if the pattern did not match.
351
-
352
- **Params**
353
-
354
- * `glob` **{String}**: Glob pattern to use for matching.
355
- * `input` **{String}**: String to match
356
- * `options` **{Object}**: See available [options](#options) for changing how matches are performed
357
- * `returns` **{Array|null}**: Returns an array of captures if the input matches the glob pattern, otherwise `null`.
358
-
359
- **Example**
360
-
361
- ```js
362
- const mm = require('micromatch');
363
- // mm.capture(pattern, string[, options]);
364
-
365
- console.log(mm.capture('test/*.js', 'test/foo.js'));
366
- //=> ['foo']
367
- console.log(mm.capture('test/*.js', 'foo/bar.css'));
368
- //=> null
369
- ```
370
-
371
- ### [.makeRe](index.js#L387)
372
-
373
- Create a regular expression from the given glob `pattern`.
374
-
375
- **Params**
376
-
377
- * `pattern` **{String}**: A glob pattern to convert to regex.
378
- * `options` **{Object}**
379
- * `returns` **{RegExp}**: Returns a regex created from the given pattern.
380
-
381
- **Example**
382
-
383
- ```js
384
- const mm = require('micromatch');
385
- // mm.makeRe(pattern[, options]);
386
-
387
- console.log(mm.makeRe('*.js'));
388
- //=> /^(?:(\.[\\\/])?(?!\.)(?=.)[^\/]*?\.js)$/
389
- ```
390
-
391
- ### [.scan](index.js#L403)
392
-
393
- Scan a glob pattern to separate the pattern into segments. Used by the [split](#split) method.
394
-
395
- **Params**
396
-
397
- * `pattern` **{String}**
398
- * `options` **{Object}**
399
- * `returns` **{Object}**: Returns an object with
400
-
401
- **Example**
402
-
403
- ```js
404
- const mm = require('micromatch');
405
- const state = mm.scan(pattern[, options]);
406
- ```
407
-
408
- ### [.parse](index.js#L419)
409
-
410
- Parse a glob pattern to create the source string for a regular expression.
411
-
412
- **Params**
413
-
414
- * `glob` **{String}**
415
- * `options` **{Object}**
416
- * `returns` **{Object}**: Returns an object with useful properties and output to be used as regex source string.
417
-
418
- **Example**
419
-
420
- ```js
421
- const mm = require('micromatch');
422
- const state = mm.parse(pattern[, options]);
423
- ```
424
-
425
- ### [.braces](index.js#L446)
426
-
427
- Process the given brace `pattern`.
428
-
429
- **Params**
430
-
431
- * `pattern` **{String}**: String with brace pattern to process.
432
- * `options` **{Object}**: Any [options](#options) to change how expansion is performed. See the [braces](https://github.com/micromatch/braces) library for all available options.
433
- * `returns` **{Array}**
434
-
435
- **Example**
436
-
437
- ```js
438
- const { braces } = require('micromatch');
439
- console.log(braces('foo/{a,b,c}/bar'));
440
- //=> [ 'foo/(a|b|c)/bar' ]
441
-
442
- console.log(braces('foo/{a,b,c}/bar', { expand: true }));
443
- //=> [ 'foo/a/bar', 'foo/b/bar', 'foo/c/bar' ]
444
- ```
445
-
446
- ## Options
447
-
448
- | **Option** | **Type** | **Default value** | **Description** |
449
- | --- | --- | --- | --- |
450
- | `basename` | `boolean` | `false` | If set, then patterns without slashes will be matched against the basename of the path if it contains slashes. For example, `a?b` would match the path `/xyz/123/acb`, but not `/xyz/acb/123`. |
451
- | `bash` | `boolean` | `false` | Follow bash matching rules more strictly - disallows backslashes as escape characters, and treats single stars as globstars (`**`). |
452
- | `capture` | `boolean` | `undefined` | Return regex matches in supporting methods. |
453
- | `contains` | `boolean` | `undefined` | Allows glob to match any part of the given string(s). |
454
- | `cwd` | `string` | `process.cwd()` | Current working directory. Used by `picomatch.split()` |
455
- | `debug` | `boolean` | `undefined` | Debug regular expressions when an error is thrown. |
456
- | `dot` | `boolean` | `false` | Match dotfiles. Otherwise dotfiles are ignored unless a `.` is explicitly defined in the pattern. |
457
- | `expandRange` | `function` | `undefined` | Custom function for expanding ranges in brace patterns, such as `{a..z}`. The function receives the range values as two arguments, and it must return a string to be used in the generated regex. It's recommended that returned strings be wrapped in parentheses. This option is overridden by the `expandBrace` option. |
458
- | `failglob` | `boolean` | `false` | Similar to the `failglob` behavior in Bash, throws an error when no matches are found. Based on the bash option of the same name. |
459
- | `fastpaths` | `boolean` | `true` | To speed up processing, full parsing is skipped for a handful common glob patterns. Disable this behavior by setting this option to `false`. |
460
- | `flags` | `boolean` | `undefined` | Regex flags to use in the generated regex. If defined, the `nocase` option will be overridden. |
461
- | [format](#optionsformat) | `function` | `undefined` | Custom function for formatting the returned string. This is useful for removing leading slashes, converting Windows paths to Posix paths, etc. |
462
- | `ignore` | `array\|string` | `undefined` | One or more glob patterns for excluding strings that should not be matched from the result. |
463
- | `keepQuotes` | `boolean` | `false` | Retain quotes in the generated regex, since quotes may also be used as an alternative to backslashes. |
464
- | `literalBrackets` | `boolean` | `undefined` | When `true`, brackets in the glob pattern will be escaped so that only literal brackets will be matched. |
465
- | `lookbehinds` | `boolean` | `true` | Support regex positive and negative lookbehinds. Note that you must be using Node 8.1.10 or higher to enable regex lookbehinds. |
466
- | `matchBase` | `boolean` | `false` | Alias for `basename` |
467
- | `maxLength` | `boolean` | `65536` | Limit the max length of the input string. An error is thrown if the input string is longer than this value. |
468
- | `nobrace` | `boolean` | `false` | Disable brace matching, so that `{a,b}` and `{1..3}` would be treated as literal characters. |
469
- | `nobracket` | `boolean` | `undefined` | Disable matching with regex brackets. |
470
- | `nocase` | `boolean` | `false` | Perform case-insensitive matching. Equivalent to the regex `i` flag. Note that this option is ignored when the `flags` option is defined. |
471
- | `nodupes` | `boolean` | `true` | Deprecated, use `nounique` instead. This option will be removed in a future major release. By default duplicates are removed. Disable uniquification by setting this option to false. |
472
- | `noext` | `boolean` | `false` | Alias for `noextglob` |
473
- | `noextglob` | `boolean` | `false` | Disable support for matching with [extglobs](#extglobs) (like `+(a\|b)`) |
474
- | `noglobstar` | `boolean` | `false` | Disable support for matching nested directories with globstars (`**`) |
475
- | `nonegate` | `boolean` | `false` | Disable support for negating with leading `!` |
476
- | `noquantifiers` | `boolean` | `false` | Disable support for regex quantifiers (like `a{1,2}`) and treat them as brace patterns to be expanded. |
477
- | [onIgnore](#optionsonIgnore) | `function` | `undefined` | Function to be called on ignored items. |
478
- | [onMatch](#optionsonMatch) | `function` | `undefined` | Function to be called on matched items. |
479
- | [onResult](#optionsonResult) | `function` | `undefined` | Function to be called on all items, regardless of whether or not they are matched or ignored. |
480
- | `posix` | `boolean` | `false` | Support [POSIX character classes](#posix-bracket-expressions) ("posix brackets"). |
481
- | `posixSlashes` | `boolean` | `undefined` | Convert all slashes in file paths to forward slashes. This does not convert slashes in the glob pattern itself |
482
- | `prepend` | `string` | `undefined` | String to prepend to the generated regex used for matching. |
483
- | `regex` | `boolean` | `false` | Use regular expression rules for `+` (instead of matching literal `+`), and for stars that follow closing parentheses or brackets (as in `)*` and `]*`). |
484
- | `strictBrackets` | `boolean` | `undefined` | Throw an error if brackets, braces, or parens are imbalanced. |
485
- | `strictSlashes` | `boolean` | `undefined` | When true, picomatch won't match trailing slashes with single stars. |
486
- | `unescape` | `boolean` | `undefined` | Remove preceding backslashes from escaped glob characters before creating the regular expression to perform matches. |
487
- | `unixify` | `boolean` | `undefined` | Alias for `posixSlashes`, for backwards compatitibility. |
488
-
489
- ## Options Examples
490
-
491
- ### options.basename
492
-
493
- Allow glob patterns without slashes to match a file path based on its basename. Same behavior as [minimatch](https://github.com/isaacs/minimatch) option `matchBase`.
494
-
495
- **Type**: `Boolean`
496
-
497
- **Default**: `false`
498
-
499
- **Example**
500
-
501
- ```js
502
- micromatch(['a/b.js', 'a/c.md'], '*.js');
503
- //=> []
504
-
505
- micromatch(['a/b.js', 'a/c.md'], '*.js', { basename: true });
506
- //=> ['a/b.js']
507
- ```
508
-
509
- ### options.bash
510
-
511
- Enabled by default, this option enforces bash-like behavior with stars immediately following a bracket expression. Bash bracket expressions are similar to regex character classes, but unlike regex, a star following a bracket expression **does not repeat the bracketed characters**. Instead, the star is treated the same as any other star.
512
-
513
- **Type**: `Boolean`
514
-
515
- **Default**: `true`
516
-
517
- **Example**
518
-
519
- ```js
520
- const files = ['abc', 'ajz'];
521
- console.log(micromatch(files, '[a-c]*'));
522
- //=> ['abc', 'ajz']
523
-
524
- console.log(micromatch(files, '[a-c]*', { bash: false }));
525
- ```
526
-
527
- ### options.expandRange
528
-
529
- **Type**: `function`
530
-
531
- **Default**: `undefined`
532
-
533
- Custom function for expanding ranges in brace patterns. The [fill-range](https://github.com/jonschlinkert/fill-range) library is ideal for this purpose, or you can use custom code to do whatever you need.
534
-
535
- **Example**
536
-
537
- The following example shows how to create a glob that matches a numeric folder name between `01` and `25`, with leading zeros.
538
-
539
- ```js
540
- const fill = require('fill-range');
541
- const regex = micromatch.makeRe('foo/{01..25}/bar', {
542
- expandRange(a, b) {
543
- return `(${fill(a, b, { toRegex: true })})`;
544
- }
545
- });
546
-
547
- console.log(regex)
548
- //=> /^(?:foo\/((?:0[1-9]|1[0-9]|2[0-5]))\/bar)$/
549
-
550
- console.log(regex.test('foo/00/bar')) // false
551
- console.log(regex.test('foo/01/bar')) // true
552
- console.log(regex.test('foo/10/bar')) // true
553
- console.log(regex.test('foo/22/bar')) // true
554
- console.log(regex.test('foo/25/bar')) // true
555
- console.log(regex.test('foo/26/bar')) // false
556
- ```
557
-
558
- ### options.format
559
-
560
- **Type**: `function`
561
-
562
- **Default**: `undefined`
563
-
564
- Custom function for formatting strings before they're matched.
565
-
566
- **Example**
567
-
568
- ```js
569
- // strip leading './' from strings
570
- const format = str => str.replace(/^\.\//, '');
571
- const isMatch = picomatch('foo/*.js', { format });
572
- console.log(isMatch('./foo/bar.js')) //=> true
573
- ```
574
-
575
- ### options.ignore
576
-
577
- String or array of glob patterns to match files to ignore.
578
-
579
- **Type**: `String|Array`
580
-
581
- **Default**: `undefined`
582
-
583
- ```js
584
- const isMatch = micromatch.matcher('*', { ignore: 'f*' });
585
- console.log(isMatch('foo')) //=> false
586
- console.log(isMatch('bar')) //=> true
587
- console.log(isMatch('baz')) //=> true
588
- ```
589
-
590
- ### options.matchBase
591
-
592
- Alias for [options.basename](#options-basename).
593
-
594
- ### options.noextglob
595
-
596
- Disable extglob support, so that [extglobs](#extglobs) are regarded as literal characters.
597
-
598
- **Type**: `Boolean`
599
-
600
- **Default**: `undefined`
601
-
602
- **Examples**
603
-
604
- ```js
605
- console.log(micromatch(['a/z', 'a/b', 'a/!(z)'], 'a/!(z)'));
606
- //=> ['a/b', 'a/!(z)']
607
-
608
- console.log(micromatch(['a/z', 'a/b', 'a/!(z)'], 'a/!(z)', { noextglob: true }));
609
- //=> ['a/!(z)'] (matches only as literal characters)
610
- ```
611
-
612
- ### options.nonegate
613
-
614
- Disallow negation (`!`) patterns, and treat leading `!` as a literal character to match.
615
-
616
- **Type**: `Boolean`
617
-
618
- **Default**: `undefined`
619
-
620
- ### options.noglobstar
621
-
622
- Disable matching with globstars (`**`).
623
-
624
- **Type**: `Boolean`
625
-
626
- **Default**: `undefined`
627
-
628
- ```js
629
- micromatch(['a/b', 'a/b/c', 'a/b/c/d'], 'a/**');
630
- //=> ['a/b', 'a/b/c', 'a/b/c/d']
631
-
632
- micromatch(['a/b', 'a/b/c', 'a/b/c/d'], 'a/**', {noglobstar: true});
633
- //=> ['a/b']
634
- ```
635
-
636
- ### options.nonull
637
-
638
- Alias for [options.nullglob](#options-nullglob).
639
-
640
- ### options.nullglob
641
-
642
- If `true`, when no matches are found the actual (arrayified) glob pattern is returned instead of an empty array. Same behavior as [minimatch](https://github.com/isaacs/minimatch) option `nonull`.
643
-
644
- **Type**: `Boolean`
645
-
646
- **Default**: `undefined`
647
-
648
- ### options.onIgnore
649
-
650
- ```js
651
- const onIgnore = ({ glob, regex, input, output }) => {
652
- console.log({ glob, regex, input, output });
653
- // { glob: '*', regex: /^(?:(?!\.)(?=.)[^\/]*?\/?)$/, input: 'foo', output: 'foo' }
654
- };
655
-
656
- const isMatch = micromatch.matcher('*', { onIgnore, ignore: 'f*' });
657
- isMatch('foo');
658
- isMatch('bar');
659
- isMatch('baz');
660
- ```
661
-
662
- ### options.onMatch
663
-
664
- ```js
665
- const onMatch = ({ glob, regex, input, output }) => {
666
- console.log({ input, output });
667
- // { input: 'some\\path', output: 'some/path' }
668
- // { input: 'some\\path', output: 'some/path' }
669
- // { input: 'some\\path', output: 'some/path' }
670
- };
671
-
672
- const isMatch = micromatch.matcher('**', { onMatch, posixSlashes: true });
673
- isMatch('some\\path');
674
- isMatch('some\\path');
675
- isMatch('some\\path');
676
- ```
677
-
678
- ### options.onResult
679
-
680
- ```js
681
- const onResult = ({ glob, regex, input, output }) => {
682
- console.log({ glob, regex, input, output });
683
- };
684
-
685
- const isMatch = micromatch('*', { onResult, ignore: 'f*' });
686
- isMatch('foo');
687
- isMatch('bar');
688
- isMatch('baz');
689
- ```
690
-
691
- ### options.posixSlashes
692
-
693
- Convert path separators on returned files to posix/unix-style forward slashes. Aliased as `unixify` for backwards compatibility.
694
-
695
- **Type**: `Boolean`
696
-
697
- **Default**: `true` on windows, `false` everywhere else.
698
-
699
- **Example**
700
-
701
- ```js
702
- console.log(micromatch.match(['a\\b\\c'], 'a/**'));
703
- //=> ['a/b/c']
704
-
705
- console.log(micromatch.match(['a\\b\\c'], { posixSlashes: false }));
706
- //=> ['a\\b\\c']
707
- ```
708
-
709
- ### options.unescape
710
-
711
- Remove backslashes from escaped glob characters before creating the regular expression to perform matches.
712
-
713
- **Type**: `Boolean`
714
-
715
- **Default**: `undefined`
716
-
717
- **Example**
718
-
719
- In this example we want to match a literal `*`:
720
-
721
- ```js
722
- console.log(micromatch.match(['abc', 'a\\*c'], 'a\\*c'));
723
- //=> ['a\\*c']
724
-
725
- console.log(micromatch.match(['abc', 'a\\*c'], 'a\\*c', { unescape: true }));
726
- //=> ['a*c']
727
- ```
728
-
729
- <br>
730
- <br>
731
-
732
- ## Extended globbing
733
-
734
- Micromatch supports the following extended globbing features.
735
-
736
- ### Extglobs
737
-
738
- Extended globbing, as described by the bash man page:
739
-
740
- | **pattern** | **regex equivalent** | **description** |
741
- | --- | --- | --- |
742
- | `?(pattern)` | `(pattern)?` | Matches zero or one occurrence of the given patterns |
743
- | `*(pattern)` | `(pattern)*` | Matches zero or more occurrences of the given patterns |
744
- | `+(pattern)` | `(pattern)+` | Matches one or more occurrences of the given patterns |
745
- | `@(pattern)` | `(pattern)` <sup>*</sup> | Matches one of the given patterns |
746
- | `!(pattern)` | N/A (equivalent regex is much more complicated) | Matches anything except one of the given patterns |
747
-
748
- <sup><strong>*</strong></sup> Note that `@` isn't a regex character.
749
-
750
- ### Braces
751
-
752
- Brace patterns can be used to match specific ranges or sets of characters.
753
-
754
- **Example**
755
-
756
- The pattern `{f,b}*/{1..3}/{b,q}*` would match any of following strings:
757
-
758
- ```
759
- foo/1/bar
760
- foo/2/bar
761
- foo/3/bar
762
- baz/1/qux
763
- baz/2/qux
764
- baz/3/qux
765
- ```
766
-
767
- Visit [braces](https://github.com/micromatch/braces) to see the full range of features and options related to brace expansion, or to create brace matching or expansion related issues.
768
-
769
- ### Regex character classes
770
-
771
- Given the list: `['a.js', 'b.js', 'c.js', 'd.js', 'E.js']`:
772
-
773
- * `[ac].js`: matches both `a` and `c`, returning `['a.js', 'c.js']`
774
- * `[b-d].js`: matches from `b` to `d`, returning `['b.js', 'c.js', 'd.js']`
775
- * `a/[A-Z].js`: matches and uppercase letter, returning `['a/E.md']`
776
-
777
- Learn about [regex character classes](http://www.regular-expressions.info/charclass.html).
778
-
779
- ### Regex groups
780
-
781
- Given `['a.js', 'b.js', 'c.js', 'd.js', 'E.js']`:
782
-
783
- * `(a|c).js`: would match either `a` or `c`, returning `['a.js', 'c.js']`
784
- * `(b|d).js`: would match either `b` or `d`, returning `['b.js', 'd.js']`
785
- * `(b|[A-Z]).js`: would match either `b` or an uppercase letter, returning `['b.js', 'E.js']`
786
-
787
- As with regex, parens can be nested, so patterns like `((a|b)|c)/b` will work. Although brace expansion might be friendlier to use, depending on preference.
788
-
789
- ### POSIX bracket expressions
790
-
791
- POSIX brackets are intended to be more user-friendly than regex character classes. This of course is in the eye of the beholder.
792
-
793
- **Example**
794
-
795
- ```js
796
- console.log(micromatch.isMatch('a1', '[[:alpha:][:digit:]]')) //=> true
797
- console.log(micromatch.isMatch('a1', '[[:alpha:][:alpha:]]')) //=> false
798
- ```
799
-
800
- ***
801
-
802
- ## Notes
803
-
804
- ### Bash 4.3 parity
805
-
806
- Whenever possible matching behavior is based on behavior Bash 4.3, which is mostly consistent with minimatch.
807
-
808
- However, it's suprising how many edge cases and rabbit holes there are with glob matching, and since there is no real glob specification, and micromatch is more accurate than both Bash and minimatch, there are cases where best-guesses were made for behavior. In a few cases where Bash had no answers, we used wildmatch (used by git) as a fallback.
809
-
810
- ### Backslashes
811
-
812
- There is an important, notable difference between minimatch and micromatch _in regards to how backslashes are handled_ in glob patterns.
813
-
814
- * Micromatch exclusively and explicitly reserves backslashes for escaping characters in a glob pattern, even on windows, which is consistent with bash behavior. _More importantly, unescaping globs can result in unsafe regular expressions_.
815
- * Minimatch converts all backslashes to forward slashes, which means you can't use backslashes to escape any characters in your glob patterns.
816
-
817
- We made this decision for micromatch for a couple of reasons:
818
-
819
- * Consistency with bash conventions.
820
- * Glob patterns are not filepaths. They are a type of [regular language](https://en.wikipedia.org/wiki/Regular_language) that is converted to a JavaScript regular expression. Thus, when forward slashes are defined in a glob pattern, the resulting regular expression will match windows or POSIX path separators just fine.
821
-
822
- **A note about joining paths to globs**
823
-
824
- Note that when you pass something like `path.join('foo', '*')` to micromatch, you are creating a filepath and expecting it to still work as a glob pattern. This causes problems on windows, since the `path.sep` is `\\`.
825
-
826
- In other words, since `\\` is reserved as an escape character in globs, on windows `path.join('foo', '*')` would result in `foo\\*`, which tells micromatch to match `*` as a literal character. This is the same behavior as bash.
827
-
828
- To solve this, you might be inspired to do something like `'foo\\*'.replace(/\\/g, '/')`, but this causes another, potentially much more serious, problem.
829
-
830
- ## Benchmarks
831
-
832
- ### Running benchmarks
833
-
834
- Install dependencies for running benchmarks:
835
-
836
- ```sh
837
- $ cd bench && npm install
838
- ```
839
-
840
- Run the benchmarks:
841
-
842
- ```sh
843
- $ npm run bench
844
- ```
845
-
846
- ### Latest results
847
-
848
- As of March 24, 2022 (longer bars are better):
849
-
850
- ```sh
851
- # .makeRe star
852
- micromatch x 2,232,802 ops/sec ±2.34% (89 runs sampled))
853
- minimatch x 781,018 ops/sec ±6.74% (92 runs sampled))
854
-
855
- # .makeRe star; dot=true
856
- micromatch x 1,863,453 ops/sec ±0.74% (93 runs sampled)
857
- minimatch x 723,105 ops/sec ±0.75% (93 runs sampled)
858
-
859
- # .makeRe globstar
860
- micromatch x 1,624,179 ops/sec ±2.22% (91 runs sampled)
861
- minimatch x 1,117,230 ops/sec ±2.78% (86 runs sampled))
862
-
863
- # .makeRe globstars
864
- micromatch x 1,658,642 ops/sec ±0.86% (92 runs sampled)
865
- minimatch x 741,224 ops/sec ±1.24% (89 runs sampled))
866
-
867
- # .makeRe with leading star
868
- micromatch x 1,525,014 ops/sec ±1.63% (90 runs sampled)
869
- minimatch x 561,074 ops/sec ±3.07% (89 runs sampled)
870
-
871
- # .makeRe - braces
872
- micromatch x 172,478 ops/sec ±2.37% (78 runs sampled)
873
- minimatch x 96,087 ops/sec ±2.34% (88 runs sampled)))
874
-
875
- # .makeRe braces - range (expanded)
876
- micromatch x 26,973 ops/sec ±0.84% (89 runs sampled)
877
- minimatch x 3,023 ops/sec ±0.99% (90 runs sampled))
878
-
879
- # .makeRe braces - range (compiled)
880
- micromatch x 152,892 ops/sec ±1.67% (83 runs sampled)
881
- minimatch x 992 ops/sec ±3.50% (89 runs sampled)d))
882
-
883
- # .makeRe braces - nested ranges (expanded)
884
- micromatch x 15,816 ops/sec ±13.05% (80 runs sampled)
885
- minimatch x 2,953 ops/sec ±1.64% (91 runs sampled)
886
-
887
- # .makeRe braces - nested ranges (compiled)
888
- micromatch x 110,881 ops/sec ±1.85% (82 runs sampled)
889
- minimatch x 1,008 ops/sec ±1.51% (91 runs sampled)
890
-
891
- # .makeRe braces - set (compiled)
892
- micromatch x 134,930 ops/sec ±3.54% (63 runs sampled))
893
- minimatch x 43,242 ops/sec ±0.60% (93 runs sampled)
894
-
895
- # .makeRe braces - nested sets (compiled)
896
- micromatch x 94,455 ops/sec ±1.74% (69 runs sampled))
897
- minimatch x 27,720 ops/sec ±1.84% (93 runs sampled))
898
- ```
899
-
900
- ## Contributing
901
-
902
- All contributions are welcome! Please read [the contributing guide](.github/contributing.md) to get started.
903
-
904
- **Bug reports**
905
-
906
- Please create an issue if you encounter a bug or matching behavior that doesn't seem correct. If you find a matching-related issue, please:
907
-
908
- * [research existing issues first](../../issues) (open and closed)
909
- * visit the [GNU Bash documentation](https://www.gnu.org/software/bash/manual/) to see how Bash deals with the pattern
910
- * visit the [minimatch](https://github.com/isaacs/minimatch) documentation to cross-check expected behavior in node.js
911
- * if all else fails, since there is no real specification for globs we will probably need to discuss expected behavior and decide how to resolve it. which means any detail you can provide to help with this discussion would be greatly appreciated.
912
-
913
- **Platform issues**
914
-
915
- It's important to us that micromatch work consistently on all platforms. If you encounter any platform-specific matching or path related issues, please let us know (pull requests are also greatly appreciated).
916
-
917
- ## About
918
-
919
- <details>
920
- <summary><strong>Contributing</strong></summary>
921
-
922
- Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).
923
-
924
- Please read the [contributing guide](.github/contributing.md) for advice on opening issues, pull requests, and coding standards.
925
-
926
- </details>
927
-
928
- <details>
929
- <summary><strong>Running Tests</strong></summary>
930
-
931
- Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:
932
-
933
- ```sh
934
- $ npm install && npm test
935
- ```
936
-
937
- </details>
938
-
939
- <details>
940
- <summary><strong>Building docs</strong></summary>
941
-
942
- _(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_
943
-
944
- To generate the readme, run the following command:
945
-
946
- ```sh
947
- $ npm install -g verbose/verb#dev verb-generate-readme && verb
948
- ```
949
-
950
- </details>
951
-
952
- ### Related projects
953
-
954
- You might also be interested in these projects:
955
-
956
- * [braces](https://www.npmjs.com/package/braces): Bash-like brace expansion, implemented in JavaScript. Safer than other brace expansion libs, with complete support… [more](https://github.com/micromatch/braces) | [homepage](https://github.com/micromatch/braces "Bash-like brace expansion, implemented in JavaScript. Safer than other brace expansion libs, with complete support for the Bash 4.3 braces specification, without sacrificing speed.")
957
- * [expand-brackets](https://www.npmjs.com/package/expand-brackets): Expand POSIX bracket expressions (character classes) in glob patterns. | [homepage](https://github.com/micromatch/expand-brackets "Expand POSIX bracket expressions (character classes) in glob patterns.")
958
- * [extglob](https://www.npmjs.com/package/extglob): Extended glob support for JavaScript. Adds (almost) the expressive power of regular expressions to glob… [more](https://github.com/micromatch/extglob) | [homepage](https://github.com/micromatch/extglob "Extended glob support for JavaScript. Adds (almost) the expressive power of regular expressions to glob patterns.")
959
- * [fill-range](https://www.npmjs.com/package/fill-range): Fill in a range of numbers or letters, optionally passing an increment or `step` to… [more](https://github.com/jonschlinkert/fill-range) | [homepage](https://github.com/jonschlinkert/fill-range "Fill in a range of numbers or letters, optionally passing an increment or `step` to use, or create a regex-compatible range with `options.toRegex`")
960
- * [nanomatch](https://www.npmjs.com/package/nanomatch): Fast, minimal glob matcher for node.js. Similar to micromatch, minimatch and multimatch, but complete Bash… [more](https://github.com/micromatch/nanomatch) | [homepage](https://github.com/micromatch/nanomatch "Fast, minimal glob matcher for node.js. Similar to micromatch, minimatch and multimatch, but complete Bash 4.3 wildcard support only (no support for exglobs, posix brackets or braces)")
961
-
962
- ### Contributors
963
-
964
- | **Commits** | **Contributor** |
965
- | --- | --- |
966
- | 512 | [jonschlinkert](https://github.com/jonschlinkert) |
967
- | 12 | [es128](https://github.com/es128) |
968
- | 9 | [danez](https://github.com/danez) |
969
- | 8 | [doowb](https://github.com/doowb) |
970
- | 6 | [paulmillr](https://github.com/paulmillr) |
971
- | 5 | [mrmlnc](https://github.com/mrmlnc) |
972
- | 3 | [DrPizza](https://github.com/DrPizza) |
973
- | 2 | [TrySound](https://github.com/TrySound) |
974
- | 2 | [mceIdo](https://github.com/mceIdo) |
975
- | 2 | [Glazy](https://github.com/Glazy) |
976
- | 2 | [MartinKolarik](https://github.com/MartinKolarik) |
977
- | 2 | [antonyk](https://github.com/antonyk) |
978
- | 2 | [Tvrqvoise](https://github.com/Tvrqvoise) |
979
- | 1 | [amilajack](https://github.com/amilajack) |
980
- | 1 | [Cslove](https://github.com/Cslove) |
981
- | 1 | [devongovett](https://github.com/devongovett) |
982
- | 1 | [DianeLooney](https://github.com/DianeLooney) |
983
- | 1 | [UltCombo](https://github.com/UltCombo) |
984
- | 1 | [frangio](https://github.com/frangio) |
985
- | 1 | [joyceerhl](https://github.com/joyceerhl) |
986
- | 1 | [juszczykjakub](https://github.com/juszczykjakub) |
987
- | 1 | [muescha](https://github.com/muescha) |
988
- | 1 | [sebdeckers](https://github.com/sebdeckers) |
989
- | 1 | [tomByrer](https://github.com/tomByrer) |
990
- | 1 | [fidian](https://github.com/fidian) |
991
- | 1 | [curbengh](https://github.com/curbengh) |
992
- | 1 | [simlu](https://github.com/simlu) |
993
- | 1 | [wtgtybhertgeghgtwtg](https://github.com/wtgtybhertgeghgtwtg) |
994
- | 1 | [yvele](https://github.com/yvele) |
995
-
996
- ### Author
997
-
998
- **Jon Schlinkert**
999
-
1000
- * [GitHub Profile](https://github.com/jonschlinkert)
1001
- * [Twitter Profile](https://twitter.com/jonschlinkert)
1002
- * [LinkedIn Profile](https://linkedin.com/in/jonschlinkert)
1003
-
1004
- ### License
1005
-
1006
- Copyright © 2022, [Jon Schlinkert](https://github.com/jonschlinkert).
1007
- Released under the [MIT License](LICENSE).
1008
-
1009
- ***
1010
-
1011
- _This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.8.0, on March 24, 2022._