@quilted/create 0.2.42 → 0.2.44

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 (285) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/build/esm/_virtual/index.mjs +6 -2
  3. package/build/esm/_virtual/index10.mjs +3 -0
  4. package/build/esm/_virtual/index11.mjs +3 -0
  5. package/build/esm/_virtual/index12.mjs +3 -0
  6. package/build/esm/_virtual/index13.mjs +3 -0
  7. package/build/esm/_virtual/index2.mjs +2 -2
  8. package/build/esm/_virtual/index3.mjs +6 -2
  9. package/build/esm/_virtual/index4.mjs +6 -2
  10. package/build/esm/_virtual/index5.mjs +6 -2
  11. package/build/esm/_virtual/index6.mjs +6 -2
  12. package/build/esm/_virtual/index8.mjs +3 -0
  13. package/build/esm/_virtual/index9.mjs +3 -0
  14. package/build/esm/_virtual/minimatch.mjs +12 -0
  15. package/build/esm/app.mjs +2 -2
  16. package/build/esm/cli.mjs +1 -1
  17. package/build/esm/module.mjs +2 -2
  18. package/build/esm/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/adapters/fs.mjs +29 -21
  19. package/build/esm/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/constants.mjs +24 -18
  20. package/build/esm/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/index.mjs +35 -32
  21. package/build/esm/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/async.mjs +103 -101
  22. package/build/esm/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/common.mjs +19 -13
  23. package/build/esm/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/sync.mjs +63 -61
  24. package/build/esm/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/settings.mjs +33 -27
  25. package/build/esm/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/fs.mjs +25 -19
  26. package/build/esm/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/index.mjs +15 -10
  27. package/build/esm/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/adapters/fs.mjs +27 -19
  28. package/build/esm/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/index.mjs +35 -32
  29. package/build/esm/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/async.mjs +39 -33
  30. package/build/esm/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/sync.mjs +26 -20
  31. package/build/esm/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/settings.mjs +24 -17
  32. package/build/esm/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/index.mjs +44 -42
  33. package/build/esm/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/async.mjs +37 -30
  34. package/build/esm/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/stream.mjs +41 -34
  35. package/build/esm/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/sync.mjs +22 -15
  36. package/build/esm/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/async.mjs +103 -98
  37. package/build/esm/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/common.mjs +35 -29
  38. package/build/esm/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/reader.mjs +19 -12
  39. package/build/esm/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/sync.mjs +64 -59
  40. package/build/esm/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/settings.mjs +34 -27
  41. package/build/esm/node_modules/.pnpm/arg@5.0.2/node_modules/arg/index.mjs +116 -112
  42. package/build/esm/node_modules/.pnpm/balanced-match@1.0.2/node_modules/balanced-match/index.mjs +54 -47
  43. package/build/esm/node_modules/.pnpm/brace-expansion@2.0.1/node_modules/brace-expansion/index.mjs +144 -137
  44. package/build/esm/node_modules/.pnpm/braces@3.0.2/node_modules/braces/index.mjs +173 -166
  45. package/build/esm/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/compile.mjs +57 -51
  46. package/build/esm/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/constants.mjs +102 -94
  47. package/build/esm/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/expand.mjs +89 -83
  48. package/build/esm/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/parse.mjs +312 -305
  49. package/build/esm/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/stringify.mjs +30 -24
  50. package/build/esm/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/utils.mjs +116 -108
  51. package/build/esm/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/splitStringTransformer/splitStringTransformer.mjs +1 -3
  52. package/build/esm/node_modules/.pnpm/dir-glob@3.0.1/node_modules/dir-glob/index.mjs +63 -61
  53. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/index.mjs +75 -77
  54. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/managers/patterns.mjs +28 -22
  55. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/managers/tasks.mjs +83 -78
  56. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/async.mjs +31 -25
  57. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/filters/deep.mjs +66 -60
  58. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/filters/entry.mjs +66 -59
  59. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/filters/error.mjs +23 -16
  60. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/matchers/matcher.mjs +55 -48
  61. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/matchers/partial.mjs +40 -33
  62. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/provider.mjs +59 -55
  63. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/stream.mjs +38 -32
  64. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/sync.mjs +31 -25
  65. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/transformers/entry.mjs +33 -26
  66. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/async.mjs +43 -38
  67. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/reader.mjs +41 -35
  68. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/stream.mjs +60 -55
  69. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/sync.mjs +48 -43
  70. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/settings.mjs +65 -57
  71. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/array.mjs +26 -20
  72. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/errno.mjs +14 -8
  73. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/fs.mjs +25 -19
  74. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/index.mjs +33 -34
  75. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/path.mjs +39 -33
  76. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/pattern.mjs +170 -164
  77. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/stream.mjs +24 -18
  78. package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/string.mjs +18 -12
  79. package/build/esm/node_modules/.pnpm/fastq@1.13.0/node_modules/fastq/queue.mjs +227 -221
  80. package/build/esm/node_modules/.pnpm/fill-range@7.0.1/node_modules/fill-range/index.mjs +207 -200
  81. package/build/esm/node_modules/.pnpm/find-up@6.3.0/node_modules/find-up/index.mjs +1 -6
  82. package/build/esm/node_modules/.pnpm/glob-parent@5.1.2/node_modules/glob-parent/index.mjs +51 -44
  83. package/build/esm/node_modules/.pnpm/globby@13.1.1/node_modules/globby/ignore.mjs +2 -2
  84. package/build/esm/node_modules/.pnpm/globby@13.1.1/node_modules/globby/index.mjs +3 -3
  85. package/build/esm/node_modules/.pnpm/ignore@5.2.4/node_modules/ignore/index.mjs +443 -439
  86. package/build/esm/node_modules/.pnpm/is-extglob@2.1.1/node_modules/is-extglob/index.mjs +18 -11
  87. package/build/esm/node_modules/.pnpm/is-glob@4.0.3/node_modules/is-glob/index.mjs +116 -109
  88. package/build/esm/node_modules/.pnpm/is-number@7.0.0/node_modules/is-number/index.mjs +17 -10
  89. package/build/esm/node_modules/.pnpm/merge2@1.4.1/node_modules/merge2/index.mjs +117 -110
  90. package/build/esm/node_modules/.pnpm/micromatch@4.0.5/node_modules/micromatch/index.mjs +457 -451
  91. package/build/esm/node_modules/.pnpm/minimatch@5.1.0/node_modules/minimatch/lib/path.mjs +14 -7
  92. package/build/esm/node_modules/.pnpm/minimatch@5.1.0/node_modules/minimatch/minimatch.mjs +770 -770
  93. package/build/esm/node_modules/.pnpm/path-type@4.0.0/node_modules/path-type/index.mjs +40 -34
  94. package/build/esm/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/index.mjs +10 -3
  95. package/build/esm/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/constants.mjs +227 -220
  96. package/build/esm/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/parse.mjs +941 -935
  97. package/build/esm/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/picomatch.mjs +331 -325
  98. package/build/esm/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/scan.mjs +303 -297
  99. package/build/esm/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/utils.mjs +65 -57
  100. package/build/esm/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/plugins/babel.mjs +605 -605
  101. package/build/esm/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/plugins/estree.mjs +378 -394
  102. package/build/esm/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/plugins/typescript.mjs +15 -15
  103. package/build/esm/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/plugins/yaml.mjs +281 -294
  104. package/build/esm/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/standalone.mjs +155 -155
  105. package/build/esm/node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/index.mjs +1 -1
  106. package/build/esm/node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/prompts.mjs +1 -1
  107. package/build/esm/node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/util/clear.mjs +1 -1
  108. package/build/esm/node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/index.mjs +17 -12
  109. package/build/esm/node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/prompts.mjs +1 -1
  110. package/build/esm/node_modules/.pnpm/queue-microtask@1.2.3/node_modules/queue-microtask/index.mjs +14 -7
  111. package/build/esm/node_modules/.pnpm/reusify@1.0.4/node_modules/reusify/reusify.mjs +29 -22
  112. package/build/esm/node_modules/.pnpm/run-parallel@1.2.0/node_modules/run-parallel/index.mjs +49 -42
  113. package/build/esm/node_modules/.pnpm/to-regex-range@5.0.1/node_modules/to-regex-range/index.mjs +231 -224
  114. package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/nodes/YAMLMap.mjs +1 -1
  115. package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/nodes/addPairToJSMap.mjs +1 -1
  116. package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/schema/tags.mjs +3 -3
  117. package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.mjs +2 -2
  118. package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.mjs +1 -1
  119. package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/schema/yaml-1.1/set.mjs +2 -2
  120. package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/stringify/stringifyString.mjs +1 -1
  121. package/build/esm/package.mjs +2 -2
  122. package/build/esm/packages/cli-kit/build/esnext/prompt.esnext.mjs +1 -1
  123. package/build/esm/server.mjs +5 -9
  124. package/build/esm/shared/package-manager.mjs +1 -1
  125. package/build/esm/shared/prompts.mjs +1 -1
  126. package/build/esnext/_virtual/index.esnext +6 -2
  127. package/build/esnext/_virtual/index10.esnext +3 -0
  128. package/build/esnext/_virtual/index11.esnext +3 -0
  129. package/build/esnext/_virtual/index12.esnext +3 -0
  130. package/build/esnext/_virtual/index13.esnext +3 -0
  131. package/build/esnext/_virtual/index2.esnext +2 -2
  132. package/build/esnext/_virtual/index3.esnext +6 -2
  133. package/build/esnext/_virtual/index4.esnext +6 -2
  134. package/build/esnext/_virtual/index5.esnext +6 -2
  135. package/build/esnext/_virtual/index6.esnext +6 -2
  136. package/build/esnext/_virtual/index8.esnext +3 -0
  137. package/build/esnext/_virtual/index9.esnext +3 -0
  138. package/build/esnext/_virtual/minimatch.esnext +12 -0
  139. package/build/esnext/app.esnext +2 -2
  140. package/build/esnext/module.esnext +2 -2
  141. package/build/esnext/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/adapters/fs.esnext +27 -19
  142. package/build/esnext/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/constants.esnext +19 -13
  143. package/build/esnext/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/index.esnext +33 -30
  144. package/build/esnext/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/async.esnext +99 -97
  145. package/build/esnext/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/common.esnext +14 -8
  146. package/build/esnext/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/sync.esnext +59 -57
  147. package/build/esnext/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/settings.esnext +31 -25
  148. package/build/esnext/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/fs.esnext +23 -17
  149. package/build/esnext/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/index.esnext +13 -8
  150. package/build/esnext/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/adapters/fs.esnext +25 -17
  151. package/build/esnext/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/index.esnext +33 -30
  152. package/build/esnext/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/async.esnext +38 -32
  153. package/build/esnext/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/sync.esnext +25 -19
  154. package/build/esnext/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/settings.esnext +23 -16
  155. package/build/esnext/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/index.esnext +42 -40
  156. package/build/esnext/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/async.esnext +36 -29
  157. package/build/esnext/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/stream.esnext +40 -33
  158. package/build/esnext/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/sync.esnext +21 -14
  159. package/build/esnext/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/async.esnext +98 -93
  160. package/build/esnext/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/common.esnext +30 -24
  161. package/build/esnext/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/reader.esnext +17 -10
  162. package/build/esnext/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/sync.esnext +59 -54
  163. package/build/esnext/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/settings.esnext +33 -26
  164. package/build/esnext/node_modules/.pnpm/arg@5.0.2/node_modules/arg/index.esnext +132 -128
  165. package/build/esnext/node_modules/.pnpm/balanced-match@1.0.2/node_modules/balanced-match/index.esnext +54 -47
  166. package/build/esnext/node_modules/.pnpm/brace-expansion@2.0.1/node_modules/brace-expansion/index.esnext +137 -130
  167. package/build/esnext/node_modules/.pnpm/braces@3.0.2/node_modules/braces/index.esnext +66 -59
  168. package/build/esnext/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/compile.esnext +53 -47
  169. package/build/esnext/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/constants.esnext +102 -95
  170. package/build/esnext/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/expand.esnext +89 -83
  171. package/build/esnext/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/parse.esnext +217 -210
  172. package/build/esnext/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/stringify.esnext +30 -24
  173. package/build/esnext/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/utils.esnext +75 -67
  174. package/build/esnext/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/splitStringTransformer/splitStringTransformer.esnext +1 -3
  175. package/build/esnext/node_modules/.pnpm/dir-glob@3.0.1/node_modules/dir-glob/index.esnext +63 -61
  176. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/index.esnext +68 -70
  177. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/managers/patterns.esnext +17 -11
  178. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/managers/tasks.esnext +81 -76
  179. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/async.esnext +29 -23
  180. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/filters/deep.esnext +61 -55
  181. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/filters/entry.esnext +61 -54
  182. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/filters/error.esnext +21 -14
  183. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/matchers/matcher.esnext +49 -42
  184. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/matchers/partial.esnext +31 -24
  185. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/provider.esnext +57 -53
  186. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/stream.esnext +34 -28
  187. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/sync.esnext +29 -23
  188. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/transformers/entry.esnext +29 -22
  189. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/async.esnext +40 -35
  190. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/reader.esnext +39 -33
  191. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/stream.esnext +56 -51
  192. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/sync.esnext +46 -41
  193. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/settings.esnext +59 -51
  194. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/array.esnext +24 -18
  195. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/errno.esnext +12 -6
  196. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/fs.esnext +23 -17
  197. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/index.esnext +31 -32
  198. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/path.esnext +32 -26
  199. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/pattern.esnext +135 -129
  200. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/stream.esnext +23 -17
  201. package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/string.esnext +16 -10
  202. package/build/esnext/node_modules/.pnpm/fastq@1.13.0/node_modules/fastq/queue.esnext +220 -215
  203. package/build/esnext/node_modules/.pnpm/fill-range@7.0.1/node_modules/fill-range/index.esnext +193 -186
  204. package/build/esnext/node_modules/.pnpm/find-up@6.3.0/node_modules/find-up/index.esnext +1 -6
  205. package/build/esnext/node_modules/.pnpm/glob-parent@5.1.2/node_modules/glob-parent/index.esnext +31 -24
  206. package/build/esnext/node_modules/.pnpm/globby@13.1.1/node_modules/globby/ignore.esnext +2 -2
  207. package/build/esnext/node_modules/.pnpm/globby@13.1.1/node_modules/globby/index.esnext +3 -3
  208. package/build/esnext/node_modules/.pnpm/ignore@5.2.4/node_modules/ignore/index.esnext +357 -353
  209. package/build/esnext/node_modules/.pnpm/is-extglob@2.1.1/node_modules/is-extglob/index.esnext +18 -11
  210. package/build/esnext/node_modules/.pnpm/is-glob@4.0.3/node_modules/is-glob/index.esnext +111 -104
  211. package/build/esnext/node_modules/.pnpm/is-number@7.0.0/node_modules/is-number/index.esnext +17 -10
  212. package/build/esnext/node_modules/.pnpm/merge2@1.4.1/node_modules/merge2/index.esnext +103 -96
  213. package/build/esnext/node_modules/.pnpm/micromatch@4.0.5/node_modules/micromatch/index.esnext +147 -141
  214. package/build/esnext/node_modules/.pnpm/minimatch@5.1.0/node_modules/minimatch/lib/path.esnext +10 -3
  215. package/build/esnext/node_modules/.pnpm/minimatch@5.1.0/node_modules/minimatch/minimatch.esnext +495 -491
  216. package/build/esnext/node_modules/.pnpm/path-type@4.0.0/node_modules/path-type/index.esnext +38 -32
  217. package/build/esnext/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/index.esnext +10 -3
  218. package/build/esnext/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/constants.esnext +198 -191
  219. package/build/esnext/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/parse.esnext +683 -677
  220. package/build/esnext/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/picomatch.esnext +137 -131
  221. package/build/esnext/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/scan.esnext +279 -273
  222. package/build/esnext/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/utils.esnext +65 -57
  223. package/build/esnext/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/plugins/babel.esnext +9 -9
  224. package/build/esnext/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/plugins/estree.esnext +20 -20
  225. package/build/esnext/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/plugins/typescript.esnext +15 -15
  226. package/build/esnext/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/plugins/yaml.esnext +64 -64
  227. package/build/esnext/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/standalone.esnext +19 -19
  228. package/build/esnext/node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/index.esnext +1 -1
  229. package/build/esnext/node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/util/clear.esnext +1 -1
  230. package/build/esnext/node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/index.esnext +16 -11
  231. package/build/esnext/node_modules/.pnpm/queue-microtask@1.2.3/node_modules/queue-microtask/index.esnext +12 -5
  232. package/build/esnext/node_modules/.pnpm/reusify@1.0.4/node_modules/reusify/reusify.esnext +29 -22
  233. package/build/esnext/node_modules/.pnpm/run-parallel@1.2.0/node_modules/run-parallel/index.esnext +47 -40
  234. package/build/esnext/node_modules/.pnpm/to-regex-range@5.0.1/node_modules/to-regex-range/index.esnext +196 -189
  235. package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/compose/resolve-block-scalar.esnext +2 -0
  236. package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.esnext +2 -0
  237. package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/compose/resolve-props.esnext +1 -0
  238. package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/nodes/YAMLMap.esnext +1 -1
  239. package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/nodes/addPairToJSMap.esnext +1 -1
  240. package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/parse/lexer.esnext +5 -0
  241. package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/parse/parser.esnext +4 -0
  242. package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/schema/tags.esnext +3 -3
  243. package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.esnext +2 -2
  244. package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.esnext +1 -1
  245. package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/schema/yaml-1.1/set.esnext +2 -2
  246. package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/stringify/stringifyString.esnext +1 -1
  247. package/build/esnext/package.esnext +2 -2
  248. package/build/esnext/packages/cli-kit/build/esnext/prompt.esnext.esnext +1 -1
  249. package/build/esnext/server.esnext +5 -9
  250. package/build/esnext/shared/package-manager.esnext +1 -1
  251. package/build/esnext/shared/prompts.esnext +1 -1
  252. package/build/tsconfig.tsbuildinfo +1 -1
  253. package/package.json +3 -3
  254. package/source/shared/prompts.ts +1 -1
  255. package/templates/app-basic/App.tsx +3 -4
  256. package/templates/app-basic/browser.tsx +5 -1
  257. package/templates/app-basic/foundation/html/Head.test.tsx +42 -0
  258. package/templates/app-basic/foundation/html/Head.tsx +34 -0
  259. package/templates/app-basic/foundation/html.ts +1 -1
  260. package/templates/app-basic/package.json +4 -4
  261. package/templates/app-basic/server.tsx +89 -3
  262. package/templates/app-empty/package.json +3 -3
  263. package/templates/app-empty/server.tsx +4 -3
  264. package/templates/app-graphql/App.tsx +3 -4
  265. package/templates/app-graphql/browser.tsx +5 -1
  266. package/templates/app-graphql/foundation/html/Head.test.tsx +42 -0
  267. package/templates/app-graphql/foundation/html/Head.tsx +34 -0
  268. package/templates/app-graphql/foundation/html.ts +1 -1
  269. package/templates/app-graphql/package.json +4 -4
  270. package/templates/app-graphql/server.tsx +93 -9
  271. package/templates/app-trpc/App.tsx +3 -4
  272. package/templates/app-trpc/browser.tsx +5 -1
  273. package/templates/app-trpc/foundation/html/Head.test.tsx +42 -0
  274. package/templates/app-trpc/foundation/html/Head.tsx +34 -0
  275. package/templates/app-trpc/foundation/html.ts +1 -1
  276. package/templates/app-trpc/package.json +4 -4
  277. package/templates/app-trpc/server.tsx +93 -8
  278. package/templates/package/package.json +3 -3
  279. package/templates/workspace/package.json +4 -4
  280. package/templates/app-basic/foundation/html/HTML.test.tsx +0 -46
  281. package/templates/app-basic/foundation/html/HTML.tsx +0 -159
  282. package/templates/app-graphql/foundation/html/HTML.test.tsx +0 -46
  283. package/templates/app-graphql/foundation/html/HTML.tsx +0 -159
  284. package/templates/app-trpc/foundation/html/HTML.test.tsx +0 -46
  285. package/templates/app-trpc/foundation/html/HTML.tsx +0 -159
