ventojs 0.10.2 → 0.12.0
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 +35 -93
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/assert/assert.js +1 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/assert/assertion_error.js +1 -1
- package/esm/deps/deno.land/std@0.219.1/html/entities.d.ts +39 -0
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/html/entities.js +14 -15
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/html/mod.d.ts +1 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/html/mod.js +2 -2
- package/esm/deps/deno.land/std@0.219.1/path/_common/assert_path.d.ts +1 -0
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/_common/assert_path.js +1 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/_common/basename.js +1 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/_common/common.js +9 -9
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/_common/constants.js +1 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/_common/dirname.js +1 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/_common/format.js +1 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/_common/from_file_url.js +1 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/_common/glob_to_reg_exp.js +4 -2
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/_common/normalize.js +1 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/_common/normalize_string.js +1 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/_common/relative.js +1 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/_common/strip_trailing_separators.js +1 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/_common/to_file_url.js +1 -1
- package/esm/deps/deno.land/std@0.219.1/path/_interface.js +3 -0
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/_os.js +1 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/basename.js +1 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/common.js +3 -3
- package/esm/deps/deno.land/std@0.219.1/path/constants.d.ts +3 -0
- package/esm/deps/deno.land/std@0.219.1/path/constants.js +6 -0
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/dirname.js +1 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/extname.js +1 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/format.d.ts +1 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/format.js +1 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/from_file_url.js +1 -1
- package/{script/deps/deno.land/std@0.210.0 → esm/deps/deno.land/std@0.219.1}/path/glob_to_regexp.d.ts +2 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/glob_to_regexp.js +1 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/is_absolute.js +1 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/is_glob.js +1 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/join.js +1 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/join_globs.d.ts +1 -0
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/join_globs.js +1 -1
- package/esm/deps/deno.land/std@0.219.1/path/mod.d.ts +56 -0
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/mod.js +3 -8
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/normalize.js +1 -1
- package/{script/deps/deno.land/std@0.210.0 → esm/deps/deno.land/std@0.219.1}/path/normalize_glob.d.ts +1 -0
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/normalize_glob.js +1 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/parse.js +1 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/posix/_util.js +1 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/posix/basename.js +1 -1
- package/esm/deps/deno.land/{std@0.210.0/path/windows → std@0.219.1/path/posix}/common.js +3 -3
- package/esm/deps/deno.land/std@0.219.1/path/posix/constants.d.ts +3 -0
- package/esm/deps/deno.land/std@0.219.1/path/posix/constants.js +5 -0
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/posix/dirname.js +1 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/posix/extname.js +1 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/posix/format.js +1 -1
- package/{script/deps/deno.land/std@0.210.0 → esm/deps/deno.land/std@0.219.1}/path/posix/from_file_url.d.ts +1 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/posix/from_file_url.js +2 -2
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/posix/glob_to_regexp.d.ts +1 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/posix/glob_to_regexp.js +1 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/posix/is_absolute.js +1 -1
- package/esm/deps/deno.land/{std@0.210.0/path/windows → std@0.219.1/path/posix}/is_glob.js +1 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/posix/join.js +1 -1
- package/esm/deps/deno.land/{std@0.210.0/path/windows → std@0.219.1/path/posix}/join_globs.d.ts +2 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/posix/join_globs.js +3 -3
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/posix/mod.d.ts +1 -3
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/posix/mod.js +2 -4
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/posix/normalize.js +1 -1
- package/{script/deps/deno.land/std@0.210.0 → esm/deps/deno.land/std@0.219.1}/path/posix/normalize_glob.d.ts +2 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/posix/normalize_glob.js +3 -3
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/posix/parse.d.ts +1 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/posix/parse.js +1 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/posix/relative.js +1 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/posix/resolve.js +1 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/posix/to_file_url.d.ts +1 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/posix/to_file_url.js +2 -2
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/posix/to_namespaced_path.js +1 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/relative.js +1 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/resolve.js +1 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/to_file_url.js +1 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/to_namespaced_path.js +1 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/windows/_util.js +1 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/windows/basename.js +1 -1
- package/esm/deps/deno.land/{std@0.210.0/path/posix → std@0.219.1/path/windows}/common.js +3 -3
- package/esm/deps/deno.land/std@0.219.1/path/windows/constants.d.ts +3 -0
- package/esm/deps/deno.land/std@0.219.1/path/windows/constants.js +5 -0
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/windows/dirname.js +1 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/windows/extname.js +1 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/windows/format.js +1 -1
- package/{script/deps/deno.land/std@0.210.0 → esm/deps/deno.land/std@0.219.1}/path/windows/from_file_url.d.ts +1 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/windows/from_file_url.js +2 -2
- package/{script/deps/deno.land/std@0.210.0/path/posix → esm/deps/deno.land/std@0.219.1/path/windows}/glob_to_regexp.d.ts +1 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/windows/glob_to_regexp.js +1 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/windows/is_absolute.js +1 -1
- package/esm/deps/deno.land/{std@0.210.0/path/posix → std@0.219.1/path/windows}/is_glob.js +1 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/windows/join.js +1 -1
- package/esm/deps/deno.land/{std@0.210.0/path/posix → std@0.219.1/path/windows}/join_globs.d.ts +2 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/windows/join_globs.js +3 -3
- package/{script/deps/deno.land/std@0.210.0/path/posix → esm/deps/deno.land/std@0.219.1/path/windows}/mod.d.ts +1 -3
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/windows/mod.js +2 -4
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/windows/normalize.js +1 -1
- package/{script/deps/deno.land/std@0.210.0 → esm/deps/deno.land/std@0.219.1}/path/windows/normalize_glob.d.ts +2 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/windows/normalize_glob.js +3 -3
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/windows/parse.d.ts +1 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/windows/parse.js +1 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/windows/relative.js +1 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/windows/resolve.js +1 -1
- package/{script/deps/deno.land/std@0.210.0 → esm/deps/deno.land/std@0.219.1}/path/windows/to_file_url.d.ts +1 -1
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/windows/to_file_url.js +2 -2
- package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/windows/to_namespaced_path.js +1 -1
- package/esm/deps/deno.land/x/astring@v1.8.6/src/astring.d.ts +109 -0
- package/esm/deps/deno.land/x/astring@v1.8.6/src/astring.js +1159 -0
- package/esm/deps.d.ts +6 -2
- package/esm/deps.js +5 -2
- package/esm/mod.d.ts +1 -0
- package/esm/mod.js +2 -0
- package/esm/plugins/auto_trim.d.ts +8 -0
- package/esm/plugins/auto_trim.js +36 -0
- package/esm/plugins/escape.js +2 -1
- package/esm/plugins/trim.d.ts +4 -0
- package/esm/plugins/trim.js +28 -0
- package/esm/plugins/unescape.js +2 -1
- package/esm/src/environment.d.ts +3 -0
- package/esm/src/environment.js +28 -7
- package/esm/src/tokenizer.js +6 -29
- package/esm/src/transformer.d.ts +1 -0
- package/esm/src/transformer.js +180 -0
- package/package.json +21 -8
- package/esm/deps/deno.land/std@0.210.0/html/entities.d.ts +0 -38
- package/esm/deps/deno.land/std@0.210.0/path/_common/assert_path.d.ts +0 -1
- package/esm/deps/deno.land/std@0.210.0/path/_interface.js +0 -3
- package/esm/deps/deno.land/std@0.210.0/path/common.d.ts +0 -13
- package/esm/deps/deno.land/std@0.210.0/path/glob_to_regexp.d.ts +0 -61
- package/esm/deps/deno.land/std@0.210.0/path/mod.d.ts +0 -28
- package/esm/deps/deno.land/std@0.210.0/path/normalize_glob.d.ts +0 -3
- package/esm/deps/deno.land/std@0.210.0/path/posix/from_file_url.d.ts +0 -12
- package/esm/deps/deno.land/std@0.210.0/path/posix/normalize_glob.d.ts +0 -3
- package/esm/deps/deno.land/std@0.210.0/path/posix/separator.d.ts +0 -2
- package/esm/deps/deno.land/std@0.210.0/path/posix/separator.js +0 -4
- package/esm/deps/deno.land/std@0.210.0/path/separator.d.ts +0 -2
- package/esm/deps/deno.land/std@0.210.0/path/separator.js +0 -5
- package/esm/deps/deno.land/std@0.210.0/path/windows/from_file_url.d.ts +0 -14
- package/esm/deps/deno.land/std@0.210.0/path/windows/glob_to_regexp.d.ts +0 -57
- package/esm/deps/deno.land/std@0.210.0/path/windows/mod.d.ts +0 -40
- package/esm/deps/deno.land/std@0.210.0/path/windows/normalize_glob.d.ts +0 -3
- package/esm/deps/deno.land/std@0.210.0/path/windows/separator.d.ts +0 -2
- package/esm/deps/deno.land/std@0.210.0/path/windows/separator.js +0 -4
- package/esm/deps/deno.land/std@0.210.0/path/windows/to_file_url.d.ts +0 -14
- package/script/_dnt.shims.d.ts +0 -5
- package/script/_dnt.shims.js +0 -65
- package/script/deps/deno.land/std@0.210.0/assert/assert.d.ts +0 -12
- package/script/deps/deno.land/std@0.210.0/assert/assert.js +0 -22
- package/script/deps/deno.land/std@0.210.0/assert/assertion_error.d.ts +0 -14
- package/script/deps/deno.land/std@0.210.0/assert/assertion_error.js +0 -22
- package/script/deps/deno.land/std@0.210.0/html/entities.d.ts +0 -38
- package/script/deps/deno.land/std@0.210.0/html/entities.js +0 -81
- package/script/deps/deno.land/std@0.210.0/html/mod.d.ts +0 -6
- package/script/deps/deno.land/std@0.210.0/html/mod.js +0 -24
- package/script/deps/deno.land/std@0.210.0/path/_common/assert_path.d.ts +0 -1
- package/script/deps/deno.land/std@0.210.0/path/_common/assert_path.js +0 -11
- package/script/deps/deno.land/std@0.210.0/path/_common/basename.d.ts +0 -3
- package/script/deps/deno.land/std@0.210.0/path/_common/basename.js +0 -46
- package/script/deps/deno.land/std@0.210.0/path/_common/common.d.ts +0 -1
- package/script/deps/deno.land/std@0.210.0/path/_common/common.js +0 -27
- package/script/deps/deno.land/std@0.210.0/path/_common/constants.d.ts +0 -39
- package/script/deps/deno.land/std@0.210.0/path/_common/constants.js +0 -49
- package/script/deps/deno.land/std@0.210.0/path/_common/dirname.d.ts +0 -1
- package/script/deps/deno.land/std@0.210.0/path/_common/dirname.js +0 -12
- package/script/deps/deno.land/std@0.210.0/path/_common/format.d.ts +0 -3
- package/script/deps/deno.land/std@0.210.0/path/_common/format.js +0 -24
- package/script/deps/deno.land/std@0.210.0/path/_common/from_file_url.d.ts +0 -2
- package/script/deps/deno.land/std@0.210.0/path/_common/from_file_url.js +0 -13
- package/script/deps/deno.land/std@0.210.0/path/_common/glob_to_reg_exp.d.ts +0 -28
- package/script/deps/deno.land/std@0.210.0/path/_common/glob_to_reg_exp.js +0 -239
- package/script/deps/deno.land/std@0.210.0/path/_common/normalize.d.ts +0 -1
- package/script/deps/deno.land/std@0.210.0/path/_common/normalize.js +0 -12
- package/script/deps/deno.land/std@0.210.0/path/_common/normalize_string.d.ts +0 -1
- package/script/deps/deno.land/std@0.210.0/path/_common/normalize_string.js +0 -81
- package/script/deps/deno.land/std@0.210.0/path/_common/relative.d.ts +0 -1
- package/script/deps/deno.land/std@0.210.0/path/_common/relative.js +0 -13
- package/script/deps/deno.land/std@0.210.0/path/_common/strip_trailing_separators.d.ts +0 -1
- package/script/deps/deno.land/std@0.210.0/path/_common/strip_trailing_separators.js +0 -23
- package/script/deps/deno.land/std@0.210.0/path/_common/to_file_url.d.ts +0 -1
- package/script/deps/deno.land/std@0.210.0/path/_common/to_file_url.js +0 -19
- package/script/deps/deno.land/std@0.210.0/path/_interface.d.ts +0 -26
- package/script/deps/deno.land/std@0.210.0/path/_interface.js +0 -4
- package/script/deps/deno.land/std@0.210.0/path/_os.d.ts +0 -3
- package/script/deps/deno.land/std@0.210.0/path/_os.js +0 -44
- package/script/deps/deno.land/std@0.210.0/path/basename.d.ts +0 -8
- package/script/deps/deno.land/std@0.210.0/path/basename.js +0 -21
- package/script/deps/deno.land/std@0.210.0/path/common.d.ts +0 -13
- package/script/deps/deno.land/std@0.210.0/path/common.js +0 -23
- package/script/deps/deno.land/std@0.210.0/path/dirname.d.ts +0 -5
- package/script/deps/deno.land/std@0.210.0/path/dirname.js +0 -16
- package/script/deps/deno.land/std@0.210.0/path/extname.d.ts +0 -6
- package/script/deps/deno.land/std@0.210.0/path/extname.js +0 -17
- package/script/deps/deno.land/std@0.210.0/path/format.d.ts +0 -6
- package/script/deps/deno.land/std@0.210.0/path/format.js +0 -16
- package/script/deps/deno.land/std@0.210.0/path/from_file_url.d.ts +0 -18
- package/script/deps/deno.land/std@0.210.0/path/from_file_url.js +0 -28
- package/script/deps/deno.land/std@0.210.0/path/glob_to_regexp.js +0 -69
- package/script/deps/deno.land/std@0.210.0/path/is_absolute.d.ts +0 -5
- package/script/deps/deno.land/std@0.210.0/path/is_absolute.js +0 -16
- package/script/deps/deno.land/std@0.210.0/path/is_glob.d.ts +0 -2
- package/script/deps/deno.land/std@0.210.0/path/is_glob.js +0 -32
- package/script/deps/deno.land/std@0.210.0/path/join.d.ts +0 -5
- package/script/deps/deno.land/std@0.210.0/path/join.js +0 -16
- package/script/deps/deno.land/std@0.210.0/path/join_globs.d.ts +0 -3
- package/script/deps/deno.land/std@0.210.0/path/join_globs.js +0 -15
- package/script/deps/deno.land/std@0.210.0/path/mod.d.ts +0 -28
- package/script/deps/deno.land/std@0.210.0/path/mod.js +0 -94
- package/script/deps/deno.land/std@0.210.0/path/normalize.d.ts +0 -7
- package/script/deps/deno.land/std@0.210.0/path/normalize.js +0 -18
- package/script/deps/deno.land/std@0.210.0/path/normalize_glob.js +0 -15
- package/script/deps/deno.land/std@0.210.0/path/parse.d.ts +0 -6
- package/script/deps/deno.land/std@0.210.0/path/parse.js +0 -16
- package/script/deps/deno.land/std@0.210.0/path/posix/_util.d.ts +0 -1
- package/script/deps/deno.land/std@0.210.0/path/posix/_util.js +0 -12
- package/script/deps/deno.land/std@0.210.0/path/posix/basename.d.ts +0 -8
- package/script/deps/deno.land/std@0.210.0/path/posix/basename.js +0 -22
- package/script/deps/deno.land/std@0.210.0/path/posix/common.js +0 -23
- package/script/deps/deno.land/std@0.210.0/path/posix/dirname.d.ts +0 -5
- package/script/deps/deno.land/std@0.210.0/path/posix/dirname.js +0 -40
- package/script/deps/deno.land/std@0.210.0/path/posix/extname.d.ts +0 -6
- package/script/deps/deno.land/std@0.210.0/path/posix/extname.js +0 -63
- package/script/deps/deno.land/std@0.210.0/path/posix/format.d.ts +0 -6
- package/script/deps/deno.land/std@0.210.0/path/posix/format.js +0 -15
- package/script/deps/deno.land/std@0.210.0/path/posix/from_file_url.js +0 -21
- package/script/deps/deno.land/std@0.210.0/path/posix/glob_to_regexp.js +0 -73
- package/script/deps/deno.land/std@0.210.0/path/posix/is_absolute.d.ts +0 -5
- package/script/deps/deno.land/std@0.210.0/path/posix/is_absolute.js +0 -16
- package/script/deps/deno.land/std@0.210.0/path/posix/is_glob.d.ts +0 -1
- package/script/deps/deno.land/std@0.210.0/path/posix/is_glob.js +0 -7
- package/script/deps/deno.land/std@0.210.0/path/posix/join.d.ts +0 -5
- package/script/deps/deno.land/std@0.210.0/path/posix/join.js +0 -30
- package/script/deps/deno.land/std@0.210.0/path/posix/join_globs.d.ts +0 -3
- package/script/deps/deno.land/std@0.210.0/path/posix/join_globs.js +0 -30
- package/script/deps/deno.land/std@0.210.0/path/posix/mod.js +0 -61
- package/script/deps/deno.land/std@0.210.0/path/posix/normalize.d.ts +0 -7
- package/script/deps/deno.land/std@0.210.0/path/posix/normalize.js +0 -29
- package/script/deps/deno.land/std@0.210.0/path/posix/normalize_glob.js +0 -20
- package/script/deps/deno.land/std@0.210.0/path/posix/parse.d.ts +0 -6
- package/script/deps/deno.land/std@0.210.0/path/posix/parse.js +0 -102
- package/script/deps/deno.land/std@0.210.0/path/posix/relative.d.ts +0 -7
- package/script/deps/deno.land/std@0.210.0/path/posix/relative.js +0 -98
- package/script/deps/deno.land/std@0.210.0/path/posix/resolve.d.ts +0 -5
- package/script/deps/deno.land/std@0.210.0/path/posix/resolve.js +0 -75
- package/script/deps/deno.land/std@0.210.0/path/posix/separator.d.ts +0 -2
- package/script/deps/deno.land/std@0.210.0/path/posix/separator.js +0 -7
- package/script/deps/deno.land/std@0.210.0/path/posix/to_file_url.d.ts +0 -12
- package/script/deps/deno.land/std@0.210.0/path/posix/to_file_url.js +0 -26
- package/script/deps/deno.land/std@0.210.0/path/posix/to_namespaced_path.d.ts +0 -5
- package/script/deps/deno.land/std@0.210.0/path/posix/to_namespaced_path.js +0 -14
- package/script/deps/deno.land/std@0.210.0/path/relative.d.ts +0 -12
- package/script/deps/deno.land/std@0.210.0/path/relative.js +0 -23
- package/script/deps/deno.land/std@0.210.0/path/resolve.d.ts +0 -5
- package/script/deps/deno.land/std@0.210.0/path/resolve.js +0 -18
- package/script/deps/deno.land/std@0.210.0/path/separator.d.ts +0 -2
- package/script/deps/deno.land/std@0.210.0/path/separator.js +0 -8
- package/script/deps/deno.land/std@0.210.0/path/to_file_url.d.ts +0 -18
- package/script/deps/deno.land/std@0.210.0/path/to_file_url.js +0 -28
- package/script/deps/deno.land/std@0.210.0/path/to_namespaced_path.d.ts +0 -5
- package/script/deps/deno.land/std@0.210.0/path/to_namespaced_path.js +0 -18
- package/script/deps/deno.land/std@0.210.0/path/windows/_util.d.ts +0 -3
- package/script/deps/deno.land/std@0.210.0/path/windows/_util.js +0 -21
- package/script/deps/deno.land/std@0.210.0/path/windows/basename.d.ts +0 -8
- package/script/deps/deno.land/std@0.210.0/path/windows/basename.js +0 -34
- package/script/deps/deno.land/std@0.210.0/path/windows/common.d.ts +0 -13
- package/script/deps/deno.land/std@0.210.0/path/windows/common.js +0 -23
- package/script/deps/deno.land/std@0.210.0/path/windows/dirname.d.ts +0 -5
- package/script/deps/deno.land/std@0.210.0/path/windows/dirname.js +0 -102
- package/script/deps/deno.land/std@0.210.0/path/windows/extname.d.ts +0 -6
- package/script/deps/deno.land/std@0.210.0/path/windows/extname.js +0 -72
- package/script/deps/deno.land/std@0.210.0/path/windows/format.d.ts +0 -6
- package/script/deps/deno.land/std@0.210.0/path/windows/format.js +0 -15
- package/script/deps/deno.land/std@0.210.0/path/windows/from_file_url.js +0 -30
- package/script/deps/deno.land/std@0.210.0/path/windows/glob_to_regexp.d.ts +0 -57
- package/script/deps/deno.land/std@0.210.0/path/windows/glob_to_regexp.js +0 -73
- package/script/deps/deno.land/std@0.210.0/path/windows/is_absolute.d.ts +0 -5
- package/script/deps/deno.land/std@0.210.0/path/windows/is_absolute.js +0 -31
- package/script/deps/deno.land/std@0.210.0/path/windows/is_glob.d.ts +0 -1
- package/script/deps/deno.land/std@0.210.0/path/windows/is_glob.js +0 -7
- package/script/deps/deno.land/std@0.210.0/path/windows/join.d.ts +0 -5
- package/script/deps/deno.land/std@0.210.0/path/windows/join.js +0 -76
- package/script/deps/deno.land/std@0.210.0/path/windows/join_globs.d.ts +0 -3
- package/script/deps/deno.land/std@0.210.0/path/windows/join_globs.js +0 -30
- package/script/deps/deno.land/std@0.210.0/path/windows/mod.d.ts +0 -40
- package/script/deps/deno.land/std@0.210.0/path/windows/mod.js +0 -61
- package/script/deps/deno.land/std@0.210.0/path/windows/normalize.d.ts +0 -7
- package/script/deps/deno.land/std@0.210.0/path/windows/normalize.js +0 -134
- package/script/deps/deno.land/std@0.210.0/path/windows/normalize_glob.js +0 -20
- package/script/deps/deno.land/std@0.210.0/path/windows/parse.d.ts +0 -6
- package/script/deps/deno.land/std@0.210.0/path/windows/parse.js +0 -163
- package/script/deps/deno.land/std@0.210.0/path/windows/relative.d.ts +0 -12
- package/script/deps/deno.land/std@0.210.0/path/windows/relative.js +0 -125
- package/script/deps/deno.land/std@0.210.0/path/windows/resolve.d.ts +0 -5
- package/script/deps/deno.land/std@0.210.0/path/windows/resolve.js +0 -170
- package/script/deps/deno.land/std@0.210.0/path/windows/separator.d.ts +0 -2
- package/script/deps/deno.land/std@0.210.0/path/windows/separator.js +0 -7
- package/script/deps/deno.land/std@0.210.0/path/windows/to_file_url.js +0 -35
- package/script/deps/deno.land/std@0.210.0/path/windows/to_namespaced_path.d.ts +0 -5
- package/script/deps/deno.land/std@0.210.0/path/windows/to_namespaced_path.js +0 -42
- package/script/deps.d.ts +0 -2
- package/script/deps.js +0 -28
- package/script/mod.d.ts +0 -9
- package/script/mod.js +0 -69
- package/script/package.json +0 -3
- package/script/plugins/echo.d.ts +0 -2
- package/script/plugins/echo.js +0 -16
- package/script/plugins/escape.d.ts +0 -2
- package/script/plugins/escape.js +0 -9
- package/script/plugins/export.d.ts +0 -2
- package/script/plugins/export.js +0 -50
- package/script/plugins/for.d.ts +0 -2
- package/script/plugins/for.js +0 -77
- package/script/plugins/function.d.ts +0 -2
- package/script/plugins/function.js +0 -40
- package/script/plugins/if.d.ts +0 -2
- package/script/plugins/if.js +0 -35
- package/script/plugins/import.d.ts +0 -2
- package/script/plugins/import.js +0 -20
- package/script/plugins/include.d.ts +0 -2
- package/script/plugins/include.js +0 -26
- package/script/plugins/js.d.ts +0 -2
- package/script/plugins/js.js +0 -14
- package/script/plugins/layout.d.ts +0 -2
- package/script/plugins/layout.js +0 -37
- package/script/plugins/set.d.ts +0 -2
- package/script/plugins/set.js +0 -48
- package/script/plugins/unescape.d.ts +0 -2
- package/script/plugins/unescape.js +0 -9
- package/script/src/environment.d.ts +0 -51
- package/script/src/environment.js +0 -208
- package/script/src/loader.d.ts +0 -14
- package/script/src/loader.js +0 -46
- package/script/src/tokenizer.d.ts +0 -13
- package/script/src/tokenizer.js +0 -249
- /package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/assert/assert.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/assert/assertion_error.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/_common/basename.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/_common/common.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/_common/constants.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/_common/dirname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/_common/format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/_common/from_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/_common/glob_to_reg_exp.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/_common/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/_common/normalize_string.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/_common/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/_common/strip_trailing_separators.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/_common/to_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/_interface.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/_os.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/basename.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.210.0/path/posix → std@0.219.1/path}/common.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/dirname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/extname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/from_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/is_absolute.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/is_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/join.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/parse.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/posix/_util.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/posix/basename.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.210.0/path/windows → std@0.219.1/path/posix}/common.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/posix/dirname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/posix/extname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/posix/format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/posix/is_absolute.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/posix/is_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/posix/join.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/posix/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/posix/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/posix/resolve.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/posix/to_namespaced_path.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/resolve.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/to_file_url.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/to_namespaced_path.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/windows/_util.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/windows/basename.d.ts +0 -0
- /package/{script/deps/deno.land/std@0.210.0/path/posix → esm/deps/deno.land/std@0.219.1/path/windows}/common.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/windows/dirname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/windows/extname.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/windows/format.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/windows/is_absolute.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/windows/is_glob.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/windows/join.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/windows/normalize.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/windows/relative.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/windows/resolve.d.ts +0 -0
- /package/esm/deps/deno.land/{std@0.210.0 → std@0.219.1}/path/windows/to_namespaced_path.d.ts +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// Copyright the Browserify authors. MIT License.
|
|
3
3
|
// Ported mostly from https://github.com/browserify/path-browserify/
|
|
4
4
|
// This module is browser compatible.
|
|
@@ -32,18 +32,14 @@
|
|
|
32
32
|
*
|
|
33
33
|
* @module
|
|
34
34
|
*/
|
|
35
|
-
import { isWindows } from "./_os.js";
|
|
36
35
|
import * as _windows from "./windows/mod.js";
|
|
37
36
|
import * as _posix from "./posix/mod.js";
|
|
38
37
|
/** @deprecated (will be removed after 1.0.0) Import from {@link https://deno.land/std/path/windows/mod.ts} instead. */
|
|
39
38
|
export const win32 = _windows;
|
|
40
|
-
/** @deprecated (will be removed after 1.0.0) Import from {@link https://deno.land/std/posix/mod.ts} instead. */
|
|
39
|
+
/** @deprecated (will be removed after 1.0.0) Import from {@link https://deno.land/std/path/posix/mod.ts} instead. */
|
|
41
40
|
export const posix = _posix;
|
|
42
|
-
export const sep = isWindows ? _windows.sep : _posix.sep;
|
|
43
|
-
export const delimiter = isWindows
|
|
44
|
-
? _windows.delimiter
|
|
45
|
-
: _posix.delimiter;
|
|
46
41
|
export * from "./basename.js";
|
|
42
|
+
export * from "./constants.js";
|
|
47
43
|
export * from "./dirname.js";
|
|
48
44
|
export * from "./extname.js";
|
|
49
45
|
export * from "./format.js";
|
|
@@ -57,7 +53,6 @@ export * from "./resolve.js";
|
|
|
57
53
|
export * from "./to_file_url.js";
|
|
58
54
|
export * from "./to_namespaced_path.js";
|
|
59
55
|
export * from "./common.js";
|
|
60
|
-
export * from "./separator.js";
|
|
61
56
|
export * from "./_interface.js";
|
|
62
57
|
export * from "./glob_to_regexp.js";
|
|
63
58
|
export * from "./is_glob.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
3
|
import { isWindows } from "./_os.js";
|
|
4
4
|
import { normalize as posixNormalize } from "./posix/normalize.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
3
|
import { isWindows } from "./_os.js";
|
|
4
4
|
import { normalizeGlob as posixNormalizeGlob } from "./posix/normalize_glob.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
3
|
import { isWindows } from "./_os.js";
|
|
4
4
|
import { parse as posixParse } from "./posix/parse.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// Copyright the Browserify authors. MIT License.
|
|
3
3
|
// Ported from https://github.com/browserify/path-browserify/
|
|
4
4
|
// This module is browser compatible.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
3
|
import { assertArgs, lastPathSegment, stripSuffix, } from "../_common/basename.js";
|
|
4
4
|
import { stripTrailingSeparators } from "../_common/strip_trailing_separators.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
3
|
import { _common } from "../_common/common.js";
|
|
4
|
-
import {
|
|
4
|
+
import { SEPARATOR } from "./constants.js";
|
|
5
5
|
/** Determines the common path from a set of paths, using an optional separator,
|
|
6
6
|
* which defaults to the OS default separator.
|
|
7
7
|
*
|
|
@@ -14,6 +14,6 @@ import { SEP } from "./separator.js";
|
|
|
14
14
|
* console.log(p); // "./deno/std/"
|
|
15
15
|
* ```
|
|
16
16
|
*/
|
|
17
|
-
export function common(paths, sep =
|
|
17
|
+
export function common(paths, sep = SEPARATOR) {
|
|
18
18
|
return _common(paths, sep);
|
|
19
19
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
3
|
import { assertArg } from "../_common/dirname.js";
|
|
4
4
|
import { stripTrailingSeparators } from "../_common/strip_trailing_separators.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
3
|
import { CHAR_DOT } from "../_common/constants.js";
|
|
4
4
|
import { assertPath } from "../_common/assert_path.js";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Converts a file URL to a path string.
|
|
4
4
|
*
|
|
5
5
|
* ```ts
|
|
6
|
-
* import { fromFileUrl } from "https://deno.land/std@$STD_VERSION/path/posix.ts";
|
|
6
|
+
* import { fromFileUrl } from "https://deno.land/std@$STD_VERSION/path/posix/from_file_url.ts";
|
|
7
7
|
*
|
|
8
8
|
* fromFileUrl("file:///home/foo"); // "/home/foo"
|
|
9
9
|
* ```
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
3
|
import { assertArg } from "../_common/from_file_url.js";
|
|
4
4
|
/**
|
|
5
5
|
* Converts a file URL to a path string.
|
|
6
6
|
*
|
|
7
7
|
* ```ts
|
|
8
|
-
* import { fromFileUrl } from "https://deno.land/std@$STD_VERSION/path/posix.ts";
|
|
8
|
+
* import { fromFileUrl } from "https://deno.land/std@$STD_VERSION/path/posix/from_file_url.ts";
|
|
9
9
|
*
|
|
10
10
|
* fromFileUrl("file:///home/foo"); // "/home/foo"
|
|
11
11
|
* ```
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
3
|
import { _globToRegExp, } from "../_common/glob_to_reg_exp.js";
|
|
4
4
|
const constants = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
3
|
import { assertPath } from "../_common/assert_path.js";
|
|
4
4
|
import { isPosixPathSeparator } from "./_util.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
3
|
import { assertPath } from "../_common/assert_path.js";
|
|
4
4
|
import { normalize } from "./normalize.js";
|
package/esm/deps/deno.land/{std@0.210.0/path/windows → std@0.219.1/path/posix}/join_globs.d.ts
RENAMED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import { GlobOptions } from "../_common/glob_to_reg_exp.js";
|
|
1
|
+
import type { GlobOptions } from "../_common/glob_to_reg_exp.js";
|
|
2
|
+
export type { GlobOptions };
|
|
2
3
|
/** Like join(), but doesn't collapse "**\/.." when `globstar` is true. */
|
|
3
4
|
export declare function joinGlobs(globs: string[], { extended, globstar }?: GlobOptions): string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
3
|
import { join } from "./join.js";
|
|
4
|
-
import {
|
|
4
|
+
import { SEPARATOR } from "./constants.js";
|
|
5
5
|
import { normalizeGlob } from "./normalize_glob.js";
|
|
6
6
|
/** Like join(), but doesn't collapse "**\/.." when `globstar` is true. */
|
|
7
7
|
export function joinGlobs(globs, { extended = true, globstar = false } = {}) {
|
|
@@ -17,7 +17,7 @@ export function joinGlobs(globs, { extended = true, globstar = false } = {}) {
|
|
|
17
17
|
if (!joined)
|
|
18
18
|
joined = path;
|
|
19
19
|
else
|
|
20
|
-
joined += `${
|
|
20
|
+
joined += `${SEPARATOR}${path}`;
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
if (!joined)
|
|
@@ -16,9 +16,8 @@
|
|
|
16
16
|
*
|
|
17
17
|
* @module
|
|
18
18
|
*/
|
|
19
|
-
export declare const sep = "/";
|
|
20
|
-
export declare const delimiter = ":";
|
|
21
19
|
export * from "./basename.js";
|
|
20
|
+
export * from "./constants.js";
|
|
22
21
|
export * from "./dirname.js";
|
|
23
22
|
export * from "./extname.js";
|
|
24
23
|
export * from "./format.js";
|
|
@@ -32,7 +31,6 @@ export * from "./resolve.js";
|
|
|
32
31
|
export * from "./to_file_url.js";
|
|
33
32
|
export * from "./to_namespaced_path.js";
|
|
34
33
|
export * from "./common.js";
|
|
35
|
-
export * from "./separator.js";
|
|
36
34
|
export * from "../_interface.js";
|
|
37
35
|
export * from "./glob_to_regexp.js";
|
|
38
36
|
export * from "./is_glob.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// Copyright the Browserify authors. MIT License.
|
|
3
3
|
// Ported mostly from https://github.com/browserify/path-browserify/
|
|
4
4
|
// This module is browser compatible.
|
|
@@ -20,9 +20,8 @@
|
|
|
20
20
|
*
|
|
21
21
|
* @module
|
|
22
22
|
*/
|
|
23
|
-
export const sep = "/";
|
|
24
|
-
export const delimiter = ":";
|
|
25
23
|
export * from "./basename.js";
|
|
24
|
+
export * from "./constants.js";
|
|
26
25
|
export * from "./dirname.js";
|
|
27
26
|
export * from "./extname.js";
|
|
28
27
|
export * from "./format.js";
|
|
@@ -36,7 +35,6 @@ export * from "./resolve.js";
|
|
|
36
35
|
export * from "./to_file_url.js";
|
|
37
36
|
export * from "./to_namespaced_path.js";
|
|
38
37
|
export * from "./common.js";
|
|
39
|
-
export * from "./separator.js";
|
|
40
38
|
export * from "../_interface.js";
|
|
41
39
|
export * from "./glob_to_regexp.js";
|
|
42
40
|
export * from "./is_glob.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
3
|
import { assertArg } from "../_common/normalize.js";
|
|
4
4
|
import { normalizeString } from "../_common/normalize_string.js";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import { GlobOptions } from "../_common/glob_to_reg_exp.js";
|
|
1
|
+
import type { GlobOptions } from "../_common/glob_to_reg_exp.js";
|
|
2
|
+
export type { GlobOptions };
|
|
2
3
|
/** Like normalize(), but doesn't collapse "**\/.." when `globstar` is true. */
|
|
3
4
|
export declare function normalizeGlob(glob: string, { globstar }?: GlobOptions): string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
3
|
import { normalize } from "./normalize.js";
|
|
4
|
-
import {
|
|
4
|
+
import { SEPARATOR_PATTERN } from "./constants.js";
|
|
5
5
|
/** Like normalize(), but doesn't collapse "**\/.." when `globstar` is true. */
|
|
6
6
|
export function normalizeGlob(glob, { globstar = false } = {}) {
|
|
7
7
|
if (glob.match(/\0/g)) {
|
|
@@ -10,7 +10,7 @@ export function normalizeGlob(glob, { globstar = false } = {}) {
|
|
|
10
10
|
if (!globstar) {
|
|
11
11
|
return normalize(glob);
|
|
12
12
|
}
|
|
13
|
-
const s =
|
|
13
|
+
const s = SEPARATOR_PATTERN.source;
|
|
14
14
|
const badParentPattern = new RegExp(`(?<=(${s}|^)\\*\\*${s})\\.\\.(?=${s}|$)`, "g");
|
|
15
15
|
return normalize(glob.replace(badParentPattern, "\0")).replace(/\0/g, "..");
|
|
16
16
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
3
|
import { CHAR_DOT } from "../_common/constants.js";
|
|
4
4
|
import { stripTrailingSeparators } from "../_common/strip_trailing_separators.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
3
|
import { isPosixPathSeparator } from "./_util.js";
|
|
4
4
|
import { resolve } from "./resolve.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
3
|
import * as dntShim from "../../../../../_dnt.shims.js";
|
|
4
4
|
import { normalizeString } from "../_common/normalize_string.js";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Converts a path string to a file URL.
|
|
4
4
|
*
|
|
5
5
|
* ```ts
|
|
6
|
-
* import { toFileUrl } from "https://deno.land/std@$STD_VERSION/path/posix.ts";
|
|
6
|
+
* import { toFileUrl } from "https://deno.land/std@$STD_VERSION/path/posix/to_file_url.ts";
|
|
7
7
|
*
|
|
8
8
|
* toFileUrl("/home/foo"); // new URL("file:///home/foo")
|
|
9
9
|
* ```
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
3
|
import { encodeWhitespace } from "../_common/to_file_url.js";
|
|
4
4
|
import { isAbsolute } from "./is_absolute.js";
|
|
@@ -6,7 +6,7 @@ import { isAbsolute } from "./is_absolute.js";
|
|
|
6
6
|
* Converts a path string to a file URL.
|
|
7
7
|
*
|
|
8
8
|
* ```ts
|
|
9
|
-
* import { toFileUrl } from "https://deno.land/std@$STD_VERSION/path/posix.ts";
|
|
9
|
+
* import { toFileUrl } from "https://deno.land/std@$STD_VERSION/path/posix/to_file_url.ts";
|
|
10
10
|
*
|
|
11
11
|
* toFileUrl("/home/foo"); // new URL("file:///home/foo")
|
|
12
12
|
* ```
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
3
|
import { isWindows } from "./_os.js";
|
|
4
4
|
import { relative as posixRelative } from "./posix/relative.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
3
|
import { isWindows } from "./_os.js";
|
|
4
4
|
import { resolve as posixResolve } from "./posix/resolve.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
3
|
import { isWindows } from "./_os.js";
|
|
4
4
|
import { toFileUrl as posixToFileUrl } from "./posix/to_file_url.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
3
|
import { isWindows } from "./_os.js";
|
|
4
4
|
import { toNamespacedPath as posixToNamespacedPath } from "./posix/to_namespaced_path.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// Copyright the Browserify authors. MIT License.
|
|
3
3
|
// Ported from https://github.com/browserify/path-browserify/
|
|
4
4
|
// This module is browser compatible.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
3
|
import { assertArgs, lastPathSegment, stripSuffix, } from "../_common/basename.js";
|
|
4
4
|
import { CHAR_COLON } from "../_common/constants.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
3
|
import { _common } from "../_common/common.js";
|
|
4
|
-
import {
|
|
4
|
+
import { SEPARATOR } from "./constants.js";
|
|
5
5
|
/** Determines the common path from a set of paths, using an optional separator,
|
|
6
6
|
* which defaults to the OS default separator.
|
|
7
7
|
*
|
|
@@ -14,6 +14,6 @@ import { SEP } from "./separator.js";
|
|
|
14
14
|
* console.log(p); // "./deno/std/"
|
|
15
15
|
* ```
|
|
16
16
|
*/
|
|
17
|
-
export function common(paths, sep =
|
|
17
|
+
export function common(paths, sep = SEPARATOR) {
|
|
18
18
|
return _common(paths, sep);
|
|
19
19
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
3
|
import { assertArg } from "../_common/dirname.js";
|
|
4
4
|
import { CHAR_COLON } from "../_common/constants.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
3
|
import { CHAR_COLON, CHAR_DOT } from "../_common/constants.js";
|
|
4
4
|
import { assertPath } from "../_common/assert_path.js";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Converts a file URL to a path string.
|
|
4
4
|
*
|
|
5
5
|
* ```ts
|
|
6
|
-
* import { fromFileUrl } from "https://deno.land/std@$STD_VERSION/path/
|
|
6
|
+
* import { fromFileUrl } from "https://deno.land/std@$STD_VERSION/path/windows/from_file_url.ts";
|
|
7
7
|
*
|
|
8
8
|
* fromFileUrl("file:///home/foo"); // "\\home\\foo"
|
|
9
9
|
* fromFileUrl("file:///C:/Users/foo"); // "C:\\Users\\foo"
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
3
|
import { assertArg } from "../_common/from_file_url.js";
|
|
4
4
|
/**
|
|
5
5
|
* Converts a file URL to a path string.
|
|
6
6
|
*
|
|
7
7
|
* ```ts
|
|
8
|
-
* import { fromFileUrl } from "https://deno.land/std@$STD_VERSION/path/
|
|
8
|
+
* import { fromFileUrl } from "https://deno.land/std@$STD_VERSION/path/windows/from_file_url.ts";
|
|
9
9
|
*
|
|
10
10
|
* fromFileUrl("file:///home/foo"); // "\\home\\foo"
|
|
11
11
|
* fromFileUrl("file:///C:/Users/foo"); // "C:\\Users\\foo"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
3
|
import { _globToRegExp, } from "../_common/glob_to_reg_exp.js";
|
|
4
4
|
const constants = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
3
|
import { CHAR_COLON } from "../_common/constants.js";
|
|
4
4
|
import { assertPath } from "../_common/assert_path.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
3
|
import { assert } from "../../assert/assert.js";
|
|
4
4
|
import { assertPath } from "../_common/assert_path.js";
|
package/esm/deps/deno.land/{std@0.210.0/path/posix → std@0.219.1/path/windows}/join_globs.d.ts
RENAMED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import { GlobOptions } from "../_common/glob_to_reg_exp.js";
|
|
1
|
+
import type { GlobOptions } from "../_common/glob_to_reg_exp.js";
|
|
2
|
+
export type { GlobOptions };
|
|
2
3
|
/** Like join(), but doesn't collapse "**\/.." when `globstar` is true. */
|
|
3
4
|
export declare function joinGlobs(globs: string[], { extended, globstar }?: GlobOptions): string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
3
|
import { join } from "./join.js";
|
|
4
|
-
import {
|
|
4
|
+
import { SEPARATOR } from "./constants.js";
|
|
5
5
|
import { normalizeGlob } from "./normalize_glob.js";
|
|
6
6
|
/** Like join(), but doesn't collapse "**\/.." when `globstar` is true. */
|
|
7
7
|
export function joinGlobs(globs, { extended = true, globstar = false } = {}) {
|
|
@@ -17,7 +17,7 @@ export function joinGlobs(globs, { extended = true, globstar = false } = {}) {
|
|
|
17
17
|
if (!joined)
|
|
18
18
|
joined = path;
|
|
19
19
|
else
|
|
20
|
-
joined += `${
|
|
20
|
+
joined += `${SEPARATOR}${path}`;
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
if (!joined)
|
|
@@ -16,9 +16,8 @@
|
|
|
16
16
|
*
|
|
17
17
|
* @module
|
|
18
18
|
*/
|
|
19
|
-
export declare const sep = "/";
|
|
20
|
-
export declare const delimiter = ":";
|
|
21
19
|
export * from "./basename.js";
|
|
20
|
+
export * from "./constants.js";
|
|
22
21
|
export * from "./dirname.js";
|
|
23
22
|
export * from "./extname.js";
|
|
24
23
|
export * from "./format.js";
|
|
@@ -32,7 +31,6 @@ export * from "./resolve.js";
|
|
|
32
31
|
export * from "./to_file_url.js";
|
|
33
32
|
export * from "./to_namespaced_path.js";
|
|
34
33
|
export * from "./common.js";
|
|
35
|
-
export * from "./separator.js";
|
|
36
34
|
export * from "../_interface.js";
|
|
37
35
|
export * from "./glob_to_regexp.js";
|
|
38
36
|
export * from "./is_glob.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// Copyright the Browserify authors. MIT License.
|
|
3
3
|
// Ported mostly from https://github.com/browserify/path-browserify/
|
|
4
4
|
// This module is browser compatible.
|
|
@@ -20,9 +20,8 @@
|
|
|
20
20
|
*
|
|
21
21
|
* @module
|
|
22
22
|
*/
|
|
23
|
-
export const sep = "\\";
|
|
24
|
-
export const delimiter = ";";
|
|
25
23
|
export * from "./basename.js";
|
|
24
|
+
export * from "./constants.js";
|
|
26
25
|
export * from "./dirname.js";
|
|
27
26
|
export * from "./extname.js";
|
|
28
27
|
export * from "./format.js";
|
|
@@ -36,7 +35,6 @@ export * from "./resolve.js";
|
|
|
36
35
|
export * from "./to_file_url.js";
|
|
37
36
|
export * from "./to_namespaced_path.js";
|
|
38
37
|
export * from "./common.js";
|
|
39
|
-
export * from "./separator.js";
|
|
40
38
|
export * from "../_interface.js";
|
|
41
39
|
export * from "./glob_to_regexp.js";
|
|
42
40
|
export * from "./is_glob.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2018-
|
|
1
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
2
2
|
// This module is browser compatible.
|
|
3
3
|
import { assertArg } from "../_common/normalize.js";
|
|
4
4
|
import { CHAR_COLON } from "../_common/constants.js";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import { GlobOptions } from "../_common/glob_to_reg_exp.js";
|
|
1
|
+
import type { GlobOptions } from "../_common/glob_to_reg_exp.js";
|
|
2
|
+
export type { GlobOptions };
|
|
2
3
|
/** Like normalize(), but doesn't collapse "**\/.." when `globstar` is true. */
|
|
3
4
|
export declare function normalizeGlob(glob: string, { globstar }?: GlobOptions): string;
|