@quilted/create 0.2.43 → 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 +12 -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 +40 -34
- package/build/esm/node_modules/.pnpm/@nodelib_fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/sync.mjs +27 -21
- 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 +104 -99
- 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 +65 -60
- 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/package.json +4 -4
- package/templates/app-empty/package.json +3 -3
- package/templates/app-graphql/package.json +4 -4
- package/templates/app-trpc/package.json +4 -4
- package/templates/package/package.json +3 -3
- package/templates/workspace/package.json +4 -4
|
@@ -1,236 +1,243 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { __require as requireStringify } from './stringify.esnext';
|
|
2
|
+
import { __require as requireConstants } from './constants.esnext';
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
43
|
-
let ast = { type: "root", input, nodes: [] };
|
|
44
|
-
let stack = [ast];
|
|
45
|
-
let block = ast;
|
|
46
|
-
let prev = ast;
|
|
47
|
-
let brackets = 0;
|
|
48
|
-
let length = input.length;
|
|
49
|
-
let index = 0;
|
|
50
|
-
let depth = 0;
|
|
51
|
-
let value;
|
|
52
|
-
const advance = () => input[index++];
|
|
53
|
-
const push = (node) => {
|
|
54
|
-
if (node.type === "text" && prev.type === "dot") {
|
|
55
|
-
prev.type = "text";
|
|
4
|
+
var parse_1;
|
|
5
|
+
var hasRequiredParse;
|
|
6
|
+
function requireParse() {
|
|
7
|
+
if (hasRequiredParse) return parse_1;
|
|
8
|
+
hasRequiredParse = 1;
|
|
9
|
+
const stringify = requireStringify();
|
|
10
|
+
const {
|
|
11
|
+
MAX_LENGTH,
|
|
12
|
+
CHAR_BACKSLASH,
|
|
13
|
+
/* \ */
|
|
14
|
+
CHAR_BACKTICK,
|
|
15
|
+
/* ` */
|
|
16
|
+
CHAR_COMMA,
|
|
17
|
+
/* , */
|
|
18
|
+
CHAR_DOT,
|
|
19
|
+
/* . */
|
|
20
|
+
CHAR_LEFT_PARENTHESES,
|
|
21
|
+
/* ( */
|
|
22
|
+
CHAR_RIGHT_PARENTHESES,
|
|
23
|
+
/* ) */
|
|
24
|
+
CHAR_LEFT_CURLY_BRACE,
|
|
25
|
+
/* { */
|
|
26
|
+
CHAR_RIGHT_CURLY_BRACE,
|
|
27
|
+
/* } */
|
|
28
|
+
CHAR_LEFT_SQUARE_BRACKET,
|
|
29
|
+
/* [ */
|
|
30
|
+
CHAR_RIGHT_SQUARE_BRACKET,
|
|
31
|
+
/* ] */
|
|
32
|
+
CHAR_DOUBLE_QUOTE,
|
|
33
|
+
/* " */
|
|
34
|
+
CHAR_SINGLE_QUOTE,
|
|
35
|
+
/* ' */
|
|
36
|
+
CHAR_NO_BREAK_SPACE,
|
|
37
|
+
CHAR_ZERO_WIDTH_NOBREAK_SPACE
|
|
38
|
+
} = requireConstants();
|
|
39
|
+
const parse = (input, options = {}) => {
|
|
40
|
+
if (typeof input !== "string") {
|
|
41
|
+
throw new TypeError("Expected a string");
|
|
56
42
|
}
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
43
|
+
let opts = options || {};
|
|
44
|
+
let max = typeof opts.maxLength === "number" ? Math.min(MAX_LENGTH, opts.maxLength) : MAX_LENGTH;
|
|
45
|
+
if (input.length > max) {
|
|
46
|
+
throw new SyntaxError(`Input length (${input.length}), exceeds max characters (${max})`);
|
|
60
47
|
}
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
prev =
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
push(
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
48
|
+
let ast = { type: "root", input, nodes: [] };
|
|
49
|
+
let stack = [ast];
|
|
50
|
+
let block = ast;
|
|
51
|
+
let prev = ast;
|
|
52
|
+
let brackets = 0;
|
|
53
|
+
let length = input.length;
|
|
54
|
+
let index = 0;
|
|
55
|
+
let depth = 0;
|
|
56
|
+
let value;
|
|
57
|
+
const advance = () => input[index++];
|
|
58
|
+
const push = (node) => {
|
|
59
|
+
if (node.type === "text" && prev.type === "dot") {
|
|
60
|
+
prev.type = "text";
|
|
61
|
+
}
|
|
62
|
+
if (prev && prev.type === "text" && node.type === "text") {
|
|
63
|
+
prev.value += node.value;
|
|
64
|
+
return;
|
|
65
|
+
}
|
|
66
|
+
block.nodes.push(node);
|
|
67
|
+
node.parent = block;
|
|
68
|
+
node.prev = prev;
|
|
69
|
+
prev = node;
|
|
70
|
+
return node;
|
|
71
|
+
};
|
|
72
|
+
push({ type: "bos" });
|
|
73
|
+
while (index < length) {
|
|
74
|
+
block = stack[stack.length - 1];
|
|
75
|
+
value = advance();
|
|
76
|
+
if (value === CHAR_ZERO_WIDTH_NOBREAK_SPACE || value === CHAR_NO_BREAK_SPACE) {
|
|
77
|
+
continue;
|
|
78
|
+
}
|
|
79
|
+
if (value === CHAR_BACKSLASH) {
|
|
80
|
+
push({ type: "text", value: (options.keepEscaping ? value : "") + advance() });
|
|
81
|
+
continue;
|
|
82
|
+
}
|
|
83
|
+
if (value === CHAR_RIGHT_SQUARE_BRACKET) {
|
|
84
|
+
push({ type: "text", value: "\\" + value });
|
|
85
|
+
continue;
|
|
86
|
+
}
|
|
87
|
+
if (value === CHAR_LEFT_SQUARE_BRACKET) {
|
|
88
|
+
brackets++;
|
|
89
|
+
let next;
|
|
90
|
+
while (index < length && (next = advance())) {
|
|
91
|
+
value += next;
|
|
92
|
+
if (next === CHAR_LEFT_SQUARE_BRACKET) {
|
|
93
|
+
brackets++;
|
|
94
|
+
continue;
|
|
95
|
+
}
|
|
96
|
+
if (next === CHAR_BACKSLASH) {
|
|
97
|
+
value += advance();
|
|
98
|
+
continue;
|
|
99
|
+
}
|
|
100
|
+
if (next === CHAR_RIGHT_SQUARE_BRACKET) {
|
|
101
|
+
brackets--;
|
|
102
|
+
if (brackets === 0) {
|
|
103
|
+
break;
|
|
104
|
+
}
|
|
99
105
|
}
|
|
100
106
|
}
|
|
101
|
-
}
|
|
102
|
-
push({ type: "text", value });
|
|
103
|
-
continue;
|
|
104
|
-
}
|
|
105
|
-
if (value === CHAR_LEFT_PARENTHESES) {
|
|
106
|
-
block = push({ type: "paren", nodes: [] });
|
|
107
|
-
stack.push(block);
|
|
108
|
-
push({ type: "text", value });
|
|
109
|
-
continue;
|
|
110
|
-
}
|
|
111
|
-
if (value === CHAR_RIGHT_PARENTHESES) {
|
|
112
|
-
if (block.type !== "paren") {
|
|
113
107
|
push({ type: "text", value });
|
|
114
108
|
continue;
|
|
115
109
|
}
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
if (value === CHAR_DOUBLE_QUOTE || value === CHAR_SINGLE_QUOTE || value === CHAR_BACKTICK) {
|
|
122
|
-
let open = value;
|
|
123
|
-
let next;
|
|
124
|
-
if (options.keepQuotes !== true) {
|
|
125
|
-
value = "";
|
|
110
|
+
if (value === CHAR_LEFT_PARENTHESES) {
|
|
111
|
+
block = push({ type: "paren", nodes: [] });
|
|
112
|
+
stack.push(block);
|
|
113
|
+
push({ type: "text", value });
|
|
114
|
+
continue;
|
|
126
115
|
}
|
|
127
|
-
|
|
128
|
-
if (
|
|
129
|
-
|
|
116
|
+
if (value === CHAR_RIGHT_PARENTHESES) {
|
|
117
|
+
if (block.type !== "paren") {
|
|
118
|
+
push({ type: "text", value });
|
|
130
119
|
continue;
|
|
131
120
|
}
|
|
132
|
-
|
|
133
|
-
if (options.keepQuotes === true) value += next;
|
|
134
|
-
break;
|
|
135
|
-
}
|
|
136
|
-
value += next;
|
|
137
|
-
}
|
|
138
|
-
push({ type: "text", value });
|
|
139
|
-
continue;
|
|
140
|
-
}
|
|
141
|
-
if (value === CHAR_LEFT_CURLY_BRACE) {
|
|
142
|
-
depth++;
|
|
143
|
-
let dollar = prev.value && prev.value.slice(-1) === "$" || block.dollar === true;
|
|
144
|
-
let brace = {
|
|
145
|
-
type: "brace",
|
|
146
|
-
open: true,
|
|
147
|
-
close: false,
|
|
148
|
-
dollar,
|
|
149
|
-
depth,
|
|
150
|
-
commas: 0,
|
|
151
|
-
ranges: 0,
|
|
152
|
-
nodes: []
|
|
153
|
-
};
|
|
154
|
-
block = push(brace);
|
|
155
|
-
stack.push(block);
|
|
156
|
-
push({ type: "open", value });
|
|
157
|
-
continue;
|
|
158
|
-
}
|
|
159
|
-
if (value === CHAR_RIGHT_CURLY_BRACE) {
|
|
160
|
-
if (block.type !== "brace") {
|
|
121
|
+
block = stack.pop();
|
|
161
122
|
push({ type: "text", value });
|
|
123
|
+
block = stack[stack.length - 1];
|
|
162
124
|
continue;
|
|
163
125
|
}
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
}
|
|
182
|
-
if (value === CHAR_DOT && depth > 0 && block.commas === 0) {
|
|
183
|
-
let siblings = block.nodes;
|
|
184
|
-
if (depth === 0 || siblings.length === 0) {
|
|
126
|
+
if (value === CHAR_DOUBLE_QUOTE || value === CHAR_SINGLE_QUOTE || value === CHAR_BACKTICK) {
|
|
127
|
+
let open = value;
|
|
128
|
+
let next;
|
|
129
|
+
if (options.keepQuotes !== true) {
|
|
130
|
+
value = "";
|
|
131
|
+
}
|
|
132
|
+
while (index < length && (next = advance())) {
|
|
133
|
+
if (next === CHAR_BACKSLASH) {
|
|
134
|
+
value += next + advance();
|
|
135
|
+
continue;
|
|
136
|
+
}
|
|
137
|
+
if (next === open) {
|
|
138
|
+
if (options.keepQuotes === true) value += next;
|
|
139
|
+
break;
|
|
140
|
+
}
|
|
141
|
+
value += next;
|
|
142
|
+
}
|
|
185
143
|
push({ type: "text", value });
|
|
186
144
|
continue;
|
|
187
145
|
}
|
|
188
|
-
if (
|
|
189
|
-
|
|
190
|
-
prev.value
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
146
|
+
if (value === CHAR_LEFT_CURLY_BRACE) {
|
|
147
|
+
depth++;
|
|
148
|
+
let dollar = prev.value && prev.value.slice(-1) === "$" || block.dollar === true;
|
|
149
|
+
let brace = {
|
|
150
|
+
type: "brace",
|
|
151
|
+
open: true,
|
|
152
|
+
close: false,
|
|
153
|
+
dollar,
|
|
154
|
+
depth,
|
|
155
|
+
commas: 0,
|
|
156
|
+
ranges: 0,
|
|
157
|
+
nodes: []
|
|
158
|
+
};
|
|
159
|
+
block = push(brace);
|
|
160
|
+
stack.push(block);
|
|
161
|
+
push({ type: "open", value });
|
|
162
|
+
continue;
|
|
163
|
+
}
|
|
164
|
+
if (value === CHAR_RIGHT_CURLY_BRACE) {
|
|
165
|
+
if (block.type !== "brace") {
|
|
166
|
+
push({ type: "text", value });
|
|
196
167
|
continue;
|
|
197
168
|
}
|
|
198
|
-
|
|
199
|
-
block
|
|
169
|
+
let type = "close";
|
|
170
|
+
block = stack.pop();
|
|
171
|
+
block.close = true;
|
|
172
|
+
push({ type, value });
|
|
173
|
+
depth--;
|
|
174
|
+
block = stack[stack.length - 1];
|
|
200
175
|
continue;
|
|
201
176
|
}
|
|
202
|
-
if (
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
177
|
+
if (value === CHAR_COMMA && depth > 0) {
|
|
178
|
+
if (block.ranges > 0) {
|
|
179
|
+
block.ranges = 0;
|
|
180
|
+
let open = block.nodes.shift();
|
|
181
|
+
block.nodes = [open, { type: "text", value: stringify(block) }];
|
|
182
|
+
}
|
|
183
|
+
push({ type: "comma", value });
|
|
184
|
+
block.commas++;
|
|
208
185
|
continue;
|
|
209
186
|
}
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
if (
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
187
|
+
if (value === CHAR_DOT && depth > 0 && block.commas === 0) {
|
|
188
|
+
let siblings = block.nodes;
|
|
189
|
+
if (depth === 0 || siblings.length === 0) {
|
|
190
|
+
push({ type: "text", value });
|
|
191
|
+
continue;
|
|
192
|
+
}
|
|
193
|
+
if (prev.type === "dot") {
|
|
194
|
+
block.range = [];
|
|
195
|
+
prev.value += value;
|
|
196
|
+
prev.type = "range";
|
|
197
|
+
if (block.nodes.length !== 3 && block.nodes.length !== 5) {
|
|
198
|
+
block.invalid = true;
|
|
199
|
+
block.ranges = 0;
|
|
200
|
+
prev.type = "text";
|
|
201
|
+
continue;
|
|
202
|
+
}
|
|
203
|
+
block.ranges++;
|
|
204
|
+
block.args = [];
|
|
205
|
+
continue;
|
|
206
|
+
}
|
|
207
|
+
if (prev.type === "range") {
|
|
208
|
+
siblings.pop();
|
|
209
|
+
let before = siblings[siblings.length - 1];
|
|
210
|
+
before.value += prev.value + value;
|
|
211
|
+
prev = before;
|
|
212
|
+
block.ranges--;
|
|
213
|
+
continue;
|
|
224
214
|
}
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
215
|
+
push({ type: "dot", value });
|
|
216
|
+
continue;
|
|
217
|
+
}
|
|
218
|
+
push({ type: "text", value });
|
|
229
219
|
}
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
220
|
+
do {
|
|
221
|
+
block = stack.pop();
|
|
222
|
+
if (block.type !== "root") {
|
|
223
|
+
block.nodes.forEach((node) => {
|
|
224
|
+
if (!node.nodes) {
|
|
225
|
+
if (node.type === "open") node.isOpen = true;
|
|
226
|
+
if (node.type === "close") node.isClose = true;
|
|
227
|
+
if (!node.nodes) node.type = "text";
|
|
228
|
+
node.invalid = true;
|
|
229
|
+
}
|
|
230
|
+
});
|
|
231
|
+
let parent = stack[stack.length - 1];
|
|
232
|
+
let index2 = parent.nodes.indexOf(block);
|
|
233
|
+
parent.nodes.splice(index2, 1, ...block.nodes);
|
|
234
|
+
}
|
|
235
|
+
} while (stack.length > 0);
|
|
236
|
+
push({ type: "eos" });
|
|
237
|
+
return ast;
|
|
238
|
+
};
|
|
239
|
+
parse_1 = parse;
|
|
240
|
+
return parse_1;
|
|
241
|
+
}
|
|
235
242
|
|
|
236
|
-
export {
|
|
243
|
+
export { requireParse as __require };
|
package/build/esnext/node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/stringify.esnext
CHANGED
|
@@ -1,29 +1,35 @@
|
|
|
1
|
-
import './utils.esnext';
|
|
2
|
-
import { __exports as utils$1 } from '../../../../../../_virtual/utils2.esnext';
|
|
1
|
+
import { __require as requireUtils } from './utils.esnext';
|
|
3
2
|
|
|
4
|
-
|
|
5
|
-
var
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
3
|
+
var stringify;
|
|
4
|
+
var hasRequiredStringify;
|
|
5
|
+
function requireStringify() {
|
|
6
|
+
if (hasRequiredStringify) return stringify;
|
|
7
|
+
hasRequiredStringify = 1;
|
|
8
|
+
const utils = requireUtils();
|
|
9
|
+
stringify = (ast, options = {}) => {
|
|
10
|
+
let stringify2 = (node, parent = {}) => {
|
|
11
|
+
let invalidBlock = options.escapeInvalid && utils.isInvalidBrace(parent);
|
|
12
|
+
let invalidNode = node.invalid === true && options.escapeInvalid === true;
|
|
13
|
+
let output = "";
|
|
14
|
+
if (node.value) {
|
|
15
|
+
if ((invalidBlock || invalidNode) && utils.isOpenOrClose(node)) {
|
|
16
|
+
return "\\" + node.value;
|
|
17
|
+
}
|
|
18
|
+
return node.value;
|
|
13
19
|
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
if (node.value) {
|
|
17
|
-
return node.value;
|
|
18
|
-
}
|
|
19
|
-
if (node.nodes) {
|
|
20
|
-
for (let child of node.nodes) {
|
|
21
|
-
output += stringify2(child);
|
|
20
|
+
if (node.value) {
|
|
21
|
+
return node.value;
|
|
22
22
|
}
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
if (node.nodes) {
|
|
24
|
+
for (let child of node.nodes) {
|
|
25
|
+
output += stringify2(child);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
return output;
|
|
29
|
+
};
|
|
30
|
+
return stringify2(ast);
|
|
25
31
|
};
|
|
26
|
-
return
|
|
27
|
-
}
|
|
32
|
+
return stringify;
|
|
33
|
+
}
|
|
28
34
|
|
|
29
|
-
export {
|
|
35
|
+
export { requireStringify as __require };
|
|
@@ -1,73 +1,81 @@
|
|
|
1
1
|
import { __exports as utils } from '../../../../../../_virtual/utils2.esnext';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
return false;
|
|
12
|
-
};
|
|
13
|
-
exports.find = (node, type) => node.nodes.find((node2) => node2.type === type);
|
|
14
|
-
exports.exceedsLimit = (min, max, step = 1, limit) => {
|
|
15
|
-
if (limit === false) return false;
|
|
16
|
-
if (!exports.isInteger(min) || !exports.isInteger(max)) return false;
|
|
17
|
-
return (Number(max) - Number(min)) / Number(step) >= limit;
|
|
18
|
-
};
|
|
19
|
-
exports.escapeNode = (block, n = 0, type) => {
|
|
20
|
-
let node = block.nodes[n];
|
|
21
|
-
if (!node) return;
|
|
22
|
-
if (type && node.type === type || node.type === "open" || node.type === "close") {
|
|
23
|
-
if (node.escaped !== true) {
|
|
24
|
-
node.value = "\\" + node.value;
|
|
25
|
-
node.escaped = true;
|
|
3
|
+
var hasRequiredUtils;
|
|
4
|
+
function requireUtils() {
|
|
5
|
+
if (hasRequiredUtils) return utils;
|
|
6
|
+
hasRequiredUtils = 1;
|
|
7
|
+
(function(exports) {
|
|
8
|
+
exports.isInteger = (num) => {
|
|
9
|
+
if (typeof num === "number") {
|
|
10
|
+
return Number.isInteger(num);
|
|
26
11
|
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
exports.encloseBrace = (node) => {
|
|
30
|
-
if (node.type !== "brace") return false;
|
|
31
|
-
if (node.commas >> 0 + node.ranges >> 0 === 0) {
|
|
32
|
-
node.invalid = true;
|
|
33
|
-
return true;
|
|
34
|
-
}
|
|
35
|
-
return false;
|
|
36
|
-
};
|
|
37
|
-
exports.isInvalidBrace = (block) => {
|
|
38
|
-
if (block.type !== "brace") return false;
|
|
39
|
-
if (block.invalid === true || block.dollar) return true;
|
|
40
|
-
if (block.commas >> 0 + block.ranges >> 0 === 0) {
|
|
41
|
-
block.invalid = true;
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
if (block.open !== true || block.close !== true) {
|
|
45
|
-
block.invalid = true;
|
|
46
|
-
return true;
|
|
47
|
-
}
|
|
48
|
-
return false;
|
|
49
|
-
};
|
|
50
|
-
exports.isOpenOrClose = (node) => {
|
|
51
|
-
if (node.type === "open" || node.type === "close") {
|
|
52
|
-
return true;
|
|
53
|
-
}
|
|
54
|
-
return node.open === true || node.close === true;
|
|
55
|
-
};
|
|
56
|
-
exports.reduce = (nodes) => nodes.reduce((acc, node) => {
|
|
57
|
-
if (node.type === "text") acc.push(node.value);
|
|
58
|
-
if (node.type === "range") node.type = "text";
|
|
59
|
-
return acc;
|
|
60
|
-
}, []);
|
|
61
|
-
exports.flatten = (...args) => {
|
|
62
|
-
const result = [];
|
|
63
|
-
const flat = (arr) => {
|
|
64
|
-
for (let i = 0; i < arr.length; i++) {
|
|
65
|
-
let ele = arr[i];
|
|
66
|
-
Array.isArray(ele) ? flat(ele) : ele !== void 0 && result.push(ele);
|
|
12
|
+
if (typeof num === "string" && num.trim() !== "") {
|
|
13
|
+
return Number.isInteger(Number(num));
|
|
67
14
|
}
|
|
15
|
+
return false;
|
|
16
|
+
};
|
|
17
|
+
exports.find = (node, type) => node.nodes.find((node2) => node2.type === type);
|
|
18
|
+
exports.exceedsLimit = (min, max, step = 1, limit) => {
|
|
19
|
+
if (limit === false) return false;
|
|
20
|
+
if (!exports.isInteger(min) || !exports.isInteger(max)) return false;
|
|
21
|
+
return (Number(max) - Number(min)) / Number(step) >= limit;
|
|
22
|
+
};
|
|
23
|
+
exports.escapeNode = (block, n = 0, type) => {
|
|
24
|
+
let node = block.nodes[n];
|
|
25
|
+
if (!node) return;
|
|
26
|
+
if (type && node.type === type || node.type === "open" || node.type === "close") {
|
|
27
|
+
if (node.escaped !== true) {
|
|
28
|
+
node.value = "\\" + node.value;
|
|
29
|
+
node.escaped = true;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
exports.encloseBrace = (node) => {
|
|
34
|
+
if (node.type !== "brace") return false;
|
|
35
|
+
if (node.commas >> 0 + node.ranges >> 0 === 0) {
|
|
36
|
+
node.invalid = true;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
return false;
|
|
40
|
+
};
|
|
41
|
+
exports.isInvalidBrace = (block) => {
|
|
42
|
+
if (block.type !== "brace") return false;
|
|
43
|
+
if (block.invalid === true || block.dollar) return true;
|
|
44
|
+
if (block.commas >> 0 + block.ranges >> 0 === 0) {
|
|
45
|
+
block.invalid = true;
|
|
46
|
+
return true;
|
|
47
|
+
}
|
|
48
|
+
if (block.open !== true || block.close !== true) {
|
|
49
|
+
block.invalid = true;
|
|
50
|
+
return true;
|
|
51
|
+
}
|
|
52
|
+
return false;
|
|
53
|
+
};
|
|
54
|
+
exports.isOpenOrClose = (node) => {
|
|
55
|
+
if (node.type === "open" || node.type === "close") {
|
|
56
|
+
return true;
|
|
57
|
+
}
|
|
58
|
+
return node.open === true || node.close === true;
|
|
59
|
+
};
|
|
60
|
+
exports.reduce = (nodes) => nodes.reduce((acc, node) => {
|
|
61
|
+
if (node.type === "text") acc.push(node.value);
|
|
62
|
+
if (node.type === "range") node.type = "text";
|
|
63
|
+
return acc;
|
|
64
|
+
}, []);
|
|
65
|
+
exports.flatten = (...args) => {
|
|
66
|
+
const result = [];
|
|
67
|
+
const flat = (arr) => {
|
|
68
|
+
for (let i = 0; i < arr.length; i++) {
|
|
69
|
+
let ele = arr[i];
|
|
70
|
+
Array.isArray(ele) ? flat(ele) : ele !== void 0 && result.push(ele);
|
|
71
|
+
}
|
|
72
|
+
return result;
|
|
73
|
+
};
|
|
74
|
+
flat(args);
|
|
68
75
|
return result;
|
|
69
76
|
};
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
77
|
+
})(utils);
|
|
78
|
+
return utils;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export { requireUtils as __require };
|