@powerlines/plugin-content-collections 0.1.341 → 0.1.342
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/README.md +14 -16
- package/dist/_virtual/{rolldown_runtime.cjs → _rolldown/runtime.cjs} +1 -3
- package/dist/_virtual/_rolldown/runtime.mjs +3 -0
- package/dist/helpers/create-emitter.cjs +2 -1
- package/dist/helpers/create-emitter.d.cts.map +1 -1
- package/dist/helpers/create-emitter.d.mts.map +1 -1
- package/dist/helpers/create-writer.cjs +9 -8
- package/dist/helpers/create-writer.d.cts +0 -1
- package/dist/helpers/create-writer.d.cts.map +1 -1
- package/dist/helpers/create-writer.d.mts +0 -1
- package/dist/helpers/create-writer.d.mts.map +1 -1
- package/dist/helpers/create-writer.mjs +2 -2
- package/dist/helpers/index.cjs +1 -0
- package/dist/index.cjs +15 -16
- package/dist/index.d.cts +0 -2
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +0 -2
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +4 -5
- package/dist/index.mjs.map +1 -1
- package/dist/types/plugin.d.cts.map +1 -1
- package/dist/types/plugin.d.mts.map +1 -1
- package/package.json +30 -26
- package/dist/_virtual/rolldown_runtime.mjs +0 -32
- package/dist/node_modules/.pnpm/@content-collections_core@0.12.0_patch_hash_bceb89349da763f8c715d7b53875be4a1e5bc5161d7_3067b2e8f290866ec343d5ebc4494f7e/node_modules/@content-collections/core/dist/index.cjs +0 -1946
- package/dist/node_modules/.pnpm/@content-collections_core@0.12.0_patch_hash_bceb89349da763f8c715d7b53875be4a1e5bc5161d7_3067b2e8f290866ec343d5ebc4494f7e/node_modules/@content-collections/core/dist/index.mjs +0 -1939
- package/dist/node_modules/.pnpm/@content-collections_core@0.12.0_patch_hash_bceb89349da763f8c715d7b53875be4a1e5bc5161d7_3067b2e8f290866ec343d5ebc4494f7e/node_modules/@content-collections/core/dist/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/camelcase@8.0.0/node_modules/camelcase/index.cjs +0 -9
- package/dist/node_modules/.pnpm/camelcase@8.0.0/node_modules/camelcase/index.mjs +0 -10
- package/dist/node_modules/.pnpm/camelcase@8.0.0/node_modules/camelcase/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/esbuild@0.25.12/node_modules/esbuild/lib/main.cjs +0 -2124
- package/dist/node_modules/.pnpm/esbuild@0.25.12/node_modules/esbuild/lib/main.mjs +0 -2120
- package/dist/node_modules/.pnpm/esbuild@0.25.12/node_modules/esbuild/lib/main.mjs.map +0 -1
- package/dist/node_modules/.pnpm/esprima@4.0.1/node_modules/esprima/dist/esprima.cjs +0 -5342
- package/dist/node_modules/.pnpm/esprima@4.0.1/node_modules/esprima/dist/esprima.mjs +0 -5340
- package/dist/node_modules/.pnpm/esprima@4.0.1/node_modules/esprima/dist/esprima.mjs.map +0 -1
- package/dist/node_modules/.pnpm/extend-shallow@2.0.1/node_modules/extend-shallow/index.cjs +0 -35
- package/dist/node_modules/.pnpm/extend-shallow@2.0.1/node_modules/extend-shallow/index.mjs +0 -31
- package/dist/node_modules/.pnpm/extend-shallow@2.0.1/node_modules/extend-shallow/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/fdir@6.5.0_@types_picomatch@4.0.2_picomatch@4.0.3/node_modules/fdir/dist/index.cjs +0 -516
- package/dist/node_modules/.pnpm/fdir@6.5.0_@types_picomatch@4.0.2_picomatch@4.0.3/node_modules/fdir/dist/index.mjs +0 -515
- package/dist/node_modules/.pnpm/fdir@6.5.0_@types_picomatch@4.0.2_picomatch@4.0.3/node_modules/fdir/dist/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/index.cjs +0 -185
- package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/index.mjs +0 -181
- package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/defaults.cjs +0 -27
- package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/defaults.mjs +0 -23
- package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/defaults.mjs.map +0 -1
- package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/engine.cjs +0 -33
- package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/engine.mjs +0 -29
- package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/engine.mjs.map +0 -1
- package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/engines.cjs +0 -58
- package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/engines.mjs +0 -54
- package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/engines.mjs.map +0 -1
- package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/excerpt.cjs +0 -28
- package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/excerpt.mjs +0 -24
- package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/excerpt.mjs.map +0 -1
- package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/parse.cjs +0 -25
- package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/parse.mjs +0 -21
- package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/parse.mjs.map +0 -1
- package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/stringify.cjs +0 -53
- package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/stringify.mjs +0 -49
- package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/stringify.mjs.map +0 -1
- package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/to-file.cjs +0 -41
- package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/to-file.mjs +0 -37
- package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/to-file.mjs.map +0 -1
- package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/utils.cjs +0 -66
- package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/utils.mjs +0 -62
- package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/utils.mjs.map +0 -1
- package/dist/node_modules/.pnpm/is-extendable@0.1.1/node_modules/is-extendable/index.cjs +0 -24
- package/dist/node_modules/.pnpm/is-extendable@0.1.1/node_modules/is-extendable/index.mjs +0 -20
- package/dist/node_modules/.pnpm/is-extendable@0.1.1/node_modules/is-extendable/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/index.cjs +0 -18
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/index.mjs +0 -14
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/common.cjs +0 -51
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/common.mjs +0 -47
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/common.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/dumper.cjs +0 -452
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/dumper.mjs +0 -448
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/dumper.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/exception.cjs +0 -33
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/exception.mjs +0 -29
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/exception.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/loader.cjs +0 -820
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/loader.mjs +0 -816
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/loader.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/mark.cjs +0 -63
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/mark.mjs +0 -59
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/mark.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema/core.cjs +0 -19
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema/core.mjs +0 -15
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema/core.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema/default_full.cjs +0 -29
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema/default_full.mjs +0 -25
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema/default_full.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema/default_safe.cjs +0 -34
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema/default_safe.mjs +0 -30
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema/default_safe.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema/failsafe.cjs +0 -25
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema/failsafe.mjs +0 -21
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema/failsafe.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema/json.cjs +0 -31
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema/json.mjs +0 -27
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema/json.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema.cjs +0 -88
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema.mjs +0 -84
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/binary.cjs +0 -95
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/binary.mjs +0 -91
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/binary.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/bool.cjs +0 -46
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/bool.mjs +0 -42
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/bool.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/float.cjs +0 -77
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/float.mjs +0 -73
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/float.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/int.cjs +0 -136
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/int.mjs +0 -132
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/int.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/js/function.cjs +0 -57
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/js/function.mjs +0 -53
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/js/function.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/js/regexp.cjs +0 -53
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/js/regexp.mjs +0 -49
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/js/regexp.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/js/undefined.cjs +0 -34
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/js/undefined.mjs +0 -30
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/js/undefined.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/map.cjs +0 -23
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/map.mjs +0 -19
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/map.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/merge.cjs +0 -24
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/merge.mjs +0 -20
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/merge.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/null.cjs +0 -49
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/null.mjs +0 -45
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/null.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/omap.cjs +0 -42
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/omap.mjs +0 -38
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/omap.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/pairs.cjs +0 -47
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/pairs.mjs +0 -43
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/pairs.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/seq.cjs +0 -23
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/seq.mjs +0 -19
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/seq.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/set.cjs +0 -34
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/set.mjs +0 -30
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/set.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/str.cjs +0 -23
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/str.mjs +0 -19
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/str.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/timestamp.cjs +0 -62
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/timestamp.mjs +0 -58
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/timestamp.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type.cjs +0 -62
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type.mjs +0 -58
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type.mjs.map +0 -1
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml.cjs +0 -53
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml.mjs +0 -49
- package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml.mjs.map +0 -1
- package/dist/node_modules/.pnpm/kind-of@6.0.3/node_modules/kind-of/index.cjs +0 -97
- package/dist/node_modules/.pnpm/kind-of@6.0.3/node_modules/kind-of/index.mjs +0 -95
- package/dist/node_modules/.pnpm/kind-of@6.0.3/node_modules/kind-of/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/p-limit@6.2.0/node_modules/p-limit/index.cjs +0 -62
- package/dist/node_modules/.pnpm/p-limit@6.2.0/node_modules/p-limit/index.mjs +0 -63
- package/dist/node_modules/.pnpm/p-limit@6.2.0/node_modules/p-limit/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/index.cjs +0 -28
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/index.mjs +0 -24
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/constants.cjs +0 -175
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/constants.mjs +0 -171
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/constants.mjs.map +0 -1
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/parse.cjs +0 -871
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/parse.mjs +0 -867
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/parse.mjs.map +0 -1
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/picomatch.cjs +0 -307
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/picomatch.mjs +0 -303
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/picomatch.mjs.map +0 -1
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/scan.cjs +0 -300
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/scan.mjs +0 -296
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/scan.mjs.map +0 -1
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/utils.cjs +0 -60
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/utils.mjs +0 -56
- package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/utils.mjs.map +0 -1
- package/dist/node_modules/.pnpm/randombytes@2.1.0/node_modules/randombytes/index.cjs +0 -14
- package/dist/node_modules/.pnpm/randombytes@2.1.0/node_modules/randombytes/index.mjs +0 -12
- package/dist/node_modules/.pnpm/randombytes@2.1.0/node_modules/randombytes/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/section-matter@1.0.0/node_modules/section-matter/index.cjs +0 -117
- package/dist/node_modules/.pnpm/section-matter@1.0.0/node_modules/section-matter/index.mjs +0 -113
- package/dist/node_modules/.pnpm/section-matter@1.0.0/node_modules/section-matter/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/serialize-javascript@6.0.2/node_modules/serialize-javascript/index.cjs +0 -119
- package/dist/node_modules/.pnpm/serialize-javascript@6.0.2/node_modules/serialize-javascript/index.mjs +0 -115
- package/dist/node_modules/.pnpm/serialize-javascript@6.0.2/node_modules/serialize-javascript/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/strip-bom-string@1.0.0/node_modules/strip-bom-string/index.cjs +0 -25
- package/dist/node_modules/.pnpm/strip-bom-string@1.0.0/node_modules/strip-bom-string/index.mjs +0 -21
- package/dist/node_modules/.pnpm/strip-bom-string@1.0.0/node_modules/strip-bom-string/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/tinyglobby@0.2.15/node_modules/tinyglobby/dist/index.cjs +0 -294
- package/dist/node_modules/.pnpm/tinyglobby@0.2.15/node_modules/tinyglobby/dist/index.mjs +0 -293
- package/dist/node_modules/.pnpm/tinyglobby@0.2.15/node_modules/tinyglobby/dist/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/compose-collection.cjs +0 -70
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/compose-collection.mjs +0 -66
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/compose-collection.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/compose-doc.cjs +0 -57
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/compose-doc.mjs +0 -53
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/compose-doc.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/compose-node.cjs +0 -102
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/compose-node.mjs +0 -98
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/compose-node.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/compose-scalar.cjs +0 -74
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/compose-scalar.mjs +0 -70
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/compose-scalar.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/composer.cjs +0 -215
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/composer.mjs +0 -211
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/composer.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-block-map.cjs +0 -101
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-block-map.mjs +0 -97
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-block-map.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-block-scalar.cjs +0 -187
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-block-scalar.mjs +0 -183
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-block-scalar.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-block-seq.cjs +0 -56
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-block-seq.mjs +0 -52
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-block-seq.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-end.cjs +0 -49
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-end.mjs +0 -45
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-end.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-flow-collection.cjs +0 -174
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-flow-collection.mjs +0 -170
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-flow-collection.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-flow-scalar.cjs +0 -219
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-flow-scalar.mjs +0 -215
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-flow-scalar.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-props.cjs +0 -118
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-props.mjs +0 -114
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-props.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/util-contains-newline.cjs +0 -40
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/util-contains-newline.mjs +0 -36
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/util-contains-newline.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/util-empty-scalar-position.cjs +0 -38
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/util-empty-scalar-position.mjs +0 -34
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/util-empty-scalar-position.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/util-flow-indent-check.cjs +0 -24
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/util-flow-indent-check.mjs +0 -20
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/util-flow-indent-check.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/util-map-includes.cjs +0 -24
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/util-map-includes.mjs +0 -20
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/util-map-includes.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/Document.cjs +0 -303
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/Document.mjs +0 -299
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/Document.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/anchors.cjs +0 -75
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/anchors.mjs +0 -71
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/anchors.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/applyReviver.cjs +0 -51
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/applyReviver.mjs +0 -47
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/applyReviver.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/createNode.cjs +0 -77
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/createNode.mjs +0 -73
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/createNode.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/directives.cjs +0 -178
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/directives.mjs +0 -174
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/directives.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/errors.cjs +0 -64
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/errors.mjs +0 -60
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/errors.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/index.cjs +0 -75
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/index.mjs +0 -71
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/index.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/log.cjs +0 -25
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/log.mjs +0 -21
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/log.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Alias.cjs +0 -109
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Alias.mjs +0 -105
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Alias.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Collection.cjs +0 -135
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Collection.mjs +0 -131
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Collection.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Node.cjs +0 -48
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Node.mjs +0 -44
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Node.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Pair.cjs +0 -48
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Pair.mjs +0 -44
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Pair.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Scalar.cjs +0 -41
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Scalar.mjs +0 -37
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Scalar.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/YAMLMap.cjs +0 -126
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/YAMLMap.mjs +0 -122
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/YAMLMap.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/YAMLSeq.cjs +0 -123
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/YAMLSeq.mjs +0 -119
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/YAMLSeq.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/addPairToJSMap.cjs +0 -67
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/addPairToJSMap.mjs +0 -63
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/addPairToJSMap.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/identity.cjs +0 -61
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/identity.mjs +0 -57
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/identity.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/toJS.cjs +0 -49
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/toJS.mjs +0 -45
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/toJS.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/cst-scalar.cjs +0 -282
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/cst-scalar.mjs +0 -278
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/cst-scalar.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/cst-stringify.cjs +0 -62
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/cst-stringify.mjs +0 -58
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/cst-stringify.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/cst-visit.cjs +0 -102
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/cst-visit.mjs +0 -98
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/cst-visit.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/cst.cjs +0 -93
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/cst.mjs +0 -89
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/cst.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/lexer.cjs +0 -531
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/lexer.mjs +0 -527
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/lexer.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/line-counter.cjs +0 -58
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/line-counter.mjs +0 -54
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/line-counter.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/parser.cjs +0 -871
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/parser.mjs +0 -867
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/parser.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/public-api.cjs +0 -105
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/public-api.mjs +0 -101
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/public-api.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/Schema.cjs +0 -45
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/Schema.mjs +0 -41
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/Schema.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/common/map.cjs +0 -31
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/common/map.mjs +0 -27
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/common/map.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/common/null.cjs +0 -27
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/common/null.mjs +0 -23
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/common/null.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/common/seq.cjs +0 -31
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/common/seq.mjs +0 -27
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/common/seq.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/common/string.cjs +0 -28
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/common/string.mjs +0 -24
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/common/string.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/core/bool.cjs +0 -31
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/core/bool.mjs +0 -27
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/core/bool.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/core/float.cjs +0 -55
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/core/float.mjs +0 -51
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/core/float.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/core/int.cjs +0 -53
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/core/int.mjs +0 -49
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/core/int.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/core/schema.cjs +0 -43
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/core/schema.mjs +0 -39
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/core/schema.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/json/schema.cjs +0 -77
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/json/schema.mjs +0 -73
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/json/schema.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/tags.cjs +0 -111
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/tags.mjs +0 -107
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/tags.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/binary.cjs +0 -62
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/binary.mjs +0 -58
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/binary.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/bool.cjs +0 -39
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/bool.mjs +0 -35
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/bool.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/float.cjs +0 -58
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/float.mjs +0 -54
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/float.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/int.cjs +0 -87
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/int.mjs +0 -83
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/int.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/merge.cjs +0 -53
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/merge.mjs +0 -49
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/merge.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/omap.cjs +0 -79
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/omap.mjs +0 -75
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/omap.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/pairs.cjs +0 -75
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/pairs.mjs +0 -71
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/pairs.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/schema.cjs +0 -65
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/schema.mjs +0 -61
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/schema.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/set.cjs +0 -82
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/set.mjs +0 -78
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/set.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/timestamp.cjs +0 -95
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/timestamp.mjs +0 -91
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/timestamp.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/foldFlowLines.cjs +0 -127
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/foldFlowLines.mjs +0 -123
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/foldFlowLines.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringify.cjs +0 -122
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringify.mjs +0 -118
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringify.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyCollection.cjs +0 -128
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyCollection.mjs +0 -124
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyCollection.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyComment.cjs +0 -31
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyComment.mjs +0 -27
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyComment.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyDocument.cjs +0 -75
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyDocument.mjs +0 -71
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyDocument.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyNumber.cjs +0 -32
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyNumber.mjs +0 -28
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyNumber.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyPair.cjs +0 -112
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyPair.mjs +0 -108
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyPair.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyString.cjs +0 -237
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyString.mjs +0 -233
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyString.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/visit.cjs +0 -202
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/visit.mjs +0 -198
- package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/visit.mjs.map +0 -1
- package/dist/node_modules/.pnpm/yocto-queue@1.2.2/node_modules/yocto-queue/index.cjs +0 -61
- package/dist/node_modules/.pnpm/yocto-queue@1.2.2/node_modules/yocto-queue/index.mjs +0 -61
- package/dist/node_modules/.pnpm/yocto-queue@1.2.2/node_modules/yocto-queue/index.mjs.map +0 -1
|
@@ -1,871 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
const require_rolldown_runtime = require('../../../../../../../_virtual/rolldown_runtime.cjs');
|
|
4
|
-
const require_cst$1 = require('./cst.cjs');
|
|
5
|
-
const require_lexer$1 = require('./lexer.cjs');
|
|
6
|
-
|
|
7
|
-
//#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/parser.js
|
|
8
|
-
var require_parser = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
9
|
-
var node_process = require("node:process");
|
|
10
|
-
var cst = require_cst$1.default;
|
|
11
|
-
var lexer = require_lexer$1.default;
|
|
12
|
-
function includesToken(list, type) {
|
|
13
|
-
for (let i = 0; i < list.length; ++i) if (list[i].type === type) return true;
|
|
14
|
-
return false;
|
|
15
|
-
}
|
|
16
|
-
function findNonEmptyIndex(list) {
|
|
17
|
-
for (let i = 0; i < list.length; ++i) switch (list[i].type) {
|
|
18
|
-
case "space":
|
|
19
|
-
case "comment":
|
|
20
|
-
case "newline": break;
|
|
21
|
-
default: return i;
|
|
22
|
-
}
|
|
23
|
-
return -1;
|
|
24
|
-
}
|
|
25
|
-
function isFlowToken(token) {
|
|
26
|
-
switch (token?.type) {
|
|
27
|
-
case "alias":
|
|
28
|
-
case "scalar":
|
|
29
|
-
case "single-quoted-scalar":
|
|
30
|
-
case "double-quoted-scalar":
|
|
31
|
-
case "flow-collection": return true;
|
|
32
|
-
default: return false;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
function getPrevProps(parent) {
|
|
36
|
-
switch (parent.type) {
|
|
37
|
-
case "document": return parent.start;
|
|
38
|
-
case "block-map": {
|
|
39
|
-
const it = parent.items[parent.items.length - 1];
|
|
40
|
-
return it.sep ?? it.start;
|
|
41
|
-
}
|
|
42
|
-
case "block-seq": return parent.items[parent.items.length - 1].start;
|
|
43
|
-
default: return [];
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
/** Note: May modify input array */
|
|
47
|
-
function getFirstKeyStartProps(prev) {
|
|
48
|
-
if (prev.length === 0) return [];
|
|
49
|
-
let i = prev.length;
|
|
50
|
-
loop: while (--i >= 0) switch (prev[i].type) {
|
|
51
|
-
case "doc-start":
|
|
52
|
-
case "explicit-key-ind":
|
|
53
|
-
case "map-value-ind":
|
|
54
|
-
case "seq-item-ind":
|
|
55
|
-
case "newline": break loop;
|
|
56
|
-
}
|
|
57
|
-
while (prev[++i]?.type === "space");
|
|
58
|
-
return prev.splice(i, prev.length);
|
|
59
|
-
}
|
|
60
|
-
function fixFlowSeqItems(fc) {
|
|
61
|
-
if (fc.start.type === "flow-seq-start") {
|
|
62
|
-
for (const it of fc.items) if (it.sep && !it.value && !includesToken(it.start, "explicit-key-ind") && !includesToken(it.sep, "map-value-ind")) {
|
|
63
|
-
if (it.key) it.value = it.key;
|
|
64
|
-
delete it.key;
|
|
65
|
-
if (isFlowToken(it.value)) if (it.value.end) Array.prototype.push.apply(it.value.end, it.sep);
|
|
66
|
-
else it.value.end = it.sep;
|
|
67
|
-
else Array.prototype.push.apply(it.start, it.sep);
|
|
68
|
-
delete it.sep;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
/**
|
|
73
|
-
* A YAML concrete syntax tree (CST) parser
|
|
74
|
-
*
|
|
75
|
-
* ```ts
|
|
76
|
-
* const src: string = ...
|
|
77
|
-
* for (const token of new Parser().parse(src)) {
|
|
78
|
-
* // token: Token
|
|
79
|
-
* }
|
|
80
|
-
* ```
|
|
81
|
-
*
|
|
82
|
-
* To use the parser with a user-provided lexer:
|
|
83
|
-
*
|
|
84
|
-
* ```ts
|
|
85
|
-
* function* parse(source: string, lexer: Lexer) {
|
|
86
|
-
* const parser = new Parser()
|
|
87
|
-
* for (const lexeme of lexer.lex(source))
|
|
88
|
-
* yield* parser.next(lexeme)
|
|
89
|
-
* yield* parser.end()
|
|
90
|
-
* }
|
|
91
|
-
*
|
|
92
|
-
* const src: string = ...
|
|
93
|
-
* const lexer = new Lexer()
|
|
94
|
-
* for (const token of parse(src, lexer)) {
|
|
95
|
-
* // token: Token
|
|
96
|
-
* }
|
|
97
|
-
* ```
|
|
98
|
-
*/
|
|
99
|
-
var Parser = class {
|
|
100
|
-
/**
|
|
101
|
-
* @param onNewLine - If defined, called separately with the start position of
|
|
102
|
-
* each new line (in `parse()`, including the start of input).
|
|
103
|
-
*/
|
|
104
|
-
constructor(onNewLine) {
|
|
105
|
-
/** If true, space and sequence indicators count as indentation */
|
|
106
|
-
this.atNewLine = true;
|
|
107
|
-
/** If true, next token is a scalar value */
|
|
108
|
-
this.atScalar = false;
|
|
109
|
-
/** Current indentation level */
|
|
110
|
-
this.indent = 0;
|
|
111
|
-
/** Current offset since the start of parsing */
|
|
112
|
-
this.offset = 0;
|
|
113
|
-
/** On the same line with a block map key */
|
|
114
|
-
this.onKeyLine = false;
|
|
115
|
-
/** Top indicates the node that's currently being built */
|
|
116
|
-
this.stack = [];
|
|
117
|
-
/** The source of the current token, set in parse() */
|
|
118
|
-
this.source = "";
|
|
119
|
-
/** The type of the current token, set in parse() */
|
|
120
|
-
this.type = "";
|
|
121
|
-
this.lexer = new lexer.Lexer();
|
|
122
|
-
this.onNewLine = onNewLine;
|
|
123
|
-
}
|
|
124
|
-
/**
|
|
125
|
-
* Parse `source` as a YAML stream.
|
|
126
|
-
* If `incomplete`, a part of the last line may be left as a buffer for the next call.
|
|
127
|
-
*
|
|
128
|
-
* Errors are not thrown, but yielded as `{ type: 'error', message }` tokens.
|
|
129
|
-
*
|
|
130
|
-
* @returns A generator of tokens representing each directive, document, and other structure.
|
|
131
|
-
*/
|
|
132
|
-
*parse(source, incomplete = false) {
|
|
133
|
-
if (this.onNewLine && this.offset === 0) this.onNewLine(0);
|
|
134
|
-
for (const lexeme of this.lexer.lex(source, incomplete)) yield* this.next(lexeme);
|
|
135
|
-
if (!incomplete) yield* this.end();
|
|
136
|
-
}
|
|
137
|
-
/**
|
|
138
|
-
* Advance the parser by the `source` of one lexical token.
|
|
139
|
-
*/
|
|
140
|
-
*next(source) {
|
|
141
|
-
this.source = source;
|
|
142
|
-
if (node_process.env.LOG_TOKENS) console.log("|", cst.prettyToken(source));
|
|
143
|
-
if (this.atScalar) {
|
|
144
|
-
this.atScalar = false;
|
|
145
|
-
yield* this.step();
|
|
146
|
-
this.offset += source.length;
|
|
147
|
-
return;
|
|
148
|
-
}
|
|
149
|
-
const type = cst.tokenType(source);
|
|
150
|
-
if (!type) {
|
|
151
|
-
const message = `Not a YAML token: ${source}`;
|
|
152
|
-
yield* this.pop({
|
|
153
|
-
type: "error",
|
|
154
|
-
offset: this.offset,
|
|
155
|
-
message,
|
|
156
|
-
source
|
|
157
|
-
});
|
|
158
|
-
this.offset += source.length;
|
|
159
|
-
} else if (type === "scalar") {
|
|
160
|
-
this.atNewLine = false;
|
|
161
|
-
this.atScalar = true;
|
|
162
|
-
this.type = "scalar";
|
|
163
|
-
} else {
|
|
164
|
-
this.type = type;
|
|
165
|
-
yield* this.step();
|
|
166
|
-
switch (type) {
|
|
167
|
-
case "newline":
|
|
168
|
-
this.atNewLine = true;
|
|
169
|
-
this.indent = 0;
|
|
170
|
-
if (this.onNewLine) this.onNewLine(this.offset + source.length);
|
|
171
|
-
break;
|
|
172
|
-
case "space":
|
|
173
|
-
if (this.atNewLine && source[0] === " ") this.indent += source.length;
|
|
174
|
-
break;
|
|
175
|
-
case "explicit-key-ind":
|
|
176
|
-
case "map-value-ind":
|
|
177
|
-
case "seq-item-ind":
|
|
178
|
-
if (this.atNewLine) this.indent += source.length;
|
|
179
|
-
break;
|
|
180
|
-
case "doc-mode":
|
|
181
|
-
case "flow-error-end": return;
|
|
182
|
-
default: this.atNewLine = false;
|
|
183
|
-
}
|
|
184
|
-
this.offset += source.length;
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
/** Call at end of input to push out any remaining constructions */
|
|
188
|
-
*end() {
|
|
189
|
-
while (this.stack.length > 0) yield* this.pop();
|
|
190
|
-
}
|
|
191
|
-
get sourceToken() {
|
|
192
|
-
return {
|
|
193
|
-
type: this.type,
|
|
194
|
-
offset: this.offset,
|
|
195
|
-
indent: this.indent,
|
|
196
|
-
source: this.source
|
|
197
|
-
};
|
|
198
|
-
}
|
|
199
|
-
*step() {
|
|
200
|
-
const top = this.peek(1);
|
|
201
|
-
if (this.type === "doc-end" && top?.type !== "doc-end") {
|
|
202
|
-
while (this.stack.length > 0) yield* this.pop();
|
|
203
|
-
this.stack.push({
|
|
204
|
-
type: "doc-end",
|
|
205
|
-
offset: this.offset,
|
|
206
|
-
source: this.source
|
|
207
|
-
});
|
|
208
|
-
return;
|
|
209
|
-
}
|
|
210
|
-
if (!top) return yield* this.stream();
|
|
211
|
-
switch (top.type) {
|
|
212
|
-
case "document": return yield* this.document(top);
|
|
213
|
-
case "alias":
|
|
214
|
-
case "scalar":
|
|
215
|
-
case "single-quoted-scalar":
|
|
216
|
-
case "double-quoted-scalar": return yield* this.scalar(top);
|
|
217
|
-
case "block-scalar": return yield* this.blockScalar(top);
|
|
218
|
-
case "block-map": return yield* this.blockMap(top);
|
|
219
|
-
case "block-seq": return yield* this.blockSequence(top);
|
|
220
|
-
case "flow-collection": return yield* this.flowCollection(top);
|
|
221
|
-
case "doc-end": return yield* this.documentEnd(top);
|
|
222
|
-
}
|
|
223
|
-
/* istanbul ignore next should not happen */
|
|
224
|
-
yield* this.pop();
|
|
225
|
-
}
|
|
226
|
-
peek(n) {
|
|
227
|
-
return this.stack[this.stack.length - n];
|
|
228
|
-
}
|
|
229
|
-
*pop(error) {
|
|
230
|
-
const token = error ?? this.stack.pop();
|
|
231
|
-
/* istanbul ignore if should not happen */
|
|
232
|
-
if (!token) yield {
|
|
233
|
-
type: "error",
|
|
234
|
-
offset: this.offset,
|
|
235
|
-
source: "",
|
|
236
|
-
message: "Tried to pop an empty stack"
|
|
237
|
-
};
|
|
238
|
-
else if (this.stack.length === 0) yield token;
|
|
239
|
-
else {
|
|
240
|
-
const top = this.peek(1);
|
|
241
|
-
if (token.type === "block-scalar") token.indent = "indent" in top ? top.indent : 0;
|
|
242
|
-
else if (token.type === "flow-collection" && top.type === "document") token.indent = 0;
|
|
243
|
-
if (token.type === "flow-collection") fixFlowSeqItems(token);
|
|
244
|
-
switch (top.type) {
|
|
245
|
-
case "document":
|
|
246
|
-
top.value = token;
|
|
247
|
-
break;
|
|
248
|
-
case "block-scalar":
|
|
249
|
-
top.props.push(token);
|
|
250
|
-
break;
|
|
251
|
-
case "block-map": {
|
|
252
|
-
const it = top.items[top.items.length - 1];
|
|
253
|
-
if (it.value) {
|
|
254
|
-
top.items.push({
|
|
255
|
-
start: [],
|
|
256
|
-
key: token,
|
|
257
|
-
sep: []
|
|
258
|
-
});
|
|
259
|
-
this.onKeyLine = true;
|
|
260
|
-
return;
|
|
261
|
-
} else if (it.sep) it.value = token;
|
|
262
|
-
else {
|
|
263
|
-
Object.assign(it, {
|
|
264
|
-
key: token,
|
|
265
|
-
sep: []
|
|
266
|
-
});
|
|
267
|
-
this.onKeyLine = !it.explicitKey;
|
|
268
|
-
return;
|
|
269
|
-
}
|
|
270
|
-
break;
|
|
271
|
-
}
|
|
272
|
-
case "block-seq": {
|
|
273
|
-
const it = top.items[top.items.length - 1];
|
|
274
|
-
if (it.value) top.items.push({
|
|
275
|
-
start: [],
|
|
276
|
-
value: token
|
|
277
|
-
});
|
|
278
|
-
else it.value = token;
|
|
279
|
-
break;
|
|
280
|
-
}
|
|
281
|
-
case "flow-collection": {
|
|
282
|
-
const it = top.items[top.items.length - 1];
|
|
283
|
-
if (!it || it.value) top.items.push({
|
|
284
|
-
start: [],
|
|
285
|
-
key: token,
|
|
286
|
-
sep: []
|
|
287
|
-
});
|
|
288
|
-
else if (it.sep) it.value = token;
|
|
289
|
-
else Object.assign(it, {
|
|
290
|
-
key: token,
|
|
291
|
-
sep: []
|
|
292
|
-
});
|
|
293
|
-
return;
|
|
294
|
-
}
|
|
295
|
-
default:
|
|
296
|
-
yield* this.pop();
|
|
297
|
-
yield* this.pop(token);
|
|
298
|
-
}
|
|
299
|
-
if ((top.type === "document" || top.type === "block-map" || top.type === "block-seq") && (token.type === "block-map" || token.type === "block-seq")) {
|
|
300
|
-
const last = token.items[token.items.length - 1];
|
|
301
|
-
if (last && !last.sep && !last.value && last.start.length > 0 && findNonEmptyIndex(last.start) === -1 && (token.indent === 0 || last.start.every((st) => st.type !== "comment" || st.indent < token.indent))) {
|
|
302
|
-
if (top.type === "document") top.end = last.start;
|
|
303
|
-
else top.items.push({ start: last.start });
|
|
304
|
-
token.items.splice(-1, 1);
|
|
305
|
-
}
|
|
306
|
-
}
|
|
307
|
-
}
|
|
308
|
-
}
|
|
309
|
-
*stream() {
|
|
310
|
-
switch (this.type) {
|
|
311
|
-
case "directive-line":
|
|
312
|
-
yield {
|
|
313
|
-
type: "directive",
|
|
314
|
-
offset: this.offset,
|
|
315
|
-
source: this.source
|
|
316
|
-
};
|
|
317
|
-
return;
|
|
318
|
-
case "byte-order-mark":
|
|
319
|
-
case "space":
|
|
320
|
-
case "comment":
|
|
321
|
-
case "newline":
|
|
322
|
-
yield this.sourceToken;
|
|
323
|
-
return;
|
|
324
|
-
case "doc-mode":
|
|
325
|
-
case "doc-start": {
|
|
326
|
-
const doc = {
|
|
327
|
-
type: "document",
|
|
328
|
-
offset: this.offset,
|
|
329
|
-
start: []
|
|
330
|
-
};
|
|
331
|
-
if (this.type === "doc-start") doc.start.push(this.sourceToken);
|
|
332
|
-
this.stack.push(doc);
|
|
333
|
-
return;
|
|
334
|
-
}
|
|
335
|
-
}
|
|
336
|
-
yield {
|
|
337
|
-
type: "error",
|
|
338
|
-
offset: this.offset,
|
|
339
|
-
message: `Unexpected ${this.type} token in YAML stream`,
|
|
340
|
-
source: this.source
|
|
341
|
-
};
|
|
342
|
-
}
|
|
343
|
-
*document(doc) {
|
|
344
|
-
if (doc.value) return yield* this.lineEnd(doc);
|
|
345
|
-
switch (this.type) {
|
|
346
|
-
case "doc-start":
|
|
347
|
-
if (findNonEmptyIndex(doc.start) !== -1) {
|
|
348
|
-
yield* this.pop();
|
|
349
|
-
yield* this.step();
|
|
350
|
-
} else doc.start.push(this.sourceToken);
|
|
351
|
-
return;
|
|
352
|
-
case "anchor":
|
|
353
|
-
case "tag":
|
|
354
|
-
case "space":
|
|
355
|
-
case "comment":
|
|
356
|
-
case "newline":
|
|
357
|
-
doc.start.push(this.sourceToken);
|
|
358
|
-
return;
|
|
359
|
-
}
|
|
360
|
-
const bv = this.startBlockValue(doc);
|
|
361
|
-
if (bv) this.stack.push(bv);
|
|
362
|
-
else yield {
|
|
363
|
-
type: "error",
|
|
364
|
-
offset: this.offset,
|
|
365
|
-
message: `Unexpected ${this.type} token in YAML document`,
|
|
366
|
-
source: this.source
|
|
367
|
-
};
|
|
368
|
-
}
|
|
369
|
-
*scalar(scalar) {
|
|
370
|
-
if (this.type === "map-value-ind") {
|
|
371
|
-
const start = getFirstKeyStartProps(getPrevProps(this.peek(2)));
|
|
372
|
-
let sep;
|
|
373
|
-
if (scalar.end) {
|
|
374
|
-
sep = scalar.end;
|
|
375
|
-
sep.push(this.sourceToken);
|
|
376
|
-
delete scalar.end;
|
|
377
|
-
} else sep = [this.sourceToken];
|
|
378
|
-
const map = {
|
|
379
|
-
type: "block-map",
|
|
380
|
-
offset: scalar.offset,
|
|
381
|
-
indent: scalar.indent,
|
|
382
|
-
items: [{
|
|
383
|
-
start,
|
|
384
|
-
key: scalar,
|
|
385
|
-
sep
|
|
386
|
-
}]
|
|
387
|
-
};
|
|
388
|
-
this.onKeyLine = true;
|
|
389
|
-
this.stack[this.stack.length - 1] = map;
|
|
390
|
-
} else yield* this.lineEnd(scalar);
|
|
391
|
-
}
|
|
392
|
-
*blockScalar(scalar) {
|
|
393
|
-
switch (this.type) {
|
|
394
|
-
case "space":
|
|
395
|
-
case "comment":
|
|
396
|
-
case "newline":
|
|
397
|
-
scalar.props.push(this.sourceToken);
|
|
398
|
-
return;
|
|
399
|
-
case "scalar":
|
|
400
|
-
scalar.source = this.source;
|
|
401
|
-
this.atNewLine = true;
|
|
402
|
-
this.indent = 0;
|
|
403
|
-
if (this.onNewLine) {
|
|
404
|
-
let nl = this.source.indexOf("\n") + 1;
|
|
405
|
-
while (nl !== 0) {
|
|
406
|
-
this.onNewLine(this.offset + nl);
|
|
407
|
-
nl = this.source.indexOf("\n", nl) + 1;
|
|
408
|
-
}
|
|
409
|
-
}
|
|
410
|
-
yield* this.pop();
|
|
411
|
-
break;
|
|
412
|
-
default:
|
|
413
|
-
yield* this.pop();
|
|
414
|
-
yield* this.step();
|
|
415
|
-
}
|
|
416
|
-
}
|
|
417
|
-
*blockMap(map) {
|
|
418
|
-
const it = map.items[map.items.length - 1];
|
|
419
|
-
switch (this.type) {
|
|
420
|
-
case "newline":
|
|
421
|
-
this.onKeyLine = false;
|
|
422
|
-
if (it.value) {
|
|
423
|
-
const end = "end" in it.value ? it.value.end : void 0;
|
|
424
|
-
if ((Array.isArray(end) ? end[end.length - 1] : void 0)?.type === "comment") end?.push(this.sourceToken);
|
|
425
|
-
else map.items.push({ start: [this.sourceToken] });
|
|
426
|
-
} else if (it.sep) it.sep.push(this.sourceToken);
|
|
427
|
-
else it.start.push(this.sourceToken);
|
|
428
|
-
return;
|
|
429
|
-
case "space":
|
|
430
|
-
case "comment":
|
|
431
|
-
if (it.value) map.items.push({ start: [this.sourceToken] });
|
|
432
|
-
else if (it.sep) it.sep.push(this.sourceToken);
|
|
433
|
-
else {
|
|
434
|
-
if (this.atIndentedComment(it.start, map.indent)) {
|
|
435
|
-
const end = map.items[map.items.length - 2]?.value?.end;
|
|
436
|
-
if (Array.isArray(end)) {
|
|
437
|
-
Array.prototype.push.apply(end, it.start);
|
|
438
|
-
end.push(this.sourceToken);
|
|
439
|
-
map.items.pop();
|
|
440
|
-
return;
|
|
441
|
-
}
|
|
442
|
-
}
|
|
443
|
-
it.start.push(this.sourceToken);
|
|
444
|
-
}
|
|
445
|
-
return;
|
|
446
|
-
}
|
|
447
|
-
if (this.indent >= map.indent) {
|
|
448
|
-
const atMapIndent = !this.onKeyLine && this.indent === map.indent;
|
|
449
|
-
const atNextItem = atMapIndent && (it.sep || it.explicitKey) && this.type !== "seq-item-ind";
|
|
450
|
-
let start = [];
|
|
451
|
-
if (atNextItem && it.sep && !it.value) {
|
|
452
|
-
const nl = [];
|
|
453
|
-
for (let i = 0; i < it.sep.length; ++i) {
|
|
454
|
-
const st = it.sep[i];
|
|
455
|
-
switch (st.type) {
|
|
456
|
-
case "newline":
|
|
457
|
-
nl.push(i);
|
|
458
|
-
break;
|
|
459
|
-
case "space": break;
|
|
460
|
-
case "comment":
|
|
461
|
-
if (st.indent > map.indent) nl.length = 0;
|
|
462
|
-
break;
|
|
463
|
-
default: nl.length = 0;
|
|
464
|
-
}
|
|
465
|
-
}
|
|
466
|
-
if (nl.length >= 2) start = it.sep.splice(nl[1]);
|
|
467
|
-
}
|
|
468
|
-
switch (this.type) {
|
|
469
|
-
case "anchor":
|
|
470
|
-
case "tag":
|
|
471
|
-
if (atNextItem || it.value) {
|
|
472
|
-
start.push(this.sourceToken);
|
|
473
|
-
map.items.push({ start });
|
|
474
|
-
this.onKeyLine = true;
|
|
475
|
-
} else if (it.sep) it.sep.push(this.sourceToken);
|
|
476
|
-
else it.start.push(this.sourceToken);
|
|
477
|
-
return;
|
|
478
|
-
case "explicit-key-ind":
|
|
479
|
-
if (!it.sep && !it.explicitKey) {
|
|
480
|
-
it.start.push(this.sourceToken);
|
|
481
|
-
it.explicitKey = true;
|
|
482
|
-
} else if (atNextItem || it.value) {
|
|
483
|
-
start.push(this.sourceToken);
|
|
484
|
-
map.items.push({
|
|
485
|
-
start,
|
|
486
|
-
explicitKey: true
|
|
487
|
-
});
|
|
488
|
-
} else this.stack.push({
|
|
489
|
-
type: "block-map",
|
|
490
|
-
offset: this.offset,
|
|
491
|
-
indent: this.indent,
|
|
492
|
-
items: [{
|
|
493
|
-
start: [this.sourceToken],
|
|
494
|
-
explicitKey: true
|
|
495
|
-
}]
|
|
496
|
-
});
|
|
497
|
-
this.onKeyLine = true;
|
|
498
|
-
return;
|
|
499
|
-
case "map-value-ind":
|
|
500
|
-
if (it.explicitKey) if (!it.sep) if (includesToken(it.start, "newline")) Object.assign(it, {
|
|
501
|
-
key: null,
|
|
502
|
-
sep: [this.sourceToken]
|
|
503
|
-
});
|
|
504
|
-
else {
|
|
505
|
-
const start$1 = getFirstKeyStartProps(it.start);
|
|
506
|
-
this.stack.push({
|
|
507
|
-
type: "block-map",
|
|
508
|
-
offset: this.offset,
|
|
509
|
-
indent: this.indent,
|
|
510
|
-
items: [{
|
|
511
|
-
start: start$1,
|
|
512
|
-
key: null,
|
|
513
|
-
sep: [this.sourceToken]
|
|
514
|
-
}]
|
|
515
|
-
});
|
|
516
|
-
}
|
|
517
|
-
else if (it.value) map.items.push({
|
|
518
|
-
start: [],
|
|
519
|
-
key: null,
|
|
520
|
-
sep: [this.sourceToken]
|
|
521
|
-
});
|
|
522
|
-
else if (includesToken(it.sep, "map-value-ind")) this.stack.push({
|
|
523
|
-
type: "block-map",
|
|
524
|
-
offset: this.offset,
|
|
525
|
-
indent: this.indent,
|
|
526
|
-
items: [{
|
|
527
|
-
start,
|
|
528
|
-
key: null,
|
|
529
|
-
sep: [this.sourceToken]
|
|
530
|
-
}]
|
|
531
|
-
});
|
|
532
|
-
else if (isFlowToken(it.key) && !includesToken(it.sep, "newline")) {
|
|
533
|
-
const start$1 = getFirstKeyStartProps(it.start);
|
|
534
|
-
const key = it.key;
|
|
535
|
-
const sep = it.sep;
|
|
536
|
-
sep.push(this.sourceToken);
|
|
537
|
-
delete it.key;
|
|
538
|
-
delete it.sep;
|
|
539
|
-
this.stack.push({
|
|
540
|
-
type: "block-map",
|
|
541
|
-
offset: this.offset,
|
|
542
|
-
indent: this.indent,
|
|
543
|
-
items: [{
|
|
544
|
-
start: start$1,
|
|
545
|
-
key,
|
|
546
|
-
sep
|
|
547
|
-
}]
|
|
548
|
-
});
|
|
549
|
-
} else if (start.length > 0) it.sep = it.sep.concat(start, this.sourceToken);
|
|
550
|
-
else it.sep.push(this.sourceToken);
|
|
551
|
-
else if (!it.sep) Object.assign(it, {
|
|
552
|
-
key: null,
|
|
553
|
-
sep: [this.sourceToken]
|
|
554
|
-
});
|
|
555
|
-
else if (it.value || atNextItem) map.items.push({
|
|
556
|
-
start,
|
|
557
|
-
key: null,
|
|
558
|
-
sep: [this.sourceToken]
|
|
559
|
-
});
|
|
560
|
-
else if (includesToken(it.sep, "map-value-ind")) this.stack.push({
|
|
561
|
-
type: "block-map",
|
|
562
|
-
offset: this.offset,
|
|
563
|
-
indent: this.indent,
|
|
564
|
-
items: [{
|
|
565
|
-
start: [],
|
|
566
|
-
key: null,
|
|
567
|
-
sep: [this.sourceToken]
|
|
568
|
-
}]
|
|
569
|
-
});
|
|
570
|
-
else it.sep.push(this.sourceToken);
|
|
571
|
-
this.onKeyLine = true;
|
|
572
|
-
return;
|
|
573
|
-
case "alias":
|
|
574
|
-
case "scalar":
|
|
575
|
-
case "single-quoted-scalar":
|
|
576
|
-
case "double-quoted-scalar": {
|
|
577
|
-
const fs = this.flowScalar(this.type);
|
|
578
|
-
if (atNextItem || it.value) {
|
|
579
|
-
map.items.push({
|
|
580
|
-
start,
|
|
581
|
-
key: fs,
|
|
582
|
-
sep: []
|
|
583
|
-
});
|
|
584
|
-
this.onKeyLine = true;
|
|
585
|
-
} else if (it.sep) this.stack.push(fs);
|
|
586
|
-
else {
|
|
587
|
-
Object.assign(it, {
|
|
588
|
-
key: fs,
|
|
589
|
-
sep: []
|
|
590
|
-
});
|
|
591
|
-
this.onKeyLine = true;
|
|
592
|
-
}
|
|
593
|
-
return;
|
|
594
|
-
}
|
|
595
|
-
default: {
|
|
596
|
-
const bv = this.startBlockValue(map);
|
|
597
|
-
if (bv) {
|
|
598
|
-
if (bv.type === "block-seq") {
|
|
599
|
-
if (!it.explicitKey && it.sep && !includesToken(it.sep, "newline")) {
|
|
600
|
-
yield* this.pop({
|
|
601
|
-
type: "error",
|
|
602
|
-
offset: this.offset,
|
|
603
|
-
message: "Unexpected block-seq-ind on same line with key",
|
|
604
|
-
source: this.source
|
|
605
|
-
});
|
|
606
|
-
return;
|
|
607
|
-
}
|
|
608
|
-
} else if (atMapIndent) map.items.push({ start });
|
|
609
|
-
this.stack.push(bv);
|
|
610
|
-
return;
|
|
611
|
-
}
|
|
612
|
-
}
|
|
613
|
-
}
|
|
614
|
-
}
|
|
615
|
-
yield* this.pop();
|
|
616
|
-
yield* this.step();
|
|
617
|
-
}
|
|
618
|
-
*blockSequence(seq) {
|
|
619
|
-
const it = seq.items[seq.items.length - 1];
|
|
620
|
-
switch (this.type) {
|
|
621
|
-
case "newline":
|
|
622
|
-
if (it.value) {
|
|
623
|
-
const end = "end" in it.value ? it.value.end : void 0;
|
|
624
|
-
if ((Array.isArray(end) ? end[end.length - 1] : void 0)?.type === "comment") end?.push(this.sourceToken);
|
|
625
|
-
else seq.items.push({ start: [this.sourceToken] });
|
|
626
|
-
} else it.start.push(this.sourceToken);
|
|
627
|
-
return;
|
|
628
|
-
case "space":
|
|
629
|
-
case "comment":
|
|
630
|
-
if (it.value) seq.items.push({ start: [this.sourceToken] });
|
|
631
|
-
else {
|
|
632
|
-
if (this.atIndentedComment(it.start, seq.indent)) {
|
|
633
|
-
const end = seq.items[seq.items.length - 2]?.value?.end;
|
|
634
|
-
if (Array.isArray(end)) {
|
|
635
|
-
Array.prototype.push.apply(end, it.start);
|
|
636
|
-
end.push(this.sourceToken);
|
|
637
|
-
seq.items.pop();
|
|
638
|
-
return;
|
|
639
|
-
}
|
|
640
|
-
}
|
|
641
|
-
it.start.push(this.sourceToken);
|
|
642
|
-
}
|
|
643
|
-
return;
|
|
644
|
-
case "anchor":
|
|
645
|
-
case "tag":
|
|
646
|
-
if (it.value || this.indent <= seq.indent) break;
|
|
647
|
-
it.start.push(this.sourceToken);
|
|
648
|
-
return;
|
|
649
|
-
case "seq-item-ind":
|
|
650
|
-
if (this.indent !== seq.indent) break;
|
|
651
|
-
if (it.value || includesToken(it.start, "seq-item-ind")) seq.items.push({ start: [this.sourceToken] });
|
|
652
|
-
else it.start.push(this.sourceToken);
|
|
653
|
-
return;
|
|
654
|
-
}
|
|
655
|
-
if (this.indent > seq.indent) {
|
|
656
|
-
const bv = this.startBlockValue(seq);
|
|
657
|
-
if (bv) {
|
|
658
|
-
this.stack.push(bv);
|
|
659
|
-
return;
|
|
660
|
-
}
|
|
661
|
-
}
|
|
662
|
-
yield* this.pop();
|
|
663
|
-
yield* this.step();
|
|
664
|
-
}
|
|
665
|
-
*flowCollection(fc) {
|
|
666
|
-
const it = fc.items[fc.items.length - 1];
|
|
667
|
-
if (this.type === "flow-error-end") {
|
|
668
|
-
let top;
|
|
669
|
-
do {
|
|
670
|
-
yield* this.pop();
|
|
671
|
-
top = this.peek(1);
|
|
672
|
-
} while (top?.type === "flow-collection");
|
|
673
|
-
} else if (fc.end.length === 0) {
|
|
674
|
-
switch (this.type) {
|
|
675
|
-
case "comma":
|
|
676
|
-
case "explicit-key-ind":
|
|
677
|
-
if (!it || it.sep) fc.items.push({ start: [this.sourceToken] });
|
|
678
|
-
else it.start.push(this.sourceToken);
|
|
679
|
-
return;
|
|
680
|
-
case "map-value-ind":
|
|
681
|
-
if (!it || it.value) fc.items.push({
|
|
682
|
-
start: [],
|
|
683
|
-
key: null,
|
|
684
|
-
sep: [this.sourceToken]
|
|
685
|
-
});
|
|
686
|
-
else if (it.sep) it.sep.push(this.sourceToken);
|
|
687
|
-
else Object.assign(it, {
|
|
688
|
-
key: null,
|
|
689
|
-
sep: [this.sourceToken]
|
|
690
|
-
});
|
|
691
|
-
return;
|
|
692
|
-
case "space":
|
|
693
|
-
case "comment":
|
|
694
|
-
case "newline":
|
|
695
|
-
case "anchor":
|
|
696
|
-
case "tag":
|
|
697
|
-
if (!it || it.value) fc.items.push({ start: [this.sourceToken] });
|
|
698
|
-
else if (it.sep) it.sep.push(this.sourceToken);
|
|
699
|
-
else it.start.push(this.sourceToken);
|
|
700
|
-
return;
|
|
701
|
-
case "alias":
|
|
702
|
-
case "scalar":
|
|
703
|
-
case "single-quoted-scalar":
|
|
704
|
-
case "double-quoted-scalar": {
|
|
705
|
-
const fs = this.flowScalar(this.type);
|
|
706
|
-
if (!it || it.value) fc.items.push({
|
|
707
|
-
start: [],
|
|
708
|
-
key: fs,
|
|
709
|
-
sep: []
|
|
710
|
-
});
|
|
711
|
-
else if (it.sep) this.stack.push(fs);
|
|
712
|
-
else Object.assign(it, {
|
|
713
|
-
key: fs,
|
|
714
|
-
sep: []
|
|
715
|
-
});
|
|
716
|
-
return;
|
|
717
|
-
}
|
|
718
|
-
case "flow-map-end":
|
|
719
|
-
case "flow-seq-end":
|
|
720
|
-
fc.end.push(this.sourceToken);
|
|
721
|
-
return;
|
|
722
|
-
}
|
|
723
|
-
const bv = this.startBlockValue(fc);
|
|
724
|
-
/* istanbul ignore else should not happen */
|
|
725
|
-
if (bv) this.stack.push(bv);
|
|
726
|
-
else {
|
|
727
|
-
yield* this.pop();
|
|
728
|
-
yield* this.step();
|
|
729
|
-
}
|
|
730
|
-
} else {
|
|
731
|
-
const parent = this.peek(2);
|
|
732
|
-
if (parent.type === "block-map" && (this.type === "map-value-ind" && parent.indent === fc.indent || this.type === "newline" && !parent.items[parent.items.length - 1].sep)) {
|
|
733
|
-
yield* this.pop();
|
|
734
|
-
yield* this.step();
|
|
735
|
-
} else if (this.type === "map-value-ind" && parent.type !== "flow-collection") {
|
|
736
|
-
const start = getFirstKeyStartProps(getPrevProps(parent));
|
|
737
|
-
fixFlowSeqItems(fc);
|
|
738
|
-
const sep = fc.end.splice(1, fc.end.length);
|
|
739
|
-
sep.push(this.sourceToken);
|
|
740
|
-
const map = {
|
|
741
|
-
type: "block-map",
|
|
742
|
-
offset: fc.offset,
|
|
743
|
-
indent: fc.indent,
|
|
744
|
-
items: [{
|
|
745
|
-
start,
|
|
746
|
-
key: fc,
|
|
747
|
-
sep
|
|
748
|
-
}]
|
|
749
|
-
};
|
|
750
|
-
this.onKeyLine = true;
|
|
751
|
-
this.stack[this.stack.length - 1] = map;
|
|
752
|
-
} else yield* this.lineEnd(fc);
|
|
753
|
-
}
|
|
754
|
-
}
|
|
755
|
-
flowScalar(type) {
|
|
756
|
-
if (this.onNewLine) {
|
|
757
|
-
let nl = this.source.indexOf("\n") + 1;
|
|
758
|
-
while (nl !== 0) {
|
|
759
|
-
this.onNewLine(this.offset + nl);
|
|
760
|
-
nl = this.source.indexOf("\n", nl) + 1;
|
|
761
|
-
}
|
|
762
|
-
}
|
|
763
|
-
return {
|
|
764
|
-
type,
|
|
765
|
-
offset: this.offset,
|
|
766
|
-
indent: this.indent,
|
|
767
|
-
source: this.source
|
|
768
|
-
};
|
|
769
|
-
}
|
|
770
|
-
startBlockValue(parent) {
|
|
771
|
-
switch (this.type) {
|
|
772
|
-
case "alias":
|
|
773
|
-
case "scalar":
|
|
774
|
-
case "single-quoted-scalar":
|
|
775
|
-
case "double-quoted-scalar": return this.flowScalar(this.type);
|
|
776
|
-
case "block-scalar-header": return {
|
|
777
|
-
type: "block-scalar",
|
|
778
|
-
offset: this.offset,
|
|
779
|
-
indent: this.indent,
|
|
780
|
-
props: [this.sourceToken],
|
|
781
|
-
source: ""
|
|
782
|
-
};
|
|
783
|
-
case "flow-map-start":
|
|
784
|
-
case "flow-seq-start": return {
|
|
785
|
-
type: "flow-collection",
|
|
786
|
-
offset: this.offset,
|
|
787
|
-
indent: this.indent,
|
|
788
|
-
start: this.sourceToken,
|
|
789
|
-
items: [],
|
|
790
|
-
end: []
|
|
791
|
-
};
|
|
792
|
-
case "seq-item-ind": return {
|
|
793
|
-
type: "block-seq",
|
|
794
|
-
offset: this.offset,
|
|
795
|
-
indent: this.indent,
|
|
796
|
-
items: [{ start: [this.sourceToken] }]
|
|
797
|
-
};
|
|
798
|
-
case "explicit-key-ind": {
|
|
799
|
-
this.onKeyLine = true;
|
|
800
|
-
const start = getFirstKeyStartProps(getPrevProps(parent));
|
|
801
|
-
start.push(this.sourceToken);
|
|
802
|
-
return {
|
|
803
|
-
type: "block-map",
|
|
804
|
-
offset: this.offset,
|
|
805
|
-
indent: this.indent,
|
|
806
|
-
items: [{
|
|
807
|
-
start,
|
|
808
|
-
explicitKey: true
|
|
809
|
-
}]
|
|
810
|
-
};
|
|
811
|
-
}
|
|
812
|
-
case "map-value-ind": {
|
|
813
|
-
this.onKeyLine = true;
|
|
814
|
-
const start = getFirstKeyStartProps(getPrevProps(parent));
|
|
815
|
-
return {
|
|
816
|
-
type: "block-map",
|
|
817
|
-
offset: this.offset,
|
|
818
|
-
indent: this.indent,
|
|
819
|
-
items: [{
|
|
820
|
-
start,
|
|
821
|
-
key: null,
|
|
822
|
-
sep: [this.sourceToken]
|
|
823
|
-
}]
|
|
824
|
-
};
|
|
825
|
-
}
|
|
826
|
-
}
|
|
827
|
-
return null;
|
|
828
|
-
}
|
|
829
|
-
atIndentedComment(start, indent) {
|
|
830
|
-
if (this.type !== "comment") return false;
|
|
831
|
-
if (this.indent <= indent) return false;
|
|
832
|
-
return start.every((st) => st.type === "newline" || st.type === "space");
|
|
833
|
-
}
|
|
834
|
-
*documentEnd(docEnd) {
|
|
835
|
-
if (this.type !== "doc-mode") {
|
|
836
|
-
if (docEnd.end) docEnd.end.push(this.sourceToken);
|
|
837
|
-
else docEnd.end = [this.sourceToken];
|
|
838
|
-
if (this.type === "newline") yield* this.pop();
|
|
839
|
-
}
|
|
840
|
-
}
|
|
841
|
-
*lineEnd(token) {
|
|
842
|
-
switch (this.type) {
|
|
843
|
-
case "comma":
|
|
844
|
-
case "doc-start":
|
|
845
|
-
case "doc-end":
|
|
846
|
-
case "flow-seq-end":
|
|
847
|
-
case "flow-map-end":
|
|
848
|
-
case "map-value-ind":
|
|
849
|
-
yield* this.pop();
|
|
850
|
-
yield* this.step();
|
|
851
|
-
break;
|
|
852
|
-
case "newline": this.onKeyLine = false;
|
|
853
|
-
case "space":
|
|
854
|
-
case "comment":
|
|
855
|
-
default:
|
|
856
|
-
if (token.end) token.end.push(this.sourceToken);
|
|
857
|
-
else token.end = [this.sourceToken];
|
|
858
|
-
if (this.type === "newline") yield* this.pop();
|
|
859
|
-
}
|
|
860
|
-
}
|
|
861
|
-
};
|
|
862
|
-
exports.Parser = Parser;
|
|
863
|
-
}));
|
|
864
|
-
|
|
865
|
-
//#endregion
|
|
866
|
-
Object.defineProperty(exports, 'default', {
|
|
867
|
-
enumerable: true,
|
|
868
|
-
get: function () {
|
|
869
|
-
return require_parser();
|
|
870
|
-
}
|
|
871
|
-
});
|