@@ -1,48 +1,55 @@
1
- import { q as queueMicrotask_1 } from '../../../queue-microtask@1.2.3/node_modules/queue-microtask/index.esnext';
1
+ import { __require as requireQueueMicrotask } from '../../../queue-microtask@1.2.3/node_modules/queue-microtask/index.esnext';
2
2
 
3
- var runParallel_1 = runParallel;
4
- const queueMicrotask = queueMicrotask_1;
5
- function runParallel(tasks, cb) {
6
- let results, pending, keys;
7
- let isSync = true;
8
- if (Array.isArray(tasks)) {
9
- results = [];
10
- pending = tasks.length;
11
- } else {
12
- keys = Object.keys(tasks);
13
- results = {};
14
- pending = keys.length;
15
- }
16
- function done(err) {
17
- function end() {
18
- if (cb) cb(err, results);
19
- cb = null;
3
+ var runParallel_1;
4
+ var hasRequiredRunParallel;
5
+ function requireRunParallel() {
6
+ if (hasRequiredRunParallel) return runParallel_1;
7
+ hasRequiredRunParallel = 1;
8
+ runParallel_1 = runParallel;
9
+ const queueMicrotask = requireQueueMicrotask();
10
+ function runParallel(tasks, cb) {
11
+ let results, pending, keys;
12
+ let isSync = true;
13
+ if (Array.isArray(tasks)) {
14
+ results = [];
15
+ pending = tasks.length;
16
+ } else {
17
+ keys = Object.keys(tasks);
18
+ results = {};
19
+ pending = keys.length;
20
20
  }
21
- if (isSync) queueMicrotask(end);
22
- else end();
23
- }
24
- function each(i, err, result) {
25
- results[i] = result;
26
- if (--pending === 0 || err) {
27
- done(err);
21
+ function done(err) {
22
+ function end() {
23
+ if (cb) cb(err, results);
24
+ cb = null;
25
+ }
26
+ if (isSync) queueMicrotask(end);
27
+ else end();
28
28
  }
29
- }
30
- if (!pending) {
31
- done(null);
32
- } else if (keys) {
33
- keys.forEach(function(key) {
34
- tasks[key](function(err, result) {
35
- each(key, err, result);
29
+ function each(i, err, result) {
30
+ results[i] = result;
31
+ if (--pending === 0 || err) {
32
+ done(err);
33
+ }
34
+ }
35
+ if (!pending) {
36
+ done(null);
37
+ } else if (keys) {
38
+ keys.forEach(function(key) {
39
+ tasks[key](function(err, result) {
40
+ each(key, err, result);
41
+ });
36
42
  });
37
- });
38
- } else {
39
- tasks.forEach(function(task, i) {
40
- task(function(err, result) {
41
- each(i, err, result);
43
+ } else {
44
+ tasks.forEach(function(task, i) {
45
+ task(function(err, result) {
46
+ each(i, err, result);
47
+ });
42
48
  });
43
- });
49
+ }
50
+ isSync = false;
44
51
  }
45
- isSync = false;
52
+ return runParallel_1;
46
53
  }
47
54
 
48
- export { runParallel_1 as r };
55
+ export { requireRunParallel as __require };
@@ -1,208 +1,215 @@
1
- import { i as isNumber$1 } from '../../../is-number@7.0.0/node_modules/is-number/index.esnext';
1
+ import { __require as requireIsNumber } from '../../../is-number@7.0.0/node_modules/is-number/index.esnext';
2
2
 
3
- const isNumber = isNumber$1;
4
- const toRegexRange = (min, max, options) => {
5
- if (isNumber(min) === false) {
6
- throw new TypeError("toRegexRange: expected the first argument to be a number");
7
- }
8
- if (max === void 0 || min === max) {
9
- return String(min);
10
- }
11
- if (isNumber(max) === false) {
12
- throw new TypeError("toRegexRange: expected the second argument to be a number.");
13
- }
14
- let opts = { relaxZeros: true, ...options };
15
- if (typeof opts.strictZeros === "boolean") {
16
- opts.relaxZeros = opts.strictZeros === false;
17
- }
18
- let relax = String(opts.relaxZeros);
19
- let shorthand = String(opts.shorthand);
20
- let capture = String(opts.capture);
21
- let wrap = String(opts.wrap);
22
- let cacheKey = min + ":" + max + "=" + relax + shorthand + capture + wrap;
23
- if (toRegexRange.cache.hasOwnProperty(cacheKey)) {
24
- return toRegexRange.cache[cacheKey].result;
25
- }
26
- let a = Math.min(min, max);
27
- let b = Math.max(min, max);
28
- if (Math.abs(a - b) === 1) {
29
- let result = min + "|" + max;
30
- if (opts.capture) {
31
- return `(${result})`;
3
+ var toRegexRange_1;
4
+ var hasRequiredToRegexRange;
5
+ function requireToRegexRange() {
6
+ if (hasRequiredToRegexRange) return toRegexRange_1;
7
+ hasRequiredToRegexRange = 1;
8
+ const isNumber = requireIsNumber();
9
+ const toRegexRange = (min, max, options) => {
10
+ if (isNumber(min) === false) {
11
+ throw new TypeError("toRegexRange: expected the first argument to be a number");
32
12
  }
33
- if (opts.wrap === false) {
34
- return result;
13
+ if (max === void 0 || min === max) {
14
+ return String(min);
15
+ }
16
+ if (isNumber(max) === false) {
17
+ throw new TypeError("toRegexRange: expected the second argument to be a number.");
18
+ }
19
+ let opts = { relaxZeros: true, ...options };
20
+ if (typeof opts.strictZeros === "boolean") {
21
+ opts.relaxZeros = opts.strictZeros === false;
22
+ }
23
+ let relax = String(opts.relaxZeros);
24
+ let shorthand = String(opts.shorthand);
25
+ let capture = String(opts.capture);
26
+ let wrap = String(opts.wrap);
27
+ let cacheKey = min + ":" + max + "=" + relax + shorthand + capture + wrap;
28
+ if (toRegexRange.cache.hasOwnProperty(cacheKey)) {
29
+ return toRegexRange.cache[cacheKey].result;
30
+ }
31
+ let a = Math.min(min, max);
32
+ let b = Math.max(min, max);
33
+ if (Math.abs(a - b) === 1) {
34
+ let result = min + "|" + max;
35
+ if (opts.capture) {
36
+ return `(${result})`;
37
+ }
38
+ if (opts.wrap === false) {
39
+ return result;
40
+ }
41
+ return `(?:${result})`;
42
+ }
43
+ let isPadded = hasPadding(min) || hasPadding(max);
44
+ let state = { min, max, a, b };
45
+ let positives = [];
46
+ let negatives = [];
47
+ if (isPadded) {
48
+ state.isPadded = isPadded;
49
+ state.maxLen = String(state.max).length;
50
+ }
51
+ if (a < 0) {
52
+ let newMin = b < 0 ? Math.abs(b) : 1;
53
+ negatives = splitToPatterns(newMin, Math.abs(a), state, opts);
54
+ a = state.a = 0;
55
+ }
56
+ if (b >= 0) {
57
+ positives = splitToPatterns(a, b, state, opts);
58
+ }
59
+ state.negatives = negatives;
60
+ state.positives = positives;
61
+ state.result = collatePatterns(negatives, positives);
62
+ if (opts.capture === true) {
63
+ state.result = `(${state.result})`;
64
+ } else if (opts.wrap !== false && positives.length + negatives.length > 1) {
65
+ state.result = `(?:${state.result})`;
66
+ }
67
+ toRegexRange.cache[cacheKey] = state;
68
+ return state.result;
69
+ };
70
+ function collatePatterns(neg, pos, options) {
71
+ let onlyNegative = filterPatterns(neg, pos, "-", false) || [];
72
+ let onlyPositive = filterPatterns(pos, neg, "", false) || [];
73
+ let intersected = filterPatterns(neg, pos, "-?", true) || [];
74
+ let subpatterns = onlyNegative.concat(intersected).concat(onlyPositive);
75
+ return subpatterns.join("|");
76
+ }
77
+ function splitToRanges(min, max) {
78
+ let nines = 1;
79
+ let zeros = 1;
80
+ let stop = countNines(min, nines);
81
+ let stops = /* @__PURE__ */ new Set([max]);
82
+ while (min <= stop && stop <= max) {
83
+ stops.add(stop);
84
+ nines += 1;
85
+ stop = countNines(min, nines);
35
86
  }
36
- return `(?:${result})`;
37
- }
38
- let isPadded = hasPadding(min) || hasPadding(max);
39
- let state = { min, max, a, b };
40
- let positives = [];
41
- let negatives = [];
42
- if (isPadded) {
43
- state.isPadded = isPadded;
44
- state.maxLen = String(state.max).length;
45
- }
46
- if (a < 0) {
47
- let newMin = b < 0 ? Math.abs(b) : 1;
48
- negatives = splitToPatterns(newMin, Math.abs(a), state, opts);
49
- a = state.a = 0;
50
- }
51
- if (b >= 0) {
52
- positives = splitToPatterns(a, b, state, opts);
53
- }
54
- state.negatives = negatives;
55
- state.positives = positives;
56
- state.result = collatePatterns(negatives, positives);
57
- if (opts.capture === true) {
58
- state.result = `(${state.result})`;
59
- } else if (opts.wrap !== false && positives.length + negatives.length > 1) {
60
- state.result = `(?:${state.result})`;
61
- }
62
- toRegexRange.cache[cacheKey] = state;
63
- return state.result;
64
- };
65
- function collatePatterns(neg, pos, options) {
66
- let onlyNegative = filterPatterns(neg, pos, "-", false) || [];
67
- let onlyPositive = filterPatterns(pos, neg, "", false) || [];
68
- let intersected = filterPatterns(neg, pos, "-?", true) || [];
69
- let subpatterns = onlyNegative.concat(intersected).concat(onlyPositive);
70
- return subpatterns.join("|");
71
- }
72
- function splitToRanges(min, max) {
73
- let nines = 1;
74
- let zeros = 1;
75
- let stop = countNines(min, nines);
76
- let stops = /* @__PURE__ */ new Set([max]);
77
- while (min <= stop && stop <= max) {
78
- stops.add(stop);
79
- nines += 1;
80
- stop = countNines(min, nines);
81
- }
82
- stop = countZeros(max + 1, zeros) - 1;
83
- while (min < stop && stop <= max) {
84
- stops.add(stop);
85
- zeros += 1;
86
87
  stop = countZeros(max + 1, zeros) - 1;
87
- }
88
- stops = [...stops];
89
- stops.sort(compare);
90
- return stops;
91
- }
92
- function rangeToPattern(start, stop, options) {
93
- if (start === stop) {
94
- return { pattern: start, count: [], digits: 0 };
95
- }
96
- let zipped = zip(start, stop);
97
- let digits = zipped.length;
98
- let pattern = "";
99
- let count = 0;
100
- for (let i = 0; i < digits; i++) {
101
- let [startDigit, stopDigit] = zipped[i];
102
- if (startDigit === stopDigit) {
103
- pattern += startDigit;
104
- } else if (startDigit !== "0" || stopDigit !== "9") {
105
- pattern += toCharacterClass(startDigit, stopDigit);
106
- } else {
107
- count++;
88
+ while (min < stop && stop <= max) {
89
+ stops.add(stop);
90
+ zeros += 1;
91
+ stop = countZeros(max + 1, zeros) - 1;
108
92
  }
93
+ stops = [...stops];
94
+ stops.sort(compare);
95
+ return stops;
109
96
  }
110
- if (count) {
111
- pattern += options.shorthand === true ? "\\d" : "[0-9]";
112
- }
113
- return { pattern, count: [count], digits };
114
- }
115
- function splitToPatterns(min, max, tok, options) {
116
- let ranges = splitToRanges(min, max);
117
- let tokens = [];
118
- let start = min;
119
- let prev;
120
- for (let i = 0; i < ranges.length; i++) {
121
- let max2 = ranges[i];
122
- let obj = rangeToPattern(String(start), String(max2), options);
123
- let zeros = "";
124
- if (!tok.isPadded && prev && prev.pattern === obj.pattern) {
125
- if (prev.count.length > 1) {
126
- prev.count.pop();
97
+ function rangeToPattern(start, stop, options) {
98
+ if (start === stop) {
99
+ return { pattern: start, count: [], digits: 0 };
100
+ }
101
+ let zipped = zip(start, stop);
102
+ let digits = zipped.length;
103
+ let pattern = "";
104
+ let count = 0;
105
+ for (let i = 0; i < digits; i++) {
106
+ let [startDigit, stopDigit] = zipped[i];
107
+ if (startDigit === stopDigit) {
108
+ pattern += startDigit;
109
+ } else if (startDigit !== "0" || stopDigit !== "9") {
110
+ pattern += toCharacterClass(startDigit, stopDigit);
111
+ } else {
112
+ count++;
127
113
  }
128
- prev.count.push(obj.count[0]);
129
- prev.string = prev.pattern + toQuantifier(prev.count);
114
+ }
115
+ if (count) {
116
+ pattern += options.shorthand === true ? "\\d" : "[0-9]";
117
+ }
118
+ return { pattern, count: [count], digits };
119
+ }
120
+ function splitToPatterns(min, max, tok, options) {
121
+ let ranges = splitToRanges(min, max);
122
+ let tokens = [];
123
+ let start = min;
124
+ let prev;
125
+ for (let i = 0; i < ranges.length; i++) {
126
+ let max2 = ranges[i];
127
+ let obj = rangeToPattern(String(start), String(max2), options);
128
+ let zeros = "";
129
+ if (!tok.isPadded && prev && prev.pattern === obj.pattern) {
130
+ if (prev.count.length > 1) {
131
+ prev.count.pop();
132
+ }
133
+ prev.count.push(obj.count[0]);
134
+ prev.string = prev.pattern + toQuantifier(prev.count);
135
+ start = max2 + 1;
136
+ continue;
137
+ }
138
+ if (tok.isPadded) {
139
+ zeros = padZeros(max2, tok, options);
140
+ }
141
+ obj.string = zeros + obj.pattern + toQuantifier(obj.count);
142
+ tokens.push(obj);
130
143
  start = max2 + 1;
131
- continue;
144
+ prev = obj;
132
145
  }
133
- if (tok.isPadded) {
134
- zeros = padZeros(max2, tok, options);
146
+ return tokens;
147
+ }
148
+ function filterPatterns(arr, comparison, prefix, intersection, options) {
149
+ let result = [];
150
+ for (let ele of arr) {
151
+ let { string } = ele;
152
+ if (!intersection && !contains(comparison, "string", string)) {
153
+ result.push(prefix + string);
154
+ }
155
+ if (intersection && contains(comparison, "string", string)) {
156
+ result.push(prefix + string);
157
+ }
135
158
  }
136
- obj.string = zeros + obj.pattern + toQuantifier(obj.count);
137
- tokens.push(obj);
138
- start = max2 + 1;
139
- prev = obj;
159
+ return result;
140
160
  }
141
- return tokens;
142
- }
143
- function filterPatterns(arr, comparison, prefix, intersection, options) {
144
- let result = [];
145
- for (let ele of arr) {
146
- let { string } = ele;
147
- if (!intersection && !contains(comparison, "string", string)) {
148
- result.push(prefix + string);
149
- }
150
- if (intersection && contains(comparison, "string", string)) {
151
- result.push(prefix + string);
161
+ function zip(a, b) {
162
+ let arr = [];
163
+ for (let i = 0; i < a.length; i++) arr.push([a[i], b[i]]);
164
+ return arr;
165
+ }
166
+ function compare(a, b) {
167
+ return a > b ? 1 : b > a ? -1 : 0;
168
+ }
169
+ function contains(arr, key, val) {
170
+ return arr.some((ele) => ele[key] === val);
171
+ }
172
+ function countNines(min, len) {
173
+ return Number(String(min).slice(0, -len) + "9".repeat(len));
174
+ }
175
+ function countZeros(integer, zeros) {
176
+ return integer - integer % Math.pow(10, zeros);
177
+ }
178
+ function toQuantifier(digits) {
179
+ let [start = 0, stop = ""] = digits;
180
+ if (stop || start > 1) {
181
+ return `{${start + (stop ? "," + stop : "")}}`;
152
182
  }
183
+ return "";
153
184
  }
154
- return result;
155
- }
156
- function zip(a, b) {
157
- let arr = [];
158
- for (let i = 0; i < a.length; i++) arr.push([a[i], b[i]]);
159
- return arr;
160
- }
161
- function compare(a, b) {
162
- return a > b ? 1 : b > a ? -1 : 0;
163
- }
164
- function contains(arr, key, val) {
165
- return arr.some((ele) => ele[key] === val);
166
- }
167
- function countNines(min, len) {
168
- return Number(String(min).slice(0, -len) + "9".repeat(len));
169
- }
170
- function countZeros(integer, zeros) {
171
- return integer - integer % Math.pow(10, zeros);
172
- }
173
- function toQuantifier(digits) {
174
- let [start = 0, stop = ""] = digits;
175
- if (stop || start > 1) {
176
- return `{${start + (stop ? "," + stop : "")}}`;
185
+ function toCharacterClass(a, b, options) {
186
+ return `[${a}${b - a === 1 ? "" : "-"}${b}]`;
177
187
  }
178
- return "";
179
- }
180
- function toCharacterClass(a, b, options) {
181
- return `[${a}${b - a === 1 ? "" : "-"}${b}]`;
182
- }
183
- function hasPadding(str) {
184
- return /^-?(0+)\d/.test(str);
185
- }
186
- function padZeros(value, tok, options) {
187
- if (!tok.isPadded) {
188
- return value;
188
+ function hasPadding(str) {
189
+ return /^-?(0+)\d/.test(str);
189
190
  }
190
- let diff = Math.abs(tok.maxLen - String(value).length);
191
- let relax = options.relaxZeros !== false;
192
- switch (diff) {
193
- case 0:
194
- return "";
195
- case 1:
196
- return relax ? "0?" : "0";
197
- case 2:
198
- return relax ? "0{0,2}" : "00";
199
- default: {
200
- return relax ? `0{0,${diff}}` : `0{${diff}}`;
191
+ function padZeros(value, tok, options) {
192
+ if (!tok.isPadded) {
193
+ return value;
194
+ }
195
+ let diff = Math.abs(tok.maxLen - String(value).length);
196
+ let relax = options.relaxZeros !== false;
197
+ switch (diff) {
198
+ case 0:
199
+ return "";
200
+ case 1:
201
+ return relax ? "0?" : "0";
202
+ case 2:
203
+ return relax ? "0{0,2}" : "00";
204
+ default: {
205
+ return relax ? `0{0,${diff}}` : `0{${diff}}`;
206
+ }
201
207
  }
202
208
  }
209
+ toRegexRange.cache = {};
210
+ toRegexRange.clearCache = () => toRegexRange.cache = {};
211
+ toRegexRange_1 = toRegexRange;
212
+ return toRegexRange_1;
203
213
  }
204
- toRegexRange.cache = {};
205
- toRegexRange.clearCache = () => toRegexRange.cache = {};
206
- var toRegexRange_1 = toRegexRange;
207
214
 
208
- export { toRegexRange_1 as t };
215
+ export { requireToRegexRange as __require };
@@ -132,6 +132,7 @@ function parseBlockScalarHeader({ offset, props }, strict, onError) {
132
132
  switch (token.type) {
133
133
  case "space":
134
134
  hasSpace = true;
135
+ // fallthrough
135
136
  case "newline":
136
137
  length += token.source.length;
137
138
  break;
@@ -147,6 +148,7 @@ function parseBlockScalarHeader({ offset, props }, strict, onError) {
147
148
  onError(token, "UNEXPECTED_TOKEN", token.message);
148
149
  length += token.source.length;
149
150
  break;
151
+ /* istanbul ignore next should not happen */
150
152
  default: {
151
153
  const message = `Unexpected token in block scalar header: ${token.type}`;
152
154
  onError(token, "UNEXPECTED_TOKEN", message);
@@ -19,6 +19,7 @@ function resolveFlowScalar(scalar, strict, onError) {
19
19
  _type = Scalar.QUOTE_DOUBLE;
20
20
  value = doubleQuotedValue(source, _onError);
21
21
  break;
22
+ /* istanbul ignore next should not happen */
22
23
  default:
23
24
  onError(scalar, "UNEXPECTED_TOKEN", `Expected a flow scalar value, but found: ${type}`);
24
25
  return {
@@ -40,6 +41,7 @@ function resolveFlowScalar(scalar, strict, onError) {
40
41
  function plainValue(source, onError) {
41
42
  let badChar = "";
42
43
  switch (source[0]) {
44
+ /* istanbul ignore next should not happen */
43
45
  case " ":
44
46
  badChar = "a tab character";
45
47
  break;
@@ -91,6 +91,7 @@ function resolveProps(tokens, { flow, indicator, next, offset, onError, startOnN
91
91
  hasSpace = false;
92
92
  break;
93
93
  }
94
+ // else fallthrough
94
95
  default:
95
96
  onError(token, "UNEXPECTED_TOKEN", `Unexpected ${token.type} token`);
96
97
  atNewline = false;
@@ -1,7 +1,7 @@
1
1
  import { stringifyCollection } from '../stringify/stringifyCollection.esnext';
2
2
  import { addPairToJSMap } from './addPairToJSMap.esnext';
3
3
  import { Collection } from './Collection.esnext';
4
- import { isScalar, isPair, MAP } from './Node.esnext';
4
+ import { MAP, isPair, isScalar } from './Node.esnext';
5
5
  import { Pair } from './Pair.esnext';
6
6
  import { isScalarValue } from './Scalar.esnext';
7
7
 
@@ -1,6 +1,6 @@
1
1
  import { warn } from '../log.esnext';
2
2
  import { createStringifyContext } from '../stringify/stringify.esnext';
3
- import { isAlias, isSeq, isScalar, isMap, isNode } from './Node.esnext';
3
+ import { isScalar, isAlias, isSeq, isMap, isNode } from './Node.esnext';
4
4
  import { Scalar } from './Scalar.esnext';
5
5
  import { toJS } from './toJS.esnext';
6
6
 
@@ -207,6 +207,7 @@ class Lexer {
207
207
  switch (line[n]) {
208
208
  case "#":
209
209
  yield* this.pushCount(line.length - n);
210
+ // fallthrough
210
211
  case void 0:
211
212
  yield* this.pushNewline();
212
213
  return yield* this.parseLineStart();
@@ -302,6 +303,7 @@ class Lexer {
302
303
  return "flow";
303
304
  }
304
305
  }
306
+ // fallthrough
305
307
  default:
306
308
  this.flowKey = false;
307
309
  return yield* this.parsePlainScalar();
@@ -379,6 +381,7 @@ class Lexer {
379
381
  if (next === "\n")
380
382
  break;
381
383
  }
384
+ // fallthrough
382
385
  default:
383
386
  break loop;
384
387
  }
@@ -487,7 +490,9 @@ class Lexer {
487
490
  case "&":
488
491
  return (yield* this.pushUntil(isNotAnchorChar)) + (yield* this.pushSpaces(true)) + (yield* this.pushIndicators());
489
492
  case "-":
493
+ // this is an error
490
494
  case "?":
495
+ // this is an error outside flow collections
491
496
  case ":": {
492
497
  const inFlow = this.flowLevel > 0;
493
498
  const ch1 = this.charAt(1);
@@ -42,6 +42,7 @@ function getPrevProps(parent) {
42
42
  }
43
43
  case "block-seq":
44
44
  return parent.items[parent.items.length - 1].start;
45
+ /* istanbul ignore next should not happen */
45
46
  default:
46
47
  return [];
47
48
  }
@@ -273,6 +274,7 @@ class Parser {
273
274
  Object.assign(it, { key: token, sep: [] });
274
275
  return;
275
276
  }
277
+ /* istanbul ignore next should not happen */
276
278
  default:
277
279
  yield* this.pop();
278
280
  yield* this.pop(token);
@@ -394,6 +396,7 @@ class Parser {
394
396
  }
395
397
  yield* this.pop();
396
398
  break;
399
+ /* istanbul ignore next should not happen */
397
400
  default:
398
401
  yield* this.pop();
399
402
  yield* this.step();
@@ -826,6 +829,7 @@ class Parser {
826
829
  break;
827
830
  case "newline":
828
831
  this.onKeyLine = false;
832
+ // fallthrough
829
833
  case "space":
830
834
  case "comment":
831
835
  default:
@@ -3,8 +3,8 @@ import { nullTag } from './common/null.esnext';
3
3
  import { seq } from './common/seq.esnext';
4
4
  import { string } from './common/string.esnext';
5
5
  import { boolTag } from './core/bool.esnext';
6
- import { float, floatExp, floatNaN } from './core/float.esnext';
7
- import { int, intHex, intOct } from './core/int.esnext';
6
+ import { floatNaN, floatExp, float } from './core/float.esnext';
7
+ import { intOct, intHex, int } from './core/int.esnext';
8
8
  import { schema } from './core/schema.esnext';
9
9
  import { schema as schema$1 } from './json/schema.esnext';
10
10
  import { binary } from './yaml-1.1/binary.esnext';
@@ -12,7 +12,7 @@ import { omap } from './yaml-1.1/omap.esnext';
12
12
  import { pairs } from './yaml-1.1/pairs.esnext';
13
13
  import { schema as schema$2 } from './yaml-1.1/schema.esnext';
14
14
  import { set } from './yaml-1.1/set.esnext';
15
- import { timestamp, floatTime, intTime } from './yaml-1.1/timestamp.esnext';
15
+ import { timestamp, intTime, floatTime } from './yaml-1.1/timestamp.esnext';
16
16
 
17
17
  const schemas = /* @__PURE__ */ new Map([
18
18
  ["core", schema],
@@ -1,8 +1,8 @@
1
1
  import { YAMLSeq } from '../../nodes/YAMLSeq.esnext';
2
2
  import { toJS } from '../../nodes/toJS.esnext';
3
- import { isPair, isScalar } from '../../nodes/Node.esnext';
3
+ import { isScalar, isPair } from '../../nodes/Node.esnext';
4
4
  import { YAMLMap } from '../../nodes/YAMLMap.esnext';
5
- import { resolvePairs, createPairs } from './pairs.esnext';
5
+ import { createPairs, resolvePairs } from './pairs.esnext';
6
6
 
7
7
  class YAMLOMap extends YAMLSeq {
8
8
  constructor() {
@@ -1,5 +1,5 @@
1
1
  import { isSeq, isPair, isMap } from '../../nodes/Node.esnext';
2
- import { Pair, createPair } from '../../nodes/Pair.esnext';
2
+ import { createPair, Pair } from '../../nodes/Pair.esnext';
3
3
  import { Scalar } from '../../nodes/Scalar.esnext';
4
4
  import { YAMLSeq } from '../../nodes/YAMLSeq.esnext';
5
5