@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.
- package/CHANGELOG.md +20 -0
- package/build/esm/_virtual/index.mjs +6 -2
- package/build/esm/_virtual/index10.mjs +3 -0
- package/build/esm/_virtual/index11.mjs +3 -0
- package/build/esm/_virtual/index12.mjs +3 -0
- package/build/esm/_virtual/index13.mjs +3 -0
- package/build/esm/_virtual/index2.mjs +2 -2
- package/build/esm/_virtual/index3.mjs +6 -2
- package/build/esm/_virtual/index4.mjs +6 -2
- package/build/esm/_virtual/index5.mjs +6 -2
- package/build/esm/_virtual/index6.mjs +6 -2
- package/build/esm/_virtual/index8.mjs +3 -0
- package/build/esm/_virtual/index9.mjs +3 -0
- package/build/esm/_virtual/minimatch.mjs +12 -0
- package/build/esm/app.mjs +2 -2
- package/build/esm/cli.mjs +1 -1
- package/build/esm/module.mjs +2 -2
- package/build/esm/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/adapters/fs.mjs +29 -21
- package/build/esm/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/constants.mjs +24 -18
- package/build/esm/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/index.mjs +35 -32
- package/build/esm/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/async.mjs +103 -101
- package/build/esm/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/common.mjs +19 -13
- package/build/esm/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/sync.mjs +63 -61
- package/build/esm/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/settings.mjs +33 -27
- package/build/esm/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/fs.mjs +25 -19
- package/build/esm/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/index.mjs +15 -10
- package/build/esm/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/adapters/fs.mjs +27 -19
- package/build/esm/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/index.mjs +35 -32
- package/build/esm/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/async.mjs +39 -33
- package/build/esm/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/sync.mjs +26 -20
- package/build/esm/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/settings.mjs +24 -17
- package/build/esm/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/index.mjs +44 -42
- package/build/esm/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/async.mjs +37 -30
- package/build/esm/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/stream.mjs +41 -34
- package/build/esm/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/sync.mjs +22 -15
- package/build/esm/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/async.mjs +103 -98
- package/build/esm/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/common.mjs +35 -29
- package/build/esm/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/reader.mjs +19 -12
- package/build/esm/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/sync.mjs +64 -59
- package/build/esm/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/settings.mjs +34 -27
- package/build/esm/node_modules/.pnpm/arg@5.0.2/node_modules/arg/index.mjs +116 -112
- package/build/esm/node_modules/.pnpm/balanced-match@1.0.2/node_modules/balanced-match/index.mjs +54 -47
- package/build/esm/node_modules/.pnpm/brace-expansion@2.0.1/node_modules/brace-expansion/index.mjs +144 -137
- package/build/esm/node_modules/.pnpm/braces@3.0.2/node_modules/braces/index.mjs +173 -166
- package/build/esm/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/compile.mjs +57 -51
- package/build/esm/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/constants.mjs +102 -94
- package/build/esm/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/expand.mjs +89 -83
- package/build/esm/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/parse.mjs +312 -305
- package/build/esm/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/stringify.mjs +30 -24
- package/build/esm/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/utils.mjs +116 -108
- package/build/esm/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/splitStringTransformer/splitStringTransformer.mjs +1 -3
- package/build/esm/node_modules/.pnpm/dir-glob@3.0.1/node_modules/dir-glob/index.mjs +63 -61
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/index.mjs +75 -77
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/managers/patterns.mjs +28 -22
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/managers/tasks.mjs +83 -78
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/async.mjs +31 -25
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/filters/deep.mjs +66 -60
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/filters/entry.mjs +66 -59
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/filters/error.mjs +23 -16
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/matchers/matcher.mjs +55 -48
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/matchers/partial.mjs +40 -33
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/provider.mjs +59 -55
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/stream.mjs +38 -32
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/sync.mjs +31 -25
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/transformers/entry.mjs +33 -26
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/async.mjs +43 -38
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/reader.mjs +41 -35
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/stream.mjs +60 -55
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/sync.mjs +48 -43
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/settings.mjs +65 -57
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/array.mjs +26 -20
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/errno.mjs +14 -8
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/fs.mjs +25 -19
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/index.mjs +33 -34
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/path.mjs +39 -33
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/pattern.mjs +170 -164
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/stream.mjs +24 -18
- package/build/esm/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/string.mjs +18 -12
- package/build/esm/node_modules/.pnpm/fastq@1.13.0/node_modules/fastq/queue.mjs +227 -221
- package/build/esm/node_modules/.pnpm/fill-range@7.0.1/node_modules/fill-range/index.mjs +207 -200
- package/build/esm/node_modules/.pnpm/find-up@6.3.0/node_modules/find-up/index.mjs +1 -6
- package/build/esm/node_modules/.pnpm/glob-parent@5.1.2/node_modules/glob-parent/index.mjs +51 -44
- package/build/esm/node_modules/.pnpm/globby@13.1.1/node_modules/globby/ignore.mjs +2 -2
- package/build/esm/node_modules/.pnpm/globby@13.1.1/node_modules/globby/index.mjs +3 -3
- package/build/esm/node_modules/.pnpm/ignore@5.2.4/node_modules/ignore/index.mjs +443 -439
- package/build/esm/node_modules/.pnpm/is-extglob@2.1.1/node_modules/is-extglob/index.mjs +18 -11
- package/build/esm/node_modules/.pnpm/is-glob@4.0.3/node_modules/is-glob/index.mjs +116 -109
- package/build/esm/node_modules/.pnpm/is-number@7.0.0/node_modules/is-number/index.mjs +17 -10
- package/build/esm/node_modules/.pnpm/merge2@1.4.1/node_modules/merge2/index.mjs +117 -110
- package/build/esm/node_modules/.pnpm/micromatch@4.0.5/node_modules/micromatch/index.mjs +457 -451
- package/build/esm/node_modules/.pnpm/minimatch@5.1.0/node_modules/minimatch/lib/path.mjs +14 -7
- package/build/esm/node_modules/.pnpm/minimatch@5.1.0/node_modules/minimatch/minimatch.mjs +770 -770
- package/build/esm/node_modules/.pnpm/path-type@4.0.0/node_modules/path-type/index.mjs +40 -34
- package/build/esm/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/index.mjs +10 -3
- package/build/esm/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/constants.mjs +227 -220
- package/build/esm/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/parse.mjs +941 -935
- package/build/esm/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/picomatch.mjs +331 -325
- package/build/esm/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/scan.mjs +303 -297
- package/build/esm/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/utils.mjs +65 -57
- package/build/esm/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/plugins/babel.mjs +605 -605
- package/build/esm/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/plugins/estree.mjs +378 -394
- package/build/esm/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/plugins/typescript.mjs +15 -15
- package/build/esm/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/plugins/yaml.mjs +281 -294
- package/build/esm/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/standalone.mjs +155 -155
- package/build/esm/node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/index.mjs +1 -1
- package/build/esm/node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/prompts.mjs +1 -1
- package/build/esm/node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/util/clear.mjs +1 -1
- package/build/esm/node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/index.mjs +17 -12
- package/build/esm/node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/lib/prompts.mjs +1 -1
- package/build/esm/node_modules/.pnpm/queue-microtask@1.2.3/node_modules/queue-microtask/index.mjs +14 -7
- package/build/esm/node_modules/.pnpm/reusify@1.0.4/node_modules/reusify/reusify.mjs +29 -22
- package/build/esm/node_modules/.pnpm/run-parallel@1.2.0/node_modules/run-parallel/index.mjs +49 -42
- package/build/esm/node_modules/.pnpm/to-regex-range@5.0.1/node_modules/to-regex-range/index.mjs +231 -224
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/nodes/YAMLMap.mjs +1 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/nodes/addPairToJSMap.mjs +1 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/schema/tags.mjs +3 -3
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.mjs +2 -2
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.mjs +1 -1
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/schema/yaml-1.1/set.mjs +2 -2
- package/build/esm/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/stringify/stringifyString.mjs +1 -1
- package/build/esm/package.mjs +2 -2
- package/build/esm/packages/cli-kit/build/esnext/prompt.esnext.mjs +1 -1
- package/build/esm/server.mjs +5 -9
- package/build/esm/shared/package-manager.mjs +1 -1
- package/build/esm/shared/prompts.mjs +1 -1
- package/build/esnext/_virtual/index.esnext +6 -2
- package/build/esnext/_virtual/index10.esnext +3 -0
- package/build/esnext/_virtual/index11.esnext +3 -0
- package/build/esnext/_virtual/index12.esnext +3 -0
- package/build/esnext/_virtual/index13.esnext +3 -0
- package/build/esnext/_virtual/index2.esnext +2 -2
- package/build/esnext/_virtual/index3.esnext +6 -2
- package/build/esnext/_virtual/index4.esnext +6 -2
- package/build/esnext/_virtual/index5.esnext +6 -2
- package/build/esnext/_virtual/index6.esnext +6 -2
- package/build/esnext/_virtual/index8.esnext +3 -0
- package/build/esnext/_virtual/index9.esnext +3 -0
- package/build/esnext/_virtual/minimatch.esnext +12 -0
- package/build/esnext/app.esnext +2 -2
- package/build/esnext/module.esnext +2 -2
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/adapters/fs.esnext +27 -19
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/constants.esnext +19 -13
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/index.esnext +33 -30
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/async.esnext +99 -97
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/common.esnext +14 -8
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/sync.esnext +59 -57
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/settings.esnext +31 -25
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/fs.esnext +23 -17
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/index.esnext +13 -8
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/adapters/fs.esnext +25 -17
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/index.esnext +33 -30
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/async.esnext +38 -32
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/sync.esnext +25 -19
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/settings.esnext +23 -16
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/index.esnext +42 -40
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/async.esnext +36 -29
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/stream.esnext +40 -33
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/sync.esnext +21 -14
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/async.esnext +98 -93
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/common.esnext +30 -24
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/reader.esnext +17 -10
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/sync.esnext +59 -54
- package/build/esnext/node_modules/.pnpm/@nodelib_fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/settings.esnext +33 -26
- package/build/esnext/node_modules/.pnpm/arg@5.0.2/node_modules/arg/index.esnext +132 -128
- package/build/esnext/node_modules/.pnpm/balanced-match@1.0.2/node_modules/balanced-match/index.esnext +54 -47
- package/build/esnext/node_modules/.pnpm/brace-expansion@2.0.1/node_modules/brace-expansion/index.esnext +137 -130
- package/build/esnext/node_modules/.pnpm/braces@3.0.2/node_modules/braces/index.esnext +66 -59
- package/build/esnext/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/compile.esnext +53 -47
- package/build/esnext/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/constants.esnext +102 -95
- package/build/esnext/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/expand.esnext +89 -83
- package/build/esnext/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/parse.esnext +217 -210
- package/build/esnext/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/stringify.esnext +30 -24
- package/build/esnext/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/utils.esnext +75 -67
- package/build/esnext/node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/es/splitStringTransformer/splitStringTransformer.esnext +1 -3
- package/build/esnext/node_modules/.pnpm/dir-glob@3.0.1/node_modules/dir-glob/index.esnext +63 -61
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/index.esnext +68 -70
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/managers/patterns.esnext +17 -11
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/managers/tasks.esnext +81 -76
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/async.esnext +29 -23
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/filters/deep.esnext +61 -55
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/filters/entry.esnext +61 -54
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/filters/error.esnext +21 -14
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/matchers/matcher.esnext +49 -42
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/matchers/partial.esnext +31 -24
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/provider.esnext +57 -53
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/stream.esnext +34 -28
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/sync.esnext +29 -23
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/providers/transformers/entry.esnext +29 -22
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/async.esnext +40 -35
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/reader.esnext +39 -33
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/stream.esnext +56 -51
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/readers/sync.esnext +46 -41
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/settings.esnext +59 -51
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/array.esnext +24 -18
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/errno.esnext +12 -6
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/fs.esnext +23 -17
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/index.esnext +31 -32
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/path.esnext +32 -26
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/pattern.esnext +135 -129
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/stream.esnext +23 -17
- package/build/esnext/node_modules/.pnpm/fast-glob@3.2.12/node_modules/fast-glob/out/utils/string.esnext +16 -10
- package/build/esnext/node_modules/.pnpm/fastq@1.13.0/node_modules/fastq/queue.esnext +220 -215
- package/build/esnext/node_modules/.pnpm/fill-range@7.0.1/node_modules/fill-range/index.esnext +193 -186
- package/build/esnext/node_modules/.pnpm/find-up@6.3.0/node_modules/find-up/index.esnext +1 -6
- package/build/esnext/node_modules/.pnpm/glob-parent@5.1.2/node_modules/glob-parent/index.esnext +31 -24
- package/build/esnext/node_modules/.pnpm/globby@13.1.1/node_modules/globby/ignore.esnext +2 -2
- package/build/esnext/node_modules/.pnpm/globby@13.1.1/node_modules/globby/index.esnext +3 -3
- package/build/esnext/node_modules/.pnpm/ignore@5.2.4/node_modules/ignore/index.esnext +357 -353
- package/build/esnext/node_modules/.pnpm/is-extglob@2.1.1/node_modules/is-extglob/index.esnext +18 -11
- package/build/esnext/node_modules/.pnpm/is-glob@4.0.3/node_modules/is-glob/index.esnext +111 -104
- package/build/esnext/node_modules/.pnpm/is-number@7.0.0/node_modules/is-number/index.esnext +17 -10
- package/build/esnext/node_modules/.pnpm/merge2@1.4.1/node_modules/merge2/index.esnext +103 -96
- package/build/esnext/node_modules/.pnpm/micromatch@4.0.5/node_modules/micromatch/index.esnext +147 -141
- package/build/esnext/node_modules/.pnpm/minimatch@5.1.0/node_modules/minimatch/lib/path.esnext +10 -3
- package/build/esnext/node_modules/.pnpm/minimatch@5.1.0/node_modules/minimatch/minimatch.esnext +495 -491
- package/build/esnext/node_modules/.pnpm/path-type@4.0.0/node_modules/path-type/index.esnext +38 -32
- package/build/esnext/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/index.esnext +10 -3
- package/build/esnext/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/constants.esnext +198 -191
- package/build/esnext/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/parse.esnext +683 -677
- package/build/esnext/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/picomatch.esnext +137 -131
- package/build/esnext/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/scan.esnext +279 -273
- package/build/esnext/node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/utils.esnext +65 -57
- package/build/esnext/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/plugins/babel.esnext +9 -9
- package/build/esnext/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/plugins/estree.esnext +20 -20
- package/build/esnext/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/plugins/typescript.esnext +15 -15
- package/build/esnext/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/plugins/yaml.esnext +64 -64
- package/build/esnext/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/standalone.esnext +19 -19
- package/build/esnext/node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/index.esnext +1 -1
- package/build/esnext/node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/dist/util/clear.esnext +1 -1
- package/build/esnext/node_modules/.pnpm/prompts@2.4.2/node_modules/prompts/index.esnext +16 -11
- package/build/esnext/node_modules/.pnpm/queue-microtask@1.2.3/node_modules/queue-microtask/index.esnext +12 -5
- package/build/esnext/node_modules/.pnpm/reusify@1.0.4/node_modules/reusify/reusify.esnext +29 -22
- package/build/esnext/node_modules/.pnpm/run-parallel@1.2.0/node_modules/run-parallel/index.esnext +47 -40
- package/build/esnext/node_modules/.pnpm/to-regex-range@5.0.1/node_modules/to-regex-range/index.esnext +196 -189
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/compose/resolve-block-scalar.esnext +2 -0
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.esnext +2 -0
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/compose/resolve-props.esnext +1 -0
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/nodes/YAMLMap.esnext +1 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/nodes/addPairToJSMap.esnext +1 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/parse/lexer.esnext +5 -0
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/parse/parser.esnext +4 -0
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/schema/tags.esnext +3 -3
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.esnext +2 -2
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.esnext +1 -1
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/schema/yaml-1.1/set.esnext +2 -2
- package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/stringify/stringifyString.esnext +1 -1
- package/build/esnext/package.esnext +2 -2
- package/build/esnext/packages/cli-kit/build/esnext/prompt.esnext.esnext +1 -1
- package/build/esnext/server.esnext +5 -9
- package/build/esnext/shared/package-manager.esnext +1 -1
- package/build/esnext/shared/prompts.esnext +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/source/shared/prompts.ts +1 -1
- package/templates/app-basic/App.tsx +3 -4
- package/templates/app-basic/browser.tsx +5 -1
- package/templates/app-basic/foundation/html/Head.test.tsx +42 -0
- package/templates/app-basic/foundation/html/Head.tsx +34 -0
- package/templates/app-basic/foundation/html.ts +1 -1
- package/templates/app-basic/package.json +4 -4
- package/templates/app-basic/server.tsx +89 -3
- package/templates/app-empty/package.json +3 -3
- package/templates/app-empty/server.tsx +4 -3
- package/templates/app-graphql/App.tsx +3 -4
- package/templates/app-graphql/browser.tsx +5 -1
- package/templates/app-graphql/foundation/html/Head.test.tsx +42 -0
- package/templates/app-graphql/foundation/html/Head.tsx +34 -0
- package/templates/app-graphql/foundation/html.ts +1 -1
- package/templates/app-graphql/package.json +4 -4
- package/templates/app-graphql/server.tsx +93 -9
- package/templates/app-trpc/App.tsx +3 -4
- package/templates/app-trpc/browser.tsx +5 -1
- package/templates/app-trpc/foundation/html/Head.test.tsx +42 -0
- package/templates/app-trpc/foundation/html/Head.tsx +34 -0
- package/templates/app-trpc/foundation/html.ts +1 -1
- package/templates/app-trpc/package.json +4 -4
- package/templates/app-trpc/server.tsx +93 -8
- package/templates/package/package.json +3 -3
- package/templates/workspace/package.json +4 -4
- package/templates/app-basic/foundation/html/HTML.test.tsx +0 -46
- package/templates/app-basic/foundation/html/HTML.tsx +0 -159
- package/templates/app-graphql/foundation/html/HTML.test.tsx +0 -46
- package/templates/app-graphql/foundation/html/HTML.tsx +0 -159
- package/templates/app-trpc/foundation/html/HTML.test.tsx +0 -46
- package/templates/app-trpc/foundation/html/HTML.tsx +0 -159
package/build/esnext/node_modules/.pnpm/run-parallel@1.2.0/node_modules/run-parallel/index.esnext
CHANGED
|
@@ -1,48 +1,55 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { __require as requireQueueMicrotask } from '../../../queue-microtask@1.2.3/node_modules/queue-microtask/index.esnext';
|
|
2
2
|
|
|
3
|
-
var runParallel_1
|
|
4
|
-
|
|
5
|
-
function
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
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
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
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
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
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
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
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
|
-
|
|
52
|
+
return runParallel_1;
|
|
46
53
|
}
|
|
47
54
|
|
|
48
|
-
export {
|
|
55
|
+
export { requireRunParallel as __require };
|
|
@@ -1,208 +1,215 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { __require as requireIsNumber } from '../../../is-number@7.0.0/node_modules/is-number/index.esnext';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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 (
|
|
34
|
-
return
|
|
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
|
-
|
|
89
|
-
|
|
90
|
-
|
|
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
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
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
|
-
|
|
129
|
-
|
|
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
|
-
|
|
144
|
+
prev = obj;
|
|
132
145
|
}
|
|
133
|
-
|
|
134
|
-
|
|
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
|
-
|
|
137
|
-
tokens.push(obj);
|
|
138
|
-
start = max2 + 1;
|
|
139
|
-
prev = obj;
|
|
159
|
+
return result;
|
|
140
160
|
}
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
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 {
|
|
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;
|
|
@@ -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 {
|
|
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,
|
|
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
|
|
package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/parse/lexer.esnext
CHANGED
|
@@ -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:
|
package/build/esnext/node_modules/.pnpm/yaml@2.1.1/node_modules/yaml/browser/dist/schema/tags.esnext
CHANGED
|
@@ -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 {
|
|
7
|
-
import {
|
|
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,
|
|
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 {
|
|
3
|
+
import { isScalar, isPair } from '../../nodes/Node.esnext';
|
|
4
4
|
import { YAMLMap } from '../../nodes/YAMLMap.esnext';
|
|
5
|
-
import {
|
|
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 {
|
|
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
|
|