@skmtc/core 0.0.742 → 0.0.743
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/LICENSE +105 -0
- package/README.md +85 -0
- package/esm/context/CoreContext.js +1 -1
- package/esm/context/GenerateContext.js +1 -1
- package/esm/context/ParseContext.js +1 -1
- package/esm/context/RenderContext.js +1 -1
- package/esm/dsl/model/ModelDriver.js +1 -1
- package/esm/dsl/operation/OperationDriver.js +1 -1
- package/esm/helpers/isImported.js +1 -1
- package/esm/helpers/toResolvedArtifactPath.js +1 -1
- package/esm/run/toV3JsonDocument.js +1 -1
- package/package.json +4 -4
- package/script/context/CoreContext.js +2 -2
- package/script/context/GenerateContext.js +2 -2
- package/script/context/ParseContext.js +2 -2
- package/script/context/RenderContext.js +2 -2
- package/script/dsl/model/ModelDriver.js +2 -2
- package/script/dsl/operation/OperationDriver.js +2 -2
- package/script/helpers/isImported.js +2 -2
- package/script/helpers/toResolvedArtifactPath.js +2 -2
- package/script/run/toV3JsonDocument.js +2 -2
- package/esm/deps/jsr.io/@std/path/1.1.2/_common/basename.d.ts +0 -4
- package/esm/deps/jsr.io/@std/path/1.1.2/_common/basename.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/_common/basename.js +0 -40
- package/esm/deps/jsr.io/@std/path/1.1.2/_common/common.d.ts +0 -2
- package/esm/deps/jsr.io/@std/path/1.1.2/_common/common.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/_common/common.js +0 -23
- package/esm/deps/jsr.io/@std/path/1.1.2/_common/dirname.d.ts +0 -2
- package/esm/deps/jsr.io/@std/path/1.1.2/_common/dirname.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/_common/dirname.js +0 -8
- package/esm/deps/jsr.io/@std/path/1.1.2/_common/format.d.ts +0 -4
- package/esm/deps/jsr.io/@std/path/1.1.2/_common/format.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/_common/format.js +0 -19
- package/esm/deps/jsr.io/@std/path/1.1.2/_common/glob_to_reg_exp.d.ts +0 -35
- package/esm/deps/jsr.io/@std/path/1.1.2/_common/glob_to_reg_exp.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/_common/glob_to_reg_exp.js +0 -234
- package/esm/deps/jsr.io/@std/path/1.1.2/_common/relative.d.ts +0 -2
- package/esm/deps/jsr.io/@std/path/1.1.2/_common/relative.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/_common/relative.js +0 -9
- package/esm/deps/jsr.io/@std/path/1.1.2/_common/strip_trailing_separators.d.ts +0 -2
- package/esm/deps/jsr.io/@std/path/1.1.2/_common/strip_trailing_separators.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/_common/strip_trailing_separators.js +0 -19
- package/esm/deps/jsr.io/@std/path/1.1.2/_common/to_file_url.d.ts +0 -2
- package/esm/deps/jsr.io/@std/path/1.1.2/_common/to_file_url.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/_common/to_file_url.js +0 -15
- package/esm/deps/jsr.io/@std/path/1.1.2/basename.d.ts +0 -27
- package/esm/deps/jsr.io/@std/path/1.1.2/basename.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/basename.js +0 -35
- package/esm/deps/jsr.io/@std/path/1.1.2/common.d.ts +0 -28
- package/esm/deps/jsr.io/@std/path/1.1.2/common.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/common.js +0 -33
- package/esm/deps/jsr.io/@std/path/1.1.2/constants.d.ts +0 -15
- package/esm/deps/jsr.io/@std/path/1.1.2/constants.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/constants.js +0 -17
- package/esm/deps/jsr.io/@std/path/1.1.2/dirname.d.ts +0 -22
- package/esm/deps/jsr.io/@std/path/1.1.2/dirname.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/dirname.js +0 -28
- package/esm/deps/jsr.io/@std/path/1.1.2/extname.d.ts +0 -22
- package/esm/deps/jsr.io/@std/path/1.1.2/extname.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/extname.js +0 -28
- package/esm/deps/jsr.io/@std/path/1.1.2/format.d.ts +0 -22
- package/esm/deps/jsr.io/@std/path/1.1.2/format.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/format.js +0 -27
- package/esm/deps/jsr.io/@std/path/1.1.2/from_file_url.d.ts +0 -22
- package/esm/deps/jsr.io/@std/path/1.1.2/from_file_url.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/from_file_url.js +0 -28
- package/esm/deps/jsr.io/@std/path/1.1.2/glob_to_regexp.d.ts +0 -77
- package/esm/deps/jsr.io/@std/path/1.1.2/glob_to_regexp.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/glob_to_regexp.js +0 -83
- package/esm/deps/jsr.io/@std/path/1.1.2/is_absolute.d.ts +0 -22
- package/esm/deps/jsr.io/@std/path/1.1.2/is_absolute.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/is_absolute.js +0 -28
- package/esm/deps/jsr.io/@std/path/1.1.2/is_glob.d.ts +0 -17
- package/esm/deps/jsr.io/@std/path/1.1.2/is_glob.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/is_glob.js +0 -42
- package/esm/deps/jsr.io/@std/path/1.1.2/join_globs.d.ts +0 -28
- package/esm/deps/jsr.io/@std/path/1.1.2/join_globs.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/join_globs.js +0 -34
- package/esm/deps/jsr.io/@std/path/1.1.2/mod.d.ts +0 -213
- package/esm/deps/jsr.io/@std/path/1.1.2/mod.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/mod.js +0 -216
- package/esm/deps/jsr.io/@std/path/1.1.2/normalize_glob.d.ts +0 -29
- package/esm/deps/jsr.io/@std/path/1.1.2/normalize_glob.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/normalize_glob.js +0 -35
- package/esm/deps/jsr.io/@std/path/1.1.2/parse.d.ts +0 -35
- package/esm/deps/jsr.io/@std/path/1.1.2/parse.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/parse.js +0 -39
- package/esm/deps/jsr.io/@std/path/1.1.2/posix/basename.d.ts +0 -39
- package/esm/deps/jsr.io/@std/path/1.1.2/posix/basename.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/posix/basename.js +0 -52
- package/esm/deps/jsr.io/@std/path/1.1.2/posix/constants.d.ts +0 -13
- package/esm/deps/jsr.io/@std/path/1.1.2/posix/constants.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/posix/constants.js +0 -14
- package/esm/deps/jsr.io/@std/path/1.1.2/posix/dirname.d.ts +0 -30
- package/esm/deps/jsr.io/@std/path/1.1.2/posix/dirname.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/posix/dirname.js +0 -64
- package/esm/deps/jsr.io/@std/path/1.1.2/posix/extname.d.ts +0 -37
- package/esm/deps/jsr.io/@std/path/1.1.2/posix/extname.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/posix/extname.js +0 -93
- package/esm/deps/jsr.io/@std/path/1.1.2/posix/format.d.ts +0 -24
- package/esm/deps/jsr.io/@std/path/1.1.2/posix/format.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/posix/format.js +0 -28
- package/esm/deps/jsr.io/@std/path/1.1.2/posix/glob_to_regexp.d.ts +0 -72
- package/esm/deps/jsr.io/@std/path/1.1.2/posix/glob_to_regexp.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/posix/glob_to_regexp.js +0 -82
- package/esm/deps/jsr.io/@std/path/1.1.2/posix/is_absolute.d.ts +0 -17
- package/esm/deps/jsr.io/@std/path/1.1.2/posix/is_absolute.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/posix/is_absolute.js +0 -23
- package/esm/deps/jsr.io/@std/path/1.1.2/posix/join_globs.d.ts +0 -20
- package/esm/deps/jsr.io/@std/path/1.1.2/posix/join_globs.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/posix/join_globs.js +0 -40
- package/esm/deps/jsr.io/@std/path/1.1.2/posix/normalize_glob.d.ts +0 -20
- package/esm/deps/jsr.io/@std/path/1.1.2/posix/normalize_glob.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/posix/normalize_glob.js +0 -32
- package/esm/deps/jsr.io/@std/path/1.1.2/posix/parse.d.ts +0 -25
- package/esm/deps/jsr.io/@std/path/1.1.2/posix/parse.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/posix/parse.js +0 -115
- package/esm/deps/jsr.io/@std/path/1.1.2/posix/relative.d.ts +0 -20
- package/esm/deps/jsr.io/@std/path/1.1.2/posix/relative.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/posix/relative.js +0 -106
- package/esm/deps/jsr.io/@std/path/1.1.2/posix/resolve.d.ts +0 -17
- package/esm/deps/jsr.io/@std/path/1.1.2/posix/resolve.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/posix/resolve.js +0 -59
- package/esm/deps/jsr.io/@std/path/1.1.2/posix/to_file_url.d.ts +0 -17
- package/esm/deps/jsr.io/@std/path/1.1.2/posix/to_file_url.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/posix/to_file_url.js +0 -27
- package/esm/deps/jsr.io/@std/path/1.1.2/posix/to_namespaced_path.d.ts +0 -16
- package/esm/deps/jsr.io/@std/path/1.1.2/posix/to_namespaced_path.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/posix/to_namespaced_path.js +0 -20
- package/esm/deps/jsr.io/@std/path/1.1.2/relative.d.ts +0 -24
- package/esm/deps/jsr.io/@std/path/1.1.2/relative.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/relative.js +0 -30
- package/esm/deps/jsr.io/@std/path/1.1.2/resolve.d.ts +0 -22
- package/esm/deps/jsr.io/@std/path/1.1.2/resolve.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/resolve.js +0 -30
- package/esm/deps/jsr.io/@std/path/1.1.2/to_file_url.d.ts +0 -22
- package/esm/deps/jsr.io/@std/path/1.1.2/to_file_url.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/to_file_url.js +0 -28
- package/esm/deps/jsr.io/@std/path/1.1.2/to_namespaced_path.d.ts +0 -21
- package/esm/deps/jsr.io/@std/path/1.1.2/to_namespaced_path.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/to_namespaced_path.js +0 -29
- package/esm/deps/jsr.io/@std/path/1.1.2/types.d.ts +0 -38
- package/esm/deps/jsr.io/@std/path/1.1.2/types.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/types.js +0 -3
- package/esm/deps/jsr.io/@std/path/1.1.2/windows/basename.d.ts +0 -22
- package/esm/deps/jsr.io/@std/path/1.1.2/windows/basename.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/windows/basename.js +0 -47
- package/esm/deps/jsr.io/@std/path/1.1.2/windows/constants.d.ts +0 -13
- package/esm/deps/jsr.io/@std/path/1.1.2/windows/constants.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/windows/constants.js +0 -14
- package/esm/deps/jsr.io/@std/path/1.1.2/windows/dirname.d.ts +0 -17
- package/esm/deps/jsr.io/@std/path/1.1.2/windows/dirname.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/windows/dirname.js +0 -113
- package/esm/deps/jsr.io/@std/path/1.1.2/windows/extname.d.ts +0 -17
- package/esm/deps/jsr.io/@std/path/1.1.2/windows/extname.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/windows/extname.js +0 -82
- package/esm/deps/jsr.io/@std/path/1.1.2/windows/format.d.ts +0 -24
- package/esm/deps/jsr.io/@std/path/1.1.2/windows/format.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/windows/format.js +0 -28
- package/esm/deps/jsr.io/@std/path/1.1.2/windows/glob_to_regexp.d.ts +0 -71
- package/esm/deps/jsr.io/@std/path/1.1.2/windows/glob_to_regexp.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/windows/glob_to_regexp.js +0 -82
- package/esm/deps/jsr.io/@std/path/1.1.2/windows/is_absolute.d.ts +0 -17
- package/esm/deps/jsr.io/@std/path/1.1.2/windows/is_absolute.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/windows/is_absolute.js +0 -38
- package/esm/deps/jsr.io/@std/path/1.1.2/windows/join_globs.d.ts +0 -21
- package/esm/deps/jsr.io/@std/path/1.1.2/windows/join_globs.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/windows/join_globs.js +0 -41
- package/esm/deps/jsr.io/@std/path/1.1.2/windows/normalize_glob.d.ts +0 -20
- package/esm/deps/jsr.io/@std/path/1.1.2/windows/normalize_glob.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/windows/normalize_glob.js +0 -32
- package/esm/deps/jsr.io/@std/path/1.1.2/windows/parse.d.ts +0 -25
- package/esm/deps/jsr.io/@std/path/1.1.2/windows/parse.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/windows/parse.js +0 -176
- package/esm/deps/jsr.io/@std/path/1.1.2/windows/relative.d.ts +0 -23
- package/esm/deps/jsr.io/@std/path/1.1.2/windows/relative.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/windows/relative.js +0 -131
- package/esm/deps/jsr.io/@std/path/1.1.2/windows/resolve.d.ts +0 -17
- package/esm/deps/jsr.io/@std/path/1.1.2/windows/resolve.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/windows/resolve.js +0 -154
- package/esm/deps/jsr.io/@std/path/1.1.2/windows/to_file_url.d.ts +0 -17
- package/esm/deps/jsr.io/@std/path/1.1.2/windows/to_file_url.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/windows/to_file_url.js +0 -34
- package/esm/deps/jsr.io/@std/path/1.1.2/windows/to_namespaced_path.d.ts +0 -17
- package/esm/deps/jsr.io/@std/path/1.1.2/windows/to_namespaced_path.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.2/windows/to_namespaced_path.js +0 -49
- package/esm/deps/jsr.io/@std/yaml/1.0.9/_dumper_state.d.ts +0 -106
- package/esm/deps/jsr.io/@std/yaml/1.0.9/_dumper_state.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.9/_dumper_state.js +0 -716
- package/esm/deps/jsr.io/@std/yaml/1.0.9/mod.d.ts +0 -50
- package/esm/deps/jsr.io/@std/yaml/1.0.9/mod.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.9/mod.js +0 -52
- package/esm/deps/jsr.io/@std/yaml/1.0.9/stringify.d.ts +0 -100
- package/esm/deps/jsr.io/@std/yaml/1.0.9/stringify.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.9/stringify.js +0 -33
- package/script/deps/jsr.io/@std/path/1.1.2/_common/basename.d.ts +0 -4
- package/script/deps/jsr.io/@std/path/1.1.2/_common/basename.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.2/_common/basename.js +0 -45
- package/script/deps/jsr.io/@std/path/1.1.2/_common/common.d.ts +0 -2
- package/script/deps/jsr.io/@std/path/1.1.2/_common/common.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.2/_common/common.js +0 -26
- package/script/deps/jsr.io/@std/path/1.1.2/_common/dirname.d.ts +0 -2
- package/script/deps/jsr.io/@std/path/1.1.2/_common/dirname.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.2/_common/dirname.js +0 -11
- package/script/deps/jsr.io/@std/path/1.1.2/_common/format.d.ts +0 -4
- package/script/deps/jsr.io/@std/path/1.1.2/_common/format.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.2/_common/format.js +0 -23
- package/script/deps/jsr.io/@std/path/1.1.2/_common/glob_to_reg_exp.d.ts +0 -35
- package/script/deps/jsr.io/@std/path/1.1.2/_common/glob_to_reg_exp.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.2/_common/glob_to_reg_exp.js +0 -237
- package/script/deps/jsr.io/@std/path/1.1.2/_common/relative.d.ts +0 -2
- package/script/deps/jsr.io/@std/path/1.1.2/_common/relative.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.2/_common/relative.js +0 -12
- package/script/deps/jsr.io/@std/path/1.1.2/_common/strip_trailing_separators.d.ts +0 -2
- package/script/deps/jsr.io/@std/path/1.1.2/_common/strip_trailing_separators.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.2/_common/strip_trailing_separators.js +0 -22
- package/script/deps/jsr.io/@std/path/1.1.2/_common/to_file_url.d.ts +0 -2
- package/script/deps/jsr.io/@std/path/1.1.2/_common/to_file_url.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.2/_common/to_file_url.js +0 -18
- package/script/deps/jsr.io/@std/path/1.1.2/basename.d.ts +0 -27
- package/script/deps/jsr.io/@std/path/1.1.2/basename.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.2/basename.js +0 -38
- package/script/deps/jsr.io/@std/path/1.1.2/common.d.ts +0 -28
- package/script/deps/jsr.io/@std/path/1.1.2/common.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.2/common.js +0 -36
- package/script/deps/jsr.io/@std/path/1.1.2/constants.d.ts +0 -15
- package/script/deps/jsr.io/@std/path/1.1.2/constants.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.2/constants.js +0 -20
- package/script/deps/jsr.io/@std/path/1.1.2/dirname.d.ts +0 -22
- package/script/deps/jsr.io/@std/path/1.1.2/dirname.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.2/dirname.js +0 -31
- package/script/deps/jsr.io/@std/path/1.1.2/extname.d.ts +0 -22
- package/script/deps/jsr.io/@std/path/1.1.2/extname.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.2/extname.js +0 -31
- package/script/deps/jsr.io/@std/path/1.1.2/format.d.ts +0 -22
- package/script/deps/jsr.io/@std/path/1.1.2/format.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.2/format.js +0 -30
- package/script/deps/jsr.io/@std/path/1.1.2/from_file_url.d.ts +0 -22
- package/script/deps/jsr.io/@std/path/1.1.2/from_file_url.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.2/from_file_url.js +0 -31
- package/script/deps/jsr.io/@std/path/1.1.2/glob_to_regexp.d.ts +0 -77
- package/script/deps/jsr.io/@std/path/1.1.2/glob_to_regexp.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.2/glob_to_regexp.js +0 -86
- package/script/deps/jsr.io/@std/path/1.1.2/is_absolute.d.ts +0 -22
- package/script/deps/jsr.io/@std/path/1.1.2/is_absolute.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.2/is_absolute.js +0 -31
- package/script/deps/jsr.io/@std/path/1.1.2/is_glob.d.ts +0 -17
- package/script/deps/jsr.io/@std/path/1.1.2/is_glob.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.2/is_glob.js +0 -45
- package/script/deps/jsr.io/@std/path/1.1.2/join_globs.d.ts +0 -28
- package/script/deps/jsr.io/@std/path/1.1.2/join_globs.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.2/join_globs.js +0 -37
- package/script/deps/jsr.io/@std/path/1.1.2/mod.d.ts +0 -213
- package/script/deps/jsr.io/@std/path/1.1.2/mod.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.2/mod.js +0 -232
- package/script/deps/jsr.io/@std/path/1.1.2/normalize_glob.d.ts +0 -29
- package/script/deps/jsr.io/@std/path/1.1.2/normalize_glob.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.2/normalize_glob.js +0 -38
- package/script/deps/jsr.io/@std/path/1.1.2/parse.d.ts +0 -35
- package/script/deps/jsr.io/@std/path/1.1.2/parse.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.2/parse.js +0 -42
- package/script/deps/jsr.io/@std/path/1.1.2/posix/basename.d.ts +0 -39
- package/script/deps/jsr.io/@std/path/1.1.2/posix/basename.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.2/posix/basename.js +0 -55
- package/script/deps/jsr.io/@std/path/1.1.2/posix/constants.d.ts +0 -13
- package/script/deps/jsr.io/@std/path/1.1.2/posix/constants.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.2/posix/constants.js +0 -17
- package/script/deps/jsr.io/@std/path/1.1.2/posix/dirname.d.ts +0 -30
- package/script/deps/jsr.io/@std/path/1.1.2/posix/dirname.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.2/posix/dirname.js +0 -67
- package/script/deps/jsr.io/@std/path/1.1.2/posix/extname.d.ts +0 -37
- package/script/deps/jsr.io/@std/path/1.1.2/posix/extname.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.2/posix/extname.js +0 -96
- package/script/deps/jsr.io/@std/path/1.1.2/posix/format.d.ts +0 -24
- package/script/deps/jsr.io/@std/path/1.1.2/posix/format.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.2/posix/format.js +0 -31
- package/script/deps/jsr.io/@std/path/1.1.2/posix/glob_to_regexp.d.ts +0 -72
- package/script/deps/jsr.io/@std/path/1.1.2/posix/glob_to_regexp.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.2/posix/glob_to_regexp.js +0 -85
- package/script/deps/jsr.io/@std/path/1.1.2/posix/is_absolute.d.ts +0 -17
- package/script/deps/jsr.io/@std/path/1.1.2/posix/is_absolute.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.2/posix/is_absolute.js +0 -26
- package/script/deps/jsr.io/@std/path/1.1.2/posix/join_globs.d.ts +0 -20
- package/script/deps/jsr.io/@std/path/1.1.2/posix/join_globs.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.2/posix/join_globs.js +0 -43
- package/script/deps/jsr.io/@std/path/1.1.2/posix/normalize_glob.d.ts +0 -20
- package/script/deps/jsr.io/@std/path/1.1.2/posix/normalize_glob.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.2/posix/normalize_glob.js +0 -35
- package/script/deps/jsr.io/@std/path/1.1.2/posix/parse.d.ts +0 -25
- package/script/deps/jsr.io/@std/path/1.1.2/posix/parse.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.2/posix/parse.js +0 -118
- package/script/deps/jsr.io/@std/path/1.1.2/posix/relative.d.ts +0 -20
- package/script/deps/jsr.io/@std/path/1.1.2/posix/relative.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.2/posix/relative.js +0 -109
- package/script/deps/jsr.io/@std/path/1.1.2/posix/resolve.d.ts +0 -17
- package/script/deps/jsr.io/@std/path/1.1.2/posix/resolve.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.2/posix/resolve.js +0 -95
- package/script/deps/jsr.io/@std/path/1.1.2/posix/to_file_url.d.ts +0 -17
- package/script/deps/jsr.io/@std/path/1.1.2/posix/to_file_url.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.2/posix/to_file_url.js +0 -30
- package/script/deps/jsr.io/@std/path/1.1.2/posix/to_namespaced_path.d.ts +0 -16
- package/script/deps/jsr.io/@std/path/1.1.2/posix/to_namespaced_path.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.2/posix/to_namespaced_path.js +0 -23
- package/script/deps/jsr.io/@std/path/1.1.2/relative.d.ts +0 -24
- package/script/deps/jsr.io/@std/path/1.1.2/relative.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.2/relative.js +0 -33
- package/script/deps/jsr.io/@std/path/1.1.2/resolve.d.ts +0 -22
- package/script/deps/jsr.io/@std/path/1.1.2/resolve.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.2/resolve.js +0 -33
- package/script/deps/jsr.io/@std/path/1.1.2/to_file_url.d.ts +0 -22
- package/script/deps/jsr.io/@std/path/1.1.2/to_file_url.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.2/to_file_url.js +0 -31
- package/script/deps/jsr.io/@std/path/1.1.2/to_namespaced_path.d.ts +0 -21
- package/script/deps/jsr.io/@std/path/1.1.2/to_namespaced_path.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.2/to_namespaced_path.js +0 -32
- package/script/deps/jsr.io/@std/path/1.1.2/types.d.ts +0 -38
- package/script/deps/jsr.io/@std/path/1.1.2/types.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.2/types.js +0 -4
- package/script/deps/jsr.io/@std/path/1.1.2/windows/basename.d.ts +0 -22
- package/script/deps/jsr.io/@std/path/1.1.2/windows/basename.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.2/windows/basename.js +0 -50
- package/script/deps/jsr.io/@std/path/1.1.2/windows/constants.d.ts +0 -13
- package/script/deps/jsr.io/@std/path/1.1.2/windows/constants.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.2/windows/constants.js +0 -17
- package/script/deps/jsr.io/@std/path/1.1.2/windows/dirname.d.ts +0 -17
- package/script/deps/jsr.io/@std/path/1.1.2/windows/dirname.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.2/windows/dirname.js +0 -116
- package/script/deps/jsr.io/@std/path/1.1.2/windows/extname.d.ts +0 -17
- package/script/deps/jsr.io/@std/path/1.1.2/windows/extname.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.2/windows/extname.js +0 -85
- package/script/deps/jsr.io/@std/path/1.1.2/windows/format.d.ts +0 -24
- package/script/deps/jsr.io/@std/path/1.1.2/windows/format.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.2/windows/format.js +0 -31
- package/script/deps/jsr.io/@std/path/1.1.2/windows/glob_to_regexp.d.ts +0 -71
- package/script/deps/jsr.io/@std/path/1.1.2/windows/glob_to_regexp.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.2/windows/glob_to_regexp.js +0 -85
- package/script/deps/jsr.io/@std/path/1.1.2/windows/is_absolute.d.ts +0 -17
- package/script/deps/jsr.io/@std/path/1.1.2/windows/is_absolute.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.2/windows/is_absolute.js +0 -41
- package/script/deps/jsr.io/@std/path/1.1.2/windows/join_globs.d.ts +0 -21
- package/script/deps/jsr.io/@std/path/1.1.2/windows/join_globs.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.2/windows/join_globs.js +0 -44
- package/script/deps/jsr.io/@std/path/1.1.2/windows/normalize_glob.d.ts +0 -20
- package/script/deps/jsr.io/@std/path/1.1.2/windows/normalize_glob.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.2/windows/normalize_glob.js +0 -35
- package/script/deps/jsr.io/@std/path/1.1.2/windows/parse.d.ts +0 -25
- package/script/deps/jsr.io/@std/path/1.1.2/windows/parse.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.2/windows/parse.js +0 -179
- package/script/deps/jsr.io/@std/path/1.1.2/windows/relative.d.ts +0 -23
- package/script/deps/jsr.io/@std/path/1.1.2/windows/relative.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.2/windows/relative.js +0 -134
- package/script/deps/jsr.io/@std/path/1.1.2/windows/resolve.d.ts +0 -17
- package/script/deps/jsr.io/@std/path/1.1.2/windows/resolve.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.2/windows/resolve.js +0 -190
- package/script/deps/jsr.io/@std/path/1.1.2/windows/to_file_url.d.ts +0 -17
- package/script/deps/jsr.io/@std/path/1.1.2/windows/to_file_url.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.2/windows/to_file_url.js +0 -37
- package/script/deps/jsr.io/@std/path/1.1.2/windows/to_namespaced_path.d.ts +0 -17
- package/script/deps/jsr.io/@std/path/1.1.2/windows/to_namespaced_path.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.2/windows/to_namespaced_path.js +0 -52
- package/script/deps/jsr.io/@std/yaml/1.0.9/_dumper_state.d.ts +0 -106
- package/script/deps/jsr.io/@std/yaml/1.0.9/_dumper_state.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.9/_dumper_state.js +0 -720
- package/script/deps/jsr.io/@std/yaml/1.0.9/mod.d.ts +0 -50
- package/script/deps/jsr.io/@std/yaml/1.0.9/mod.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.9/mod.js +0 -68
- package/script/deps/jsr.io/@std/yaml/1.0.9/stringify.d.ts +0 -100
- package/script/deps/jsr.io/@std/yaml/1.0.9/stringify.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.9/stringify.js +0 -36
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
3
|
-
// This module is browser compatible.
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.globToRegExp = globToRegExp;
|
|
6
|
-
const os_js_1 = require("../../internal/1.0.10/os.js");
|
|
7
|
-
const glob_to_regexp_js_1 = require("./posix/glob_to_regexp.js");
|
|
8
|
-
const glob_to_regexp_js_2 = require("./windows/glob_to_regexp.js");
|
|
9
|
-
/**
|
|
10
|
-
* Converts a glob string to a regular expression.
|
|
11
|
-
*
|
|
12
|
-
* Tries to match bash glob expansion as closely as possible.
|
|
13
|
-
*
|
|
14
|
-
* Basic glob syntax:
|
|
15
|
-
* - `*` - Matches everything without leaving the path segment.
|
|
16
|
-
* - `?` - Matches any single character.
|
|
17
|
-
* - `{foo,bar}` - Matches `foo` or `bar`.
|
|
18
|
-
* - `[abcd]` - Matches `a`, `b`, `c` or `d`.
|
|
19
|
-
* - `[a-d]` - Matches `a`, `b`, `c` or `d`.
|
|
20
|
-
* - `[!abcd]` - Matches any single character besides `a`, `b`, `c` or `d`.
|
|
21
|
-
* - `[[:<class>:]]` - Matches any character belonging to `<class>`.
|
|
22
|
-
* - `[[:alnum:]]` - Matches any digit or letter.
|
|
23
|
-
* - `[[:digit:]abc]` - Matches any digit, `a`, `b` or `c`.
|
|
24
|
-
* - See https://facelessuser.github.io/wcmatch/glob/#posix-character-classes
|
|
25
|
-
* for a complete list of supported character classes.
|
|
26
|
-
* - `\` - Escapes the next character for an `os` other than `"windows"`.
|
|
27
|
-
* - \` - Escapes the next character for `os` set to `"windows"`.
|
|
28
|
-
* - `/` - Path separator.
|
|
29
|
-
* - `\` - Additional path separator only for `os` set to `"windows"`.
|
|
30
|
-
*
|
|
31
|
-
* Extended syntax:
|
|
32
|
-
* - Requires `{ extended: true }`.
|
|
33
|
-
* - `?(foo|bar)` - Matches 0 or 1 instance of `{foo,bar}`.
|
|
34
|
-
* - `@(foo|bar)` - Matches 1 instance of `{foo,bar}`. They behave the same.
|
|
35
|
-
* - `*(foo|bar)` - Matches _n_ instances of `{foo,bar}`.
|
|
36
|
-
* - `+(foo|bar)` - Matches _n > 0_ instances of `{foo,bar}`.
|
|
37
|
-
* - `!(foo|bar)` - Matches anything other than `{foo,bar}`.
|
|
38
|
-
* - See https://www.linuxjournal.com/content/bash-extended-globbing.
|
|
39
|
-
*
|
|
40
|
-
* Globstar syntax:
|
|
41
|
-
* - Requires `{ globstar: true }`.
|
|
42
|
-
* - `**` - Matches any number of any path segments.
|
|
43
|
-
* - Must comprise its entire path segment in the provided glob.
|
|
44
|
-
* - See https://www.linuxjournal.com/content/globstar-new-bash-globbing-option.
|
|
45
|
-
*
|
|
46
|
-
* Note the following properties:
|
|
47
|
-
* - The generated `RegExp` is anchored at both start and end.
|
|
48
|
-
* - Repeating and trailing separators are tolerated. Trailing separators in the
|
|
49
|
-
* provided glob have no meaning and are discarded.
|
|
50
|
-
* - Absolute globs will only match absolute paths, etc.
|
|
51
|
-
* - Empty globs will match nothing.
|
|
52
|
-
* - Any special glob syntax must be contained to one path segment. For example,
|
|
53
|
-
* `?(foo|bar/baz)` is invalid. The separator will take precedence and the
|
|
54
|
-
* first segment ends with an unclosed group.
|
|
55
|
-
* - If a path segment ends with unclosed groups or a dangling escape prefix, a
|
|
56
|
-
* parse error has occurred. Every character for that segment is taken
|
|
57
|
-
* literally in this event.
|
|
58
|
-
*
|
|
59
|
-
* Limitations:
|
|
60
|
-
* - A negative group like `!(foo|bar)` will wrongly be converted to a negative
|
|
61
|
-
* look-ahead followed by a wildcard. This means that `!(foo).js` will wrongly
|
|
62
|
-
* fail to match `foobar.js`, even though `foobar` is not `foo`. Effectively,
|
|
63
|
-
* `!(foo|bar)` is treated like `!(@(foo|bar)*)`. This will work correctly if
|
|
64
|
-
* the group occurs not nested at the end of the segment.
|
|
65
|
-
*
|
|
66
|
-
* @example Usage
|
|
67
|
-
* ```ts
|
|
68
|
-
* import { globToRegExp } from "@std/path/glob-to-regexp";
|
|
69
|
-
* import { assertEquals } from "@std/assert";
|
|
70
|
-
*
|
|
71
|
-
* if (Deno.build.os === "windows") {
|
|
72
|
-
* assertEquals(globToRegExp("*.js"), /^[^\\/]*\.js(?:\\|\/)*$/);
|
|
73
|
-
* } else {
|
|
74
|
-
* assertEquals(globToRegExp("*.js"), /^[^/]*\.js\/*$/);
|
|
75
|
-
* }
|
|
76
|
-
* ```
|
|
77
|
-
*
|
|
78
|
-
* @param glob Glob string to convert.
|
|
79
|
-
* @param options Conversion options.
|
|
80
|
-
* @returns The regular expression equivalent to the glob.
|
|
81
|
-
*/
|
|
82
|
-
function globToRegExp(glob, options = {}) {
|
|
83
|
-
return os_js_1.isWindows
|
|
84
|
-
? (0, glob_to_regexp_js_2.globToRegExp)(glob, options)
|
|
85
|
-
: (0, glob_to_regexp_js_1.globToRegExp)(glob, options);
|
|
86
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Verifies whether provided path is absolute.
|
|
3
|
-
*
|
|
4
|
-
* @example Usage
|
|
5
|
-
* ```ts
|
|
6
|
-
* import { isAbsolute } from "@std/path/is-absolute";
|
|
7
|
-
* import { assert, assertFalse } from "@std/assert";
|
|
8
|
-
*
|
|
9
|
-
* if (Deno.build.os === "windows") {
|
|
10
|
-
* assert(isAbsolute("C:\\home\\foo"));
|
|
11
|
-
* assertFalse(isAbsolute("home\\foo"));
|
|
12
|
-
* } else {
|
|
13
|
-
* assert(isAbsolute("/home/foo"));
|
|
14
|
-
* assertFalse(isAbsolute("home/foo"));
|
|
15
|
-
* }
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @param path Path to be verified as absolute.
|
|
19
|
-
* @returns `true` if path is absolute, `false` otherwise
|
|
20
|
-
*/
|
|
21
|
-
export declare function isAbsolute(path: string): boolean;
|
|
22
|
-
//# sourceMappingURL=is_absolute.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is_absolute.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/path/1.1.2/is_absolute.ts"],"names":[],"mappings":"AAOA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAEhD"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
3
|
-
// This module is browser compatible.
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.isAbsolute = isAbsolute;
|
|
6
|
-
const os_js_1 = require("../../internal/1.0.10/os.js");
|
|
7
|
-
const is_absolute_js_1 = require("./posix/is_absolute.js");
|
|
8
|
-
const is_absolute_js_2 = require("./windows/is_absolute.js");
|
|
9
|
-
/**
|
|
10
|
-
* Verifies whether provided path is absolute.
|
|
11
|
-
*
|
|
12
|
-
* @example Usage
|
|
13
|
-
* ```ts
|
|
14
|
-
* import { isAbsolute } from "@std/path/is-absolute";
|
|
15
|
-
* import { assert, assertFalse } from "@std/assert";
|
|
16
|
-
*
|
|
17
|
-
* if (Deno.build.os === "windows") {
|
|
18
|
-
* assert(isAbsolute("C:\\home\\foo"));
|
|
19
|
-
* assertFalse(isAbsolute("home\\foo"));
|
|
20
|
-
* } else {
|
|
21
|
-
* assert(isAbsolute("/home/foo"));
|
|
22
|
-
* assertFalse(isAbsolute("home/foo"));
|
|
23
|
-
* }
|
|
24
|
-
* ```
|
|
25
|
-
*
|
|
26
|
-
* @param path Path to be verified as absolute.
|
|
27
|
-
* @returns `true` if path is absolute, `false` otherwise
|
|
28
|
-
*/
|
|
29
|
-
function isAbsolute(path) {
|
|
30
|
-
return os_js_1.isWindows ? (0, is_absolute_js_2.isAbsolute)(path) : (0, is_absolute_js_1.isAbsolute)(path);
|
|
31
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Test whether the given string is a glob.
|
|
3
|
-
*
|
|
4
|
-
* @example Usage
|
|
5
|
-
* ```ts
|
|
6
|
-
* import { isGlob } from "@std/path/is-glob";
|
|
7
|
-
* import { assert } from "@std/assert";
|
|
8
|
-
*
|
|
9
|
-
* assert(!isGlob("foo/bar/../baz"));
|
|
10
|
-
* assert(isGlob("foo/*ar/../baz"));
|
|
11
|
-
* ```
|
|
12
|
-
*
|
|
13
|
-
* @param str String to test.
|
|
14
|
-
* @returns `true` if the given string is a glob, otherwise `false`
|
|
15
|
-
*/
|
|
16
|
-
export declare function isGlob(str: string): boolean;
|
|
17
|
-
//# sourceMappingURL=is_glob.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is_glob.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/path/1.1.2/is_glob.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CA8B3C"}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
3
|
-
// This module is browser compatible.
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.isGlob = isGlob;
|
|
6
|
-
/**
|
|
7
|
-
* Test whether the given string is a glob.
|
|
8
|
-
*
|
|
9
|
-
* @example Usage
|
|
10
|
-
* ```ts
|
|
11
|
-
* import { isGlob } from "@std/path/is-glob";
|
|
12
|
-
* import { assert } from "@std/assert";
|
|
13
|
-
*
|
|
14
|
-
* assert(!isGlob("foo/bar/../baz"));
|
|
15
|
-
* assert(isGlob("foo/*ar/../baz"));
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @param str String to test.
|
|
19
|
-
* @returns `true` if the given string is a glob, otherwise `false`
|
|
20
|
-
*/
|
|
21
|
-
function isGlob(str) {
|
|
22
|
-
const chars = { "{": "}", "(": ")", "[": "]" };
|
|
23
|
-
const regex = /\\(.)|(^!|\*|\?|[\].+)]\?|\[[^[\\\]]+\]|\{[^{\\}]+\}|\(\?[:!=][^\\)]+\)|\([^(|]+\|[^\\)]+\))/;
|
|
24
|
-
if (str === "") {
|
|
25
|
-
return false;
|
|
26
|
-
}
|
|
27
|
-
let match;
|
|
28
|
-
while ((match = regex.exec(str))) {
|
|
29
|
-
if (match[2])
|
|
30
|
-
return true;
|
|
31
|
-
let idx = match.index + match[0].length;
|
|
32
|
-
// if an open bracket/brace/paren is escaped,
|
|
33
|
-
// set the index to the next closing character
|
|
34
|
-
const open = match[1];
|
|
35
|
-
const close = open ? chars[open] : null;
|
|
36
|
-
if (open && close) {
|
|
37
|
-
const n = str.indexOf(close, idx);
|
|
38
|
-
if (n !== -1) {
|
|
39
|
-
idx = n + 1;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
str = str.slice(idx);
|
|
43
|
-
}
|
|
44
|
-
return false;
|
|
45
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import type { GlobOptions } from "./_common/glob_to_reg_exp.js";
|
|
2
|
-
export type { GlobOptions };
|
|
3
|
-
/**
|
|
4
|
-
* Joins a sequence of globs, then normalizes the resulting glob.
|
|
5
|
-
*
|
|
6
|
-
* Behaves like {@linkcode https://jsr.io/@std/path/doc/~/join | join()}, but
|
|
7
|
-
* doesn't collapse `**\/..` when `globstar` is true.
|
|
8
|
-
*
|
|
9
|
-
* @example Usage
|
|
10
|
-
* ```ts
|
|
11
|
-
* import { joinGlobs } from "@std/path/join-globs";
|
|
12
|
-
* import { assertEquals } from "@std/assert";
|
|
13
|
-
*
|
|
14
|
-
* if (Deno.build.os === "windows") {
|
|
15
|
-
* assertEquals(joinGlobs(["foo", "bar", "..", "baz"]), "foo\\baz");
|
|
16
|
-
* assertEquals(joinGlobs(["foo", "**", "bar", "..", "baz"], { globstar: true }), "foo\\**\\baz");
|
|
17
|
-
* } else {
|
|
18
|
-
* assertEquals(joinGlobs(["foo", "bar", "..", "baz"]), "foo/baz");
|
|
19
|
-
* assertEquals(joinGlobs(["foo", "**", "bar", "..", "baz"], { globstar: true }), "foo/**\/baz");
|
|
20
|
-
* }
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @param globs Globs to be joined and normalized.
|
|
24
|
-
* @param options Glob options.
|
|
25
|
-
* @returns The joined and normalized glob string.
|
|
26
|
-
*/
|
|
27
|
-
export declare function joinGlobs(globs: string[], options?: GlobOptions): string;
|
|
28
|
-
//# sourceMappingURL=join_globs.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"join_globs.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/path/1.1.2/join_globs.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAKhE,YAAY,EAAE,WAAW,EAAE,CAAC;AAE5B;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,SAAS,CACvB,KAAK,EAAE,MAAM,EAAE,EACf,OAAO,GAAE,WAAgB,GACxB,MAAM,CAIR"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
3
|
-
// This module is browser compatible.
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.joinGlobs = joinGlobs;
|
|
6
|
-
const os_js_1 = require("../../internal/1.0.10/os.js");
|
|
7
|
-
const join_globs_js_1 = require("./posix/join_globs.js");
|
|
8
|
-
const join_globs_js_2 = require("./windows/join_globs.js");
|
|
9
|
-
/**
|
|
10
|
-
* Joins a sequence of globs, then normalizes the resulting glob.
|
|
11
|
-
*
|
|
12
|
-
* Behaves like {@linkcode https://jsr.io/@std/path/doc/~/join | join()}, but
|
|
13
|
-
* doesn't collapse `**\/..` when `globstar` is true.
|
|
14
|
-
*
|
|
15
|
-
* @example Usage
|
|
16
|
-
* ```ts
|
|
17
|
-
* import { joinGlobs } from "@std/path/join-globs";
|
|
18
|
-
* import { assertEquals } from "@std/assert";
|
|
19
|
-
*
|
|
20
|
-
* if (Deno.build.os === "windows") {
|
|
21
|
-
* assertEquals(joinGlobs(["foo", "bar", "..", "baz"]), "foo\\baz");
|
|
22
|
-
* assertEquals(joinGlobs(["foo", "**", "bar", "..", "baz"], { globstar: true }), "foo\\**\\baz");
|
|
23
|
-
* } else {
|
|
24
|
-
* assertEquals(joinGlobs(["foo", "bar", "..", "baz"]), "foo/baz");
|
|
25
|
-
* assertEquals(joinGlobs(["foo", "**", "bar", "..", "baz"], { globstar: true }), "foo/**\/baz");
|
|
26
|
-
* }
|
|
27
|
-
* ```
|
|
28
|
-
*
|
|
29
|
-
* @param globs Globs to be joined and normalized.
|
|
30
|
-
* @param options Glob options.
|
|
31
|
-
* @returns The joined and normalized glob string.
|
|
32
|
-
*/
|
|
33
|
-
function joinGlobs(globs, options = {}) {
|
|
34
|
-
return os_js_1.isWindows
|
|
35
|
-
? (0, join_globs_js_2.joinGlobs)(globs, options)
|
|
36
|
-
: (0, join_globs_js_1.joinGlobs)(globs, options);
|
|
37
|
-
}
|
|
@@ -1,213 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Utilities for working with OS-specific file paths.
|
|
3
|
-
*
|
|
4
|
-
* Functions from this module will automatically switch to support the path style
|
|
5
|
-
* of the current OS, either `windows` for Microsoft Windows, or `posix` for
|
|
6
|
-
* every other operating system, eg. Linux, MacOS, BSD etc.
|
|
7
|
-
*
|
|
8
|
-
* To use functions for a specific path style regardless of the current OS
|
|
9
|
-
* import the modules from the platform sub directory instead.
|
|
10
|
-
*
|
|
11
|
-
* ## Basic Path Operations
|
|
12
|
-
*
|
|
13
|
-
* ```ts
|
|
14
|
-
* import * as path from "@std/path";
|
|
15
|
-
* import { assertEquals } from "@std/assert";
|
|
16
|
-
*
|
|
17
|
-
* // Get components of a path
|
|
18
|
-
* if (Deno.build.os === "windows") {
|
|
19
|
-
* assertEquals(path.basename("C:\\Users\\user\\file.txt"), "file.txt");
|
|
20
|
-
* assertEquals(path.dirname("C:\\Users\\user\\file.txt"), "C:\\Users\\user");
|
|
21
|
-
* assertEquals(path.extname("C:\\Users\\user\\file.txt"), ".txt");
|
|
22
|
-
* } else {
|
|
23
|
-
* assertEquals(path.basename("/home/user/file.txt"), "file.txt");
|
|
24
|
-
* assertEquals(path.dirname("/home/user/file.txt"), "/home/user");
|
|
25
|
-
* assertEquals(path.extname("/home/user/file.txt"), ".txt");
|
|
26
|
-
* }
|
|
27
|
-
*
|
|
28
|
-
* // Join path segments
|
|
29
|
-
* if (Deno.build.os === "windows") {
|
|
30
|
-
* assertEquals(path.join("C:\\", "Users", "docs", "file.txt"), "C:\\Users\\docs\\file.txt");
|
|
31
|
-
* } else {
|
|
32
|
-
* assertEquals(path.join("/home", "user", "docs", "file.txt"), "/home/user/docs/file.txt");
|
|
33
|
-
* }
|
|
34
|
-
*
|
|
35
|
-
* // Normalize a path
|
|
36
|
-
* if (Deno.build.os === "windows") {
|
|
37
|
-
* assertEquals(path.normalize("C:\\Users\\user\\..\\temp\\.\\file.txt"), "C:\\Users\\temp\\file.txt");
|
|
38
|
-
* } else {
|
|
39
|
-
* assertEquals(path.normalize("/home/user/../temp/./file.txt"), "/home/temp/file.txt");
|
|
40
|
-
* }
|
|
41
|
-
*
|
|
42
|
-
* // Resolve absolute path
|
|
43
|
-
* if (Deno.build.os === "windows") {
|
|
44
|
-
* const resolved = path.resolve("C:\\foo", "docs", "file.txt");
|
|
45
|
-
* assertEquals(resolved, "C:\\foo\\docs\\file.txt");
|
|
46
|
-
* assertEquals(path.isAbsolute(resolved), true);
|
|
47
|
-
* } else {
|
|
48
|
-
* const resolved = path.resolve("/foo", "docs", "file.txt");
|
|
49
|
-
* assertEquals(resolved, "/foo/docs/file.txt");
|
|
50
|
-
* assertEquals(path.isAbsolute(resolved), true);
|
|
51
|
-
* }
|
|
52
|
-
*
|
|
53
|
-
* // Get relative path
|
|
54
|
-
* if (Deno.build.os === "windows") {
|
|
55
|
-
* assertEquals(path.relative("C:\\Users", "C:\\Users\\docs\\file.txt"), "docs\\file.txt");
|
|
56
|
-
* assertEquals(path.relative("C:\\Users", "D:\\Programs"), "D:\\Programs");
|
|
57
|
-
* } else {
|
|
58
|
-
* assertEquals(path.relative("/home/user", "/home/user/docs/file.txt"), "docs/file.txt");
|
|
59
|
-
* assertEquals(path.relative("/home/user", "/var/data"), "../../var/data");
|
|
60
|
-
* }
|
|
61
|
-
* ```
|
|
62
|
-
*
|
|
63
|
-
* ## Path Parsing and Formatting
|
|
64
|
-
*
|
|
65
|
-
* ```ts
|
|
66
|
-
* import * as path from "@std/path";
|
|
67
|
-
* import { assertEquals } from "@std/assert";
|
|
68
|
-
*
|
|
69
|
-
* if (Deno.build.os === "windows") {
|
|
70
|
-
* const parsedWindows = path.parse("C:\\Users\\user\\file.txt");
|
|
71
|
-
* assertEquals(parsedWindows.root, "C:\\");
|
|
72
|
-
* assertEquals(parsedWindows.dir, "C:\\Users\\user");
|
|
73
|
-
* assertEquals(parsedWindows.base, "file.txt");
|
|
74
|
-
* assertEquals(parsedWindows.ext, ".txt");
|
|
75
|
-
* assertEquals(parsedWindows.name, "file");
|
|
76
|
-
*
|
|
77
|
-
* // Format path from components (Windows)
|
|
78
|
-
* assertEquals(
|
|
79
|
-
* path.format({ dir: "C:\\Users\\user", base: "file.txt" }),
|
|
80
|
-
* "C:\\Users\\user\\file.txt"
|
|
81
|
-
* );
|
|
82
|
-
* } else {
|
|
83
|
-
* const parsedPosix = path.parse("/home/user/file.txt");
|
|
84
|
-
* assertEquals(parsedPosix.root, "/");
|
|
85
|
-
* assertEquals(parsedPosix.dir, "/home/user");
|
|
86
|
-
* assertEquals(parsedPosix.base, "file.txt");
|
|
87
|
-
* assertEquals(parsedPosix.ext, ".txt");
|
|
88
|
-
* assertEquals(parsedPosix.name, "file");
|
|
89
|
-
*
|
|
90
|
-
* // Format path from components (POSIX)
|
|
91
|
-
* assertEquals(
|
|
92
|
-
* path.format({ dir: "/home/user", base: "file.txt" }),
|
|
93
|
-
* "/home/user/file.txt"
|
|
94
|
-
* );
|
|
95
|
-
* }
|
|
96
|
-
* ```
|
|
97
|
-
*
|
|
98
|
-
* ## URL Conversion
|
|
99
|
-
*
|
|
100
|
-
* ```ts
|
|
101
|
-
* import * as path from "@std/path";
|
|
102
|
-
* import { assertEquals } from "@std/assert";
|
|
103
|
-
*
|
|
104
|
-
* // Convert between file URLs and paths
|
|
105
|
-
* if (Deno.build.os === "windows") {
|
|
106
|
-
* assertEquals(path.fromFileUrl("file:///C:/Users/user/file.txt"), "C:\\Users\\user\\file.txt");
|
|
107
|
-
* assertEquals(path.toFileUrl("C:\\Users\\user\\file.txt").href, "file:///C:/Users/user/file.txt");
|
|
108
|
-
* } else {
|
|
109
|
-
* assertEquals(path.fromFileUrl("file:///home/user/file.txt"), "/home/user/file.txt");
|
|
110
|
-
* assertEquals(path.toFileUrl("/home/user/file.txt").href, "file:///home/user/file.txt");
|
|
111
|
-
* }
|
|
112
|
-
* ```
|
|
113
|
-
*
|
|
114
|
-
* ## Path Properties
|
|
115
|
-
*
|
|
116
|
-
* ```ts
|
|
117
|
-
* import * as path from "@std/path";
|
|
118
|
-
* import { assertEquals } from "@std/assert";
|
|
119
|
-
*
|
|
120
|
-
* // Check if path is absolute
|
|
121
|
-
* if (Deno.build.os === "windows") {
|
|
122
|
-
* assertEquals(path.isAbsolute("C:\\Users"), true);
|
|
123
|
-
* assertEquals(path.isAbsolute("\\\\Server\\share"), true);
|
|
124
|
-
* assertEquals(path.isAbsolute("C:relative\\path"), false);
|
|
125
|
-
* assertEquals(path.isAbsolute("..\\relative\\path"), false);
|
|
126
|
-
* } else {
|
|
127
|
-
* assertEquals(path.isAbsolute("/home/user"), true);
|
|
128
|
-
* assertEquals(path.isAbsolute("./relative/path"), false);
|
|
129
|
-
* assertEquals(path.isAbsolute("../relative/path"), false);
|
|
130
|
-
* }
|
|
131
|
-
*
|
|
132
|
-
* // Convert to namespaced path (Windows-specific)
|
|
133
|
-
* if (Deno.build.os === "windows") {
|
|
134
|
-
* assertEquals(path.toNamespacedPath("C:\\Users\\file.txt"), "\\\\?\\C:\\Users\\file.txt");
|
|
135
|
-
* assertEquals(path.toNamespacedPath("\\\\server\\share\\file.txt"), "\\\\?\\UNC\\server\\share\\file.txt");
|
|
136
|
-
* } else {
|
|
137
|
-
* // On POSIX, toNamespacedPath returns the path unchanged
|
|
138
|
-
* assertEquals(path.toNamespacedPath("/home/user/file.txt"), "/home/user/file.txt");
|
|
139
|
-
* }
|
|
140
|
-
* ```
|
|
141
|
-
*
|
|
142
|
-
* ## Glob Pattern Utilities
|
|
143
|
-
*
|
|
144
|
-
* ```ts
|
|
145
|
-
* import * as path from "@std/path";
|
|
146
|
-
* import { assertEquals } from "@std/assert";
|
|
147
|
-
*
|
|
148
|
-
* // Check if a string is a glob pattern
|
|
149
|
-
* assertEquals(path.isGlob("*.txt"), true);
|
|
150
|
-
*
|
|
151
|
-
* // Convert glob pattern to RegExp
|
|
152
|
-
* const pattern = path.globToRegExp("*.txt");
|
|
153
|
-
* assertEquals(pattern.test("file.txt"), true);
|
|
154
|
-
*
|
|
155
|
-
* // Join multiple glob patterns
|
|
156
|
-
* if (Deno.build.os === "windows") {
|
|
157
|
-
* assertEquals(path.joinGlobs(["src", "**\\*.ts"]), "src\\**\\*.ts");
|
|
158
|
-
* } else {
|
|
159
|
-
* assertEquals(path.joinGlobs(["src", "**\/*.ts"]), "src/**\/*.ts");
|
|
160
|
-
* }
|
|
161
|
-
*
|
|
162
|
-
* // Normalize a glob pattern
|
|
163
|
-
* if (Deno.build.os === "windows") {
|
|
164
|
-
* assertEquals(path.normalizeGlob("src\\..\\**\\*.ts"), "**\\*.ts");
|
|
165
|
-
* } else {
|
|
166
|
-
* assertEquals(path.normalizeGlob("src/../**\/*.ts"), "**\/*.ts");
|
|
167
|
-
* }
|
|
168
|
-
* ```
|
|
169
|
-
*
|
|
170
|
-
* For POSIX-specific functions:
|
|
171
|
-
*
|
|
172
|
-
* ```ts
|
|
173
|
-
* import { fromFileUrl } from "@std/path/posix/from-file-url";
|
|
174
|
-
* import { assertEquals } from "@std/assert";
|
|
175
|
-
*
|
|
176
|
-
* assertEquals(fromFileUrl("file:///home/foo"), "/home/foo");
|
|
177
|
-
* ```
|
|
178
|
-
*
|
|
179
|
-
* For Windows-specific functions:
|
|
180
|
-
*
|
|
181
|
-
* ```ts
|
|
182
|
-
* import { fromFileUrl } from "@std/path/windows/from-file-url";
|
|
183
|
-
* import { assertEquals } from "@std/assert";
|
|
184
|
-
*
|
|
185
|
-
* assertEquals(fromFileUrl("file:///home/foo"), "\\home\\foo");
|
|
186
|
-
* ```
|
|
187
|
-
*
|
|
188
|
-
* Functions for working with URLs can be found in
|
|
189
|
-
* {@link ./doc/posix/~ | @std/path/posix}.
|
|
190
|
-
*
|
|
191
|
-
* @module
|
|
192
|
-
*/
|
|
193
|
-
export * from "./basename.js";
|
|
194
|
-
export * from "./constants.js";
|
|
195
|
-
export * from "./dirname.js";
|
|
196
|
-
export * from "./extname.js";
|
|
197
|
-
export * from "./format.js";
|
|
198
|
-
export * from "./from_file_url.js";
|
|
199
|
-
export * from "./is_absolute.js";
|
|
200
|
-
export * from "./join.js";
|
|
201
|
-
export * from "./normalize.js";
|
|
202
|
-
export * from "./parse.js";
|
|
203
|
-
export * from "./relative.js";
|
|
204
|
-
export * from "./resolve.js";
|
|
205
|
-
export * from "./to_file_url.js";
|
|
206
|
-
export * from "./to_namespaced_path.js";
|
|
207
|
-
export * from "./common.js";
|
|
208
|
-
export * from "./types.js";
|
|
209
|
-
export * from "./glob_to_regexp.js";
|
|
210
|
-
export * from "./is_glob.js";
|
|
211
|
-
export * from "./join_globs.js";
|
|
212
|
-
export * from "./normalize_glob.js";
|
|
213
|
-
//# sourceMappingURL=mod.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/path/1.1.2/mod.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+LG;AACH,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC;AACxC,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC"}
|