@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,816 +0,0 @@
|
|
|
1
|
-
import { __commonJSMin } from "../../../../../../../_virtual/rolldown_runtime.mjs";
|
|
2
|
-
import { require_common } from "./common.mjs";
|
|
3
|
-
import { require_exception } from "./exception.mjs";
|
|
4
|
-
import { require_mark } from "./mark.mjs";
|
|
5
|
-
import { require_default_safe } from "./schema/default_safe.mjs";
|
|
6
|
-
import { require_default_full } from "./schema/default_full.mjs";
|
|
7
|
-
|
|
8
|
-
//#region ../../node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/loader.js
|
|
9
|
-
var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
10
|
-
var common = require_common();
|
|
11
|
-
var YAMLException = require_exception();
|
|
12
|
-
var Mark = require_mark();
|
|
13
|
-
var DEFAULT_SAFE_SCHEMA = require_default_safe();
|
|
14
|
-
var DEFAULT_FULL_SCHEMA = require_default_full();
|
|
15
|
-
var _hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
16
|
-
var CONTEXT_FLOW_IN = 1;
|
|
17
|
-
var CONTEXT_FLOW_OUT = 2;
|
|
18
|
-
var CONTEXT_BLOCK_IN = 3;
|
|
19
|
-
var CONTEXT_BLOCK_OUT = 4;
|
|
20
|
-
var CHOMPING_CLIP = 1;
|
|
21
|
-
var CHOMPING_STRIP = 2;
|
|
22
|
-
var CHOMPING_KEEP = 3;
|
|
23
|
-
var PATTERN_NON_PRINTABLE = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;
|
|
24
|
-
var PATTERN_NON_ASCII_LINE_BREAKS = /[\x85\u2028\u2029]/;
|
|
25
|
-
var PATTERN_FLOW_INDICATORS = /[,\[\]\{\}]/;
|
|
26
|
-
var PATTERN_TAG_HANDLE = /^(?:!|!!|![a-z\-]+!)$/i;
|
|
27
|
-
var PATTERN_TAG_URI = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
|
|
28
|
-
function _class(obj) {
|
|
29
|
-
return Object.prototype.toString.call(obj);
|
|
30
|
-
}
|
|
31
|
-
function is_EOL(c) {
|
|
32
|
-
return c === 10 || c === 13;
|
|
33
|
-
}
|
|
34
|
-
function is_WHITE_SPACE(c) {
|
|
35
|
-
return c === 9 || c === 32;
|
|
36
|
-
}
|
|
37
|
-
function is_WS_OR_EOL(c) {
|
|
38
|
-
return c === 9 || c === 32 || c === 10 || c === 13;
|
|
39
|
-
}
|
|
40
|
-
function is_FLOW_INDICATOR(c) {
|
|
41
|
-
return c === 44 || c === 91 || c === 93 || c === 123 || c === 125;
|
|
42
|
-
}
|
|
43
|
-
function fromHexCode(c) {
|
|
44
|
-
var lc;
|
|
45
|
-
if (48 <= c && c <= 57) return c - 48;
|
|
46
|
-
lc = c | 32;
|
|
47
|
-
if (97 <= lc && lc <= 102) return lc - 97 + 10;
|
|
48
|
-
return -1;
|
|
49
|
-
}
|
|
50
|
-
function escapedHexLen(c) {
|
|
51
|
-
if (c === 120) return 2;
|
|
52
|
-
if (c === 117) return 4;
|
|
53
|
-
if (c === 85) return 8;
|
|
54
|
-
return 0;
|
|
55
|
-
}
|
|
56
|
-
function fromDecimalCode(c) {
|
|
57
|
-
if (48 <= c && c <= 57) return c - 48;
|
|
58
|
-
return -1;
|
|
59
|
-
}
|
|
60
|
-
function simpleEscapeSequence(c) {
|
|
61
|
-
return c === 48 ? "\0" : c === 97 ? "\x07" : c === 98 ? "\b" : c === 116 ? " " : c === 9 ? " " : c === 110 ? "\n" : c === 118 ? "\v" : c === 102 ? "\f" : c === 114 ? "\r" : c === 101 ? "\x1B" : c === 32 ? " " : c === 34 ? "\"" : c === 47 ? "/" : c === 92 ? "\\" : c === 78 ? "
" : c === 95 ? "\xA0" : c === 76 ? "\u2028" : c === 80 ? "\u2029" : "";
|
|
62
|
-
}
|
|
63
|
-
function charFromCodepoint(c) {
|
|
64
|
-
if (c <= 65535) return String.fromCharCode(c);
|
|
65
|
-
return String.fromCharCode((c - 65536 >> 10) + 55296, (c - 65536 & 1023) + 56320);
|
|
66
|
-
}
|
|
67
|
-
function setProperty(object, key, value) {
|
|
68
|
-
if (key === "__proto__") Object.defineProperty(object, key, {
|
|
69
|
-
configurable: true,
|
|
70
|
-
enumerable: true,
|
|
71
|
-
writable: true,
|
|
72
|
-
value
|
|
73
|
-
});
|
|
74
|
-
else object[key] = value;
|
|
75
|
-
}
|
|
76
|
-
var simpleEscapeCheck = new Array(256);
|
|
77
|
-
var simpleEscapeMap = new Array(256);
|
|
78
|
-
for (var i = 0; i < 256; i++) {
|
|
79
|
-
simpleEscapeCheck[i] = simpleEscapeSequence(i) ? 1 : 0;
|
|
80
|
-
simpleEscapeMap[i] = simpleEscapeSequence(i);
|
|
81
|
-
}
|
|
82
|
-
function State(input, options) {
|
|
83
|
-
this.input = input;
|
|
84
|
-
this.filename = options["filename"] || null;
|
|
85
|
-
this.schema = options["schema"] || DEFAULT_FULL_SCHEMA;
|
|
86
|
-
this.onWarning = options["onWarning"] || null;
|
|
87
|
-
this.legacy = options["legacy"] || false;
|
|
88
|
-
this.json = options["json"] || false;
|
|
89
|
-
this.listener = options["listener"] || null;
|
|
90
|
-
this.implicitTypes = this.schema.compiledImplicit;
|
|
91
|
-
this.typeMap = this.schema.compiledTypeMap;
|
|
92
|
-
this.length = input.length;
|
|
93
|
-
this.position = 0;
|
|
94
|
-
this.line = 0;
|
|
95
|
-
this.lineStart = 0;
|
|
96
|
-
this.lineIndent = 0;
|
|
97
|
-
this.documents = [];
|
|
98
|
-
}
|
|
99
|
-
function generateError(state, message) {
|
|
100
|
-
return new YAMLException(message, new Mark(state.filename, state.input, state.position, state.line, state.position - state.lineStart));
|
|
101
|
-
}
|
|
102
|
-
function throwError(state, message) {
|
|
103
|
-
throw generateError(state, message);
|
|
104
|
-
}
|
|
105
|
-
function throwWarning(state, message) {
|
|
106
|
-
if (state.onWarning) state.onWarning.call(null, generateError(state, message));
|
|
107
|
-
}
|
|
108
|
-
var directiveHandlers = {
|
|
109
|
-
YAML: function handleYamlDirective(state, name, args) {
|
|
110
|
-
var match, major, minor;
|
|
111
|
-
if (state.version !== null) throwError(state, "duplication of %YAML directive");
|
|
112
|
-
if (args.length !== 1) throwError(state, "YAML directive accepts exactly one argument");
|
|
113
|
-
match = /^([0-9]+)\.([0-9]+)$/.exec(args[0]);
|
|
114
|
-
if (match === null) throwError(state, "ill-formed argument of the YAML directive");
|
|
115
|
-
major = parseInt(match[1], 10);
|
|
116
|
-
minor = parseInt(match[2], 10);
|
|
117
|
-
if (major !== 1) throwError(state, "unacceptable YAML version of the document");
|
|
118
|
-
state.version = args[0];
|
|
119
|
-
state.checkLineBreaks = minor < 2;
|
|
120
|
-
if (minor !== 1 && minor !== 2) throwWarning(state, "unsupported YAML version of the document");
|
|
121
|
-
},
|
|
122
|
-
TAG: function handleTagDirective(state, name, args) {
|
|
123
|
-
var handle, prefix;
|
|
124
|
-
if (args.length !== 2) throwError(state, "TAG directive accepts exactly two arguments");
|
|
125
|
-
handle = args[0];
|
|
126
|
-
prefix = args[1];
|
|
127
|
-
if (!PATTERN_TAG_HANDLE.test(handle)) throwError(state, "ill-formed tag handle (first argument) of the TAG directive");
|
|
128
|
-
if (_hasOwnProperty.call(state.tagMap, handle)) throwError(state, "there is a previously declared suffix for \"" + handle + "\" tag handle");
|
|
129
|
-
if (!PATTERN_TAG_URI.test(prefix)) throwError(state, "ill-formed tag prefix (second argument) of the TAG directive");
|
|
130
|
-
state.tagMap[handle] = prefix;
|
|
131
|
-
}
|
|
132
|
-
};
|
|
133
|
-
function captureSegment(state, start, end, checkJson) {
|
|
134
|
-
var _position, _length, _character, _result;
|
|
135
|
-
if (start < end) {
|
|
136
|
-
_result = state.input.slice(start, end);
|
|
137
|
-
if (checkJson) for (_position = 0, _length = _result.length; _position < _length; _position += 1) {
|
|
138
|
-
_character = _result.charCodeAt(_position);
|
|
139
|
-
if (!(_character === 9 || 32 <= _character && _character <= 1114111)) throwError(state, "expected valid JSON character");
|
|
140
|
-
}
|
|
141
|
-
else if (PATTERN_NON_PRINTABLE.test(_result)) throwError(state, "the stream contains non-printable characters");
|
|
142
|
-
state.result += _result;
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
function mergeMappings(state, destination, source, overridableKeys) {
|
|
146
|
-
var sourceKeys, key, index, quantity;
|
|
147
|
-
if (!common.isObject(source)) throwError(state, "cannot merge mappings; the provided source object is unacceptable");
|
|
148
|
-
sourceKeys = Object.keys(source);
|
|
149
|
-
for (index = 0, quantity = sourceKeys.length; index < quantity; index += 1) {
|
|
150
|
-
key = sourceKeys[index];
|
|
151
|
-
if (!_hasOwnProperty.call(destination, key)) {
|
|
152
|
-
setProperty(destination, key, source[key]);
|
|
153
|
-
overridableKeys[key] = true;
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
function storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode, startLine, startPos) {
|
|
158
|
-
var index, quantity;
|
|
159
|
-
if (Array.isArray(keyNode)) {
|
|
160
|
-
keyNode = Array.prototype.slice.call(keyNode);
|
|
161
|
-
for (index = 0, quantity = keyNode.length; index < quantity; index += 1) {
|
|
162
|
-
if (Array.isArray(keyNode[index])) throwError(state, "nested arrays are not supported inside keys");
|
|
163
|
-
if (typeof keyNode === "object" && _class(keyNode[index]) === "[object Object]") keyNode[index] = "[object Object]";
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
if (typeof keyNode === "object" && _class(keyNode) === "[object Object]") keyNode = "[object Object]";
|
|
167
|
-
keyNode = String(keyNode);
|
|
168
|
-
if (_result === null) _result = {};
|
|
169
|
-
if (keyTag === "tag:yaml.org,2002:merge") if (Array.isArray(valueNode)) for (index = 0, quantity = valueNode.length; index < quantity; index += 1) mergeMappings(state, _result, valueNode[index], overridableKeys);
|
|
170
|
-
else mergeMappings(state, _result, valueNode, overridableKeys);
|
|
171
|
-
else {
|
|
172
|
-
if (!state.json && !_hasOwnProperty.call(overridableKeys, keyNode) && _hasOwnProperty.call(_result, keyNode)) {
|
|
173
|
-
state.line = startLine || state.line;
|
|
174
|
-
state.position = startPos || state.position;
|
|
175
|
-
throwError(state, "duplicated mapping key");
|
|
176
|
-
}
|
|
177
|
-
setProperty(_result, keyNode, valueNode);
|
|
178
|
-
delete overridableKeys[keyNode];
|
|
179
|
-
}
|
|
180
|
-
return _result;
|
|
181
|
-
}
|
|
182
|
-
function readLineBreak(state) {
|
|
183
|
-
var ch = state.input.charCodeAt(state.position);
|
|
184
|
-
if (ch === 10) state.position++;
|
|
185
|
-
else if (ch === 13) {
|
|
186
|
-
state.position++;
|
|
187
|
-
if (state.input.charCodeAt(state.position) === 10) state.position++;
|
|
188
|
-
} else throwError(state, "a line break is expected");
|
|
189
|
-
state.line += 1;
|
|
190
|
-
state.lineStart = state.position;
|
|
191
|
-
}
|
|
192
|
-
function skipSeparationSpace(state, allowComments, checkIndent) {
|
|
193
|
-
var lineBreaks = 0, ch = state.input.charCodeAt(state.position);
|
|
194
|
-
while (ch !== 0) {
|
|
195
|
-
while (is_WHITE_SPACE(ch)) ch = state.input.charCodeAt(++state.position);
|
|
196
|
-
if (allowComments && ch === 35) do
|
|
197
|
-
ch = state.input.charCodeAt(++state.position);
|
|
198
|
-
while (ch !== 10 && ch !== 13 && ch !== 0);
|
|
199
|
-
if (is_EOL(ch)) {
|
|
200
|
-
readLineBreak(state);
|
|
201
|
-
ch = state.input.charCodeAt(state.position);
|
|
202
|
-
lineBreaks++;
|
|
203
|
-
state.lineIndent = 0;
|
|
204
|
-
while (ch === 32) {
|
|
205
|
-
state.lineIndent++;
|
|
206
|
-
ch = state.input.charCodeAt(++state.position);
|
|
207
|
-
}
|
|
208
|
-
} else break;
|
|
209
|
-
}
|
|
210
|
-
if (checkIndent !== -1 && lineBreaks !== 0 && state.lineIndent < checkIndent) throwWarning(state, "deficient indentation");
|
|
211
|
-
return lineBreaks;
|
|
212
|
-
}
|
|
213
|
-
function testDocumentSeparator(state) {
|
|
214
|
-
var _position = state.position, ch = state.input.charCodeAt(_position);
|
|
215
|
-
if ((ch === 45 || ch === 46) && ch === state.input.charCodeAt(_position + 1) && ch === state.input.charCodeAt(_position + 2)) {
|
|
216
|
-
_position += 3;
|
|
217
|
-
ch = state.input.charCodeAt(_position);
|
|
218
|
-
if (ch === 0 || is_WS_OR_EOL(ch)) return true;
|
|
219
|
-
}
|
|
220
|
-
return false;
|
|
221
|
-
}
|
|
222
|
-
function writeFoldedLines(state, count) {
|
|
223
|
-
if (count === 1) state.result += " ";
|
|
224
|
-
else if (count > 1) state.result += common.repeat("\n", count - 1);
|
|
225
|
-
}
|
|
226
|
-
function readPlainScalar(state, nodeIndent, withinFlowCollection) {
|
|
227
|
-
var preceding, following, captureStart, captureEnd, hasPendingContent, _line, _lineStart, _lineIndent, _kind = state.kind, _result = state.result, ch = state.input.charCodeAt(state.position);
|
|
228
|
-
if (is_WS_OR_EOL(ch) || is_FLOW_INDICATOR(ch) || ch === 35 || ch === 38 || ch === 42 || ch === 33 || ch === 124 || ch === 62 || ch === 39 || ch === 34 || ch === 37 || ch === 64 || ch === 96) return false;
|
|
229
|
-
if (ch === 63 || ch === 45) {
|
|
230
|
-
following = state.input.charCodeAt(state.position + 1);
|
|
231
|
-
if (is_WS_OR_EOL(following) || withinFlowCollection && is_FLOW_INDICATOR(following)) return false;
|
|
232
|
-
}
|
|
233
|
-
state.kind = "scalar";
|
|
234
|
-
state.result = "";
|
|
235
|
-
captureStart = captureEnd = state.position;
|
|
236
|
-
hasPendingContent = false;
|
|
237
|
-
while (ch !== 0) {
|
|
238
|
-
if (ch === 58) {
|
|
239
|
-
following = state.input.charCodeAt(state.position + 1);
|
|
240
|
-
if (is_WS_OR_EOL(following) || withinFlowCollection && is_FLOW_INDICATOR(following)) break;
|
|
241
|
-
} else if (ch === 35) {
|
|
242
|
-
preceding = state.input.charCodeAt(state.position - 1);
|
|
243
|
-
if (is_WS_OR_EOL(preceding)) break;
|
|
244
|
-
} else if (state.position === state.lineStart && testDocumentSeparator(state) || withinFlowCollection && is_FLOW_INDICATOR(ch)) break;
|
|
245
|
-
else if (is_EOL(ch)) {
|
|
246
|
-
_line = state.line;
|
|
247
|
-
_lineStart = state.lineStart;
|
|
248
|
-
_lineIndent = state.lineIndent;
|
|
249
|
-
skipSeparationSpace(state, false, -1);
|
|
250
|
-
if (state.lineIndent >= nodeIndent) {
|
|
251
|
-
hasPendingContent = true;
|
|
252
|
-
ch = state.input.charCodeAt(state.position);
|
|
253
|
-
continue;
|
|
254
|
-
} else {
|
|
255
|
-
state.position = captureEnd;
|
|
256
|
-
state.line = _line;
|
|
257
|
-
state.lineStart = _lineStart;
|
|
258
|
-
state.lineIndent = _lineIndent;
|
|
259
|
-
break;
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
if (hasPendingContent) {
|
|
263
|
-
captureSegment(state, captureStart, captureEnd, false);
|
|
264
|
-
writeFoldedLines(state, state.line - _line);
|
|
265
|
-
captureStart = captureEnd = state.position;
|
|
266
|
-
hasPendingContent = false;
|
|
267
|
-
}
|
|
268
|
-
if (!is_WHITE_SPACE(ch)) captureEnd = state.position + 1;
|
|
269
|
-
ch = state.input.charCodeAt(++state.position);
|
|
270
|
-
}
|
|
271
|
-
captureSegment(state, captureStart, captureEnd, false);
|
|
272
|
-
if (state.result) return true;
|
|
273
|
-
state.kind = _kind;
|
|
274
|
-
state.result = _result;
|
|
275
|
-
return false;
|
|
276
|
-
}
|
|
277
|
-
function readSingleQuotedScalar(state, nodeIndent) {
|
|
278
|
-
var ch = state.input.charCodeAt(state.position), captureStart, captureEnd;
|
|
279
|
-
if (ch !== 39) return false;
|
|
280
|
-
state.kind = "scalar";
|
|
281
|
-
state.result = "";
|
|
282
|
-
state.position++;
|
|
283
|
-
captureStart = captureEnd = state.position;
|
|
284
|
-
while ((ch = state.input.charCodeAt(state.position)) !== 0) if (ch === 39) {
|
|
285
|
-
captureSegment(state, captureStart, state.position, true);
|
|
286
|
-
ch = state.input.charCodeAt(++state.position);
|
|
287
|
-
if (ch === 39) {
|
|
288
|
-
captureStart = state.position;
|
|
289
|
-
state.position++;
|
|
290
|
-
captureEnd = state.position;
|
|
291
|
-
} else return true;
|
|
292
|
-
} else if (is_EOL(ch)) {
|
|
293
|
-
captureSegment(state, captureStart, captureEnd, true);
|
|
294
|
-
writeFoldedLines(state, skipSeparationSpace(state, false, nodeIndent));
|
|
295
|
-
captureStart = captureEnd = state.position;
|
|
296
|
-
} else if (state.position === state.lineStart && testDocumentSeparator(state)) throwError(state, "unexpected end of the document within a single quoted scalar");
|
|
297
|
-
else {
|
|
298
|
-
state.position++;
|
|
299
|
-
captureEnd = state.position;
|
|
300
|
-
}
|
|
301
|
-
throwError(state, "unexpected end of the stream within a single quoted scalar");
|
|
302
|
-
}
|
|
303
|
-
function readDoubleQuotedScalar(state, nodeIndent) {
|
|
304
|
-
var captureStart, captureEnd, hexLength, hexResult, tmp, ch = state.input.charCodeAt(state.position);
|
|
305
|
-
if (ch !== 34) return false;
|
|
306
|
-
state.kind = "scalar";
|
|
307
|
-
state.result = "";
|
|
308
|
-
state.position++;
|
|
309
|
-
captureStart = captureEnd = state.position;
|
|
310
|
-
while ((ch = state.input.charCodeAt(state.position)) !== 0) if (ch === 34) {
|
|
311
|
-
captureSegment(state, captureStart, state.position, true);
|
|
312
|
-
state.position++;
|
|
313
|
-
return true;
|
|
314
|
-
} else if (ch === 92) {
|
|
315
|
-
captureSegment(state, captureStart, state.position, true);
|
|
316
|
-
ch = state.input.charCodeAt(++state.position);
|
|
317
|
-
if (is_EOL(ch)) skipSeparationSpace(state, false, nodeIndent);
|
|
318
|
-
else if (ch < 256 && simpleEscapeCheck[ch]) {
|
|
319
|
-
state.result += simpleEscapeMap[ch];
|
|
320
|
-
state.position++;
|
|
321
|
-
} else if ((tmp = escapedHexLen(ch)) > 0) {
|
|
322
|
-
hexLength = tmp;
|
|
323
|
-
hexResult = 0;
|
|
324
|
-
for (; hexLength > 0; hexLength--) {
|
|
325
|
-
ch = state.input.charCodeAt(++state.position);
|
|
326
|
-
if ((tmp = fromHexCode(ch)) >= 0) hexResult = (hexResult << 4) + tmp;
|
|
327
|
-
else throwError(state, "expected hexadecimal character");
|
|
328
|
-
}
|
|
329
|
-
state.result += charFromCodepoint(hexResult);
|
|
330
|
-
state.position++;
|
|
331
|
-
} else throwError(state, "unknown escape sequence");
|
|
332
|
-
captureStart = captureEnd = state.position;
|
|
333
|
-
} else if (is_EOL(ch)) {
|
|
334
|
-
captureSegment(state, captureStart, captureEnd, true);
|
|
335
|
-
writeFoldedLines(state, skipSeparationSpace(state, false, nodeIndent));
|
|
336
|
-
captureStart = captureEnd = state.position;
|
|
337
|
-
} else if (state.position === state.lineStart && testDocumentSeparator(state)) throwError(state, "unexpected end of the document within a double quoted scalar");
|
|
338
|
-
else {
|
|
339
|
-
state.position++;
|
|
340
|
-
captureEnd = state.position;
|
|
341
|
-
}
|
|
342
|
-
throwError(state, "unexpected end of the stream within a double quoted scalar");
|
|
343
|
-
}
|
|
344
|
-
function readFlowCollection(state, nodeIndent) {
|
|
345
|
-
var readNext = true, _line, _tag = state.tag, _result, _anchor = state.anchor, following, terminator, isPair, isExplicitPair, isMapping, overridableKeys = {}, keyNode, keyTag, valueNode, ch = state.input.charCodeAt(state.position);
|
|
346
|
-
if (ch === 91) {
|
|
347
|
-
terminator = 93;
|
|
348
|
-
isMapping = false;
|
|
349
|
-
_result = [];
|
|
350
|
-
} else if (ch === 123) {
|
|
351
|
-
terminator = 125;
|
|
352
|
-
isMapping = true;
|
|
353
|
-
_result = {};
|
|
354
|
-
} else return false;
|
|
355
|
-
if (state.anchor !== null) state.anchorMap[state.anchor] = _result;
|
|
356
|
-
ch = state.input.charCodeAt(++state.position);
|
|
357
|
-
while (ch !== 0) {
|
|
358
|
-
skipSeparationSpace(state, true, nodeIndent);
|
|
359
|
-
ch = state.input.charCodeAt(state.position);
|
|
360
|
-
if (ch === terminator) {
|
|
361
|
-
state.position++;
|
|
362
|
-
state.tag = _tag;
|
|
363
|
-
state.anchor = _anchor;
|
|
364
|
-
state.kind = isMapping ? "mapping" : "sequence";
|
|
365
|
-
state.result = _result;
|
|
366
|
-
return true;
|
|
367
|
-
} else if (!readNext) throwError(state, "missed comma between flow collection entries");
|
|
368
|
-
keyTag = keyNode = valueNode = null;
|
|
369
|
-
isPair = isExplicitPair = false;
|
|
370
|
-
if (ch === 63) {
|
|
371
|
-
following = state.input.charCodeAt(state.position + 1);
|
|
372
|
-
if (is_WS_OR_EOL(following)) {
|
|
373
|
-
isPair = isExplicitPair = true;
|
|
374
|
-
state.position++;
|
|
375
|
-
skipSeparationSpace(state, true, nodeIndent);
|
|
376
|
-
}
|
|
377
|
-
}
|
|
378
|
-
_line = state.line;
|
|
379
|
-
composeNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true);
|
|
380
|
-
keyTag = state.tag;
|
|
381
|
-
keyNode = state.result;
|
|
382
|
-
skipSeparationSpace(state, true, nodeIndent);
|
|
383
|
-
ch = state.input.charCodeAt(state.position);
|
|
384
|
-
if ((isExplicitPair || state.line === _line) && ch === 58) {
|
|
385
|
-
isPair = true;
|
|
386
|
-
ch = state.input.charCodeAt(++state.position);
|
|
387
|
-
skipSeparationSpace(state, true, nodeIndent);
|
|
388
|
-
composeNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true);
|
|
389
|
-
valueNode = state.result;
|
|
390
|
-
}
|
|
391
|
-
if (isMapping) storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode);
|
|
392
|
-
else if (isPair) _result.push(storeMappingPair(state, null, overridableKeys, keyTag, keyNode, valueNode));
|
|
393
|
-
else _result.push(keyNode);
|
|
394
|
-
skipSeparationSpace(state, true, nodeIndent);
|
|
395
|
-
ch = state.input.charCodeAt(state.position);
|
|
396
|
-
if (ch === 44) {
|
|
397
|
-
readNext = true;
|
|
398
|
-
ch = state.input.charCodeAt(++state.position);
|
|
399
|
-
} else readNext = false;
|
|
400
|
-
}
|
|
401
|
-
throwError(state, "unexpected end of the stream within a flow collection");
|
|
402
|
-
}
|
|
403
|
-
function readBlockScalar(state, nodeIndent) {
|
|
404
|
-
var captureStart, folding, chomping = CHOMPING_CLIP, didReadContent = false, detectedIndent = false, textIndent = nodeIndent, emptyLines = 0, atMoreIndented = false, tmp, ch = state.input.charCodeAt(state.position);
|
|
405
|
-
if (ch === 124) folding = false;
|
|
406
|
-
else if (ch === 62) folding = true;
|
|
407
|
-
else return false;
|
|
408
|
-
state.kind = "scalar";
|
|
409
|
-
state.result = "";
|
|
410
|
-
while (ch !== 0) {
|
|
411
|
-
ch = state.input.charCodeAt(++state.position);
|
|
412
|
-
if (ch === 43 || ch === 45) if (CHOMPING_CLIP === chomping) chomping = ch === 43 ? CHOMPING_KEEP : CHOMPING_STRIP;
|
|
413
|
-
else throwError(state, "repeat of a chomping mode identifier");
|
|
414
|
-
else if ((tmp = fromDecimalCode(ch)) >= 0) if (tmp === 0) throwError(state, "bad explicit indentation width of a block scalar; it cannot be less than one");
|
|
415
|
-
else if (!detectedIndent) {
|
|
416
|
-
textIndent = nodeIndent + tmp - 1;
|
|
417
|
-
detectedIndent = true;
|
|
418
|
-
} else throwError(state, "repeat of an indentation width identifier");
|
|
419
|
-
else break;
|
|
420
|
-
}
|
|
421
|
-
if (is_WHITE_SPACE(ch)) {
|
|
422
|
-
do
|
|
423
|
-
ch = state.input.charCodeAt(++state.position);
|
|
424
|
-
while (is_WHITE_SPACE(ch));
|
|
425
|
-
if (ch === 35) do
|
|
426
|
-
ch = state.input.charCodeAt(++state.position);
|
|
427
|
-
while (!is_EOL(ch) && ch !== 0);
|
|
428
|
-
}
|
|
429
|
-
while (ch !== 0) {
|
|
430
|
-
readLineBreak(state);
|
|
431
|
-
state.lineIndent = 0;
|
|
432
|
-
ch = state.input.charCodeAt(state.position);
|
|
433
|
-
while ((!detectedIndent || state.lineIndent < textIndent) && ch === 32) {
|
|
434
|
-
state.lineIndent++;
|
|
435
|
-
ch = state.input.charCodeAt(++state.position);
|
|
436
|
-
}
|
|
437
|
-
if (!detectedIndent && state.lineIndent > textIndent) textIndent = state.lineIndent;
|
|
438
|
-
if (is_EOL(ch)) {
|
|
439
|
-
emptyLines++;
|
|
440
|
-
continue;
|
|
441
|
-
}
|
|
442
|
-
if (state.lineIndent < textIndent) {
|
|
443
|
-
if (chomping === CHOMPING_KEEP) state.result += common.repeat("\n", didReadContent ? 1 + emptyLines : emptyLines);
|
|
444
|
-
else if (chomping === CHOMPING_CLIP) {
|
|
445
|
-
if (didReadContent) state.result += "\n";
|
|
446
|
-
}
|
|
447
|
-
break;
|
|
448
|
-
}
|
|
449
|
-
if (folding) if (is_WHITE_SPACE(ch)) {
|
|
450
|
-
atMoreIndented = true;
|
|
451
|
-
state.result += common.repeat("\n", didReadContent ? 1 + emptyLines : emptyLines);
|
|
452
|
-
} else if (atMoreIndented) {
|
|
453
|
-
atMoreIndented = false;
|
|
454
|
-
state.result += common.repeat("\n", emptyLines + 1);
|
|
455
|
-
} else if (emptyLines === 0) {
|
|
456
|
-
if (didReadContent) state.result += " ";
|
|
457
|
-
} else state.result += common.repeat("\n", emptyLines);
|
|
458
|
-
else state.result += common.repeat("\n", didReadContent ? 1 + emptyLines : emptyLines);
|
|
459
|
-
didReadContent = true;
|
|
460
|
-
detectedIndent = true;
|
|
461
|
-
emptyLines = 0;
|
|
462
|
-
captureStart = state.position;
|
|
463
|
-
while (!is_EOL(ch) && ch !== 0) ch = state.input.charCodeAt(++state.position);
|
|
464
|
-
captureSegment(state, captureStart, state.position, false);
|
|
465
|
-
}
|
|
466
|
-
return true;
|
|
467
|
-
}
|
|
468
|
-
function readBlockSequence(state, nodeIndent) {
|
|
469
|
-
var _line, _tag = state.tag, _anchor = state.anchor, _result = [], following, detected = false, ch;
|
|
470
|
-
if (state.anchor !== null) state.anchorMap[state.anchor] = _result;
|
|
471
|
-
ch = state.input.charCodeAt(state.position);
|
|
472
|
-
while (ch !== 0) {
|
|
473
|
-
if (ch !== 45) break;
|
|
474
|
-
following = state.input.charCodeAt(state.position + 1);
|
|
475
|
-
if (!is_WS_OR_EOL(following)) break;
|
|
476
|
-
detected = true;
|
|
477
|
-
state.position++;
|
|
478
|
-
if (skipSeparationSpace(state, true, -1)) {
|
|
479
|
-
if (state.lineIndent <= nodeIndent) {
|
|
480
|
-
_result.push(null);
|
|
481
|
-
ch = state.input.charCodeAt(state.position);
|
|
482
|
-
continue;
|
|
483
|
-
}
|
|
484
|
-
}
|
|
485
|
-
_line = state.line;
|
|
486
|
-
composeNode(state, nodeIndent, CONTEXT_BLOCK_IN, false, true);
|
|
487
|
-
_result.push(state.result);
|
|
488
|
-
skipSeparationSpace(state, true, -1);
|
|
489
|
-
ch = state.input.charCodeAt(state.position);
|
|
490
|
-
if ((state.line === _line || state.lineIndent > nodeIndent) && ch !== 0) throwError(state, "bad indentation of a sequence entry");
|
|
491
|
-
else if (state.lineIndent < nodeIndent) break;
|
|
492
|
-
}
|
|
493
|
-
if (detected) {
|
|
494
|
-
state.tag = _tag;
|
|
495
|
-
state.anchor = _anchor;
|
|
496
|
-
state.kind = "sequence";
|
|
497
|
-
state.result = _result;
|
|
498
|
-
return true;
|
|
499
|
-
}
|
|
500
|
-
return false;
|
|
501
|
-
}
|
|
502
|
-
function readBlockMapping(state, nodeIndent, flowIndent) {
|
|
503
|
-
var following, allowCompact, _line, _pos, _tag = state.tag, _anchor = state.anchor, _result = {}, overridableKeys = {}, keyTag = null, keyNode = null, valueNode = null, atExplicitKey = false, detected = false, ch;
|
|
504
|
-
if (state.anchor !== null) state.anchorMap[state.anchor] = _result;
|
|
505
|
-
ch = state.input.charCodeAt(state.position);
|
|
506
|
-
while (ch !== 0) {
|
|
507
|
-
following = state.input.charCodeAt(state.position + 1);
|
|
508
|
-
_line = state.line;
|
|
509
|
-
_pos = state.position;
|
|
510
|
-
if ((ch === 63 || ch === 58) && is_WS_OR_EOL(following)) {
|
|
511
|
-
if (ch === 63) {
|
|
512
|
-
if (atExplicitKey) {
|
|
513
|
-
storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null);
|
|
514
|
-
keyTag = keyNode = valueNode = null;
|
|
515
|
-
}
|
|
516
|
-
detected = true;
|
|
517
|
-
atExplicitKey = true;
|
|
518
|
-
allowCompact = true;
|
|
519
|
-
} else if (atExplicitKey) {
|
|
520
|
-
atExplicitKey = false;
|
|
521
|
-
allowCompact = true;
|
|
522
|
-
} else throwError(state, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line");
|
|
523
|
-
state.position += 1;
|
|
524
|
-
ch = following;
|
|
525
|
-
} else if (composeNode(state, flowIndent, CONTEXT_FLOW_OUT, false, true)) if (state.line === _line) {
|
|
526
|
-
ch = state.input.charCodeAt(state.position);
|
|
527
|
-
while (is_WHITE_SPACE(ch)) ch = state.input.charCodeAt(++state.position);
|
|
528
|
-
if (ch === 58) {
|
|
529
|
-
ch = state.input.charCodeAt(++state.position);
|
|
530
|
-
if (!is_WS_OR_EOL(ch)) throwError(state, "a whitespace character is expected after the key-value separator within a block mapping");
|
|
531
|
-
if (atExplicitKey) {
|
|
532
|
-
storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null);
|
|
533
|
-
keyTag = keyNode = valueNode = null;
|
|
534
|
-
}
|
|
535
|
-
detected = true;
|
|
536
|
-
atExplicitKey = false;
|
|
537
|
-
allowCompact = false;
|
|
538
|
-
keyTag = state.tag;
|
|
539
|
-
keyNode = state.result;
|
|
540
|
-
} else if (detected) throwError(state, "can not read an implicit mapping pair; a colon is missed");
|
|
541
|
-
else {
|
|
542
|
-
state.tag = _tag;
|
|
543
|
-
state.anchor = _anchor;
|
|
544
|
-
return true;
|
|
545
|
-
}
|
|
546
|
-
} else if (detected) throwError(state, "can not read a block mapping entry; a multiline key may not be an implicit key");
|
|
547
|
-
else {
|
|
548
|
-
state.tag = _tag;
|
|
549
|
-
state.anchor = _anchor;
|
|
550
|
-
return true;
|
|
551
|
-
}
|
|
552
|
-
else break;
|
|
553
|
-
if (state.line === _line || state.lineIndent > nodeIndent) {
|
|
554
|
-
if (composeNode(state, nodeIndent, CONTEXT_BLOCK_OUT, true, allowCompact)) if (atExplicitKey) keyNode = state.result;
|
|
555
|
-
else valueNode = state.result;
|
|
556
|
-
if (!atExplicitKey) {
|
|
557
|
-
storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode, _line, _pos);
|
|
558
|
-
keyTag = keyNode = valueNode = null;
|
|
559
|
-
}
|
|
560
|
-
skipSeparationSpace(state, true, -1);
|
|
561
|
-
ch = state.input.charCodeAt(state.position);
|
|
562
|
-
}
|
|
563
|
-
if (state.lineIndent > nodeIndent && ch !== 0) throwError(state, "bad indentation of a mapping entry");
|
|
564
|
-
else if (state.lineIndent < nodeIndent) break;
|
|
565
|
-
}
|
|
566
|
-
if (atExplicitKey) storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null);
|
|
567
|
-
if (detected) {
|
|
568
|
-
state.tag = _tag;
|
|
569
|
-
state.anchor = _anchor;
|
|
570
|
-
state.kind = "mapping";
|
|
571
|
-
state.result = _result;
|
|
572
|
-
}
|
|
573
|
-
return detected;
|
|
574
|
-
}
|
|
575
|
-
function readTagProperty(state) {
|
|
576
|
-
var _position, isVerbatim = false, isNamed = false, tagHandle, tagName, ch = state.input.charCodeAt(state.position);
|
|
577
|
-
if (ch !== 33) return false;
|
|
578
|
-
if (state.tag !== null) throwError(state, "duplication of a tag property");
|
|
579
|
-
ch = state.input.charCodeAt(++state.position);
|
|
580
|
-
if (ch === 60) {
|
|
581
|
-
isVerbatim = true;
|
|
582
|
-
ch = state.input.charCodeAt(++state.position);
|
|
583
|
-
} else if (ch === 33) {
|
|
584
|
-
isNamed = true;
|
|
585
|
-
tagHandle = "!!";
|
|
586
|
-
ch = state.input.charCodeAt(++state.position);
|
|
587
|
-
} else tagHandle = "!";
|
|
588
|
-
_position = state.position;
|
|
589
|
-
if (isVerbatim) {
|
|
590
|
-
do
|
|
591
|
-
ch = state.input.charCodeAt(++state.position);
|
|
592
|
-
while (ch !== 0 && ch !== 62);
|
|
593
|
-
if (state.position < state.length) {
|
|
594
|
-
tagName = state.input.slice(_position, state.position);
|
|
595
|
-
ch = state.input.charCodeAt(++state.position);
|
|
596
|
-
} else throwError(state, "unexpected end of the stream within a verbatim tag");
|
|
597
|
-
} else {
|
|
598
|
-
while (ch !== 0 && !is_WS_OR_EOL(ch)) {
|
|
599
|
-
if (ch === 33) if (!isNamed) {
|
|
600
|
-
tagHandle = state.input.slice(_position - 1, state.position + 1);
|
|
601
|
-
if (!PATTERN_TAG_HANDLE.test(tagHandle)) throwError(state, "named tag handle cannot contain such characters");
|
|
602
|
-
isNamed = true;
|
|
603
|
-
_position = state.position + 1;
|
|
604
|
-
} else throwError(state, "tag suffix cannot contain exclamation marks");
|
|
605
|
-
ch = state.input.charCodeAt(++state.position);
|
|
606
|
-
}
|
|
607
|
-
tagName = state.input.slice(_position, state.position);
|
|
608
|
-
if (PATTERN_FLOW_INDICATORS.test(tagName)) throwError(state, "tag suffix cannot contain flow indicator characters");
|
|
609
|
-
}
|
|
610
|
-
if (tagName && !PATTERN_TAG_URI.test(tagName)) throwError(state, "tag name cannot contain such characters: " + tagName);
|
|
611
|
-
if (isVerbatim) state.tag = tagName;
|
|
612
|
-
else if (_hasOwnProperty.call(state.tagMap, tagHandle)) state.tag = state.tagMap[tagHandle] + tagName;
|
|
613
|
-
else if (tagHandle === "!") state.tag = "!" + tagName;
|
|
614
|
-
else if (tagHandle === "!!") state.tag = "tag:yaml.org,2002:" + tagName;
|
|
615
|
-
else throwError(state, "undeclared tag handle \"" + tagHandle + "\"");
|
|
616
|
-
return true;
|
|
617
|
-
}
|
|
618
|
-
function readAnchorProperty(state) {
|
|
619
|
-
var _position, ch = state.input.charCodeAt(state.position);
|
|
620
|
-
if (ch !== 38) return false;
|
|
621
|
-
if (state.anchor !== null) throwError(state, "duplication of an anchor property");
|
|
622
|
-
ch = state.input.charCodeAt(++state.position);
|
|
623
|
-
_position = state.position;
|
|
624
|
-
while (ch !== 0 && !is_WS_OR_EOL(ch) && !is_FLOW_INDICATOR(ch)) ch = state.input.charCodeAt(++state.position);
|
|
625
|
-
if (state.position === _position) throwError(state, "name of an anchor node must contain at least one character");
|
|
626
|
-
state.anchor = state.input.slice(_position, state.position);
|
|
627
|
-
return true;
|
|
628
|
-
}
|
|
629
|
-
function readAlias(state) {
|
|
630
|
-
var _position, alias, ch = state.input.charCodeAt(state.position);
|
|
631
|
-
if (ch !== 42) return false;
|
|
632
|
-
ch = state.input.charCodeAt(++state.position);
|
|
633
|
-
_position = state.position;
|
|
634
|
-
while (ch !== 0 && !is_WS_OR_EOL(ch) && !is_FLOW_INDICATOR(ch)) ch = state.input.charCodeAt(++state.position);
|
|
635
|
-
if (state.position === _position) throwError(state, "name of an alias node must contain at least one character");
|
|
636
|
-
alias = state.input.slice(_position, state.position);
|
|
637
|
-
if (!_hasOwnProperty.call(state.anchorMap, alias)) throwError(state, "unidentified alias \"" + alias + "\"");
|
|
638
|
-
state.result = state.anchorMap[alias];
|
|
639
|
-
skipSeparationSpace(state, true, -1);
|
|
640
|
-
return true;
|
|
641
|
-
}
|
|
642
|
-
function composeNode(state, parentIndent, nodeContext, allowToSeek, allowCompact) {
|
|
643
|
-
var allowBlockStyles, allowBlockScalars, allowBlockCollections, indentStatus = 1, atNewLine = false, hasContent = false, typeIndex, typeQuantity, type, flowIndent, blockIndent;
|
|
644
|
-
if (state.listener !== null) state.listener("open", state);
|
|
645
|
-
state.tag = null;
|
|
646
|
-
state.anchor = null;
|
|
647
|
-
state.kind = null;
|
|
648
|
-
state.result = null;
|
|
649
|
-
allowBlockStyles = allowBlockScalars = allowBlockCollections = CONTEXT_BLOCK_OUT === nodeContext || CONTEXT_BLOCK_IN === nodeContext;
|
|
650
|
-
if (allowToSeek) {
|
|
651
|
-
if (skipSeparationSpace(state, true, -1)) {
|
|
652
|
-
atNewLine = true;
|
|
653
|
-
if (state.lineIndent > parentIndent) indentStatus = 1;
|
|
654
|
-
else if (state.lineIndent === parentIndent) indentStatus = 0;
|
|
655
|
-
else if (state.lineIndent < parentIndent) indentStatus = -1;
|
|
656
|
-
}
|
|
657
|
-
}
|
|
658
|
-
if (indentStatus === 1) while (readTagProperty(state) || readAnchorProperty(state)) if (skipSeparationSpace(state, true, -1)) {
|
|
659
|
-
atNewLine = true;
|
|
660
|
-
allowBlockCollections = allowBlockStyles;
|
|
661
|
-
if (state.lineIndent > parentIndent) indentStatus = 1;
|
|
662
|
-
else if (state.lineIndent === parentIndent) indentStatus = 0;
|
|
663
|
-
else if (state.lineIndent < parentIndent) indentStatus = -1;
|
|
664
|
-
} else allowBlockCollections = false;
|
|
665
|
-
if (allowBlockCollections) allowBlockCollections = atNewLine || allowCompact;
|
|
666
|
-
if (indentStatus === 1 || CONTEXT_BLOCK_OUT === nodeContext) {
|
|
667
|
-
if (CONTEXT_FLOW_IN === nodeContext || CONTEXT_FLOW_OUT === nodeContext) flowIndent = parentIndent;
|
|
668
|
-
else flowIndent = parentIndent + 1;
|
|
669
|
-
blockIndent = state.position - state.lineStart;
|
|
670
|
-
if (indentStatus === 1) if (allowBlockCollections && (readBlockSequence(state, blockIndent) || readBlockMapping(state, blockIndent, flowIndent)) || readFlowCollection(state, flowIndent)) hasContent = true;
|
|
671
|
-
else {
|
|
672
|
-
if (allowBlockScalars && readBlockScalar(state, flowIndent) || readSingleQuotedScalar(state, flowIndent) || readDoubleQuotedScalar(state, flowIndent)) hasContent = true;
|
|
673
|
-
else if (readAlias(state)) {
|
|
674
|
-
hasContent = true;
|
|
675
|
-
if (state.tag !== null || state.anchor !== null) throwError(state, "alias node should not have any properties");
|
|
676
|
-
} else if (readPlainScalar(state, flowIndent, CONTEXT_FLOW_IN === nodeContext)) {
|
|
677
|
-
hasContent = true;
|
|
678
|
-
if (state.tag === null) state.tag = "?";
|
|
679
|
-
}
|
|
680
|
-
if (state.anchor !== null) state.anchorMap[state.anchor] = state.result;
|
|
681
|
-
}
|
|
682
|
-
else if (indentStatus === 0) hasContent = allowBlockCollections && readBlockSequence(state, blockIndent);
|
|
683
|
-
}
|
|
684
|
-
if (state.tag !== null && state.tag !== "!") if (state.tag === "?") {
|
|
685
|
-
if (state.result !== null && state.kind !== "scalar") throwError(state, "unacceptable node kind for !<?> tag; it should be \"scalar\", not \"" + state.kind + "\"");
|
|
686
|
-
for (typeIndex = 0, typeQuantity = state.implicitTypes.length; typeIndex < typeQuantity; typeIndex += 1) {
|
|
687
|
-
type = state.implicitTypes[typeIndex];
|
|
688
|
-
if (type.resolve(state.result)) {
|
|
689
|
-
state.result = type.construct(state.result);
|
|
690
|
-
state.tag = type.tag;
|
|
691
|
-
if (state.anchor !== null) state.anchorMap[state.anchor] = state.result;
|
|
692
|
-
break;
|
|
693
|
-
}
|
|
694
|
-
}
|
|
695
|
-
} else if (_hasOwnProperty.call(state.typeMap[state.kind || "fallback"], state.tag)) {
|
|
696
|
-
type = state.typeMap[state.kind || "fallback"][state.tag];
|
|
697
|
-
if (state.result !== null && type.kind !== state.kind) throwError(state, "unacceptable node kind for !<" + state.tag + "> tag; it should be \"" + type.kind + "\", not \"" + state.kind + "\"");
|
|
698
|
-
if (!type.resolve(state.result)) throwError(state, "cannot resolve a node with !<" + state.tag + "> explicit tag");
|
|
699
|
-
else {
|
|
700
|
-
state.result = type.construct(state.result);
|
|
701
|
-
if (state.anchor !== null) state.anchorMap[state.anchor] = state.result;
|
|
702
|
-
}
|
|
703
|
-
} else throwError(state, "unknown tag !<" + state.tag + ">");
|
|
704
|
-
if (state.listener !== null) state.listener("close", state);
|
|
705
|
-
return state.tag !== null || state.anchor !== null || hasContent;
|
|
706
|
-
}
|
|
707
|
-
function readDocument(state) {
|
|
708
|
-
var documentStart = state.position, _position, directiveName, directiveArgs, hasDirectives = false, ch;
|
|
709
|
-
state.version = null;
|
|
710
|
-
state.checkLineBreaks = state.legacy;
|
|
711
|
-
state.tagMap = {};
|
|
712
|
-
state.anchorMap = {};
|
|
713
|
-
while ((ch = state.input.charCodeAt(state.position)) !== 0) {
|
|
714
|
-
skipSeparationSpace(state, true, -1);
|
|
715
|
-
ch = state.input.charCodeAt(state.position);
|
|
716
|
-
if (state.lineIndent > 0 || ch !== 37) break;
|
|
717
|
-
hasDirectives = true;
|
|
718
|
-
ch = state.input.charCodeAt(++state.position);
|
|
719
|
-
_position = state.position;
|
|
720
|
-
while (ch !== 0 && !is_WS_OR_EOL(ch)) ch = state.input.charCodeAt(++state.position);
|
|
721
|
-
directiveName = state.input.slice(_position, state.position);
|
|
722
|
-
directiveArgs = [];
|
|
723
|
-
if (directiveName.length < 1) throwError(state, "directive name must not be less than one character in length");
|
|
724
|
-
while (ch !== 0) {
|
|
725
|
-
while (is_WHITE_SPACE(ch)) ch = state.input.charCodeAt(++state.position);
|
|
726
|
-
if (ch === 35) {
|
|
727
|
-
do
|
|
728
|
-
ch = state.input.charCodeAt(++state.position);
|
|
729
|
-
while (ch !== 0 && !is_EOL(ch));
|
|
730
|
-
break;
|
|
731
|
-
}
|
|
732
|
-
if (is_EOL(ch)) break;
|
|
733
|
-
_position = state.position;
|
|
734
|
-
while (ch !== 0 && !is_WS_OR_EOL(ch)) ch = state.input.charCodeAt(++state.position);
|
|
735
|
-
directiveArgs.push(state.input.slice(_position, state.position));
|
|
736
|
-
}
|
|
737
|
-
if (ch !== 0) readLineBreak(state);
|
|
738
|
-
if (_hasOwnProperty.call(directiveHandlers, directiveName)) directiveHandlers[directiveName](state, directiveName, directiveArgs);
|
|
739
|
-
else throwWarning(state, "unknown document directive \"" + directiveName + "\"");
|
|
740
|
-
}
|
|
741
|
-
skipSeparationSpace(state, true, -1);
|
|
742
|
-
if (state.lineIndent === 0 && state.input.charCodeAt(state.position) === 45 && state.input.charCodeAt(state.position + 1) === 45 && state.input.charCodeAt(state.position + 2) === 45) {
|
|
743
|
-
state.position += 3;
|
|
744
|
-
skipSeparationSpace(state, true, -1);
|
|
745
|
-
} else if (hasDirectives) throwError(state, "directives end mark is expected");
|
|
746
|
-
composeNode(state, state.lineIndent - 1, CONTEXT_BLOCK_OUT, false, true);
|
|
747
|
-
skipSeparationSpace(state, true, -1);
|
|
748
|
-
if (state.checkLineBreaks && PATTERN_NON_ASCII_LINE_BREAKS.test(state.input.slice(documentStart, state.position))) throwWarning(state, "non-ASCII line breaks are interpreted as content");
|
|
749
|
-
state.documents.push(state.result);
|
|
750
|
-
if (state.position === state.lineStart && testDocumentSeparator(state)) {
|
|
751
|
-
if (state.input.charCodeAt(state.position) === 46) {
|
|
752
|
-
state.position += 3;
|
|
753
|
-
skipSeparationSpace(state, true, -1);
|
|
754
|
-
}
|
|
755
|
-
return;
|
|
756
|
-
}
|
|
757
|
-
if (state.position < state.length - 1) throwError(state, "end of the stream or a document separator is expected");
|
|
758
|
-
else return;
|
|
759
|
-
}
|
|
760
|
-
function loadDocuments(input, options) {
|
|
761
|
-
input = String(input);
|
|
762
|
-
options = options || {};
|
|
763
|
-
if (input.length !== 0) {
|
|
764
|
-
if (input.charCodeAt(input.length - 1) !== 10 && input.charCodeAt(input.length - 1) !== 13) input += "\n";
|
|
765
|
-
if (input.charCodeAt(0) === 65279) input = input.slice(1);
|
|
766
|
-
}
|
|
767
|
-
var state = new State(input, options);
|
|
768
|
-
var nullpos = input.indexOf("\0");
|
|
769
|
-
if (nullpos !== -1) {
|
|
770
|
-
state.position = nullpos;
|
|
771
|
-
throwError(state, "null byte is not allowed in input");
|
|
772
|
-
}
|
|
773
|
-
state.input += "\0";
|
|
774
|
-
while (state.input.charCodeAt(state.position) === 32) {
|
|
775
|
-
state.lineIndent += 1;
|
|
776
|
-
state.position += 1;
|
|
777
|
-
}
|
|
778
|
-
while (state.position < state.length - 1) readDocument(state);
|
|
779
|
-
return state.documents;
|
|
780
|
-
}
|
|
781
|
-
function loadAll(input, iterator, options) {
|
|
782
|
-
if (iterator !== null && typeof iterator === "object" && typeof options === "undefined") {
|
|
783
|
-
options = iterator;
|
|
784
|
-
iterator = null;
|
|
785
|
-
}
|
|
786
|
-
var documents = loadDocuments(input, options);
|
|
787
|
-
if (typeof iterator !== "function") return documents;
|
|
788
|
-
for (var index = 0, length = documents.length; index < length; index += 1) iterator(documents[index]);
|
|
789
|
-
}
|
|
790
|
-
function load(input, options) {
|
|
791
|
-
var documents = loadDocuments(input, options);
|
|
792
|
-
if (documents.length === 0) return;
|
|
793
|
-
else if (documents.length === 1) return documents[0];
|
|
794
|
-
throw new YAMLException("expected a single document in the stream, but found more");
|
|
795
|
-
}
|
|
796
|
-
function safeLoadAll(input, iterator, options) {
|
|
797
|
-
if (typeof iterator === "object" && iterator !== null && typeof options === "undefined") {
|
|
798
|
-
options = iterator;
|
|
799
|
-
iterator = null;
|
|
800
|
-
}
|
|
801
|
-
return loadAll(input, iterator, common.extend({ schema: DEFAULT_SAFE_SCHEMA }, options));
|
|
802
|
-
}
|
|
803
|
-
function safeLoad(input, options) {
|
|
804
|
-
return load(input, common.extend({ schema: DEFAULT_SAFE_SCHEMA }, options));
|
|
805
|
-
}
|
|
806
|
-
module.exports.loadAll = loadAll;
|
|
807
|
-
module.exports.load = load;
|
|
808
|
-
module.exports.safeLoadAll = safeLoadAll;
|
|
809
|
-
module.exports.safeLoad = safeLoad;
|
|
810
|
-
}));
|
|
811
|
-
|
|
812
|
-
//#endregion
|
|
813
|
-
export default require_loader();
|
|
814
|
-
|
|
815
|
-
export { require_loader };
|
|
816
|
-
//# sourceMappingURL=loader.mjs.map
|