@skmtc/core 0.0.226 → 0.0.227
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/package.json +10 -5
- package/script/_dnt.polyfills.d.ts +12 -0
- package/script/_dnt.polyfills.d.ts.map +1 -0
- package/script/_dnt.polyfills.js +16 -0
- package/script/_dnt.shims.d.ts +6 -0
- package/script/_dnt.shims.d.ts.map +1 -0
- package/script/_dnt.shims.js +65 -0
- package/script/context/CoreContext.d.ts +81 -0
- package/script/context/CoreContext.d.ts.map +1 -0
- package/script/context/CoreContext.js +246 -0
- package/script/context/GenerateContext.d.ts +92 -0
- package/script/context/GenerateContext.d.ts.map +1 -0
- package/script/context/GenerateContext.js +177 -0
- package/script/context/LogStore.d.ts +25 -0
- package/script/context/LogStore.d.ts.map +1 -0
- package/script/context/LogStore.js +57 -0
- package/script/context/ParseContext.d.ts +15 -0
- package/script/context/ParseContext.d.ts.map +1 -0
- package/script/context/ParseContext.js +22 -0
- package/script/context/RenderContext.d.ts +50 -0
- package/script/context/RenderContext.d.ts.map +1 -0
- package/script/context/RenderContext.js +253 -0
- package/script/context/Trail.d.ts +26 -0
- package/script/context/Trail.d.ts.map +1 -0
- package/script/context/Trail.js +108 -0
- package/script/context/types.d.ts +19 -0
- package/script/context/types.d.ts.map +1 -0
- package/script/context/types.js +2 -0
- package/script/deps/jsr.io/@std/encoding/1.0.1/_validate_binary_like.d.ts +2 -0
- package/script/deps/jsr.io/@std/encoding/1.0.1/_validate_binary_like.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/encoding/1.0.1/_validate_binary_like.js +29 -0
- package/script/deps/jsr.io/@std/encoding/1.0.1/ascii85.d.ts +59 -0
- package/script/deps/jsr.io/@std/encoding/1.0.1/ascii85.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/encoding/1.0.1/ascii85.js +156 -0
- package/script/deps/jsr.io/@std/encoding/1.0.1/base32.d.ts +38 -0
- package/script/deps/jsr.io/@std/encoding/1.0.1/base32.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/encoding/1.0.1/base32.js +228 -0
- package/script/deps/jsr.io/@std/encoding/1.0.1/base58.d.ts +38 -0
- package/script/deps/jsr.io/@std/encoding/1.0.1/base58.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/encoding/1.0.1/base58.js +135 -0
- package/script/deps/jsr.io/@std/encoding/1.0.1/base64.d.ts +38 -0
- package/script/deps/jsr.io/@std/encoding/1.0.1/base64.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/encoding/1.0.1/base64.js +167 -0
- package/script/deps/jsr.io/@std/encoding/1.0.1/base64url.d.ts +38 -0
- package/script/deps/jsr.io/@std/encoding/1.0.1/base64url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/encoding/1.0.1/base64url.js +108 -0
- package/script/deps/jsr.io/@std/encoding/1.0.1/hex.d.ts +37 -0
- package/script/deps/jsr.io/@std/encoding/1.0.1/hex.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/encoding/1.0.1/hex.js +113 -0
- package/script/deps/jsr.io/@std/encoding/1.0.1/mod.d.ts +22 -0
- package/script/deps/jsr.io/@std/encoding/1.0.1/mod.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/encoding/1.0.1/mod.js +38 -0
- package/script/deps/jsr.io/@std/encoding/1.0.1/varint.d.ts +118 -0
- package/script/deps/jsr.io/@std/encoding/1.0.1/varint.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/encoding/1.0.1/varint.js +212 -0
- package/script/deps/jsr.io/@std/path/1.0.0/_common/assert_path.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/1.0.0/_common/assert_path.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/_common/assert_path.js +10 -0
- package/script/deps/jsr.io/@std/path/1.0.0/_common/basename.d.ts +4 -0
- package/script/deps/jsr.io/@std/path/1.0.0/_common/basename.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/_common/basename.js +45 -0
- package/script/deps/jsr.io/@std/path/1.0.0/_common/common.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/1.0.0/_common/common.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/_common/common.js +26 -0
- package/script/deps/jsr.io/@std/path/1.0.0/_common/constants.d.ts +40 -0
- package/script/deps/jsr.io/@std/path/1.0.0/_common/constants.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/_common/constants.js +49 -0
- package/script/deps/jsr.io/@std/path/1.0.0/_common/dirname.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/1.0.0/_common/dirname.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/_common/dirname.js +11 -0
- package/script/deps/jsr.io/@std/path/1.0.0/_common/format.d.ts +4 -0
- package/script/deps/jsr.io/@std/path/1.0.0/_common/format.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/_common/format.js +23 -0
- package/script/deps/jsr.io/@std/path/1.0.0/_common/from_file_url.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/1.0.0/_common/from_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/_common/from_file_url.js +12 -0
- package/script/deps/jsr.io/@std/path/1.0.0/_common/glob_to_reg_exp.d.ts +35 -0
- package/script/deps/jsr.io/@std/path/1.0.0/_common/glob_to_reg_exp.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/_common/glob_to_reg_exp.js +237 -0
- package/script/deps/jsr.io/@std/path/1.0.0/_common/normalize.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/1.0.0/_common/normalize.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/_common/normalize.js +11 -0
- package/script/deps/jsr.io/@std/path/1.0.0/_common/normalize_string.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/1.0.0/_common/normalize_string.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/_common/normalize_string.js +80 -0
- package/script/deps/jsr.io/@std/path/1.0.0/_common/relative.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/1.0.0/_common/relative.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/_common/relative.js +12 -0
- package/script/deps/jsr.io/@std/path/1.0.0/_common/strip_trailing_separators.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/1.0.0/_common/strip_trailing_separators.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/_common/strip_trailing_separators.js +22 -0
- package/script/deps/jsr.io/@std/path/1.0.0/_common/to_file_url.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/1.0.0/_common/to_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/_common/to_file_url.js +18 -0
- package/script/deps/jsr.io/@std/path/1.0.0/_os.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/1.0.0/_os.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/_os.js +40 -0
- package/script/deps/jsr.io/@std/path/1.0.0/basename.d.ts +25 -0
- package/script/deps/jsr.io/@std/path/1.0.0/basename.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/basename.js +36 -0
- package/script/deps/jsr.io/@std/path/1.0.0/common.d.ts +28 -0
- package/script/deps/jsr.io/@std/path/1.0.0/common.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/common.js +36 -0
- package/script/deps/jsr.io/@std/path/1.0.0/constants.d.ts +15 -0
- package/script/deps/jsr.io/@std/path/1.0.0/constants.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/constants.js +20 -0
- package/script/deps/jsr.io/@std/path/1.0.0/dirname.d.ts +20 -0
- package/script/deps/jsr.io/@std/path/1.0.0/dirname.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/dirname.js +29 -0
- package/script/deps/jsr.io/@std/path/1.0.0/extname.d.ts +20 -0
- package/script/deps/jsr.io/@std/path/1.0.0/extname.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/extname.js +29 -0
- package/script/deps/jsr.io/@std/path/1.0.0/format.d.ts +22 -0
- package/script/deps/jsr.io/@std/path/1.0.0/format.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/format.js +30 -0
- package/script/deps/jsr.io/@std/path/1.0.0/from_file_url.d.ts +22 -0
- package/script/deps/jsr.io/@std/path/1.0.0/from_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/from_file_url.js +31 -0
- package/script/deps/jsr.io/@std/path/1.0.0/glob_to_regexp.d.ts +77 -0
- package/script/deps/jsr.io/@std/path/1.0.0/glob_to_regexp.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/glob_to_regexp.js +86 -0
- package/script/deps/jsr.io/@std/path/1.0.0/is_absolute.d.ts +22 -0
- package/script/deps/jsr.io/@std/path/1.0.0/is_absolute.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/is_absolute.js +31 -0
- package/script/deps/jsr.io/@std/path/1.0.0/is_glob.d.ts +17 -0
- package/script/deps/jsr.io/@std/path/1.0.0/is_glob.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/is_glob.js +45 -0
- package/script/deps/jsr.io/@std/path/1.0.0/join.d.ts +20 -0
- package/script/deps/jsr.io/@std/path/1.0.0/join.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/join.js +29 -0
- package/script/deps/jsr.io/@std/path/1.0.0/join_globs.d.ts +28 -0
- package/script/deps/jsr.io/@std/path/1.0.0/join_globs.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/join_globs.js +37 -0
- package/script/deps/jsr.io/@std/path/1.0.0/mod.d.ts +51 -0
- package/script/deps/jsr.io/@std/path/1.0.0/mod.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/mod.js +70 -0
- package/script/deps/jsr.io/@std/path/1.0.0/normalize.d.ts +24 -0
- package/script/deps/jsr.io/@std/path/1.0.0/normalize.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/normalize.js +33 -0
- package/script/deps/jsr.io/@std/path/1.0.0/normalize_glob.d.ts +29 -0
- package/script/deps/jsr.io/@std/path/1.0.0/normalize_glob.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/normalize_glob.js +38 -0
- package/script/deps/jsr.io/@std/path/1.0.0/parse.d.ts +35 -0
- package/script/deps/jsr.io/@std/path/1.0.0/parse.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/parse.js +42 -0
- package/script/deps/jsr.io/@std/path/1.0.0/posix/_util.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/1.0.0/posix/_util.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/posix/_util.js +11 -0
- package/script/deps/jsr.io/@std/path/1.0.0/posix/basename.d.ts +20 -0
- package/script/deps/jsr.io/@std/path/1.0.0/posix/basename.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/posix/basename.js +32 -0
- package/script/deps/jsr.io/@std/path/1.0.0/posix/constants.d.ts +13 -0
- package/script/deps/jsr.io/@std/path/1.0.0/posix/constants.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/posix/constants.js +17 -0
- package/script/deps/jsr.io/@std/path/1.0.0/posix/dirname.d.ts +17 -0
- package/script/deps/jsr.io/@std/path/1.0.0/posix/dirname.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/posix/dirname.js +50 -0
- package/script/deps/jsr.io/@std/path/1.0.0/posix/extname.d.ts +18 -0
- package/script/deps/jsr.io/@std/path/1.0.0/posix/extname.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/posix/extname.js +73 -0
- package/script/deps/jsr.io/@std/path/1.0.0/posix/format.d.ts +24 -0
- package/script/deps/jsr.io/@std/path/1.0.0/posix/format.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/posix/format.js +31 -0
- package/script/deps/jsr.io/@std/path/1.0.0/posix/from_file_url.d.ts +16 -0
- package/script/deps/jsr.io/@std/path/1.0.0/posix/from_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/posix/from_file_url.js +24 -0
- package/script/deps/jsr.io/@std/path/1.0.0/posix/glob_to_regexp.d.ts +72 -0
- package/script/deps/jsr.io/@std/path/1.0.0/posix/glob_to_regexp.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/posix/glob_to_regexp.js +85 -0
- package/script/deps/jsr.io/@std/path/1.0.0/posix/is_absolute.d.ts +17 -0
- package/script/deps/jsr.io/@std/path/1.0.0/posix/is_absolute.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/posix/is_absolute.js +26 -0
- package/script/deps/jsr.io/@std/path/1.0.0/posix/join.d.ts +17 -0
- package/script/deps/jsr.io/@std/path/1.0.0/posix/join.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/posix/join.js +29 -0
- package/script/deps/jsr.io/@std/path/1.0.0/posix/join_globs.d.ts +20 -0
- package/script/deps/jsr.io/@std/path/1.0.0/posix/join_globs.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/posix/join_globs.js +42 -0
- package/script/deps/jsr.io/@std/path/1.0.0/posix/normalize.d.ts +19 -0
- package/script/deps/jsr.io/@std/path/1.0.0/posix/normalize.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/posix/normalize.js +39 -0
- package/script/deps/jsr.io/@std/path/1.0.0/posix/normalize_glob.d.ts +20 -0
- package/script/deps/jsr.io/@std/path/1.0.0/posix/normalize_glob.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/posix/normalize_glob.js +34 -0
- package/script/deps/jsr.io/@std/path/1.0.0/posix/parse.d.ts +25 -0
- package/script/deps/jsr.io/@std/path/1.0.0/posix/parse.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/posix/parse.js +118 -0
- package/script/deps/jsr.io/@std/path/1.0.0/posix/relative.d.ts +20 -0
- package/script/deps/jsr.io/@std/path/1.0.0/posix/relative.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/posix/relative.js +109 -0
- package/script/deps/jsr.io/@std/path/1.0.0/posix/resolve.d.ts +17 -0
- package/script/deps/jsr.io/@std/path/1.0.0/posix/resolve.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/posix/resolve.js +85 -0
- package/script/deps/jsr.io/@std/path/1.0.0/posix/to_file_url.d.ts +17 -0
- package/script/deps/jsr.io/@std/path/1.0.0/posix/to_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/posix/to_file_url.js +30 -0
- package/script/deps/jsr.io/@std/path/1.0.0/posix/to_namespaced_path.d.ts +16 -0
- package/script/deps/jsr.io/@std/path/1.0.0/posix/to_namespaced_path.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/posix/to_namespaced_path.js +23 -0
- package/script/deps/jsr.io/@std/path/1.0.0/relative.d.ts +24 -0
- package/script/deps/jsr.io/@std/path/1.0.0/relative.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/relative.js +33 -0
- package/script/deps/jsr.io/@std/path/1.0.0/resolve.d.ts +22 -0
- package/script/deps/jsr.io/@std/path/1.0.0/resolve.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/resolve.js +33 -0
- package/script/deps/jsr.io/@std/path/1.0.0/to_file_url.d.ts +22 -0
- package/script/deps/jsr.io/@std/path/1.0.0/to_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/to_file_url.js +31 -0
- package/script/deps/jsr.io/@std/path/1.0.0/to_namespaced_path.d.ts +21 -0
- package/script/deps/jsr.io/@std/path/1.0.0/to_namespaced_path.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/to_namespaced_path.js +32 -0
- package/script/deps/jsr.io/@std/path/1.0.0/types.d.ts +38 -0
- package/script/deps/jsr.io/@std/path/1.0.0/types.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/types.js +4 -0
- package/script/deps/jsr.io/@std/path/1.0.0/windows/_util.d.ts +4 -0
- package/script/deps/jsr.io/@std/path/1.0.0/windows/_util.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/windows/_util.js +20 -0
- package/script/deps/jsr.io/@std/path/1.0.0/windows/basename.d.ts +20 -0
- package/script/deps/jsr.io/@std/path/1.0.0/windows/basename.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/windows/basename.js +44 -0
- package/script/deps/jsr.io/@std/path/1.0.0/windows/constants.d.ts +13 -0
- package/script/deps/jsr.io/@std/path/1.0.0/windows/constants.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/windows/constants.js +17 -0
- package/script/deps/jsr.io/@std/path/1.0.0/windows/dirname.d.ts +17 -0
- package/script/deps/jsr.io/@std/path/1.0.0/windows/dirname.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/windows/dirname.js +112 -0
- package/script/deps/jsr.io/@std/path/1.0.0/windows/extname.d.ts +17 -0
- package/script/deps/jsr.io/@std/path/1.0.0/windows/extname.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/windows/extname.js +81 -0
- package/script/deps/jsr.io/@std/path/1.0.0/windows/format.d.ts +24 -0
- package/script/deps/jsr.io/@std/path/1.0.0/windows/format.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/windows/format.js +31 -0
- package/script/deps/jsr.io/@std/path/1.0.0/windows/from_file_url.d.ts +18 -0
- package/script/deps/jsr.io/@std/path/1.0.0/windows/from_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/windows/from_file_url.js +33 -0
- package/script/deps/jsr.io/@std/path/1.0.0/windows/glob_to_regexp.d.ts +71 -0
- package/script/deps/jsr.io/@std/path/1.0.0/windows/glob_to_regexp.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/windows/glob_to_regexp.js +85 -0
- package/script/deps/jsr.io/@std/path/1.0.0/windows/is_absolute.d.ts +17 -0
- package/script/deps/jsr.io/@std/path/1.0.0/windows/is_absolute.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/windows/is_absolute.js +41 -0
- package/script/deps/jsr.io/@std/path/1.0.0/windows/join.d.ts +17 -0
- package/script/deps/jsr.io/@std/path/1.0.0/windows/join.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/windows/join.js +74 -0
- package/script/deps/jsr.io/@std/path/1.0.0/windows/join_globs.d.ts +21 -0
- package/script/deps/jsr.io/@std/path/1.0.0/windows/join_globs.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/windows/join_globs.js +43 -0
- package/script/deps/jsr.io/@std/path/1.0.0/windows/normalize.d.ts +19 -0
- package/script/deps/jsr.io/@std/path/1.0.0/windows/normalize.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/windows/normalize.js +134 -0
- package/script/deps/jsr.io/@std/path/1.0.0/windows/normalize_glob.d.ts +20 -0
- package/script/deps/jsr.io/@std/path/1.0.0/windows/normalize_glob.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/windows/normalize_glob.js +34 -0
- package/script/deps/jsr.io/@std/path/1.0.0/windows/parse.d.ts +25 -0
- package/script/deps/jsr.io/@std/path/1.0.0/windows/parse.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/windows/parse.js +179 -0
- package/script/deps/jsr.io/@std/path/1.0.0/windows/relative.d.ts +23 -0
- package/script/deps/jsr.io/@std/path/1.0.0/windows/relative.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/windows/relative.js +134 -0
- package/script/deps/jsr.io/@std/path/1.0.0/windows/resolve.d.ts +17 -0
- package/script/deps/jsr.io/@std/path/1.0.0/windows/resolve.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/windows/resolve.js +180 -0
- package/script/deps/jsr.io/@std/path/1.0.0/windows/to_file_url.d.ts +17 -0
- package/script/deps/jsr.io/@std/path/1.0.0/windows/to_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/windows/to_file_url.js +37 -0
- package/script/deps/jsr.io/@std/path/1.0.0/windows/to_namespaced_path.d.ts +17 -0
- package/script/deps/jsr.io/@std/path/1.0.0/windows/to_namespaced_path.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.0/windows/to_namespaced_path.js +52 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_dumper/dumper.d.ts +6 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_dumper/dumper.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_dumper/dumper.js +710 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_dumper/dumper_state.d.ts +73 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_dumper/dumper_state.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_dumper/dumper_state.js +152 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_error.d.ts +7 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_error.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_error.js +23 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_loader/loader.d.ts +5 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_loader/loader.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_loader/loader.js +1324 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_loader/loader_state.d.ts +44 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_loader/loader_state.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_loader/loader_state.js +154 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_mark.d.ts +11 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_mark.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_mark.js +85 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_state.d.ts +6 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_state.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_state.js +19 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/binary.d.ts +3 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/binary.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/binary.js +110 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/bool.d.ts +3 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/bool.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/bool.js +35 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/float.d.ts +3 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/float.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/float.js +109 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/function.d.ts +3 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/function.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/function.js +41 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/int.d.ts +3 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/int.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/int.js +171 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/map.d.ts +3 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/map.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/map.js +14 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/merge.d.ts +3 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/merge.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/merge.js +15 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/mod.d.ts +17 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/mod.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/mod.js +39 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/nil.d.ts +3 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/nil.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/nil.js +40 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/omap.d.ts +3 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/omap.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/omap.js +43 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/pairs.d.ts +3 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/pairs.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/pairs.js +38 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/regexp.d.ts +3 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/regexp.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/regexp.js +40 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/seq.d.ts +3 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/seq.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/seq.js +14 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/set.d.ts +3 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/set.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/set.js +28 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/str.d.ts +3 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/str.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/str.js +13 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/timestamp.d.ts +3 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/timestamp.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/timestamp.js +81 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/undefined.d.ts +3 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/undefined.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_type/undefined.js +23 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_utils.d.ts +20 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_utils.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/_utils.js +74 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/mod.d.ts +49 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/mod.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/mod.js +67 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/parse.d.ts +36 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/parse.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/parse.js +22 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/schema/core.d.ts +3 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/schema/core.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/schema/core.js +15 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/schema/default.d.ts +3 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/schema/default.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/schema/default.js +18 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/schema/extended.d.ts +31 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/schema/extended.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/schema/extended.js +40 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/schema/failsafe.d.ts +3 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/schema/failsafe.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/schema/failsafe.js +15 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/schema/json.d.ts +3 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/schema/json.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/schema/json.js +17 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/schema/mod.d.ts +6 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/schema/mod.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/schema/mod.js +18 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/schema.d.ts +23 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/schema.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/schema.js +107 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/stringify.d.ts +9 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/stringify.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/stringify.js +17 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/type.d.ts +29 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/type.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/yaml/0.215.0/type.js +87 -0
- package/script/dsl/ContentSettings.d.ts +20 -0
- package/script/dsl/ContentSettings.d.ts.map +1 -0
- package/script/dsl/ContentSettings.js +44 -0
- package/script/dsl/Definition.d.ts +19 -0
- package/script/dsl/Definition.d.ts.map +1 -0
- package/script/dsl/Definition.js +41 -0
- package/script/dsl/GeneratedValueList.d.ts +9 -0
- package/script/dsl/GeneratedValueList.d.ts.map +1 -0
- package/script/dsl/GeneratedValueList.js +31 -0
- package/script/dsl/Identifier.d.ts +21 -0
- package/script/dsl/Identifier.d.ts.map +1 -0
- package/script/dsl/Identifier.js +56 -0
- package/script/dsl/Import.d.ts +22 -0
- package/script/dsl/Import.d.ts.map +1 -0
- package/script/dsl/Import.js +60 -0
- package/script/dsl/ModelCreator.d.ts +54 -0
- package/script/dsl/ModelCreator.d.ts.map +1 -0
- package/script/dsl/ModelCreator.js +2 -0
- package/script/dsl/ModelDriver.d.ts +31 -0
- package/script/dsl/ModelDriver.d.ts.map +1 -0
- package/script/dsl/ModelDriver.js +133 -0
- package/script/dsl/OperationCreator.d.ts +42 -0
- package/script/dsl/OperationCreator.d.ts.map +1 -0
- package/script/dsl/OperationCreator.js +2 -0
- package/script/dsl/OperationDriver.d.ts +31 -0
- package/script/dsl/OperationDriver.d.ts.map +1 -0
- package/script/dsl/OperationDriver.js +129 -0
- package/script/dsl/Stringable.d.ts +4 -0
- package/script/dsl/Stringable.d.ts.map +1 -0
- package/script/dsl/Stringable.js +2 -0
- package/script/dsl/ValueBase.d.ts +16 -0
- package/script/dsl/ValueBase.d.ts.map +1 -0
- package/script/dsl/ValueBase.js +49 -0
- package/script/dsl/base.d.ts +49 -0
- package/script/dsl/base.d.ts.map +1 -0
- package/script/dsl/base.js +76 -0
- package/script/dsl/constants.d.ts +2 -0
- package/script/dsl/constants.d.ts.map +1 -0
- package/script/dsl/constants.js +4 -0
- package/script/dsl/withConfig.d.ts +101 -0
- package/script/dsl/withConfig.d.ts.map +1 -0
- package/script/dsl/withConfig.js +131 -0
- package/script/generate/generate.d.ts +15 -0
- package/script/generate/generate.d.ts.map +1 -0
- package/script/generate/generate.js +75 -0
- package/script/generate/generateModels.d.ts +3 -0
- package/script/generate/generateModels.d.ts.map +1 -0
- package/script/generate/generateModels.js +56 -0
- package/script/generate/generateOperations.d.ts +3 -0
- package/script/generate/generateOperations.d.ts.map +1 -0
- package/script/generate/generateOperations.js +62 -0
- package/script/helpers/logStatus.d.ts +19 -0
- package/script/helpers/logStatus.d.ts.map +1 -0
- package/script/helpers/logStatus.js +21 -0
- package/script/helpers/naming.d.ts +9 -0
- package/script/helpers/naming.d.ts.map +1 -0
- package/script/helpers/naming.js +33 -0
- package/script/helpers/refFns.d.ts +9 -0
- package/script/helpers/refFns.d.ts.map +1 -0
- package/script/helpers/refFns.js +30 -0
- package/script/helpers/strings.d.ts +3 -0
- package/script/helpers/strings.d.ts.map +1 -0
- package/script/helpers/strings.js +11 -0
- package/script/helpers/verifyType.d.ts +4 -0
- package/script/helpers/verifyType.d.ts.map +1 -0
- package/script/helpers/verifyType.js +15 -0
- package/script/mod.d.ts +62 -0
- package/script/mod.d.ts.map +1 -0
- package/script/mod.js +77 -0
- package/script/oas/array/Array.d.ts +34 -0
- package/script/oas/array/Array.d.ts.map +1 -0
- package/script/oas/array/Array.js +53 -0
- package/script/oas/array/array-types.d.ts +13 -0
- package/script/oas/array/array-types.d.ts.map +1 -0
- package/script/oas/array/array-types.js +20 -0
- package/script/oas/array/toArray.d.ts +12 -0
- package/script/oas/array/toArray.d.ts.map +1 -0
- package/script/oas/array/toArray.js +24 -0
- package/script/oas/boolean/Boolean.d.ts +29 -0
- package/script/oas/boolean/Boolean.d.ts.map +1 -0
- package/script/oas/boolean/Boolean.js +47 -0
- package/script/oas/boolean/boolean-types.d.ts +10 -0
- package/script/oas/boolean/boolean-types.d.ts.map +1 -0
- package/script/oas/boolean/boolean-types.js +11 -0
- package/script/oas/boolean/toBoolean.d.ts +12 -0
- package/script/oas/boolean/toBoolean.d.ts.map +1 -0
- package/script/oas/boolean/toBoolean.js +14 -0
- package/script/oas/components/Components.d.ts +50 -0
- package/script/oas/components/Components.d.ts.map +1 -0
- package/script/oas/components/Components.js +53 -0
- package/script/oas/components/toComponentsV3.d.ts +12 -0
- package/script/oas/components/toComponentsV3.d.ts.map +1 -0
- package/script/oas/components/toComponentsV3.js +48 -0
- package/script/oas/contact/contact-types.d.ts +9 -0
- package/script/oas/contact/contact-types.d.ts.map +1 -0
- package/script/oas/contact/contact-types.js +10 -0
- package/script/oas/discriminator/Discriminator.d.ts +20 -0
- package/script/oas/discriminator/Discriminator.d.ts.map +1 -0
- package/script/oas/discriminator/Discriminator.js +26 -0
- package/script/oas/discriminator/discriminator-types.d.ts +8 -0
- package/script/oas/discriminator/discriminator-types.d.ts.map +1 -0
- package/script/oas/discriminator/discriminator-types.js +9 -0
- package/script/oas/discriminator/toDiscriminatorV3.d.ts +12 -0
- package/script/oas/discriminator/toDiscriminatorV3.d.ts.map +1 -0
- package/script/oas/discriminator/toDiscriminatorV3.js +15 -0
- package/script/oas/document/Document.d.ts +40 -0
- package/script/oas/document/Document.d.ts.map +1 -0
- package/script/oas/document/Document.js +46 -0
- package/script/oas/document/toDocumentV3.d.ts +12 -0
- package/script/oas/document/toDocumentV3.d.ts.map +1 -0
- package/script/oas/document/toDocumentV3.js +28 -0
- package/script/oas/example/Example.d.ts +36 -0
- package/script/oas/example/Example.d.ts.map +1 -0
- package/script/oas/example/Example.js +49 -0
- package/script/oas/example/example-types.d.ts +9 -0
- package/script/oas/example/example-types.d.ts.map +1 -0
- package/script/oas/example/example-types.js +12 -0
- package/script/oas/example/toExamplesV3.d.ts +27 -0
- package/script/oas/example/toExamplesV3.d.ts.map +1 -0
- package/script/oas/example/toExamplesV3.js +51 -0
- package/script/oas/header/Header.d.ts +52 -0
- package/script/oas/header/Header.d.ts.map +1 -0
- package/script/oas/header/Header.js +70 -0
- package/script/oas/header/toHeadersV3.d.ts +13 -0
- package/script/oas/header/toHeadersV3.d.ts.map +1 -0
- package/script/oas/header/toHeadersV3.js +46 -0
- package/script/oas/info/Info.d.ts +32 -0
- package/script/oas/info/Info.d.ts.map +1 -0
- package/script/oas/info/Info.js +41 -0
- package/script/oas/info/toInfoV3.d.ts +12 -0
- package/script/oas/info/toInfoV3.d.ts.map +1 -0
- package/script/oas/info/toInfoV3.js +26 -0
- package/script/oas/integer/Integer.d.ts +33 -0
- package/script/oas/integer/Integer.d.ts.map +1 -0
- package/script/oas/integer/Integer.js +53 -0
- package/script/oas/integer/integer-types.d.ts +12 -0
- package/script/oas/integer/integer-types.d.ts.map +1 -0
- package/script/oas/integer/integer-types.js +21 -0
- package/script/oas/integer/toInteger.d.ts +12 -0
- package/script/oas/integer/toInteger.d.ts.map +1 -0
- package/script/oas/integer/toInteger.js +17 -0
- package/script/oas/intersection/Intersection.d.ts +35 -0
- package/script/oas/intersection/Intersection.d.ts.map +1 -0
- package/script/oas/intersection/Intersection.js +53 -0
- package/script/oas/intersection/intersection-types.d.ts +14 -0
- package/script/oas/intersection/intersection-types.d.ts.map +1 -0
- package/script/oas/intersection/intersection-types.js +15 -0
- package/script/oas/intersection/toIntersection.d.ts +13 -0
- package/script/oas/intersection/toIntersection.d.ts.map +1 -0
- package/script/oas/intersection/toIntersection.js +26 -0
- package/script/oas/license/license-types.d.ts +9 -0
- package/script/oas/license/license-types.d.ts.map +1 -0
- package/script/oas/license/license-types.js +10 -0
- package/script/oas/markdown/markdown-types.d.ts +3 -0
- package/script/oas/markdown/markdown-types.d.ts.map +1 -0
- package/script/oas/markdown/markdown-types.js +5 -0
- package/script/oas/mediaType/MediaType.d.ts +27 -0
- package/script/oas/mediaType/MediaType.d.ts.map +1 -0
- package/script/oas/mediaType/MediaType.js +32 -0
- package/script/oas/mediaType/mediaType-types.d.ts +12 -0
- package/script/oas/mediaType/mediaType-types.d.ts.map +1 -0
- package/script/oas/mediaType/mediaType-types.js +15 -0
- package/script/oas/mediaType/toMediaTypeItemV3.d.ts +25 -0
- package/script/oas/mediaType/toMediaTypeItemV3.d.ts.map +1 -0
- package/script/oas/mediaType/toMediaTypeItemV3.js +43 -0
- package/script/oas/null/null-types.d.ts +10 -0
- package/script/oas/null/null-types.d.ts.map +1 -0
- package/script/oas/null/null-types.js +11 -0
- package/script/oas/number/Number.d.ts +29 -0
- package/script/oas/number/Number.d.ts.map +1 -0
- package/script/oas/number/Number.js +47 -0
- package/script/oas/number/number-types.d.ts +10 -0
- package/script/oas/number/number-types.d.ts.map +1 -0
- package/script/oas/number/number-types.js +17 -0
- package/script/oas/number/toNumber.d.ts +12 -0
- package/script/oas/number/toNumber.d.ts.map +1 -0
- package/script/oas/number/toNumber.js +14 -0
- package/script/oas/object/Object.d.ts +42 -0
- package/script/oas/object/Object.d.ts.map +1 -0
- package/script/oas/object/Object.js +65 -0
- package/script/oas/object/object-types.d.ts +15 -0
- package/script/oas/object/object-types.d.ts.map +1 -0
- package/script/oas/object/object-types.js +30 -0
- package/script/oas/object/toAdditionalPropertiesV3.d.ts +13 -0
- package/script/oas/object/toAdditionalPropertiesV3.d.ts.map +1 -0
- package/script/oas/object/toAdditionalPropertiesV3.js +18 -0
- package/script/oas/object/toObject.d.ts +12 -0
- package/script/oas/object/toObject.d.ts.map +1 -0
- package/script/oas/object/toObject.js +27 -0
- package/script/oas/operation/Operation.d.ts +52 -0
- package/script/oas/operation/Operation.d.ts.map +1 -0
- package/script/oas/operation/Operation.js +73 -0
- package/script/oas/operation/toOperationsV3.d.ts +26 -0
- package/script/oas/operation/toOperationsV3.d.ts.map +1 -0
- package/script/oas/operation/toOperationsV3.js +80 -0
- package/script/oas/parameter/Parameter.d.ts +51 -0
- package/script/oas/parameter/Parameter.d.ts.map +1 -0
- package/script/oas/parameter/Parameter.js +74 -0
- package/script/oas/parameter/parameter-types.d.ts +26 -0
- package/script/oas/parameter/parameter-types.d.ts.map +1 -0
- package/script/oas/parameter/parameter-types.js +41 -0
- package/script/oas/parameter/toParameterV3.d.ts +25 -0
- package/script/oas/parameter/toParameterV3.d.ts.map +1 -0
- package/script/oas/parameter/toParameterV3.js +94 -0
- package/script/oas/pathItem/PathItem.d.ts +26 -0
- package/script/oas/pathItem/PathItem.d.ts.map +1 -0
- package/script/oas/pathItem/PathItem.js +32 -0
- package/script/oas/pathItem/toPathItemV3.d.ts +12 -0
- package/script/oas/pathItem/toPathItemV3.d.ts.map +1 -0
- package/script/oas/pathItem/toPathItemV3.js +19 -0
- package/script/oas/ref/Ref.d.ts +41 -0
- package/script/oas/ref/Ref.d.ts.map +1 -0
- package/script/oas/ref/Ref.js +93 -0
- package/script/oas/ref/ref-types.d.ts +52 -0
- package/script/oas/ref/ref-types.d.ts.map +1 -0
- package/script/oas/ref/ref-types.js +57 -0
- package/script/oas/ref/toRefV31.d.ts +14 -0
- package/script/oas/ref/toRefV31.d.ts.map +1 -0
- package/script/oas/ref/toRefV31.js +15 -0
- package/script/oas/requestBody/RequestBody.d.ts +31 -0
- package/script/oas/requestBody/RequestBody.d.ts.map +1 -0
- package/script/oas/requestBody/RequestBody.js +44 -0
- package/script/oas/requestBody/toRequestBodiesV3.d.ts +20 -0
- package/script/oas/requestBody/toRequestBodiesV3.d.ts.map +1 -0
- package/script/oas/requestBody/toRequestBodiesV3.js +51 -0
- package/script/oas/response/Response.d.ts +32 -0
- package/script/oas/response/Response.d.ts.map +1 -0
- package/script/oas/response/Response.js +44 -0
- package/script/oas/response/toResponseV3.d.ts +25 -0
- package/script/oas/response/toResponseV3.d.ts.map +1 -0
- package/script/oas/response/toResponseV3.js +41 -0
- package/script/oas/schema/Schema.d.ts +11 -0
- package/script/oas/schema/Schema.d.ts.map +1 -0
- package/script/oas/schema/Schema.js +2 -0
- package/script/oas/schema/schema-types.d.ts +14 -0
- package/script/oas/schema/schema-types.d.ts.map +1 -0
- package/script/oas/schema/schema-types.js +26 -0
- package/script/oas/schema/toSchemasV3.d.ts +31 -0
- package/script/oas/schema/toSchemasV3.d.ts.map +1 -0
- package/script/oas/schema/toSchemasV3.js +67 -0
- package/script/oas/string/String.d.ts +33 -0
- package/script/oas/string/String.d.ts.map +1 -0
- package/script/oas/string/String.js +56 -0
- package/script/oas/string/string-types.d.ts +13 -0
- package/script/oas/string/string-types.d.ts.map +1 -0
- package/script/oas/string/string-types.js +32 -0
- package/script/oas/string/toString.d.ts +12 -0
- package/script/oas/string/toString.d.ts.map +1 -0
- package/script/oas/string/toString.js +15 -0
- package/script/oas/tag/Tag.d.ts +22 -0
- package/script/oas/tag/Tag.d.ts.map +1 -0
- package/script/oas/tag/Tag.js +29 -0
- package/script/oas/tag/toTagsV3.d.ts +12 -0
- package/script/oas/tag/toTagsV3.d.ts.map +1 -0
- package/script/oas/tag/toTagsV3.js +18 -0
- package/script/oas/union/Union.d.ts +35 -0
- package/script/oas/union/Union.d.ts.map +1 -0
- package/script/oas/union/Union.js +53 -0
- package/script/oas/union/toUnion.d.ts +13 -0
- package/script/oas/union/toUnion.d.ts.map +1 -0
- package/script/oas/union/toUnion.js +26 -0
- package/script/oas/union/union-types.d.ts +14 -0
- package/script/oas/union/union-types.d.ts.map +1 -0
- package/script/oas/union/union-types.js +15 -0
- package/script/oas/unknown/Unknown.d.ts +27 -0
- package/script/oas/unknown/Unknown.d.ts.map +1 -0
- package/script/oas/unknown/Unknown.js +44 -0
- package/script/oas/unknown/toUnknown.d.ts +12 -0
- package/script/oas/unknown/toUnknown.d.ts.map +1 -0
- package/script/oas/unknown/toUnknown.js +13 -0
- package/script/oas/unknown/unknown-types.d.ts +10 -0
- package/script/oas/unknown/unknown-types.d.ts.map +1 -0
- package/script/oas/unknown/unknown-types.js +11 -0
- package/script/oas/void/Void.d.ts +28 -0
- package/script/oas/void/Void.d.ts.map +1 -0
- package/script/oas/void/Void.js +53 -0
- package/script/oas-elements/OasBase.d.ts +15 -0
- package/script/oas-elements/OasBase.d.ts.map +1 -0
- package/script/oas-elements/OasBase.js +31 -0
- package/script/package.json +3 -0
- package/script/parse/parse.d.ts +4 -0
- package/script/parse/parse.d.ts.map +1 -0
- package/script/parse/parse.js +20 -0
- package/script/schemas/client.d.ts +240 -0
- package/script/schemas/client.d.ts.map +1 -0
- package/script/schemas/client.js +176 -0
- package/script/server/createServer.d.ts +5 -0
- package/script/server/createServer.d.ts.map +1 -0
- package/script/server/createServer.js +134 -0
- package/script/types/Brand.d.ts +6 -0
- package/script/types/Brand.d.ts.map +1 -0
- package/script/types/Brand.js +2 -0
- package/script/types/CustomValue.d.ts +18 -0
- package/script/types/CustomValue.d.ts.map +1 -0
- package/script/types/CustomValue.js +33 -0
- package/script/types/GeneratedValue.d.ts +6 -0
- package/script/types/GeneratedValue.d.ts.map +1 -0
- package/script/types/GeneratedValue.js +2 -0
- package/script/types/GenerationType.d.ts +16 -0
- package/script/types/GenerationType.d.ts.map +1 -0
- package/script/types/GenerationType.js +16 -0
- package/script/types/GeneratorKeys.d.ts +30 -0
- package/script/types/GeneratorKeys.d.ts.map +1 -0
- package/script/types/GeneratorKeys.js +19 -0
- package/script/types/Method.d.ts +10 -0
- package/script/types/Method.d.ts.map +1 -0
- package/script/types/Method.js +35 -0
- package/script/types/Modifiers.d.ts +6 -0
- package/script/types/Modifiers.d.ts.map +1 -0
- package/script/types/Modifiers.js +2 -0
- package/script/types/RefName.d.ts +3 -0
- package/script/types/RefName.d.ts.map +1 -0
- package/script/types/RefName.js +2 -0
- package/script/types/Settings.d.ts +183 -0
- package/script/types/Settings.d.ts.map +1 -0
- package/script/types/Settings.js +45 -0
- package/script/types/TypeSystem.d.ts +96 -0
- package/script/types/TypeSystem.d.ts.map +1 -0
- package/script/types/TypeSystem.js +2 -0
- package/script/types/prettierConfig.d.ts +27 -0
- package/script/types/prettierConfig.d.ts.map +1 -0
- package/script/types/prettierConfig.js +49 -0
- package/script/typescript/EntityType.d.ts +6 -0
- package/script/typescript/EntityType.d.ts.map +1 -0
- package/script/typescript/EntityType.js +22 -0
- package/script/typescript/FunctionParameter.d.ts +36 -0
- package/script/typescript/FunctionParameter.d.ts.map +1 -0
- package/script/typescript/FunctionParameter.js +93 -0
- package/script/typescript/ReactRouterPathParams.d.ts +20 -0
- package/script/typescript/ReactRouterPathParams.d.ts.map +1 -0
- package/script/typescript/ReactRouterPathParams.js +53 -0
- package/script/typescript/identifiers.d.ts +3 -0
- package/script/typescript/identifiers.d.ts.map +1 -0
- package/script/typescript/identifiers.js +12 -0
- package/script/typescript/keyValues.d.ts +3 -0
- package/script/typescript/keyValues.d.ts.map +1 -0
- package/script/typescript/keyValues.js +15 -0
- package/script/typescript/toDestructuredObject.d.ts +3 -0
- package/script/typescript/toDestructuredObject.d.ts.map +1 -0
- package/script/typescript/toDestructuredObject.js +20 -0
- package/script/typescript/toOperationArg.d.ts +21 -0
- package/script/typescript/toOperationArg.d.ts.map +1 -0
- package/script/typescript/toOperationArg.js +63 -0
- package/script/typescript/toOperationResponse.d.ts +16 -0
- package/script/typescript/toOperationResponse.d.ts.map +1 -0
- package/script/typescript/toOperationResponse.js +21 -0
- package/script/typescript/toParamsObject.d.ts +3 -0
- package/script/typescript/toParamsObject.d.ts.map +1 -0
- package/script/typescript/toParamsObject.js +16 -0
- package/script/typescript/toPathTemplate.d.ts +2 -0
- package/script/typescript/toPathTemplate.d.ts.map +1 -0
- package/script/typescript/toPathTemplate.js +7 -0
- package/script/typescript/withDescription.d.ts +4 -0
- package/script/typescript/withDescription.d.ts.map +1 -0
- package/script/typescript/withDescription.js +7 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Utilities for encoding and decoding common formats like hex, base64, and varint.
|
|
3
|
+
*
|
|
4
|
+
* ```ts
|
|
5
|
+
* import { encodeBase64, decodeBase64 } from "@std/encoding";
|
|
6
|
+
* import { assertEquals } from "@std/assert";
|
|
7
|
+
*
|
|
8
|
+
* const foobar = new TextEncoder().encode("foobar");
|
|
9
|
+
* assertEquals(encodeBase64(foobar), "Zm9vYmFy");
|
|
10
|
+
* assertEquals(decodeBase64("Zm9vYmFy"), foobar);
|
|
11
|
+
* ```
|
|
12
|
+
*
|
|
13
|
+
* @module
|
|
14
|
+
*/
|
|
15
|
+
export * from "./ascii85.js";
|
|
16
|
+
export * from "./base32.js";
|
|
17
|
+
export * from "./base58.js";
|
|
18
|
+
export * from "./base64.js";
|
|
19
|
+
export * from "./base64url.js";
|
|
20
|
+
export * from "./hex.js";
|
|
21
|
+
export * from "./varint.js";
|
|
22
|
+
//# sourceMappingURL=mod.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/encoding/1.0.1/mod.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;GAaG;AAEH,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
16
|
+
};
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
/**
|
|
19
|
+
* Utilities for encoding and decoding common formats like hex, base64, and varint.
|
|
20
|
+
*
|
|
21
|
+
* ```ts
|
|
22
|
+
* import { encodeBase64, decodeBase64 } from "@std/encoding";
|
|
23
|
+
* import { assertEquals } from "@std/assert";
|
|
24
|
+
*
|
|
25
|
+
* const foobar = new TextEncoder().encode("foobar");
|
|
26
|
+
* assertEquals(encodeBase64(foobar), "Zm9vYmFy");
|
|
27
|
+
* assertEquals(decodeBase64("Zm9vYmFy"), foobar);
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* @module
|
|
31
|
+
*/
|
|
32
|
+
__exportStar(require("./ascii85.js"), exports);
|
|
33
|
+
__exportStar(require("./base32.js"), exports);
|
|
34
|
+
__exportStar(require("./base58.js"), exports);
|
|
35
|
+
__exportStar(require("./base64.js"), exports);
|
|
36
|
+
__exportStar(require("./base64url.js"), exports);
|
|
37
|
+
__exportStar(require("./hex.js"), exports);
|
|
38
|
+
__exportStar(require("./varint.js"), exports);
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Utilities for {@link https://protobuf.dev/programming-guides/encoding/#varints Varint} encoding
|
|
3
|
+
* of typed integers. Varint encoding represents integers using a variable number of bytes, with
|
|
4
|
+
* smaller values requiring fewer bytes.
|
|
5
|
+
*
|
|
6
|
+
* ```ts
|
|
7
|
+
* import { encodeVarint, decodeVarint } from "@std/encoding/varint";
|
|
8
|
+
* import { assertEquals } from "@std/assert";
|
|
9
|
+
*
|
|
10
|
+
* const buf = new Uint8Array(10);
|
|
11
|
+
* assertEquals(
|
|
12
|
+
* encodeVarint(42n, buf),
|
|
13
|
+
* [new Uint8Array([42]), 1]
|
|
14
|
+
* );
|
|
15
|
+
*
|
|
16
|
+
* assertEquals(
|
|
17
|
+
* decodeVarint(new Uint8Array([42])),
|
|
18
|
+
* [ 42n, 1 ]
|
|
19
|
+
* );
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @module
|
|
23
|
+
*/
|
|
24
|
+
/**
|
|
25
|
+
* The maximum value of an unsigned 64-bit integer.
|
|
26
|
+
* Equivalent to `2n**64n - 1n`
|
|
27
|
+
*/
|
|
28
|
+
export declare const MaxUint64 = 18446744073709551615n;
|
|
29
|
+
/**
|
|
30
|
+
* The maximum length, in bytes, of a Varint encoded 64-bit integer.
|
|
31
|
+
*/
|
|
32
|
+
export declare const MaxVarintLen64 = 10;
|
|
33
|
+
/**
|
|
34
|
+
* The maximum length, in bytes, of a Varint encoded 32-bit integer.
|
|
35
|
+
*/
|
|
36
|
+
export declare const MaxVarintLen32 = 5;
|
|
37
|
+
/**
|
|
38
|
+
* Given a non empty `buf`, starting at `offset` (default: 0), begin decoding bytes as
|
|
39
|
+
* Varint encoded bytes, for a maximum of 10 bytes (offset + 10). The returned
|
|
40
|
+
* tuple is of the decoded varint 32-bit number, and the new offset with which
|
|
41
|
+
* to continue decoding other data.
|
|
42
|
+
*
|
|
43
|
+
* If a `bigint` in return is undesired, the `decode32` function will return a
|
|
44
|
+
* `number`, but this should only be used in cases where the varint is
|
|
45
|
+
* _assured_ to be 32-bits. If in doubt, use `decode()`.
|
|
46
|
+
*
|
|
47
|
+
* To know how many bytes the Varint took to encode, simply negate `offset`
|
|
48
|
+
* from the returned new `offset`.
|
|
49
|
+
*
|
|
50
|
+
* @param buf The buffer to decode from.
|
|
51
|
+
* @param offset The offset to start decoding from.
|
|
52
|
+
* @returns A tuple of the decoded varint 64-bit number, and the new offset.
|
|
53
|
+
*
|
|
54
|
+
* @example Usage
|
|
55
|
+
* ```ts
|
|
56
|
+
* import { decodeVarint } from "@std/encoding/varint";
|
|
57
|
+
* import { assertEquals } from "@std/assert";
|
|
58
|
+
*
|
|
59
|
+
* const buf = new Uint8Array([0x8E, 0x02]);
|
|
60
|
+
* assertEquals(decodeVarint(buf), [270n, 2]);
|
|
61
|
+
* ```
|
|
62
|
+
*/
|
|
63
|
+
export declare function decodeVarint(buf: Uint8Array, offset?: number): [bigint, number];
|
|
64
|
+
/**
|
|
65
|
+
* Given a `buf`, starting at `offset` (default: 0), begin decoding bytes as
|
|
66
|
+
* Varint encoded bytes, for a maximum of 5 bytes (offset + 5). The returned
|
|
67
|
+
* tuple is of the decoded varint 32-bit number, and the new offset with which
|
|
68
|
+
* to continue decoding other data.
|
|
69
|
+
*
|
|
70
|
+
* Varints are _not 32-bit by default_ so this should only be used in cases
|
|
71
|
+
* where the varint is _assured_ to be 32-bits. If in doubt, use `decode()`.
|
|
72
|
+
*
|
|
73
|
+
* To know how many bytes the Varint took to encode, simply negate `offset`
|
|
74
|
+
* from the returned new `offset`.
|
|
75
|
+
*
|
|
76
|
+
* @param buf The buffer to decode from.
|
|
77
|
+
* @param offset The offset to start decoding from.
|
|
78
|
+
* @returns A tuple of the decoded varint 32-bit number, and the new offset.
|
|
79
|
+
*
|
|
80
|
+
* @example Usage
|
|
81
|
+
* ```ts
|
|
82
|
+
* import { decodeVarint32 } from "@std/encoding/varint";
|
|
83
|
+
* import { assertEquals } from "@std/assert";
|
|
84
|
+
*
|
|
85
|
+
* const buf = new Uint8Array([0x8E, 0x02]);
|
|
86
|
+
* assertEquals(decodeVarint32(buf), [270, 2]);
|
|
87
|
+
* ```
|
|
88
|
+
*/
|
|
89
|
+
export declare function decodeVarint32(buf: Uint8Array, offset?: number): [number, number];
|
|
90
|
+
/**
|
|
91
|
+
* Takes unsigned number `num` and converts it into a Varint encoded
|
|
92
|
+
* `Uint8Array`, returning a tuple consisting of a `Uint8Array` slice of the
|
|
93
|
+
* encoded Varint, and an offset where the Varint encoded bytes end within the
|
|
94
|
+
* `Uint8Array`.
|
|
95
|
+
*
|
|
96
|
+
* If `buf` is not given then a Uint8Array will be created.
|
|
97
|
+
* `offset` defaults to `0`.
|
|
98
|
+
*
|
|
99
|
+
* If passed `buf` then that will be written into, starting at `offset`. The
|
|
100
|
+
* resulting returned `Uint8Array` will be a slice of `buf`. The resulting
|
|
101
|
+
* returned number is effectively `offset + bytesWritten`.
|
|
102
|
+
*
|
|
103
|
+
* @param num The number to encode.
|
|
104
|
+
* @param buf The buffer to write into.
|
|
105
|
+
* @param offset The offset to start writing at.
|
|
106
|
+
* @returns A tuple of the encoded Varint `Uint8Array` and the new offset.
|
|
107
|
+
*
|
|
108
|
+
* @example Usage
|
|
109
|
+
* ```ts
|
|
110
|
+
* import { encodeVarint } from "@std/encoding/varint";
|
|
111
|
+
* import { assertEquals } from "@std/assert";
|
|
112
|
+
*
|
|
113
|
+
* const buf = new Uint8Array(10);
|
|
114
|
+
* assertEquals(encodeVarint(42n, buf), [new Uint8Array([42]), 1]);
|
|
115
|
+
* ```
|
|
116
|
+
*/
|
|
117
|
+
export declare function encodeVarint(num: bigint | number, buf?: Uint8Array, offset?: number): [Uint8Array, number];
|
|
118
|
+
//# sourceMappingURL=varint.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"varint.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/encoding/1.0.1/varint.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAKH;;;GAGG;AACH,eAAO,MAAM,SAAS,wBAAwB,CAAC;AAE/C;;GAEG;AACH,eAAO,MAAM,cAAc,KAAK,CAAC;AACjC;;GAEG;AACH,eAAO,MAAM,cAAc,IAAI,CAAC;AAahC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAgB,YAAY,CAAC,GAAG,EAAE,UAAU,EAAE,MAAM,SAAI,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CA2D1E;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,cAAc,CAAC,GAAG,EAAE,UAAU,EAAE,MAAM,SAAI,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAa5E;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,YAAY,CAC1B,GAAG,EAAE,MAAM,GAAG,MAAM,EACpB,GAAG,GAAE,UAA2C,EAChD,MAAM,SAAI,GACT,CAAC,UAAU,EAAE,MAAM,CAAC,CAiBtB"}
|
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
|
+
// Copyright 2020 Keith Cirkel. All rights reserved. MIT license.
|
|
4
|
+
// Copyright 2023 Skye "MierenManz". All rights reserved. MIT license.
|
|
5
|
+
/**
|
|
6
|
+
* Utilities for {@link https://protobuf.dev/programming-guides/encoding/#varints Varint} encoding
|
|
7
|
+
* of typed integers. Varint encoding represents integers using a variable number of bytes, with
|
|
8
|
+
* smaller values requiring fewer bytes.
|
|
9
|
+
*
|
|
10
|
+
* ```ts
|
|
11
|
+
* import { encodeVarint, decodeVarint } from "@std/encoding/varint";
|
|
12
|
+
* import { assertEquals } from "@std/assert";
|
|
13
|
+
*
|
|
14
|
+
* const buf = new Uint8Array(10);
|
|
15
|
+
* assertEquals(
|
|
16
|
+
* encodeVarint(42n, buf),
|
|
17
|
+
* [new Uint8Array([42]), 1]
|
|
18
|
+
* );
|
|
19
|
+
*
|
|
20
|
+
* assertEquals(
|
|
21
|
+
* decodeVarint(new Uint8Array([42])),
|
|
22
|
+
* [ 42n, 1 ]
|
|
23
|
+
* );
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* @module
|
|
27
|
+
*/
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.MaxVarintLen32 = exports.MaxVarintLen64 = exports.MaxUint64 = void 0;
|
|
30
|
+
exports.decodeVarint = decodeVarint;
|
|
31
|
+
exports.decodeVarint32 = decodeVarint32;
|
|
32
|
+
exports.encodeVarint = encodeVarint;
|
|
33
|
+
// This implementation is a port of https://deno.land/x/varint@v2.0.0 by @keithamus
|
|
34
|
+
// This module is browser compatible.
|
|
35
|
+
/**
|
|
36
|
+
* The maximum value of an unsigned 64-bit integer.
|
|
37
|
+
* Equivalent to `2n**64n - 1n`
|
|
38
|
+
*/
|
|
39
|
+
exports.MaxUint64 = 18446744073709551615n;
|
|
40
|
+
/**
|
|
41
|
+
* The maximum length, in bytes, of a Varint encoded 64-bit integer.
|
|
42
|
+
*/
|
|
43
|
+
exports.MaxVarintLen64 = 10;
|
|
44
|
+
/**
|
|
45
|
+
* The maximum length, in bytes, of a Varint encoded 32-bit integer.
|
|
46
|
+
*/
|
|
47
|
+
exports.MaxVarintLen32 = 5;
|
|
48
|
+
const MSB = 0x80;
|
|
49
|
+
const REST = 0x7f;
|
|
50
|
+
const SHIFT = 7;
|
|
51
|
+
const MSBN = 0x80n;
|
|
52
|
+
const SHIFTN = 7n;
|
|
53
|
+
// ArrayBuffer and TypedArray's for "pointer casting"
|
|
54
|
+
const AB = new ArrayBuffer(8);
|
|
55
|
+
const U32_VIEW = new Uint32Array(AB);
|
|
56
|
+
const U64_VIEW = new BigUint64Array(AB);
|
|
57
|
+
/**
|
|
58
|
+
* Given a non empty `buf`, starting at `offset` (default: 0), begin decoding bytes as
|
|
59
|
+
* Varint encoded bytes, for a maximum of 10 bytes (offset + 10). The returned
|
|
60
|
+
* tuple is of the decoded varint 32-bit number, and the new offset with which
|
|
61
|
+
* to continue decoding other data.
|
|
62
|
+
*
|
|
63
|
+
* If a `bigint` in return is undesired, the `decode32` function will return a
|
|
64
|
+
* `number`, but this should only be used in cases where the varint is
|
|
65
|
+
* _assured_ to be 32-bits. If in doubt, use `decode()`.
|
|
66
|
+
*
|
|
67
|
+
* To know how many bytes the Varint took to encode, simply negate `offset`
|
|
68
|
+
* from the returned new `offset`.
|
|
69
|
+
*
|
|
70
|
+
* @param buf The buffer to decode from.
|
|
71
|
+
* @param offset The offset to start decoding from.
|
|
72
|
+
* @returns A tuple of the decoded varint 64-bit number, and the new offset.
|
|
73
|
+
*
|
|
74
|
+
* @example Usage
|
|
75
|
+
* ```ts
|
|
76
|
+
* import { decodeVarint } from "@std/encoding/varint";
|
|
77
|
+
* import { assertEquals } from "@std/assert";
|
|
78
|
+
*
|
|
79
|
+
* const buf = new Uint8Array([0x8E, 0x02]);
|
|
80
|
+
* assertEquals(decodeVarint(buf), [270n, 2]);
|
|
81
|
+
* ```
|
|
82
|
+
*/
|
|
83
|
+
function decodeVarint(buf, offset = 0) {
|
|
84
|
+
// Clear the last result from the Two's complement view
|
|
85
|
+
U64_VIEW[0] = 0n;
|
|
86
|
+
// Setup the initiat state of the function
|
|
87
|
+
let intermediate = 0;
|
|
88
|
+
let position = 0;
|
|
89
|
+
let i = offset;
|
|
90
|
+
// If the buffer is empty Throw
|
|
91
|
+
if (buf.length === 0)
|
|
92
|
+
throw new RangeError("Cannot read empty buffer");
|
|
93
|
+
let byte;
|
|
94
|
+
do {
|
|
95
|
+
// Get a single byte from the buffer
|
|
96
|
+
byte = buf[i];
|
|
97
|
+
// 1. Take the lower 7 bits of the byte.
|
|
98
|
+
// 2. Shift the bits into the correct position.
|
|
99
|
+
// 3. Bitwise OR it with the intermediate value
|
|
100
|
+
// QUIRK: in the 5th (and 10th) iteration of this loop it will overflow on the shift.
|
|
101
|
+
// This causes only the lower 4 bits to be shifted into place and removing the upper 3 bits
|
|
102
|
+
intermediate |= (byte & 0b01111111) << position;
|
|
103
|
+
// If position is 28
|
|
104
|
+
// it means that this iteration needs to be written the the two's complement view
|
|
105
|
+
// This only happens once due to the `-4` in this branch
|
|
106
|
+
if (position === 28) {
|
|
107
|
+
// Write to the view
|
|
108
|
+
U32_VIEW[0] = intermediate;
|
|
109
|
+
// set `intermediate` to the remaining 3 bits
|
|
110
|
+
// We only want the remaining three bits because the other 4 have been "consumed" on line 21
|
|
111
|
+
intermediate = (byte & 0b01110000) >>> 4;
|
|
112
|
+
// set `position` to -4 because later 7 will be added, making it 3
|
|
113
|
+
position = -4;
|
|
114
|
+
}
|
|
115
|
+
// Increment the shift position by 7
|
|
116
|
+
position += 7;
|
|
117
|
+
// Increment the iterator by 1
|
|
118
|
+
i++;
|
|
119
|
+
// Keep going while there is a continuation bit
|
|
120
|
+
} while ((byte & 0b10000000) === 0b10000000);
|
|
121
|
+
// subtract the initial offset from `i` to get the bytes read
|
|
122
|
+
const nRead = i - offset;
|
|
123
|
+
// If 10 bytes have been read and intermediate has overflown
|
|
124
|
+
// it means that the varint is malformed
|
|
125
|
+
// If 11 bytes have been read it means that the varint is malformed
|
|
126
|
+
// If `i` is bigger than the buffer it means we overread the buffer and the varint is malformed
|
|
127
|
+
if ((nRead === 10 && intermediate > -1) || nRead === 11 || i > buf.length) {
|
|
128
|
+
throw new RangeError("malformed or overflow varint");
|
|
129
|
+
}
|
|
130
|
+
// Write the intermediate value to the "empty" slot
|
|
131
|
+
// if the first slot is taken. Take the second slot
|
|
132
|
+
U32_VIEW[Number(nRead > 4)] = intermediate;
|
|
133
|
+
return [U64_VIEW[0], i];
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* Given a `buf`, starting at `offset` (default: 0), begin decoding bytes as
|
|
137
|
+
* Varint encoded bytes, for a maximum of 5 bytes (offset + 5). The returned
|
|
138
|
+
* tuple is of the decoded varint 32-bit number, and the new offset with which
|
|
139
|
+
* to continue decoding other data.
|
|
140
|
+
*
|
|
141
|
+
* Varints are _not 32-bit by default_ so this should only be used in cases
|
|
142
|
+
* where the varint is _assured_ to be 32-bits. If in doubt, use `decode()`.
|
|
143
|
+
*
|
|
144
|
+
* To know how many bytes the Varint took to encode, simply negate `offset`
|
|
145
|
+
* from the returned new `offset`.
|
|
146
|
+
*
|
|
147
|
+
* @param buf The buffer to decode from.
|
|
148
|
+
* @param offset The offset to start decoding from.
|
|
149
|
+
* @returns A tuple of the decoded varint 32-bit number, and the new offset.
|
|
150
|
+
*
|
|
151
|
+
* @example Usage
|
|
152
|
+
* ```ts
|
|
153
|
+
* import { decodeVarint32 } from "@std/encoding/varint";
|
|
154
|
+
* import { assertEquals } from "@std/assert";
|
|
155
|
+
*
|
|
156
|
+
* const buf = new Uint8Array([0x8E, 0x02]);
|
|
157
|
+
* assertEquals(decodeVarint32(buf), [270, 2]);
|
|
158
|
+
* ```
|
|
159
|
+
*/
|
|
160
|
+
function decodeVarint32(buf, offset = 0) {
|
|
161
|
+
let shift = 0;
|
|
162
|
+
let decoded = 0;
|
|
163
|
+
for (let i = offset; i <= Math.min(buf.length, offset + exports.MaxVarintLen32); i += 1, shift += SHIFT) {
|
|
164
|
+
const byte = buf[i];
|
|
165
|
+
decoded += (byte & REST) * Math.pow(2, shift);
|
|
166
|
+
if (!(byte & MSB))
|
|
167
|
+
return [decoded, i + 1];
|
|
168
|
+
}
|
|
169
|
+
throw new RangeError("malformed or overflow varint");
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* Takes unsigned number `num` and converts it into a Varint encoded
|
|
173
|
+
* `Uint8Array`, returning a tuple consisting of a `Uint8Array` slice of the
|
|
174
|
+
* encoded Varint, and an offset where the Varint encoded bytes end within the
|
|
175
|
+
* `Uint8Array`.
|
|
176
|
+
*
|
|
177
|
+
* If `buf` is not given then a Uint8Array will be created.
|
|
178
|
+
* `offset` defaults to `0`.
|
|
179
|
+
*
|
|
180
|
+
* If passed `buf` then that will be written into, starting at `offset`. The
|
|
181
|
+
* resulting returned `Uint8Array` will be a slice of `buf`. The resulting
|
|
182
|
+
* returned number is effectively `offset + bytesWritten`.
|
|
183
|
+
*
|
|
184
|
+
* @param num The number to encode.
|
|
185
|
+
* @param buf The buffer to write into.
|
|
186
|
+
* @param offset The offset to start writing at.
|
|
187
|
+
* @returns A tuple of the encoded Varint `Uint8Array` and the new offset.
|
|
188
|
+
*
|
|
189
|
+
* @example Usage
|
|
190
|
+
* ```ts
|
|
191
|
+
* import { encodeVarint } from "@std/encoding/varint";
|
|
192
|
+
* import { assertEquals } from "@std/assert";
|
|
193
|
+
*
|
|
194
|
+
* const buf = new Uint8Array(10);
|
|
195
|
+
* assertEquals(encodeVarint(42n, buf), [new Uint8Array([42]), 1]);
|
|
196
|
+
* ```
|
|
197
|
+
*/
|
|
198
|
+
function encodeVarint(num, buf = new Uint8Array(exports.MaxVarintLen64), offset = 0) {
|
|
199
|
+
num = BigInt(num);
|
|
200
|
+
if (num < 0n)
|
|
201
|
+
throw new RangeError("signed input given");
|
|
202
|
+
for (let i = offset; i <= Math.min(buf.length, exports.MaxVarintLen64); i += 1) {
|
|
203
|
+
if (num < MSBN) {
|
|
204
|
+
buf[i] = Number(num);
|
|
205
|
+
i += 1;
|
|
206
|
+
return [buf.slice(offset, i), i];
|
|
207
|
+
}
|
|
208
|
+
buf[i] = Number((num & 0xffn) | MSBN);
|
|
209
|
+
num >>= SHIFTN;
|
|
210
|
+
}
|
|
211
|
+
throw new RangeError(`${num} overflows uint64`);
|
|
212
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"assert_path.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/path/1.0.0/_common/assert_path.ts"],"names":[],"mappings":"AAGA,wBAAgB,UAAU,CAAC,IAAI,CAAC,EAAE,MAAM,QAMvC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
|
+
// Copyright the Browserify authors. MIT License.
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.assertPath = assertPath;
|
|
6
|
+
function assertPath(path) {
|
|
7
|
+
if (typeof path !== "string") {
|
|
8
|
+
throw new TypeError(`Path must be a string. Received ${JSON.stringify(path)}`);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare function stripSuffix(name: string, suffix: string): string;
|
|
2
|
+
export declare function lastPathSegment(path: string, isSep: (char: number) => boolean, start?: number): string;
|
|
3
|
+
export declare function assertArgs(path: string, suffix: string): string | undefined;
|
|
4
|
+
//# sourceMappingURL=basename.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"basename.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/path/1.0.0/_common/basename.ts"],"names":[],"mappings":"AAKA,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAchE;AAED,wBAAgB,eAAe,CAC7B,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,EAChC,KAAK,SAAI,GACR,MAAM,CAiBR;AAED,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,sBAQtD"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
|
+
// This module is browser compatible.
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.stripSuffix = stripSuffix;
|
|
6
|
+
exports.lastPathSegment = lastPathSegment;
|
|
7
|
+
exports.assertArgs = assertArgs;
|
|
8
|
+
const assert_path_js_1 = require("./assert_path.js");
|
|
9
|
+
function stripSuffix(name, suffix) {
|
|
10
|
+
if (suffix.length >= name.length) {
|
|
11
|
+
return name;
|
|
12
|
+
}
|
|
13
|
+
const lenDiff = name.length - suffix.length;
|
|
14
|
+
for (let i = suffix.length - 1; i >= 0; --i) {
|
|
15
|
+
if (name.charCodeAt(lenDiff + i) !== suffix.charCodeAt(i)) {
|
|
16
|
+
return name;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
return name.slice(0, -suffix.length);
|
|
20
|
+
}
|
|
21
|
+
function lastPathSegment(path, isSep, start = 0) {
|
|
22
|
+
let matchedNonSeparator = false;
|
|
23
|
+
let end = path.length;
|
|
24
|
+
for (let i = path.length - 1; i >= start; --i) {
|
|
25
|
+
if (isSep(path.charCodeAt(i))) {
|
|
26
|
+
if (matchedNonSeparator) {
|
|
27
|
+
start = i + 1;
|
|
28
|
+
break;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
else if (!matchedNonSeparator) {
|
|
32
|
+
matchedNonSeparator = true;
|
|
33
|
+
end = i + 1;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
return path.slice(start, end);
|
|
37
|
+
}
|
|
38
|
+
function assertArgs(path, suffix) {
|
|
39
|
+
(0, assert_path_js_1.assertPath)(path);
|
|
40
|
+
if (path.length === 0)
|
|
41
|
+
return path;
|
|
42
|
+
if (typeof suffix !== "string") {
|
|
43
|
+
throw new TypeError(`Suffix must be a string. Received ${JSON.stringify(suffix)}`);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/path/1.0.0/_common/common.ts"],"names":[],"mappings":"AAGA,wBAAgB,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAsB3D"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
|
+
// This module is browser compatible.
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.common = common;
|
|
6
|
+
function common(paths, sep) {
|
|
7
|
+
const [first = "", ...remaining] = paths;
|
|
8
|
+
const parts = first.split(sep);
|
|
9
|
+
let endOfPrefix = parts.length;
|
|
10
|
+
let append = "";
|
|
11
|
+
for (const path of remaining) {
|
|
12
|
+
const compare = path.split(sep);
|
|
13
|
+
if (compare.length <= endOfPrefix) {
|
|
14
|
+
endOfPrefix = compare.length;
|
|
15
|
+
append = "";
|
|
16
|
+
}
|
|
17
|
+
for (let i = 0; i < endOfPrefix; i++) {
|
|
18
|
+
if (compare[i] !== parts[i]) {
|
|
19
|
+
endOfPrefix = i;
|
|
20
|
+
append = i === 0 ? "" : sep;
|
|
21
|
+
break;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
return parts.slice(0, endOfPrefix).join(sep) + append;
|
|
26
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export declare const CHAR_UPPERCASE_A = 65;
|
|
2
|
+
export declare const CHAR_LOWERCASE_A = 97;
|
|
3
|
+
export declare const CHAR_UPPERCASE_Z = 90;
|
|
4
|
+
export declare const CHAR_LOWERCASE_Z = 122;
|
|
5
|
+
export declare const CHAR_DOT = 46;
|
|
6
|
+
export declare const CHAR_FORWARD_SLASH = 47;
|
|
7
|
+
export declare const CHAR_BACKWARD_SLASH = 92;
|
|
8
|
+
export declare const CHAR_VERTICAL_LINE = 124;
|
|
9
|
+
export declare const CHAR_COLON = 58;
|
|
10
|
+
export declare const CHAR_QUESTION_MARK = 63;
|
|
11
|
+
export declare const CHAR_UNDERSCORE = 95;
|
|
12
|
+
export declare const CHAR_LINE_FEED = 10;
|
|
13
|
+
export declare const CHAR_CARRIAGE_RETURN = 13;
|
|
14
|
+
export declare const CHAR_TAB = 9;
|
|
15
|
+
export declare const CHAR_FORM_FEED = 12;
|
|
16
|
+
export declare const CHAR_EXCLAMATION_MARK = 33;
|
|
17
|
+
export declare const CHAR_HASH = 35;
|
|
18
|
+
export declare const CHAR_SPACE = 32;
|
|
19
|
+
export declare const CHAR_NO_BREAK_SPACE = 160;
|
|
20
|
+
export declare const CHAR_ZERO_WIDTH_NOBREAK_SPACE = 65279;
|
|
21
|
+
export declare const CHAR_LEFT_SQUARE_BRACKET = 91;
|
|
22
|
+
export declare const CHAR_RIGHT_SQUARE_BRACKET = 93;
|
|
23
|
+
export declare const CHAR_LEFT_ANGLE_BRACKET = 60;
|
|
24
|
+
export declare const CHAR_RIGHT_ANGLE_BRACKET = 62;
|
|
25
|
+
export declare const CHAR_LEFT_CURLY_BRACKET = 123;
|
|
26
|
+
export declare const CHAR_RIGHT_CURLY_BRACKET = 125;
|
|
27
|
+
export declare const CHAR_HYPHEN_MINUS = 45;
|
|
28
|
+
export declare const CHAR_PLUS = 43;
|
|
29
|
+
export declare const CHAR_DOUBLE_QUOTE = 34;
|
|
30
|
+
export declare const CHAR_SINGLE_QUOTE = 39;
|
|
31
|
+
export declare const CHAR_PERCENT = 37;
|
|
32
|
+
export declare const CHAR_SEMICOLON = 59;
|
|
33
|
+
export declare const CHAR_CIRCUMFLEX_ACCENT = 94;
|
|
34
|
+
export declare const CHAR_GRAVE_ACCENT = 96;
|
|
35
|
+
export declare const CHAR_AT = 64;
|
|
36
|
+
export declare const CHAR_AMPERSAND = 38;
|
|
37
|
+
export declare const CHAR_EQUAL = 61;
|
|
38
|
+
export declare const CHAR_0 = 48;
|
|
39
|
+
export declare const CHAR_9 = 57;
|
|
40
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/path/1.0.0/_common/constants.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,gBAAgB,KAAK,CAAC;AACnC,eAAO,MAAM,gBAAgB,KAAK,CAAC;AACnC,eAAO,MAAM,gBAAgB,KAAK,CAAC;AACnC,eAAO,MAAM,gBAAgB,MAAM,CAAC;AAGpC,eAAO,MAAM,QAAQ,KAAK,CAAC;AAC3B,eAAO,MAAM,kBAAkB,KAAK,CAAC;AACrC,eAAO,MAAM,mBAAmB,KAAK,CAAC;AACtC,eAAO,MAAM,kBAAkB,MAAM,CAAC;AACtC,eAAO,MAAM,UAAU,KAAK,CAAC;AAC7B,eAAO,MAAM,kBAAkB,KAAK,CAAC;AACrC,eAAO,MAAM,eAAe,KAAK,CAAC;AAClC,eAAO,MAAM,cAAc,KAAK,CAAC;AACjC,eAAO,MAAM,oBAAoB,KAAK,CAAC;AACvC,eAAO,MAAM,QAAQ,IAAI,CAAC;AAC1B,eAAO,MAAM,cAAc,KAAK,CAAC;AACjC,eAAO,MAAM,qBAAqB,KAAK,CAAC;AACxC,eAAO,MAAM,SAAS,KAAK,CAAC;AAC5B,eAAO,MAAM,UAAU,KAAK,CAAC;AAC7B,eAAO,MAAM,mBAAmB,MAAM,CAAC;AACvC,eAAO,MAAM,6BAA6B,QAAQ,CAAC;AACnD,eAAO,MAAM,wBAAwB,KAAK,CAAC;AAC3C,eAAO,MAAM,yBAAyB,KAAK,CAAC;AAC5C,eAAO,MAAM,uBAAuB,KAAK,CAAC;AAC1C,eAAO,MAAM,wBAAwB,KAAK,CAAC;AAC3C,eAAO,MAAM,uBAAuB,MAAM,CAAC;AAC3C,eAAO,MAAM,wBAAwB,MAAM,CAAC;AAC5C,eAAO,MAAM,iBAAiB,KAAK,CAAC;AACpC,eAAO,MAAM,SAAS,KAAK,CAAC;AAC5B,eAAO,MAAM,iBAAiB,KAAK,CAAC;AACpC,eAAO,MAAM,iBAAiB,KAAK,CAAC;AACpC,eAAO,MAAM,YAAY,KAAK,CAAC;AAC/B,eAAO,MAAM,cAAc,KAAK,CAAC;AACjC,eAAO,MAAM,sBAAsB,KAAK,CAAC;AACzC,eAAO,MAAM,iBAAiB,KAAK,CAAC;AACpC,eAAO,MAAM,OAAO,KAAK,CAAC;AAC1B,eAAO,MAAM,cAAc,KAAK,CAAC;AACjC,eAAO,MAAM,UAAU,KAAK,CAAC;AAG7B,eAAO,MAAM,MAAM,KAAK,CAAC;AACzB,eAAO,MAAM,MAAM,KAAK,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
|
+
// Copyright the Browserify authors. MIT License.
|
|
4
|
+
// Ported from https://github.com/browserify/path-browserify/
|
|
5
|
+
// This module is browser compatible.
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.CHAR_9 = exports.CHAR_0 = exports.CHAR_EQUAL = exports.CHAR_AMPERSAND = exports.CHAR_AT = exports.CHAR_GRAVE_ACCENT = exports.CHAR_CIRCUMFLEX_ACCENT = exports.CHAR_SEMICOLON = exports.CHAR_PERCENT = exports.CHAR_SINGLE_QUOTE = exports.CHAR_DOUBLE_QUOTE = exports.CHAR_PLUS = exports.CHAR_HYPHEN_MINUS = exports.CHAR_RIGHT_CURLY_BRACKET = exports.CHAR_LEFT_CURLY_BRACKET = exports.CHAR_RIGHT_ANGLE_BRACKET = exports.CHAR_LEFT_ANGLE_BRACKET = exports.CHAR_RIGHT_SQUARE_BRACKET = exports.CHAR_LEFT_SQUARE_BRACKET = exports.CHAR_ZERO_WIDTH_NOBREAK_SPACE = exports.CHAR_NO_BREAK_SPACE = exports.CHAR_SPACE = exports.CHAR_HASH = exports.CHAR_EXCLAMATION_MARK = exports.CHAR_FORM_FEED = exports.CHAR_TAB = exports.CHAR_CARRIAGE_RETURN = exports.CHAR_LINE_FEED = exports.CHAR_UNDERSCORE = exports.CHAR_QUESTION_MARK = exports.CHAR_COLON = exports.CHAR_VERTICAL_LINE = exports.CHAR_BACKWARD_SLASH = exports.CHAR_FORWARD_SLASH = exports.CHAR_DOT = exports.CHAR_LOWERCASE_Z = exports.CHAR_UPPERCASE_Z = exports.CHAR_LOWERCASE_A = exports.CHAR_UPPERCASE_A = void 0;
|
|
8
|
+
// Alphabet chars.
|
|
9
|
+
exports.CHAR_UPPERCASE_A = 65; /* A */
|
|
10
|
+
exports.CHAR_LOWERCASE_A = 97; /* a */
|
|
11
|
+
exports.CHAR_UPPERCASE_Z = 90; /* Z */
|
|
12
|
+
exports.CHAR_LOWERCASE_Z = 122; /* z */
|
|
13
|
+
// Non-alphabetic chars.
|
|
14
|
+
exports.CHAR_DOT = 46; /* . */
|
|
15
|
+
exports.CHAR_FORWARD_SLASH = 47; /* / */
|
|
16
|
+
exports.CHAR_BACKWARD_SLASH = 92; /* \ */
|
|
17
|
+
exports.CHAR_VERTICAL_LINE = 124; /* | */
|
|
18
|
+
exports.CHAR_COLON = 58; /* : */
|
|
19
|
+
exports.CHAR_QUESTION_MARK = 63; /* ? */
|
|
20
|
+
exports.CHAR_UNDERSCORE = 95; /* _ */
|
|
21
|
+
exports.CHAR_LINE_FEED = 10; /* \n */
|
|
22
|
+
exports.CHAR_CARRIAGE_RETURN = 13; /* \r */
|
|
23
|
+
exports.CHAR_TAB = 9; /* \t */
|
|
24
|
+
exports.CHAR_FORM_FEED = 12; /* \f */
|
|
25
|
+
exports.CHAR_EXCLAMATION_MARK = 33; /* ! */
|
|
26
|
+
exports.CHAR_HASH = 35; /* # */
|
|
27
|
+
exports.CHAR_SPACE = 32; /* */
|
|
28
|
+
exports.CHAR_NO_BREAK_SPACE = 160; /* \u00A0 */
|
|
29
|
+
exports.CHAR_ZERO_WIDTH_NOBREAK_SPACE = 65279; /* \uFEFF */
|
|
30
|
+
exports.CHAR_LEFT_SQUARE_BRACKET = 91; /* [ */
|
|
31
|
+
exports.CHAR_RIGHT_SQUARE_BRACKET = 93; /* ] */
|
|
32
|
+
exports.CHAR_LEFT_ANGLE_BRACKET = 60; /* < */
|
|
33
|
+
exports.CHAR_RIGHT_ANGLE_BRACKET = 62; /* > */
|
|
34
|
+
exports.CHAR_LEFT_CURLY_BRACKET = 123; /* { */
|
|
35
|
+
exports.CHAR_RIGHT_CURLY_BRACKET = 125; /* } */
|
|
36
|
+
exports.CHAR_HYPHEN_MINUS = 45; /* - */
|
|
37
|
+
exports.CHAR_PLUS = 43; /* + */
|
|
38
|
+
exports.CHAR_DOUBLE_QUOTE = 34; /* " */
|
|
39
|
+
exports.CHAR_SINGLE_QUOTE = 39; /* ' */
|
|
40
|
+
exports.CHAR_PERCENT = 37; /* % */
|
|
41
|
+
exports.CHAR_SEMICOLON = 59; /* ; */
|
|
42
|
+
exports.CHAR_CIRCUMFLEX_ACCENT = 94; /* ^ */
|
|
43
|
+
exports.CHAR_GRAVE_ACCENT = 96; /* ` */
|
|
44
|
+
exports.CHAR_AT = 64; /* @ */
|
|
45
|
+
exports.CHAR_AMPERSAND = 38; /* & */
|
|
46
|
+
exports.CHAR_EQUAL = 61; /* = */
|
|
47
|
+
// Digits
|
|
48
|
+
exports.CHAR_0 = 48; /* 0 */
|
|
49
|
+
exports.CHAR_9 = 57; /* 9 */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dirname.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/path/1.0.0/_common/dirname.ts"],"names":[],"mappings":"AAKA,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,mBAGrC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
|
+
// This module is browser compatible.
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.assertArg = assertArg;
|
|
6
|
+
const assert_path_js_1 = require("./assert_path.js");
|
|
7
|
+
function assertArg(path) {
|
|
8
|
+
(0, assert_path_js_1.assertPath)(path);
|
|
9
|
+
if (path.length === 0)
|
|
10
|
+
return ".";
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/path/1.0.0/_common/format.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE9C,wBAAgB,OAAO,CACrB,GAAG,EAAE,MAAM,EACX,UAAU,EAAE,OAAO,CAAC,UAAU,CAAC,GAC9B,MAAM,CAQR;AAED,wBAAgB,SAAS,CAAC,UAAU,EAAE,OAAO,CAAC,UAAU,CAAC,QAMxD"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
|
+
// This module is browser compatible.
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports._format = _format;
|
|
6
|
+
exports.assertArg = assertArg;
|
|
7
|
+
function _format(sep, pathObject) {
|
|
8
|
+
const dir = pathObject.dir || pathObject.root;
|
|
9
|
+
const base = pathObject.base ||
|
|
10
|
+
(pathObject.name || "") + (pathObject.ext || "");
|
|
11
|
+
if (!dir)
|
|
12
|
+
return base;
|
|
13
|
+
if (base === sep)
|
|
14
|
+
return dir;
|
|
15
|
+
if (dir === pathObject.root)
|
|
16
|
+
return dir + base;
|
|
17
|
+
return dir + sep + base;
|
|
18
|
+
}
|
|
19
|
+
function assertArg(pathObject) {
|
|
20
|
+
if (pathObject === null || typeof pathObject !== "object") {
|
|
21
|
+
throw new TypeError(`The "pathObject" argument must be of type Object. Received type ${typeof pathObject}`);
|
|
22
|
+
}
|
|
23
|
+
}
|