@versori/run 0.0.1-alpha.2 → 0.0.1-alpha.4
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/esm/_dnt.polyfills.d.ts +14 -0
- package/esm/_dnt.polyfills.d.ts.map +1 -0
- package/esm/_dnt.polyfills.js +12 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/application.d.ts +383 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/application.d.ts.map +1 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/application.js +526 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/body.d.ts +71 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/body.d.ts.map +1 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/body.js +236 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/context.d.ts +163 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/context.d.ts.map +1 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/context.js +287 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/deps.d.ts +19 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/deps.d.ts.map +1 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/deps.js +21 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/http_server_bun.d.ts +51 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/http_server_bun.d.ts.map +1 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/http_server_bun.js +147 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/http_server_native.d.ts +17 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/http_server_native.d.ts.map +1 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/http_server_native.js +100 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/http_server_native_request.d.ts +26 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/http_server_native_request.d.ts.map +1 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/http_server_native_request.js +112 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/http_server_node.d.ts +48 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/http_server_node.d.ts.map +1 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/http_server_node.js +152 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/middleware/etag.d.ts +20 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/middleware/etag.d.ts.map +1 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/middleware/etag.js +53 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/middleware/proxy.d.ts +67 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/middleware/proxy.d.ts.map +1 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/middleware/proxy.js +127 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/middleware/serve.d.ts +114 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/middleware/serve.d.ts.map +1 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/middleware/serve.js +211 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/middleware.d.ts +36 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/middleware.d.ts.map +1 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/middleware.js +34 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/mod.d.ts +111 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/mod.d.ts.map +1 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/mod.js +109 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/node_shims.d.ts +2 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/node_shims.d.ts.map +1 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/node_shims.js +75 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/request.d.ts +133 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/request.d.ts.map +1 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/request.js +246 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/response.d.ts +148 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/response.d.ts.map +1 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/response.js +295 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/router.d.ts +363 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/router.d.ts.map +1 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/router.js +636 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/send.d.ts +75 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/send.d.ts.map +1 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/send.js +196 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/testing.d.ts +33 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/testing.d.ts.map +1 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/testing.js +112 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/types.d.ts +77 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/types.d.ts.map +1 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/types.js +1 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/utils/clone_state.d.ts +3 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/utils/clone_state.d.ts.map +1 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/utils/clone_state.js +16 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/utils/consts.d.ts +3 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/utils/consts.d.ts.map +1 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/utils/consts.js +3 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/utils/create_promise_with_resolvers.d.ts +7 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/utils/create_promise_with_resolvers.d.ts.map +1 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/utils/create_promise_with_resolvers.js +20 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/utils/decode.d.ts +6 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/utils/decode.d.ts.map +1 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/utils/decode.js +17 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/utils/decode_component.d.ts +6 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/utils/decode_component.d.ts.map +1 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/utils/decode_component.js +13 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/utils/encode_url.d.ts +3 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/utils/encode_url.d.ts.map +1 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/utils/encode_url.js +10 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/utils/resolve_path.d.ts +31 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/utils/resolve_path.d.ts.map +1 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/utils/resolve_path.js +56 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/utils/streams.d.ts +9 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/utils/streams.d.ts.map +1 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/utils/streams.js +75 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/utils/type_guards.d.ts +17 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/utils/type_guards.d.ts.map +1 -0
- package/esm/deps/deno.land/x/oak@v17.1.4/utils/type_guards.js +37 -0
- package/esm/deps/jsr.io/@oak/commons/1.0.0/content_disposition.d.ts +16 -0
- package/esm/deps/jsr.io/@oak/commons/1.0.0/content_disposition.d.ts.map +1 -0
- package/esm/deps/jsr.io/@oak/commons/1.0.0/content_disposition.js +125 -0
- package/esm/deps/jsr.io/@oak/commons/1.0.0/cookie_map.d.ts +363 -0
- package/esm/deps/jsr.io/@oak/commons/1.0.0/cookie_map.d.ts.map +1 -0
- package/esm/deps/jsr.io/@oak/commons/1.0.0/cookie_map.js +602 -0
- package/esm/deps/jsr.io/@oak/commons/1.0.0/form_data.d.ts +9 -0
- package/esm/deps/jsr.io/@oak/commons/1.0.0/form_data.d.ts.map +1 -0
- package/esm/deps/jsr.io/@oak/commons/1.0.0/form_data.js +285 -0
- package/esm/deps/jsr.io/@oak/commons/1.0.0/forwarded.d.ts +16 -0
- package/esm/deps/jsr.io/@oak/commons/1.0.0/forwarded.d.ts.map +1 -0
- package/esm/deps/jsr.io/@oak/commons/1.0.0/forwarded.js +208 -0
- package/esm/deps/jsr.io/@oak/commons/1.0.0/header_utils.d.ts +6 -0
- package/esm/deps/jsr.io/@oak/commons/1.0.0/header_utils.d.ts.map +1 -0
- package/esm/deps/jsr.io/@oak/commons/1.0.0/header_utils.js +28 -0
- package/esm/deps/jsr.io/@oak/commons/1.0.0/http_errors.d.ts +123 -0
- package/esm/deps/jsr.io/@oak/commons/1.0.0/http_errors.d.ts.map +1 -0
- package/esm/deps/jsr.io/@oak/commons/1.0.0/http_errors.js +233 -0
- package/esm/deps/jsr.io/@oak/commons/1.0.0/keystack.d.ts +56 -0
- package/esm/deps/jsr.io/@oak/commons/1.0.0/keystack.d.ts.map +1 -0
- package/esm/deps/jsr.io/@oak/commons/1.0.0/keystack.js +165 -0
- package/esm/deps/jsr.io/@oak/commons/1.0.0/media_types.d.ts +56 -0
- package/esm/deps/jsr.io/@oak/commons/1.0.0/media_types.d.ts.map +1 -0
- package/esm/deps/jsr.io/@oak/commons/1.0.0/media_types.js +205 -0
- package/esm/deps/jsr.io/@oak/commons/1.0.0/method.d.ts +29 -0
- package/esm/deps/jsr.io/@oak/commons/1.0.0/method.d.ts.map +1 -0
- package/esm/deps/jsr.io/@oak/commons/1.0.0/method.js +62 -0
- package/esm/deps/jsr.io/@oak/commons/1.0.0/range.d.ts +324 -0
- package/esm/deps/jsr.io/@oak/commons/1.0.0/range.d.ts.map +1 -0
- package/esm/deps/jsr.io/@oak/commons/1.0.0/range.js +503 -0
- package/esm/deps/jsr.io/@oak/commons/1.0.0/server_sent_event.d.ts +178 -0
- package/esm/deps/jsr.io/@oak/commons/1.0.0/server_sent_event.d.ts.map +1 -0
- package/esm/deps/jsr.io/@oak/commons/1.0.0/server_sent_event.js +262 -0
- package/esm/deps/jsr.io/@oak/commons/1.0.0/status.d.ts +389 -0
- package/esm/deps/jsr.io/@oak/commons/1.0.0/status.d.ts.map +1 -0
- package/esm/deps/jsr.io/@oak/commons/1.0.0/status.js +386 -0
- package/esm/deps/jsr.io/@std/assert/1.0.11/assert.d.ts +16 -0
- package/esm/deps/jsr.io/@std/assert/1.0.11/assert.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.11/assert.js +22 -0
- package/esm/deps/jsr.io/@std/assert/1.0.11/assertion_error.d.ts +26 -0
- package/esm/deps/jsr.io/@std/assert/1.0.11/assertion_error.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.11/assertion_error.js +30 -0
- package/esm/deps/jsr.io/@std/bytes/1.0.5/_types.d.ts +9 -0
- package/esm/deps/jsr.io/@std/bytes/1.0.5/_types.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/bytes/1.0.5/_types.js +2 -0
- package/esm/deps/jsr.io/@std/bytes/1.0.5/concat.d.ts +21 -0
- package/esm/deps/jsr.io/@std/bytes/1.0.5/concat.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/bytes/1.0.5/concat.js +32 -0
- package/esm/deps/jsr.io/@std/crypto/1.0.4/timing_safe_equal.d.ts +34 -0
- package/esm/deps/jsr.io/@std/crypto/1.0.4/timing_safe_equal.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/crypto/1.0.4/timing_safe_equal.js +55 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.7/_types.d.ts +9 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.7/_types.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.7/_types.js +2 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.7/_validate_binary_like.d.ts +2 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.7/_validate_binary_like.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.7/_validate_binary_like.js +26 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.7/base64.d.ts +40 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.7/base64.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.7/base64.js +163 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.7/base64url.d.ts +40 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.7/base64url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/encoding/1.0.7/base64url.js +81 -0
- package/esm/deps/jsr.io/@std/http/1.0.13/_negotiation/common.d.ts +38 -0
- package/esm/deps/jsr.io/@std/http/1.0.13/_negotiation/common.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/http/1.0.13/_negotiation/common.js +40 -0
- package/esm/deps/jsr.io/@std/http/1.0.13/_negotiation/encoding.d.ts +34 -0
- package/esm/deps/jsr.io/@std/http/1.0.13/_negotiation/encoding.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/http/1.0.13/_negotiation/encoding.js +123 -0
- package/esm/deps/jsr.io/@std/http/1.0.13/_negotiation/language.d.ts +31 -0
- package/esm/deps/jsr.io/@std/http/1.0.13/_negotiation/language.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/http/1.0.13/_negotiation/language.js +113 -0
- package/esm/deps/jsr.io/@std/http/1.0.13/_negotiation/media_type.d.ts +31 -0
- package/esm/deps/jsr.io/@std/http/1.0.13/_negotiation/media_type.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/http/1.0.13/_negotiation/media_type.js +140 -0
- package/esm/deps/jsr.io/@std/http/1.0.13/etag.d.ts +148 -0
- package/esm/deps/jsr.io/@std/http/1.0.13/etag.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/http/1.0.13/etag.js +135 -0
- package/esm/deps/jsr.io/@std/http/1.0.13/negotiation.d.ts +148 -0
- package/esm/deps/jsr.io/@std/http/1.0.13/negotiation.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/http/1.0.13/negotiation.js +37 -0
- package/esm/deps/jsr.io/@std/http/1.0.13/user_agent.d.ts +200 -0
- package/esm/deps/jsr.io/@std/http/1.0.13/user_agent.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/http/1.0.13/user_agent.js +1150 -0
- package/esm/deps/jsr.io/@std/media-types/1.1.0/_db.d.ts +8 -0
- package/esm/deps/jsr.io/@std/media-types/1.1.0/_db.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/media-types/1.1.0/_db.js +33 -0
- package/esm/deps/jsr.io/@std/media-types/1.1.0/_util.d.ts +15 -0
- package/esm/deps/jsr.io/@std/media-types/1.1.0/_util.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/media-types/1.1.0/_util.js +122 -0
- package/esm/deps/jsr.io/@std/media-types/1.1.0/content_type.d.ts +43 -0
- package/esm/deps/jsr.io/@std/media-types/1.1.0/content_type.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/media-types/1.1.0/content_type.js +57 -0
- package/esm/deps/jsr.io/@std/media-types/1.1.0/format_media_type.d.ts +33 -0
- package/esm/deps/jsr.io/@std/media-types/1.1.0/format_media_type.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/media-types/1.1.0/format_media_type.js +77 -0
- package/esm/deps/jsr.io/@std/media-types/1.1.0/get_charset.d.ts +22 -0
- package/esm/deps/jsr.io/@std/media-types/1.1.0/get_charset.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/media-types/1.1.0/get_charset.js +43 -0
- package/esm/deps/jsr.io/@std/media-types/1.1.0/parse_media_type.d.ts +31 -0
- package/esm/deps/jsr.io/@std/media-types/1.1.0/parse_media_type.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/media-types/1.1.0/parse_media_type.js +114 -0
- package/esm/deps/jsr.io/@std/media-types/1.1.0/type_by_extension.d.ts +25 -0
- package/esm/deps/jsr.io/@std/media-types/1.1.0/type_by_extension.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/media-types/1.1.0/type_by_extension.js +31 -0
- package/esm/deps/jsr.io/@std/media-types/1.1.0/vendor/db.d.ts +9103 -0
- package/esm/deps/jsr.io/@std/media-types/1.1.0/vendor/db.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/media-types/1.1.0/vendor/db.js +9138 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/assert_path.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/assert_path.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/assert_path.js +7 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/basename.d.ts +4 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/basename.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/basename.js +40 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/common.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/common.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/common.js +23 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/constants.d.ts +40 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/constants.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/constants.js +46 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/dirname.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/dirname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/dirname.js +8 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/format.d.ts +4 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/format.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/format.js +19 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/from_file_url.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/from_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/from_file_url.js +9 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/glob_to_reg_exp.d.ts +35 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/glob_to_reg_exp.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/glob_to_reg_exp.js +234 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/normalize.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/normalize.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/normalize.js +8 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/normalize_string.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/normalize_string.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/normalize_string.js +77 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/relative.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/relative.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/relative.js +9 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/strip_trailing_separators.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/strip_trailing_separators.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/strip_trailing_separators.js +19 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/to_file_url.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/to_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/to_file_url.js +15 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_os.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_os.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_os.js +9 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/basename.d.ts +28 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/basename.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/basename.js +36 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/common.d.ts +28 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/common.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/common.js +33 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/constants.d.ts +15 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/constants.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/constants.js +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/dirname.d.ts +23 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/dirname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/dirname.js +29 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/extname.d.ts +23 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/extname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/extname.js +29 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/format.d.ts +22 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/format.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/format.js +27 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/from_file_url.d.ts +22 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/from_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/from_file_url.js +28 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/glob_to_regexp.d.ts +77 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/glob_to_regexp.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/glob_to_regexp.js +83 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/is_absolute.d.ts +22 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/is_absolute.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/is_absolute.js +28 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/is_glob.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/is_glob.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/is_glob.js +42 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/join.d.ts +23 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/join.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/join.js +29 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/join_globs.d.ts +28 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/join_globs.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/join_globs.js +34 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/mod.d.ts +54 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/mod.js +57 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/normalize.d.ts +27 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/normalize.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/normalize.js +33 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/normalize_glob.d.ts +29 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/normalize_glob.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/normalize_glob.js +35 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/parse.d.ts +35 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/parse.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/parse.js +39 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/_util.d.ts +2 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/_util.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/_util.js +8 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/basename.d.ts +40 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/basename.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/basename.js +49 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/constants.d.ts +13 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/constants.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/constants.js +14 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/dirname.d.ts +32 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/dirname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/dirname.js +62 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/extname.d.ts +37 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/extname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/extname.js +89 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/format.d.ts +24 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/format.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/format.js +28 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/from_file_url.d.ts +16 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/from_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/from_file_url.js +21 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/glob_to_regexp.d.ts +72 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/glob_to_regexp.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/glob_to_regexp.js +82 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/is_absolute.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/is_absolute.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/is_absolute.js +23 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/join.d.ts +33 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/join.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/join.js +42 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/join_globs.d.ts +20 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/join_globs.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/join_globs.js +40 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/normalize.d.ts +40 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/normalize.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/normalize.js +57 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/normalize_glob.d.ts +20 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/normalize_glob.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/normalize_glob.js +32 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/parse.d.ts +25 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/parse.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/parse.js +115 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/relative.d.ts +20 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/relative.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/relative.js +106 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/resolve.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/resolve.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/resolve.js +59 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/to_file_url.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/to_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/to_file_url.js +27 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/to_namespaced_path.d.ts +16 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/to_namespaced_path.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/to_namespaced_path.js +20 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/relative.d.ts +24 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/relative.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/relative.js +30 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/resolve.d.ts +22 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/resolve.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/resolve.js +30 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/to_file_url.d.ts +22 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/to_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/to_file_url.js +28 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/to_namespaced_path.d.ts +21 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/to_namespaced_path.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/to_namespaced_path.js +29 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/types.d.ts +38 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/types.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/types.js +3 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/_util.d.ts +4 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/_util.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/_util.js +15 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/basename.d.ts +23 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/basename.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/basename.js +44 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/constants.d.ts +13 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/constants.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/constants.js +14 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/dirname.d.ts +20 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/dirname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/dirname.js +112 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/extname.d.ts +20 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/extname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/extname.js +81 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/format.d.ts +24 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/format.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/format.js +28 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/from_file_url.d.ts +18 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/from_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/from_file_url.js +30 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/glob_to_regexp.d.ts +71 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/glob_to_regexp.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/glob_to_regexp.js +82 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/is_absolute.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/is_absolute.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/is_absolute.js +38 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/join.d.ts +20 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/join.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/join.js +74 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/join_globs.d.ts +21 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/join_globs.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/join_globs.js +41 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/normalize.d.ts +22 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/normalize.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/normalize.js +134 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/normalize_glob.d.ts +20 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/normalize_glob.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/normalize_glob.js +32 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/parse.d.ts +25 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/parse.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/parse.js +176 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/relative.d.ts +23 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/relative.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/relative.js +131 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/resolve.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/resolve.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/resolve.js +154 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/to_file_url.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/to_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/to_file_url.js +34 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/to_namespaced_path.d.ts +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/to_namespaced_path.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/to_namespaced_path.js +49 -0
- package/esm/mod.d.ts +1 -0
- package/esm/mod.d.ts.map +1 -1
- package/esm/mod.js +1 -0
- package/esm/src/dsl/http/versori/internalauth.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/internalauth.js +17 -10
- package/esm/src/dsl/http/versori/roundtripper.d.ts.map +1 -1
- package/esm/src/dsl/http/versori/roundtripper.js +10 -1
- package/esm/src/dsl/triggers/WebhookTrigger.d.ts +13 -0
- package/esm/src/dsl/triggers/WebhookTrigger.d.ts.map +1 -0
- package/esm/src/dsl/triggers/WebhookTrigger.js +31 -0
- package/esm/src/interpreter/memory/MemoryInterpreter.d.ts +9 -1
- package/esm/src/interpreter/memory/MemoryInterpreter.d.ts.map +1 -1
- package/esm/src/interpreter/memory/MemoryInterpreter.js +54 -21
- package/esm/src/interpreter/memory/ObservableCompiler.d.ts +2 -0
- package/esm/src/interpreter/memory/ObservableCompiler.d.ts.map +1 -1
- package/esm/src/interpreter/memory/ObservableCompiler.js +2 -0
- package/esm/src/interpreter/memory/compilers/webhook.d.ts +4 -0
- package/esm/src/interpreter/memory/compilers/webhook.d.ts.map +1 -0
- package/esm/src/interpreter/memory/compilers/webhook.js +40 -0
- package/package.json +2 -1
- package/script/_dnt.polyfills.d.ts +14 -0
- package/script/_dnt.polyfills.d.ts.map +1 -0
- package/script/_dnt.polyfills.js +12 -0
- package/script/deps/deno.land/x/oak@v17.1.4/application.d.ts +383 -0
- package/script/deps/deno.land/x/oak@v17.1.4/application.d.ts.map +1 -0
- package/script/deps/deno.land/x/oak@v17.1.4/application.js +554 -0
- package/script/deps/deno.land/x/oak@v17.1.4/body.d.ts +71 -0
- package/script/deps/deno.land/x/oak@v17.1.4/body.d.ts.map +1 -0
- package/script/deps/deno.land/x/oak@v17.1.4/body.js +240 -0
- package/script/deps/deno.land/x/oak@v17.1.4/context.d.ts +163 -0
- package/script/deps/deno.land/x/oak@v17.1.4/context.d.ts.map +1 -0
- package/script/deps/deno.land/x/oak@v17.1.4/context.js +291 -0
- package/script/deps/deno.land/x/oak@v17.1.4/deps.d.ts +19 -0
- package/script/deps/deno.land/x/oak@v17.1.4/deps.d.ts.map +1 -0
- package/script/deps/deno.land/x/oak@v17.1.4/deps.js +60 -0
- package/script/deps/deno.land/x/oak@v17.1.4/http_server_bun.d.ts +51 -0
- package/script/deps/deno.land/x/oak@v17.1.4/http_server_bun.d.ts.map +1 -0
- package/script/deps/deno.land/x/oak@v17.1.4/http_server_bun.js +151 -0
- package/script/deps/deno.land/x/oak@v17.1.4/http_server_native.d.ts +17 -0
- package/script/deps/deno.land/x/oak@v17.1.4/http_server_native.d.ts.map +1 -0
- package/script/deps/deno.land/x/oak@v17.1.4/http_server_native.js +127 -0
- package/script/deps/deno.land/x/oak@v17.1.4/http_server_native_request.d.ts +26 -0
- package/script/deps/deno.land/x/oak@v17.1.4/http_server_native_request.d.ts.map +1 -0
- package/script/deps/deno.land/x/oak@v17.1.4/http_server_native_request.js +140 -0
- package/script/deps/deno.land/x/oak@v17.1.4/http_server_node.d.ts +48 -0
- package/script/deps/deno.land/x/oak@v17.1.4/http_server_node.d.ts.map +1 -0
- package/script/deps/deno.land/x/oak@v17.1.4/http_server_node.js +180 -0
- package/script/deps/deno.land/x/oak@v17.1.4/middleware/etag.d.ts +20 -0
- package/script/deps/deno.land/x/oak@v17.1.4/middleware/etag.d.ts.map +1 -0
- package/script/deps/deno.land/x/oak@v17.1.4/middleware/etag.js +57 -0
- package/script/deps/deno.land/x/oak@v17.1.4/middleware/proxy.d.ts +67 -0
- package/script/deps/deno.land/x/oak@v17.1.4/middleware/proxy.d.ts.map +1 -0
- package/script/deps/deno.land/x/oak@v17.1.4/middleware/proxy.js +130 -0
- package/script/deps/deno.land/x/oak@v17.1.4/middleware/serve.d.ts +114 -0
- package/script/deps/deno.land/x/oak@v17.1.4/middleware/serve.d.ts.map +1 -0
- package/script/deps/deno.land/x/oak@v17.1.4/middleware/serve.js +218 -0
- package/script/deps/deno.land/x/oak@v17.1.4/middleware.d.ts +36 -0
- package/script/deps/deno.land/x/oak@v17.1.4/middleware.d.ts.map +1 -0
- package/script/deps/deno.land/x/oak@v17.1.4/middleware.js +38 -0
- package/script/deps/deno.land/x/oak@v17.1.4/mod.d.ts +111 -0
- package/script/deps/deno.land/x/oak@v17.1.4/mod.d.ts.map +1 -0
- package/script/deps/deno.land/x/oak@v17.1.4/mod.js +159 -0
- package/script/deps/deno.land/x/oak@v17.1.4/node_shims.d.ts +2 -0
- package/script/deps/deno.land/x/oak@v17.1.4/node_shims.d.ts.map +1 -0
- package/script/deps/deno.land/x/oak@v17.1.4/node_shims.js +100 -0
- package/script/deps/deno.land/x/oak@v17.1.4/request.d.ts +133 -0
- package/script/deps/deno.land/x/oak@v17.1.4/request.d.ts.map +1 -0
- package/script/deps/deno.land/x/oak@v17.1.4/request.js +250 -0
- package/script/deps/deno.land/x/oak@v17.1.4/response.d.ts +148 -0
- package/script/deps/deno.land/x/oak@v17.1.4/response.d.ts.map +1 -0
- package/script/deps/deno.land/x/oak@v17.1.4/response.js +299 -0
- package/script/deps/deno.land/x/oak@v17.1.4/router.d.ts +363 -0
- package/script/deps/deno.land/x/oak@v17.1.4/router.d.ts.map +1 -0
- package/script/deps/deno.land/x/oak@v17.1.4/router.js +641 -0
- package/script/deps/deno.land/x/oak@v17.1.4/send.d.ts +75 -0
- package/script/deps/deno.land/x/oak@v17.1.4/send.d.ts.map +1 -0
- package/script/deps/deno.land/x/oak@v17.1.4/send.js +222 -0
- package/script/deps/deno.land/x/oak@v17.1.4/testing.d.ts +33 -0
- package/script/deps/deno.land/x/oak@v17.1.4/testing.d.ts.map +1 -0
- package/script/deps/deno.land/x/oak@v17.1.4/testing.js +118 -0
- package/script/deps/deno.land/x/oak@v17.1.4/types.d.ts +77 -0
- package/script/deps/deno.land/x/oak@v17.1.4/types.d.ts.map +1 -0
- package/script/deps/deno.land/x/oak@v17.1.4/types.js +2 -0
- package/script/deps/deno.land/x/oak@v17.1.4/utils/clone_state.d.ts +3 -0
- package/script/deps/deno.land/x/oak@v17.1.4/utils/clone_state.d.ts.map +1 -0
- package/script/deps/deno.land/x/oak@v17.1.4/utils/clone_state.js +19 -0
- package/script/deps/deno.land/x/oak@v17.1.4/utils/consts.d.ts +3 -0
- package/script/deps/deno.land/x/oak@v17.1.4/utils/consts.d.ts.map +1 -0
- package/script/deps/deno.land/x/oak@v17.1.4/utils/consts.js +6 -0
- package/script/deps/deno.land/x/oak@v17.1.4/utils/create_promise_with_resolvers.d.ts +7 -0
- package/script/deps/deno.land/x/oak@v17.1.4/utils/create_promise_with_resolvers.d.ts.map +1 -0
- package/script/deps/deno.land/x/oak@v17.1.4/utils/create_promise_with_resolvers.js +23 -0
- package/script/deps/deno.land/x/oak@v17.1.4/utils/decode.d.ts +6 -0
- package/script/deps/deno.land/x/oak@v17.1.4/utils/decode.d.ts.map +1 -0
- package/script/deps/deno.land/x/oak@v17.1.4/utils/decode.js +20 -0
- package/script/deps/deno.land/x/oak@v17.1.4/utils/decode_component.d.ts +6 -0
- package/script/deps/deno.land/x/oak@v17.1.4/utils/decode_component.d.ts.map +1 -0
- package/script/deps/deno.land/x/oak@v17.1.4/utils/decode_component.js +16 -0
- package/script/deps/deno.land/x/oak@v17.1.4/utils/encode_url.d.ts +3 -0
- package/script/deps/deno.land/x/oak@v17.1.4/utils/encode_url.d.ts.map +1 -0
- package/script/deps/deno.land/x/oak@v17.1.4/utils/encode_url.js +13 -0
- package/script/deps/deno.land/x/oak@v17.1.4/utils/resolve_path.d.ts +31 -0
- package/script/deps/deno.land/x/oak@v17.1.4/utils/resolve_path.d.ts.map +1 -0
- package/script/deps/deno.land/x/oak@v17.1.4/utils/resolve_path.js +59 -0
- package/script/deps/deno.land/x/oak@v17.1.4/utils/streams.d.ts +9 -0
- package/script/deps/deno.land/x/oak@v17.1.4/utils/streams.d.ts.map +1 -0
- package/script/deps/deno.land/x/oak@v17.1.4/utils/streams.js +80 -0
- package/script/deps/deno.land/x/oak@v17.1.4/utils/type_guards.d.ts +17 -0
- package/script/deps/deno.land/x/oak@v17.1.4/utils/type_guards.d.ts.map +1 -0
- package/script/deps/deno.land/x/oak@v17.1.4/utils/type_guards.js +70 -0
- package/script/deps/jsr.io/@oak/commons/1.0.0/content_disposition.d.ts +16 -0
- package/script/deps/jsr.io/@oak/commons/1.0.0/content_disposition.d.ts.map +1 -0
- package/script/deps/jsr.io/@oak/commons/1.0.0/content_disposition.js +128 -0
- package/script/deps/jsr.io/@oak/commons/1.0.0/cookie_map.d.ts +363 -0
- package/script/deps/jsr.io/@oak/commons/1.0.0/cookie_map.d.ts.map +1 -0
- package/script/deps/jsr.io/@oak/commons/1.0.0/cookie_map.js +608 -0
- package/script/deps/jsr.io/@oak/commons/1.0.0/form_data.d.ts +9 -0
- package/script/deps/jsr.io/@oak/commons/1.0.0/form_data.d.ts.map +1 -0
- package/script/deps/jsr.io/@oak/commons/1.0.0/form_data.js +288 -0
- package/script/deps/jsr.io/@oak/commons/1.0.0/forwarded.d.ts +16 -0
- package/script/deps/jsr.io/@oak/commons/1.0.0/forwarded.d.ts.map +1 -0
- package/script/deps/jsr.io/@oak/commons/1.0.0/forwarded.js +211 -0
- package/script/deps/jsr.io/@oak/commons/1.0.0/header_utils.d.ts +6 -0
- package/script/deps/jsr.io/@oak/commons/1.0.0/header_utils.d.ts.map +1 -0
- package/script/deps/jsr.io/@oak/commons/1.0.0/header_utils.js +32 -0
- package/script/deps/jsr.io/@oak/commons/1.0.0/http_errors.d.ts +123 -0
- package/script/deps/jsr.io/@oak/commons/1.0.0/http_errors.d.ts.map +1 -0
- package/script/deps/jsr.io/@oak/commons/1.0.0/http_errors.js +239 -0
- package/script/deps/jsr.io/@oak/commons/1.0.0/keystack.d.ts +56 -0
- package/script/deps/jsr.io/@oak/commons/1.0.0/keystack.d.ts.map +1 -0
- package/script/deps/jsr.io/@oak/commons/1.0.0/keystack.js +169 -0
- package/script/deps/jsr.io/@oak/commons/1.0.0/media_types.d.ts +56 -0
- package/script/deps/jsr.io/@oak/commons/1.0.0/media_types.d.ts.map +1 -0
- package/script/deps/jsr.io/@oak/commons/1.0.0/media_types.js +212 -0
- package/script/deps/jsr.io/@oak/commons/1.0.0/method.d.ts +29 -0
- package/script/deps/jsr.io/@oak/commons/1.0.0/method.d.ts.map +1 -0
- package/script/deps/jsr.io/@oak/commons/1.0.0/method.js +66 -0
- package/script/deps/jsr.io/@oak/commons/1.0.0/range.d.ts +324 -0
- package/script/deps/jsr.io/@oak/commons/1.0.0/range.d.ts.map +1 -0
- package/script/deps/jsr.io/@oak/commons/1.0.0/range.js +536 -0
- package/script/deps/jsr.io/@oak/commons/1.0.0/server_sent_event.d.ts +178 -0
- package/script/deps/jsr.io/@oak/commons/1.0.0/server_sent_event.d.ts.map +1 -0
- package/script/deps/jsr.io/@oak/commons/1.0.0/server_sent_event.js +267 -0
- package/script/deps/jsr.io/@oak/commons/1.0.0/status.d.ts +389 -0
- package/script/deps/jsr.io/@oak/commons/1.0.0/status.d.ts.map +1 -0
- package/script/deps/jsr.io/@oak/commons/1.0.0/status.js +396 -0
- package/script/deps/jsr.io/@std/assert/1.0.11/assert.d.ts +16 -0
- package/script/deps/jsr.io/@std/assert/1.0.11/assert.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/1.0.11/assert.js +25 -0
- package/script/deps/jsr.io/@std/assert/1.0.11/assertion_error.d.ts +26 -0
- package/script/deps/jsr.io/@std/assert/1.0.11/assertion_error.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/1.0.11/assertion_error.js +34 -0
- package/script/deps/jsr.io/@std/bytes/1.0.5/_types.d.ts +9 -0
- package/script/deps/jsr.io/@std/bytes/1.0.5/_types.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/bytes/1.0.5/_types.js +3 -0
- package/script/deps/jsr.io/@std/bytes/1.0.5/concat.d.ts +21 -0
- package/script/deps/jsr.io/@std/bytes/1.0.5/concat.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/bytes/1.0.5/concat.js +35 -0
- package/script/deps/jsr.io/@std/crypto/1.0.4/timing_safe_equal.d.ts +34 -0
- package/script/deps/jsr.io/@std/crypto/1.0.4/timing_safe_equal.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/crypto/1.0.4/timing_safe_equal.js +58 -0
- package/script/deps/jsr.io/@std/encoding/1.0.7/_types.d.ts +9 -0
- package/script/deps/jsr.io/@std/encoding/1.0.7/_types.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/encoding/1.0.7/_types.js +3 -0
- package/script/deps/jsr.io/@std/encoding/1.0.7/_validate_binary_like.d.ts +2 -0
- package/script/deps/jsr.io/@std/encoding/1.0.7/_validate_binary_like.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/encoding/1.0.7/_validate_binary_like.js +29 -0
- package/script/deps/jsr.io/@std/encoding/1.0.7/base64.d.ts +40 -0
- package/script/deps/jsr.io/@std/encoding/1.0.7/base64.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/encoding/1.0.7/base64.js +167 -0
- package/script/deps/jsr.io/@std/encoding/1.0.7/base64url.d.ts +40 -0
- package/script/deps/jsr.io/@std/encoding/1.0.7/base64url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/encoding/1.0.7/base64url.js +108 -0
- package/script/deps/jsr.io/@std/http/1.0.13/_negotiation/common.d.ts +38 -0
- package/script/deps/jsr.io/@std/http/1.0.13/_negotiation/common.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/http/1.0.13/_negotiation/common.js +44 -0
- package/script/deps/jsr.io/@std/http/1.0.13/_negotiation/encoding.d.ts +34 -0
- package/script/deps/jsr.io/@std/http/1.0.13/_negotiation/encoding.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/http/1.0.13/_negotiation/encoding.js +126 -0
- package/script/deps/jsr.io/@std/http/1.0.13/_negotiation/language.d.ts +31 -0
- package/script/deps/jsr.io/@std/http/1.0.13/_negotiation/language.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/http/1.0.13/_negotiation/language.js +116 -0
- package/script/deps/jsr.io/@std/http/1.0.13/_negotiation/media_type.d.ts +31 -0
- package/script/deps/jsr.io/@std/http/1.0.13/_negotiation/media_type.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/http/1.0.13/_negotiation/media_type.js +143 -0
- package/script/deps/jsr.io/@std/http/1.0.13/etag.d.ts +148 -0
- package/script/deps/jsr.io/@std/http/1.0.13/etag.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/http/1.0.13/etag.js +140 -0
- package/script/deps/jsr.io/@std/http/1.0.13/negotiation.d.ts +148 -0
- package/script/deps/jsr.io/@std/http/1.0.13/negotiation.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/http/1.0.13/negotiation.js +42 -0
- package/script/deps/jsr.io/@std/http/1.0.13/user_agent.d.ts +200 -0
- package/script/deps/jsr.io/@std/http/1.0.13/user_agent.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/http/1.0.13/user_agent.js +1154 -0
- package/script/deps/jsr.io/@std/media-types/1.1.0/_db.d.ts +8 -0
- package/script/deps/jsr.io/@std/media-types/1.1.0/_db.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/media-types/1.1.0/_db.js +40 -0
- package/script/deps/jsr.io/@std/media-types/1.1.0/_util.d.ts +15 -0
- package/script/deps/jsr.io/@std/media-types/1.1.0/_util.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/media-types/1.1.0/_util.js +132 -0
- package/script/deps/jsr.io/@std/media-types/1.1.0/content_type.d.ts +43 -0
- package/script/deps/jsr.io/@std/media-types/1.1.0/content_type.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/media-types/1.1.0/content_type.js +60 -0
- package/script/deps/jsr.io/@std/media-types/1.1.0/format_media_type.d.ts +33 -0
- package/script/deps/jsr.io/@std/media-types/1.1.0/format_media_type.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/media-types/1.1.0/format_media_type.js +80 -0
- package/script/deps/jsr.io/@std/media-types/1.1.0/get_charset.d.ts +22 -0
- package/script/deps/jsr.io/@std/media-types/1.1.0/get_charset.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/media-types/1.1.0/get_charset.js +46 -0
- package/script/deps/jsr.io/@std/media-types/1.1.0/parse_media_type.d.ts +31 -0
- package/script/deps/jsr.io/@std/media-types/1.1.0/parse_media_type.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/media-types/1.1.0/parse_media_type.js +117 -0
- package/script/deps/jsr.io/@std/media-types/1.1.0/type_by_extension.d.ts +25 -0
- package/script/deps/jsr.io/@std/media-types/1.1.0/type_by_extension.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/media-types/1.1.0/type_by_extension.js +34 -0
- package/script/deps/jsr.io/@std/media-types/1.1.0/vendor/db.d.ts +9103 -0
- package/script/deps/jsr.io/@std/media-types/1.1.0/vendor/db.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/media-types/1.1.0/vendor/db.js +9140 -0
- package/script/deps/jsr.io/@std/path/1.0.8/_common/assert_path.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/1.0.8/_common/assert_path.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/_common/assert_path.js +10 -0
- package/script/deps/jsr.io/@std/path/1.0.8/_common/basename.d.ts +4 -0
- package/script/deps/jsr.io/@std/path/1.0.8/_common/basename.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/_common/basename.js +45 -0
- package/script/deps/jsr.io/@std/path/1.0.8/_common/common.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/1.0.8/_common/common.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/_common/common.js +26 -0
- package/script/deps/jsr.io/@std/path/1.0.8/_common/constants.d.ts +40 -0
- package/script/deps/jsr.io/@std/path/1.0.8/_common/constants.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/_common/constants.js +49 -0
- package/script/deps/jsr.io/@std/path/1.0.8/_common/dirname.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/1.0.8/_common/dirname.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/_common/dirname.js +11 -0
- package/script/deps/jsr.io/@std/path/1.0.8/_common/format.d.ts +4 -0
- package/script/deps/jsr.io/@std/path/1.0.8/_common/format.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/_common/format.js +23 -0
- package/script/deps/jsr.io/@std/path/1.0.8/_common/from_file_url.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/1.0.8/_common/from_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/_common/from_file_url.js +12 -0
- package/script/deps/jsr.io/@std/path/1.0.8/_common/glob_to_reg_exp.d.ts +35 -0
- package/script/deps/jsr.io/@std/path/1.0.8/_common/glob_to_reg_exp.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/_common/glob_to_reg_exp.js +237 -0
- package/script/deps/jsr.io/@std/path/1.0.8/_common/normalize.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/1.0.8/_common/normalize.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/_common/normalize.js +11 -0
- package/script/deps/jsr.io/@std/path/1.0.8/_common/normalize_string.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/1.0.8/_common/normalize_string.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/_common/normalize_string.js +80 -0
- package/script/deps/jsr.io/@std/path/1.0.8/_common/relative.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/1.0.8/_common/relative.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/_common/relative.js +12 -0
- package/script/deps/jsr.io/@std/path/1.0.8/_common/strip_trailing_separators.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/1.0.8/_common/strip_trailing_separators.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/_common/strip_trailing_separators.js +22 -0
- package/script/deps/jsr.io/@std/path/1.0.8/_common/to_file_url.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/1.0.8/_common/to_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/_common/to_file_url.js +18 -0
- package/script/deps/jsr.io/@std/path/1.0.8/_os.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/1.0.8/_os.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/_os.js +35 -0
- package/script/deps/jsr.io/@std/path/1.0.8/basename.d.ts +28 -0
- package/script/deps/jsr.io/@std/path/1.0.8/basename.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/basename.js +39 -0
- package/script/deps/jsr.io/@std/path/1.0.8/common.d.ts +28 -0
- package/script/deps/jsr.io/@std/path/1.0.8/common.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/common.js +36 -0
- package/script/deps/jsr.io/@std/path/1.0.8/constants.d.ts +15 -0
- package/script/deps/jsr.io/@std/path/1.0.8/constants.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/constants.js +20 -0
- package/script/deps/jsr.io/@std/path/1.0.8/dirname.d.ts +23 -0
- package/script/deps/jsr.io/@std/path/1.0.8/dirname.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/dirname.js +32 -0
- package/script/deps/jsr.io/@std/path/1.0.8/extname.d.ts +23 -0
- package/script/deps/jsr.io/@std/path/1.0.8/extname.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/extname.js +32 -0
- package/script/deps/jsr.io/@std/path/1.0.8/format.d.ts +22 -0
- package/script/deps/jsr.io/@std/path/1.0.8/format.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/format.js +30 -0
- package/script/deps/jsr.io/@std/path/1.0.8/from_file_url.d.ts +22 -0
- package/script/deps/jsr.io/@std/path/1.0.8/from_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/from_file_url.js +31 -0
- package/script/deps/jsr.io/@std/path/1.0.8/glob_to_regexp.d.ts +77 -0
- package/script/deps/jsr.io/@std/path/1.0.8/glob_to_regexp.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/glob_to_regexp.js +86 -0
- package/script/deps/jsr.io/@std/path/1.0.8/is_absolute.d.ts +22 -0
- package/script/deps/jsr.io/@std/path/1.0.8/is_absolute.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/is_absolute.js +31 -0
- package/script/deps/jsr.io/@std/path/1.0.8/is_glob.d.ts +17 -0
- package/script/deps/jsr.io/@std/path/1.0.8/is_glob.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/is_glob.js +45 -0
- package/script/deps/jsr.io/@std/path/1.0.8/join.d.ts +23 -0
- package/script/deps/jsr.io/@std/path/1.0.8/join.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/join.js +32 -0
- package/script/deps/jsr.io/@std/path/1.0.8/join_globs.d.ts +28 -0
- package/script/deps/jsr.io/@std/path/1.0.8/join_globs.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/join_globs.js +37 -0
- package/script/deps/jsr.io/@std/path/1.0.8/mod.d.ts +54 -0
- package/script/deps/jsr.io/@std/path/1.0.8/mod.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/mod.js +73 -0
- package/script/deps/jsr.io/@std/path/1.0.8/normalize.d.ts +27 -0
- package/script/deps/jsr.io/@std/path/1.0.8/normalize.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/normalize.js +36 -0
- package/script/deps/jsr.io/@std/path/1.0.8/normalize_glob.d.ts +29 -0
- package/script/deps/jsr.io/@std/path/1.0.8/normalize_glob.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/normalize_glob.js +38 -0
- package/script/deps/jsr.io/@std/path/1.0.8/parse.d.ts +35 -0
- package/script/deps/jsr.io/@std/path/1.0.8/parse.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/parse.js +42 -0
- package/script/deps/jsr.io/@std/path/1.0.8/posix/_util.d.ts +2 -0
- package/script/deps/jsr.io/@std/path/1.0.8/posix/_util.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/posix/_util.js +11 -0
- package/script/deps/jsr.io/@std/path/1.0.8/posix/basename.d.ts +40 -0
- package/script/deps/jsr.io/@std/path/1.0.8/posix/basename.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/posix/basename.js +52 -0
- package/script/deps/jsr.io/@std/path/1.0.8/posix/constants.d.ts +13 -0
- package/script/deps/jsr.io/@std/path/1.0.8/posix/constants.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/posix/constants.js +17 -0
- package/script/deps/jsr.io/@std/path/1.0.8/posix/dirname.d.ts +32 -0
- package/script/deps/jsr.io/@std/path/1.0.8/posix/dirname.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/posix/dirname.js +65 -0
- package/script/deps/jsr.io/@std/path/1.0.8/posix/extname.d.ts +37 -0
- package/script/deps/jsr.io/@std/path/1.0.8/posix/extname.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/posix/extname.js +92 -0
- package/script/deps/jsr.io/@std/path/1.0.8/posix/format.d.ts +24 -0
- package/script/deps/jsr.io/@std/path/1.0.8/posix/format.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/posix/format.js +31 -0
- package/script/deps/jsr.io/@std/path/1.0.8/posix/from_file_url.d.ts +16 -0
- package/script/deps/jsr.io/@std/path/1.0.8/posix/from_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/posix/from_file_url.js +24 -0
- package/script/deps/jsr.io/@std/path/1.0.8/posix/glob_to_regexp.d.ts +72 -0
- package/script/deps/jsr.io/@std/path/1.0.8/posix/glob_to_regexp.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/posix/glob_to_regexp.js +85 -0
- package/script/deps/jsr.io/@std/path/1.0.8/posix/is_absolute.d.ts +17 -0
- package/script/deps/jsr.io/@std/path/1.0.8/posix/is_absolute.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/posix/is_absolute.js +26 -0
- package/script/deps/jsr.io/@std/path/1.0.8/posix/join.d.ts +33 -0
- package/script/deps/jsr.io/@std/path/1.0.8/posix/join.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/posix/join.js +45 -0
- package/script/deps/jsr.io/@std/path/1.0.8/posix/join_globs.d.ts +20 -0
- package/script/deps/jsr.io/@std/path/1.0.8/posix/join_globs.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/posix/join_globs.js +43 -0
- package/script/deps/jsr.io/@std/path/1.0.8/posix/normalize.d.ts +40 -0
- package/script/deps/jsr.io/@std/path/1.0.8/posix/normalize.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/posix/normalize.js +60 -0
- package/script/deps/jsr.io/@std/path/1.0.8/posix/normalize_glob.d.ts +20 -0
- package/script/deps/jsr.io/@std/path/1.0.8/posix/normalize_glob.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/posix/normalize_glob.js +35 -0
- package/script/deps/jsr.io/@std/path/1.0.8/posix/parse.d.ts +25 -0
- package/script/deps/jsr.io/@std/path/1.0.8/posix/parse.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/posix/parse.js +118 -0
- package/script/deps/jsr.io/@std/path/1.0.8/posix/relative.d.ts +20 -0
- package/script/deps/jsr.io/@std/path/1.0.8/posix/relative.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/posix/relative.js +109 -0
- package/script/deps/jsr.io/@std/path/1.0.8/posix/resolve.d.ts +17 -0
- package/script/deps/jsr.io/@std/path/1.0.8/posix/resolve.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/posix/resolve.js +85 -0
- package/script/deps/jsr.io/@std/path/1.0.8/posix/to_file_url.d.ts +17 -0
- package/script/deps/jsr.io/@std/path/1.0.8/posix/to_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/posix/to_file_url.js +30 -0
- package/script/deps/jsr.io/@std/path/1.0.8/posix/to_namespaced_path.d.ts +16 -0
- package/script/deps/jsr.io/@std/path/1.0.8/posix/to_namespaced_path.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/posix/to_namespaced_path.js +23 -0
- package/script/deps/jsr.io/@std/path/1.0.8/relative.d.ts +24 -0
- package/script/deps/jsr.io/@std/path/1.0.8/relative.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/relative.js +33 -0
- package/script/deps/jsr.io/@std/path/1.0.8/resolve.d.ts +22 -0
- package/script/deps/jsr.io/@std/path/1.0.8/resolve.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/resolve.js +33 -0
- package/script/deps/jsr.io/@std/path/1.0.8/to_file_url.d.ts +22 -0
- package/script/deps/jsr.io/@std/path/1.0.8/to_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/to_file_url.js +31 -0
- package/script/deps/jsr.io/@std/path/1.0.8/to_namespaced_path.d.ts +21 -0
- package/script/deps/jsr.io/@std/path/1.0.8/to_namespaced_path.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/to_namespaced_path.js +32 -0
- package/script/deps/jsr.io/@std/path/1.0.8/types.d.ts +38 -0
- package/script/deps/jsr.io/@std/path/1.0.8/types.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/types.js +4 -0
- package/script/deps/jsr.io/@std/path/1.0.8/windows/_util.d.ts +4 -0
- package/script/deps/jsr.io/@std/path/1.0.8/windows/_util.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/windows/_util.js +20 -0
- package/script/deps/jsr.io/@std/path/1.0.8/windows/basename.d.ts +23 -0
- package/script/deps/jsr.io/@std/path/1.0.8/windows/basename.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/windows/basename.js +47 -0
- package/script/deps/jsr.io/@std/path/1.0.8/windows/constants.d.ts +13 -0
- package/script/deps/jsr.io/@std/path/1.0.8/windows/constants.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/windows/constants.js +17 -0
- package/script/deps/jsr.io/@std/path/1.0.8/windows/dirname.d.ts +20 -0
- package/script/deps/jsr.io/@std/path/1.0.8/windows/dirname.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/windows/dirname.js +115 -0
- package/script/deps/jsr.io/@std/path/1.0.8/windows/extname.d.ts +20 -0
- package/script/deps/jsr.io/@std/path/1.0.8/windows/extname.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/windows/extname.js +84 -0
- package/script/deps/jsr.io/@std/path/1.0.8/windows/format.d.ts +24 -0
- package/script/deps/jsr.io/@std/path/1.0.8/windows/format.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/windows/format.js +31 -0
- package/script/deps/jsr.io/@std/path/1.0.8/windows/from_file_url.d.ts +18 -0
- package/script/deps/jsr.io/@std/path/1.0.8/windows/from_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/windows/from_file_url.js +33 -0
- package/script/deps/jsr.io/@std/path/1.0.8/windows/glob_to_regexp.d.ts +71 -0
- package/script/deps/jsr.io/@std/path/1.0.8/windows/glob_to_regexp.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/windows/glob_to_regexp.js +85 -0
- package/script/deps/jsr.io/@std/path/1.0.8/windows/is_absolute.d.ts +17 -0
- package/script/deps/jsr.io/@std/path/1.0.8/windows/is_absolute.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/windows/is_absolute.js +41 -0
- package/script/deps/jsr.io/@std/path/1.0.8/windows/join.d.ts +20 -0
- package/script/deps/jsr.io/@std/path/1.0.8/windows/join.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/windows/join.js +77 -0
- package/script/deps/jsr.io/@std/path/1.0.8/windows/join_globs.d.ts +21 -0
- package/script/deps/jsr.io/@std/path/1.0.8/windows/join_globs.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/windows/join_globs.js +44 -0
- package/script/deps/jsr.io/@std/path/1.0.8/windows/normalize.d.ts +22 -0
- package/script/deps/jsr.io/@std/path/1.0.8/windows/normalize.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/windows/normalize.js +137 -0
- package/script/deps/jsr.io/@std/path/1.0.8/windows/normalize_glob.d.ts +20 -0
- package/script/deps/jsr.io/@std/path/1.0.8/windows/normalize_glob.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/windows/normalize_glob.js +35 -0
- package/script/deps/jsr.io/@std/path/1.0.8/windows/parse.d.ts +25 -0
- package/script/deps/jsr.io/@std/path/1.0.8/windows/parse.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/windows/parse.js +179 -0
- package/script/deps/jsr.io/@std/path/1.0.8/windows/relative.d.ts +23 -0
- package/script/deps/jsr.io/@std/path/1.0.8/windows/relative.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/windows/relative.js +134 -0
- package/script/deps/jsr.io/@std/path/1.0.8/windows/resolve.d.ts +17 -0
- package/script/deps/jsr.io/@std/path/1.0.8/windows/resolve.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/windows/resolve.js +180 -0
- package/script/deps/jsr.io/@std/path/1.0.8/windows/to_file_url.d.ts +17 -0
- package/script/deps/jsr.io/@std/path/1.0.8/windows/to_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/windows/to_file_url.js +37 -0
- package/script/deps/jsr.io/@std/path/1.0.8/windows/to_namespaced_path.d.ts +17 -0
- package/script/deps/jsr.io/@std/path/1.0.8/windows/to_namespaced_path.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.0.8/windows/to_namespaced_path.js +52 -0
- package/script/mod.d.ts +1 -0
- package/script/mod.d.ts.map +1 -1
- package/script/mod.js +1 -0
- package/script/src/dsl/http/versori/internalauth.d.ts.map +1 -1
- package/script/src/dsl/http/versori/internalauth.js +17 -10
- package/script/src/dsl/http/versori/roundtripper.d.ts.map +1 -1
- package/script/src/dsl/http/versori/roundtripper.js +10 -1
- package/script/src/dsl/triggers/WebhookTrigger.d.ts +13 -0
- package/script/src/dsl/triggers/WebhookTrigger.d.ts.map +1 -0
- package/script/src/dsl/triggers/WebhookTrigger.js +36 -0
- package/script/src/interpreter/memory/MemoryInterpreter.d.ts +9 -1
- package/script/src/interpreter/memory/MemoryInterpreter.d.ts.map +1 -1
- package/script/src/interpreter/memory/MemoryInterpreter.js +54 -21
- package/script/src/interpreter/memory/ObservableCompiler.d.ts +2 -0
- package/script/src/interpreter/memory/ObservableCompiler.d.ts.map +1 -1
- package/script/src/interpreter/memory/ObservableCompiler.js +2 -0
- package/script/src/interpreter/memory/compilers/webhook.d.ts +4 -0
- package/script/src/interpreter/memory/compilers/webhook.d.ts.map +1 -0
- package/script/src/interpreter/memory/compilers/webhook.js +43 -0
|
@@ -0,0 +1,291 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright 2018-2025 the oak authors. All rights reserved. MIT license.
|
|
3
|
+
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
4
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
5
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
6
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
7
|
+
};
|
|
8
|
+
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
|
|
9
|
+
if (kind === "m") throw new TypeError("Private method is not writable");
|
|
10
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
|
11
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
12
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
13
|
+
};
|
|
14
|
+
var _Context_instances, _Context_socket, _Context_sse, _Context_wrapReviverReplacer;
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.Context = void 0;
|
|
17
|
+
const deps_js_1 = require("./deps.js");
|
|
18
|
+
const request_js_1 = require("./request.js");
|
|
19
|
+
const response_js_1 = require("./response.js");
|
|
20
|
+
const send_js_1 = require("./send.js");
|
|
21
|
+
/** Provides context about the current request and response to middleware
|
|
22
|
+
* functions, and the current instance being processed is the first argument
|
|
23
|
+
* provided a {@linkcode Middleware} function.
|
|
24
|
+
*
|
|
25
|
+
* _Typically this is only used as a type annotation and shouldn't be
|
|
26
|
+
* constructed directly._
|
|
27
|
+
*
|
|
28
|
+
* ### Example
|
|
29
|
+
*
|
|
30
|
+
* ```ts
|
|
31
|
+
* import { Application, Context } from "jsr:@oak/oak/";
|
|
32
|
+
*
|
|
33
|
+
* const app = new Application();
|
|
34
|
+
*
|
|
35
|
+
* app.use((ctx) => {
|
|
36
|
+
* // information about the request is here:
|
|
37
|
+
* ctx.request;
|
|
38
|
+
* // information about the response is here:
|
|
39
|
+
* ctx.response;
|
|
40
|
+
* // the cookie store is here:
|
|
41
|
+
* ctx.cookies;
|
|
42
|
+
* });
|
|
43
|
+
*
|
|
44
|
+
* // Needs a type annotation because it cannot be inferred.
|
|
45
|
+
* function mw(ctx: Context) {
|
|
46
|
+
* // process here...
|
|
47
|
+
* }
|
|
48
|
+
*
|
|
49
|
+
* app.use(mw);
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @template S the state which extends the application state (`AS`)
|
|
53
|
+
* @template AS the type of the state derived from the application
|
|
54
|
+
*/
|
|
55
|
+
class Context {
|
|
56
|
+
/** Is `true` if the current connection is upgradeable to a web socket.
|
|
57
|
+
* Otherwise the value is `false`. Use `.upgrade()` to upgrade the connection
|
|
58
|
+
* and return the web socket. */
|
|
59
|
+
get isUpgradable() {
|
|
60
|
+
const upgrade = this.request.headers.get("upgrade");
|
|
61
|
+
if (!upgrade || upgrade.toLowerCase() !== "websocket") {
|
|
62
|
+
return false;
|
|
63
|
+
}
|
|
64
|
+
const secKey = this.request.headers.get("sec-websocket-key");
|
|
65
|
+
return typeof secKey === "string" && secKey != "";
|
|
66
|
+
}
|
|
67
|
+
/** If the the current context has been upgraded, then this will be set to
|
|
68
|
+
* with the current web socket, otherwise it is `undefined`. */
|
|
69
|
+
get socket() {
|
|
70
|
+
return __classPrivateFieldGet(this, _Context_socket, "f");
|
|
71
|
+
}
|
|
72
|
+
constructor(app, serverRequest, state, { secure = false, jsonBodyReplacer, jsonBodyReviver, } = {}) {
|
|
73
|
+
_Context_instances.add(this);
|
|
74
|
+
_Context_socket.set(this, void 0);
|
|
75
|
+
_Context_sse.set(this, void 0);
|
|
76
|
+
/** A reference to the current application. */
|
|
77
|
+
Object.defineProperty(this, "app", {
|
|
78
|
+
enumerable: true,
|
|
79
|
+
configurable: true,
|
|
80
|
+
writable: true,
|
|
81
|
+
value: void 0
|
|
82
|
+
});
|
|
83
|
+
/** An object which allows access to cookies, mediating both the request and
|
|
84
|
+
* response. */
|
|
85
|
+
Object.defineProperty(this, "cookies", {
|
|
86
|
+
enumerable: true,
|
|
87
|
+
configurable: true,
|
|
88
|
+
writable: true,
|
|
89
|
+
value: void 0
|
|
90
|
+
});
|
|
91
|
+
/** Determines if the request should be responded to. If `false` when the
|
|
92
|
+
* middleware completes processing, the response will not be sent back to the
|
|
93
|
+
* requestor. Typically this is used if the middleware will take over low
|
|
94
|
+
* level processing of requests and responses, for example if using web
|
|
95
|
+
* sockets. This automatically gets set to `false` when the context is
|
|
96
|
+
* upgraded to a web socket via the `.upgrade()` method.
|
|
97
|
+
*
|
|
98
|
+
* The default is `true`. */
|
|
99
|
+
Object.defineProperty(this, "respond", {
|
|
100
|
+
enumerable: true,
|
|
101
|
+
configurable: true,
|
|
102
|
+
writable: true,
|
|
103
|
+
value: void 0
|
|
104
|
+
});
|
|
105
|
+
/** An object which contains information about the current request. */
|
|
106
|
+
Object.defineProperty(this, "request", {
|
|
107
|
+
enumerable: true,
|
|
108
|
+
configurable: true,
|
|
109
|
+
writable: true,
|
|
110
|
+
value: void 0
|
|
111
|
+
});
|
|
112
|
+
/** An object which contains information about the response that will be sent
|
|
113
|
+
* when the middleware finishes processing. */
|
|
114
|
+
Object.defineProperty(this, "response", {
|
|
115
|
+
enumerable: true,
|
|
116
|
+
configurable: true,
|
|
117
|
+
writable: true,
|
|
118
|
+
value: void 0
|
|
119
|
+
});
|
|
120
|
+
/** The object to pass state to front-end views. This can be typed by
|
|
121
|
+
* supplying the generic state argument when creating a new app. For
|
|
122
|
+
* example:
|
|
123
|
+
*
|
|
124
|
+
* ```ts
|
|
125
|
+
* const app = new Application<{ foo: string }>();
|
|
126
|
+
* ```
|
|
127
|
+
*
|
|
128
|
+
* Or can be contextually inferred based on setting an initial state object:
|
|
129
|
+
*
|
|
130
|
+
* ```ts
|
|
131
|
+
* const app = new Application({ state: { foo: "bar" } });
|
|
132
|
+
* ```
|
|
133
|
+
*
|
|
134
|
+
* On each request/response cycle, the context's state is cloned from the
|
|
135
|
+
* application state. This means changes to the context's `.state` will be
|
|
136
|
+
* dropped when the request drops, but "defaults" can be applied to the
|
|
137
|
+
* application's state. Changes to the application's state though won't be
|
|
138
|
+
* reflected until the next request in the context's state.
|
|
139
|
+
*/
|
|
140
|
+
Object.defineProperty(this, "state", {
|
|
141
|
+
enumerable: true,
|
|
142
|
+
configurable: true,
|
|
143
|
+
writable: true,
|
|
144
|
+
value: void 0
|
|
145
|
+
});
|
|
146
|
+
this.app = app;
|
|
147
|
+
this.state = state;
|
|
148
|
+
const { proxy } = app;
|
|
149
|
+
this.request = new request_js_1.Request(serverRequest, {
|
|
150
|
+
proxy,
|
|
151
|
+
secure,
|
|
152
|
+
jsonBodyReviver: __classPrivateFieldGet(this, _Context_instances, "m", _Context_wrapReviverReplacer).call(this, jsonBodyReviver),
|
|
153
|
+
});
|
|
154
|
+
this.respond = true;
|
|
155
|
+
this.response = new response_js_1.Response(this.request, __classPrivateFieldGet(this, _Context_instances, "m", _Context_wrapReviverReplacer).call(this, jsonBodyReplacer));
|
|
156
|
+
this.cookies = new deps_js_1.SecureCookieMap(serverRequest, {
|
|
157
|
+
keys: this.app.keys,
|
|
158
|
+
response: this.response,
|
|
159
|
+
secure: this.request.secure,
|
|
160
|
+
});
|
|
161
|
+
}
|
|
162
|
+
/** Asserts the condition and if the condition fails, creates an HTTP error
|
|
163
|
+
* with the provided status (which defaults to `500`). The error status by
|
|
164
|
+
* default will be set on the `.response.status`.
|
|
165
|
+
*
|
|
166
|
+
* Because of limitation of TypeScript, any assertion type function requires
|
|
167
|
+
* specific type annotations, so the {@linkcode Context} type should be used
|
|
168
|
+
* even if it can be inferred from the context.
|
|
169
|
+
*
|
|
170
|
+
* ### Example
|
|
171
|
+
*
|
|
172
|
+
* ```ts
|
|
173
|
+
* import { Context, Status } from "jsr:@oak/oak/";
|
|
174
|
+
*
|
|
175
|
+
* export function mw(ctx: Context) {
|
|
176
|
+
* const body = ctx.request.body();
|
|
177
|
+
* ctx.assert(body.type === "json", Status.NotAcceptable);
|
|
178
|
+
* // process the body and send a response...
|
|
179
|
+
* }
|
|
180
|
+
* ```
|
|
181
|
+
*/
|
|
182
|
+
assert(condition, errorStatus = 500, message, props) {
|
|
183
|
+
if (condition) {
|
|
184
|
+
return;
|
|
185
|
+
}
|
|
186
|
+
const httpErrorOptions = {};
|
|
187
|
+
if (typeof props === "object") {
|
|
188
|
+
if ("expose" in props) {
|
|
189
|
+
httpErrorOptions.expose = props.expose;
|
|
190
|
+
delete props.expose;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
const err = (0, deps_js_1.createHttpError)(errorStatus, message, httpErrorOptions);
|
|
194
|
+
if (props) {
|
|
195
|
+
Object.assign(err, props);
|
|
196
|
+
}
|
|
197
|
+
throw err;
|
|
198
|
+
}
|
|
199
|
+
/** Asynchronously fulfill a response with a file from the local file
|
|
200
|
+
* system.
|
|
201
|
+
*
|
|
202
|
+
* If the `options.path` is not supplied, the file to be sent will default
|
|
203
|
+
* to this `.request.url.pathname`.
|
|
204
|
+
*
|
|
205
|
+
* Requires Deno read permission. */
|
|
206
|
+
send(options) {
|
|
207
|
+
const { path = this.request.url.pathname, ...sendOptions } = options;
|
|
208
|
+
return (0, send_js_1.send)(this, path, sendOptions);
|
|
209
|
+
}
|
|
210
|
+
/** Convert the connection to stream events, resolving with an event target
|
|
211
|
+
* for sending server sent events. Events dispatched on the returned target
|
|
212
|
+
* will be sent to the client and be available in the client's `EventSource`
|
|
213
|
+
* that initiated the connection.
|
|
214
|
+
*
|
|
215
|
+
* Invoking this will cause the a response to be sent to the client
|
|
216
|
+
* immediately to initialize the stream of events, and therefore any further
|
|
217
|
+
* changes to the response, like headers will not reach the client.
|
|
218
|
+
*/
|
|
219
|
+
async sendEvents(options) {
|
|
220
|
+
if (!__classPrivateFieldGet(this, _Context_sse, "f")) {
|
|
221
|
+
const sse = __classPrivateFieldSet(this, _Context_sse, await this.request.sendEvents(options, {
|
|
222
|
+
headers: this.response.headers,
|
|
223
|
+
}), "f");
|
|
224
|
+
this.app.addEventListener("close", () => sse.close());
|
|
225
|
+
this.respond = false;
|
|
226
|
+
}
|
|
227
|
+
return __classPrivateFieldGet(this, _Context_sse, "f");
|
|
228
|
+
}
|
|
229
|
+
/** Create and throw an HTTP Error, which can be used to pass status
|
|
230
|
+
* information which can be caught by other middleware to send more
|
|
231
|
+
* meaningful error messages back to the client. The passed error status will
|
|
232
|
+
* be set on the `.response.status` by default as well.
|
|
233
|
+
*/
|
|
234
|
+
throw(errorStatus, message, props) {
|
|
235
|
+
const err = (0, deps_js_1.createHttpError)(errorStatus, message);
|
|
236
|
+
if (props) {
|
|
237
|
+
Object.assign(err, props);
|
|
238
|
+
}
|
|
239
|
+
throw err;
|
|
240
|
+
}
|
|
241
|
+
/** Take the current request and upgrade it to a web socket, resolving with
|
|
242
|
+
* the a web standard `WebSocket` object. This will set `.respond` to
|
|
243
|
+
* `false`. If the socket cannot be upgraded, this method will throw. */
|
|
244
|
+
upgrade(options) {
|
|
245
|
+
if (!__classPrivateFieldGet(this, _Context_socket, "f")) {
|
|
246
|
+
const socket = __classPrivateFieldSet(this, _Context_socket, this.request.upgrade(options), "f");
|
|
247
|
+
this.app.addEventListener("close", () => socket.close());
|
|
248
|
+
this.respond = false;
|
|
249
|
+
}
|
|
250
|
+
return __classPrivateFieldGet(this, _Context_socket, "f");
|
|
251
|
+
}
|
|
252
|
+
[(_Context_socket = new WeakMap(), _Context_sse = new WeakMap(), _Context_instances = new WeakSet(), _Context_wrapReviverReplacer = function _Context_wrapReviverReplacer(reviver) {
|
|
253
|
+
return reviver
|
|
254
|
+
? (key, value) => reviver(key, value, this)
|
|
255
|
+
: undefined;
|
|
256
|
+
}, Symbol.for("Deno.customInspect"))](inspect) {
|
|
257
|
+
const { app, cookies, isUpgradable, respond, request, response, socket, state, } = this;
|
|
258
|
+
return `${this.constructor.name} ${inspect({
|
|
259
|
+
app,
|
|
260
|
+
cookies,
|
|
261
|
+
isUpgradable,
|
|
262
|
+
respond,
|
|
263
|
+
request,
|
|
264
|
+
response,
|
|
265
|
+
socket,
|
|
266
|
+
state,
|
|
267
|
+
})}`;
|
|
268
|
+
}
|
|
269
|
+
[Symbol.for("nodejs.util.inspect.custom")](depth,
|
|
270
|
+
// deno-lint-ignore no-explicit-any
|
|
271
|
+
options, inspect) {
|
|
272
|
+
if (depth < 0) {
|
|
273
|
+
return options.stylize(`[${this.constructor.name}]`, "special");
|
|
274
|
+
}
|
|
275
|
+
const newOptions = Object.assign({}, options, {
|
|
276
|
+
depth: options.depth === null ? null : options.depth - 1,
|
|
277
|
+
});
|
|
278
|
+
const { app, cookies, isUpgradable, respond, request, response, socket, state, } = this;
|
|
279
|
+
return `${options.stylize(this.constructor.name, "special")} ${inspect({
|
|
280
|
+
app,
|
|
281
|
+
cookies,
|
|
282
|
+
isUpgradable,
|
|
283
|
+
respond,
|
|
284
|
+
request,
|
|
285
|
+
response,
|
|
286
|
+
socket,
|
|
287
|
+
state,
|
|
288
|
+
}, newOptions)}`;
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
exports.Context = Context;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export { assert } from "../../../jsr.io/@std/assert/1.0.11/assert.js";
|
|
2
|
+
export { concat } from "../../../jsr.io/@std/bytes/1.0.5/concat.js";
|
|
3
|
+
export { eTag, type ETagOptions, type FileInfo, ifNoneMatch, } from "../../../jsr.io/@std/http/1.0.13/etag.js";
|
|
4
|
+
export { accepts, acceptsEncodings, acceptsLanguages, } from "../../../jsr.io/@std/http/1.0.13/negotiation.js";
|
|
5
|
+
export { UserAgent } from "../../../jsr.io/@std/http/1.0.13/user_agent.js";
|
|
6
|
+
export { contentType } from "../../../jsr.io/@std/media-types/1.1.0/content_type.js";
|
|
7
|
+
export { basename, extname, isAbsolute, join, normalize, parse, SEPARATOR, } from "../../../jsr.io/@std/path/1.0.8/mod.js";
|
|
8
|
+
export { SecureCookieMap, type SecureCookieMapGetOptions, type SecureCookieMapSetDeleteOptions, } from "../../../jsr.io/@oak/commons/1.0.0/cookie_map.js";
|
|
9
|
+
export { parse as parseFormData } from "../../../jsr.io/@oak/commons/1.0.0/form_data.js";
|
|
10
|
+
export { parse as parseForwarded } from "../../../jsr.io/@oak/commons/1.0.0/forwarded.js";
|
|
11
|
+
export { createHttpError, errors, HttpError, type HttpErrorOptions, isHttpError, } from "../../../jsr.io/@oak/commons/1.0.0/http_errors.js";
|
|
12
|
+
export { KeyStack } from "../../../jsr.io/@oak/commons/1.0.0/keystack.js";
|
|
13
|
+
export { matches } from "../../../jsr.io/@oak/commons/1.0.0/media_types.js";
|
|
14
|
+
export { type HttpMethod as HTTPMethods } from "../../../jsr.io/@oak/commons/1.0.0/method.js";
|
|
15
|
+
export { type ByteRange, range, responseRange, } from "../../../jsr.io/@oak/commons/1.0.0/range.js";
|
|
16
|
+
export { ServerSentEvent, type ServerSentEventInit, ServerSentEventStreamTarget, type ServerSentEventTarget, type ServerSentEventTargetOptions, } from "../../../jsr.io/@oak/commons/1.0.0/server_sent_event.js";
|
|
17
|
+
export { type ErrorStatus, isErrorStatus, isRedirectStatus, type RedirectStatus, Status, STATUS_TEXT, } from "../../../jsr.io/@oak/commons/1.0.0/status.js";
|
|
18
|
+
export { compile, type Key, parse as pathParse, type ParseOptions, pathToRegexp, type TokensToRegexpOptions, } from "path-to-regexp";
|
|
19
|
+
//# sourceMappingURL=deps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deps.d.ts","sourceRoot":"","sources":["../../../../../src/deps/deno.land/x/oak@v17.1.4/deps.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,MAAM,EAAE,MAAM,8CAA8C,CAAC;AACtE,OAAO,EAAE,MAAM,EAAE,MAAM,4CAA4C,CAAC;AACpE,OAAO,EACL,IAAI,EACJ,KAAK,WAAW,EAChB,KAAK,QAAQ,EACb,WAAW,GACZ,MAAM,0CAA0C,CAAC;AAClD,OAAO,EACL,OAAO,EACP,gBAAgB,EAChB,gBAAgB,GACjB,MAAM,iDAAiD,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAC3E,OAAO,EAAE,WAAW,EAAE,MAAM,wDAAwD,CAAC;AACrF,OAAO,EACL,QAAQ,EACR,OAAO,EACP,UAAU,EACV,IAAI,EACJ,SAAS,EACT,KAAK,EACL,SAAS,GACV,MAAM,wCAAwC,CAAC;AAIhD,OAAO,EACL,eAAe,EACf,KAAK,yBAAyB,EAC9B,KAAK,+BAA+B,GACrC,MAAM,kDAAkD,CAAC;AAC1D,OAAO,EAAE,KAAK,IAAI,aAAa,EAAE,MAAM,iDAAiD,CAAC;AACzF,OAAO,EAAE,KAAK,IAAI,cAAc,EAAE,MAAM,iDAAiD,CAAC;AAC1F,OAAO,EACL,eAAe,EACf,MAAM,EACN,SAAS,EACT,KAAK,gBAAgB,EACrB,WAAW,GACZ,MAAM,mDAAmD,CAAC;AAC3D,OAAO,EAAE,QAAQ,EAAE,MAAM,gDAAgD,CAAC;AAC1E,OAAO,EAAE,OAAO,EAAE,MAAM,mDAAmD,CAAC;AAC5E,OAAO,EAAE,KAAK,UAAU,IAAI,WAAW,EAAE,MAAM,8CAA8C,CAAC;AAC9F,OAAO,EACL,KAAK,SAAS,EACd,KAAK,EACL,aAAa,GACd,MAAM,6CAA6C,CAAC;AACrD,OAAO,EACL,eAAe,EACf,KAAK,mBAAmB,EACxB,2BAA2B,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,4BAA4B,GAClC,MAAM,yDAAyD,CAAC;AACjE,OAAO,EACL,KAAK,WAAW,EAChB,aAAa,EACb,gBAAgB,EAChB,KAAK,cAAc,EACnB,MAAM,EACN,WAAW,GACZ,MAAM,8CAA8C,CAAC;AAEtD,OAAO,EACL,OAAO,EACP,KAAK,GAAG,EACR,KAAK,IAAI,SAAS,EAClB,KAAK,YAAY,EACjB,YAAY,EACZ,KAAK,qBAAqB,GAC3B,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright 2018-2025 the oak authors. All rights reserved. MIT license.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.pathToRegexp = exports.pathParse = exports.compile = exports.STATUS_TEXT = exports.Status = exports.isRedirectStatus = exports.isErrorStatus = exports.ServerSentEventStreamTarget = exports.ServerSentEvent = exports.responseRange = exports.range = exports.matches = exports.KeyStack = exports.isHttpError = exports.HttpError = exports.errors = exports.createHttpError = exports.parseForwarded = exports.parseFormData = exports.SecureCookieMap = exports.SEPARATOR = exports.parse = exports.normalize = exports.join = exports.isAbsolute = exports.extname = exports.basename = exports.contentType = exports.UserAgent = exports.acceptsLanguages = exports.acceptsEncodings = exports.accepts = exports.ifNoneMatch = exports.eTag = exports.concat = exports.assert = void 0;
|
|
5
|
+
// This file contains the external dependencies that oak depends upon
|
|
6
|
+
// jsr dependencies
|
|
7
|
+
var assert_js_1 = require("../../../jsr.io/@std/assert/1.0.11/assert.js");
|
|
8
|
+
Object.defineProperty(exports, "assert", { enumerable: true, get: function () { return assert_js_1.assert; } });
|
|
9
|
+
var concat_js_1 = require("../../../jsr.io/@std/bytes/1.0.5/concat.js");
|
|
10
|
+
Object.defineProperty(exports, "concat", { enumerable: true, get: function () { return concat_js_1.concat; } });
|
|
11
|
+
var etag_js_1 = require("../../../jsr.io/@std/http/1.0.13/etag.js");
|
|
12
|
+
Object.defineProperty(exports, "eTag", { enumerable: true, get: function () { return etag_js_1.eTag; } });
|
|
13
|
+
Object.defineProperty(exports, "ifNoneMatch", { enumerable: true, get: function () { return etag_js_1.ifNoneMatch; } });
|
|
14
|
+
var negotiation_js_1 = require("../../../jsr.io/@std/http/1.0.13/negotiation.js");
|
|
15
|
+
Object.defineProperty(exports, "accepts", { enumerable: true, get: function () { return negotiation_js_1.accepts; } });
|
|
16
|
+
Object.defineProperty(exports, "acceptsEncodings", { enumerable: true, get: function () { return negotiation_js_1.acceptsEncodings; } });
|
|
17
|
+
Object.defineProperty(exports, "acceptsLanguages", { enumerable: true, get: function () { return negotiation_js_1.acceptsLanguages; } });
|
|
18
|
+
var user_agent_js_1 = require("../../../jsr.io/@std/http/1.0.13/user_agent.js");
|
|
19
|
+
Object.defineProperty(exports, "UserAgent", { enumerable: true, get: function () { return user_agent_js_1.UserAgent; } });
|
|
20
|
+
var content_type_js_1 = require("../../../jsr.io/@std/media-types/1.1.0/content_type.js");
|
|
21
|
+
Object.defineProperty(exports, "contentType", { enumerable: true, get: function () { return content_type_js_1.contentType; } });
|
|
22
|
+
var mod_js_1 = require("../../../jsr.io/@std/path/1.0.8/mod.js");
|
|
23
|
+
Object.defineProperty(exports, "basename", { enumerable: true, get: function () { return mod_js_1.basename; } });
|
|
24
|
+
Object.defineProperty(exports, "extname", { enumerable: true, get: function () { return mod_js_1.extname; } });
|
|
25
|
+
Object.defineProperty(exports, "isAbsolute", { enumerable: true, get: function () { return mod_js_1.isAbsolute; } });
|
|
26
|
+
Object.defineProperty(exports, "join", { enumerable: true, get: function () { return mod_js_1.join; } });
|
|
27
|
+
Object.defineProperty(exports, "normalize", { enumerable: true, get: function () { return mod_js_1.normalize; } });
|
|
28
|
+
Object.defineProperty(exports, "parse", { enumerable: true, get: function () { return mod_js_1.parse; } });
|
|
29
|
+
Object.defineProperty(exports, "SEPARATOR", { enumerable: true, get: function () { return mod_js_1.SEPARATOR; } });
|
|
30
|
+
// 3rd party dependencies
|
|
31
|
+
var cookie_map_js_1 = require("../../../jsr.io/@oak/commons/1.0.0/cookie_map.js");
|
|
32
|
+
Object.defineProperty(exports, "SecureCookieMap", { enumerable: true, get: function () { return cookie_map_js_1.SecureCookieMap; } });
|
|
33
|
+
var form_data_js_1 = require("../../../jsr.io/@oak/commons/1.0.0/form_data.js");
|
|
34
|
+
Object.defineProperty(exports, "parseFormData", { enumerable: true, get: function () { return form_data_js_1.parse; } });
|
|
35
|
+
var forwarded_js_1 = require("../../../jsr.io/@oak/commons/1.0.0/forwarded.js");
|
|
36
|
+
Object.defineProperty(exports, "parseForwarded", { enumerable: true, get: function () { return forwarded_js_1.parse; } });
|
|
37
|
+
var http_errors_js_1 = require("../../../jsr.io/@oak/commons/1.0.0/http_errors.js");
|
|
38
|
+
Object.defineProperty(exports, "createHttpError", { enumerable: true, get: function () { return http_errors_js_1.createHttpError; } });
|
|
39
|
+
Object.defineProperty(exports, "errors", { enumerable: true, get: function () { return http_errors_js_1.errors; } });
|
|
40
|
+
Object.defineProperty(exports, "HttpError", { enumerable: true, get: function () { return http_errors_js_1.HttpError; } });
|
|
41
|
+
Object.defineProperty(exports, "isHttpError", { enumerable: true, get: function () { return http_errors_js_1.isHttpError; } });
|
|
42
|
+
var keystack_js_1 = require("../../../jsr.io/@oak/commons/1.0.0/keystack.js");
|
|
43
|
+
Object.defineProperty(exports, "KeyStack", { enumerable: true, get: function () { return keystack_js_1.KeyStack; } });
|
|
44
|
+
var media_types_js_1 = require("../../../jsr.io/@oak/commons/1.0.0/media_types.js");
|
|
45
|
+
Object.defineProperty(exports, "matches", { enumerable: true, get: function () { return media_types_js_1.matches; } });
|
|
46
|
+
var range_js_1 = require("../../../jsr.io/@oak/commons/1.0.0/range.js");
|
|
47
|
+
Object.defineProperty(exports, "range", { enumerable: true, get: function () { return range_js_1.range; } });
|
|
48
|
+
Object.defineProperty(exports, "responseRange", { enumerable: true, get: function () { return range_js_1.responseRange; } });
|
|
49
|
+
var server_sent_event_js_1 = require("../../../jsr.io/@oak/commons/1.0.0/server_sent_event.js");
|
|
50
|
+
Object.defineProperty(exports, "ServerSentEvent", { enumerable: true, get: function () { return server_sent_event_js_1.ServerSentEvent; } });
|
|
51
|
+
Object.defineProperty(exports, "ServerSentEventStreamTarget", { enumerable: true, get: function () { return server_sent_event_js_1.ServerSentEventStreamTarget; } });
|
|
52
|
+
var status_js_1 = require("../../../jsr.io/@oak/commons/1.0.0/status.js");
|
|
53
|
+
Object.defineProperty(exports, "isErrorStatus", { enumerable: true, get: function () { return status_js_1.isErrorStatus; } });
|
|
54
|
+
Object.defineProperty(exports, "isRedirectStatus", { enumerable: true, get: function () { return status_js_1.isRedirectStatus; } });
|
|
55
|
+
Object.defineProperty(exports, "Status", { enumerable: true, get: function () { return status_js_1.Status; } });
|
|
56
|
+
Object.defineProperty(exports, "STATUS_TEXT", { enumerable: true, get: function () { return status_js_1.STATUS_TEXT; } });
|
|
57
|
+
var path_to_regexp_1 = require("path-to-regexp");
|
|
58
|
+
Object.defineProperty(exports, "compile", { enumerable: true, get: function () { return path_to_regexp_1.compile; } });
|
|
59
|
+
Object.defineProperty(exports, "pathParse", { enumerable: true, get: function () { return path_to_regexp_1.parse; } });
|
|
60
|
+
Object.defineProperty(exports, "pathToRegexp", { enumerable: true, get: function () { return path_to_regexp_1.pathToRegexp; } });
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/** The abstraction that oak uses when dealing with requests and responses
|
|
2
|
+
* within the Bun runtime that leverages the built in HTTP server.
|
|
3
|
+
*
|
|
4
|
+
* @module
|
|
5
|
+
*/
|
|
6
|
+
import type { Application } from "./application.js";
|
|
7
|
+
import type { Listener, OakServer, ServeOptions, ServerRequest, ServeTlsOptions } from "./types.js";
|
|
8
|
+
interface BunServer {
|
|
9
|
+
development: boolean;
|
|
10
|
+
hostname: string;
|
|
11
|
+
port: number;
|
|
12
|
+
pendingRequests: number;
|
|
13
|
+
requestIP(req: Request): SocketAddress | null;
|
|
14
|
+
stop(): void;
|
|
15
|
+
upgrade(req: Request, options?: {
|
|
16
|
+
headers?: HeadersInit;
|
|
17
|
+
data?: any;
|
|
18
|
+
}): boolean;
|
|
19
|
+
}
|
|
20
|
+
interface SocketAddress {
|
|
21
|
+
address: string;
|
|
22
|
+
port: number;
|
|
23
|
+
family: "IPv4" | "IPv6";
|
|
24
|
+
}
|
|
25
|
+
declare class BunRequest implements ServerRequest {
|
|
26
|
+
#private;
|
|
27
|
+
get body(): ReadableStream<Uint8Array> | null;
|
|
28
|
+
get headers(): Headers;
|
|
29
|
+
get method(): string;
|
|
30
|
+
get remoteAddr(): string | undefined;
|
|
31
|
+
get request(): Request;
|
|
32
|
+
get response(): Promise<Response>;
|
|
33
|
+
get url(): string;
|
|
34
|
+
get rawUrl(): string;
|
|
35
|
+
constructor(request: Request, server: BunServer);
|
|
36
|
+
error(reason?: any): void;
|
|
37
|
+
getBody(): ReadableStream<Uint8Array> | null;
|
|
38
|
+
respond(response: Response): void | Promise<void>;
|
|
39
|
+
}
|
|
40
|
+
/** An implementation of the oak server abstraction for handling requests on
|
|
41
|
+
* Bun using the built in Bun http server. */
|
|
42
|
+
export declare class Server implements OakServer<BunRequest> {
|
|
43
|
+
#private;
|
|
44
|
+
constructor(_app: Application, options: ServeOptions | ServeTlsOptions);
|
|
45
|
+
close(): void | Promise<void>;
|
|
46
|
+
listen(): Listener | Promise<Listener>;
|
|
47
|
+
[Symbol.asyncIterator](): AsyncIterableIterator<BunRequest>;
|
|
48
|
+
static type: "bun";
|
|
49
|
+
}
|
|
50
|
+
export {};
|
|
51
|
+
//# sourceMappingURL=http_server_bun.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"http_server_bun.d.ts","sourceRoot":"","sources":["../../../../../src/deps/deno.land/x/oak@v17.1.4/http_server_bun.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,KAAK,EACV,QAAQ,EACR,SAAS,EACT,YAAY,EACZ,aAAa,EACb,eAAe,EAChB,MAAM,YAAY,CAAC;AA4CpB,UAAU,SAAS;IACjB,WAAW,EAAE,OAAO,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,eAAe,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,GAAG,EAAE,OAAO,GAAG,aAAa,GAAG,IAAI,CAAC;IAC9C,IAAI,IAAI,IAAI,CAAC;IACb,OAAO,CAAC,GAAG,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE;QAC9B,OAAO,CAAC,EAAE,WAAW,CAAC;QAEtB,IAAI,CAAC,EAAE,GAAG,CAAC;KACZ,GAAG,OAAO,CAAC;CACb;AAED,UAAU,aAAa;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC;CACzB;AAUD,cAAM,UAAW,YAAW,aAAa;;IASvC,IAAI,IAAI,IAAI,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAE5C;IAED,IAAI,OAAO,IAAI,OAAO,CAErB;IAED,IAAI,MAAM,IAAI,MAAM,CAEnB;IAED,IAAI,UAAU,IAAI,MAAM,GAAG,SAAS,CAEnC;IAED,IAAI,OAAO,IAAI,OAAO,CAErB;IAED,IAAI,QAAQ,IAAI,OAAO,CAAC,QAAQ,CAAC,CAEhC;IAED,IAAI,GAAG,IAAI,MAAM,CAQhB;IAED,IAAI,MAAM,IAAI,MAAM,CAEnB;gBAEW,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,SAAS;IAU/C,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,GAAG,IAAI;IAQzB,OAAO,IAAI,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI;IAI5C,OAAO,CAAC,QAAQ,EAAE,QAAQ,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;CAOlD;AAED;6CAC6C;AAC7C,qBAAa,MAAO,YAAW,SAAS,CAAC,UAAU,CAAC;;gBAMhD,IAAI,EAAE,WAAW,EACjB,OAAO,EAAE,YAAY,GAAG,eAAe;IAKzC,KAAK,IAAI,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;IAM7B,MAAM,IAAI,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC;IAqCtC,CAAC,MAAM,CAAC,aAAa,CAAC,IAAI,qBAAqB,CAAC,UAAU,CAAC;IAO3D,MAAM,CAAC,IAAI,EAAE,KAAK,CAAS;CAC5B"}
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright 2018-2025 the oak authors. All rights reserved. MIT license.
|
|
3
|
+
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
4
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
5
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
6
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
7
|
+
};
|
|
8
|
+
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
|
|
9
|
+
if (kind === "m") throw new TypeError("Private method is not writable");
|
|
10
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
|
11
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
12
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
13
|
+
};
|
|
14
|
+
var _BunRequest_hostname, _BunRequest_reject, _BunRequest_request, _BunRequest_resolve, _BunRequest_resolved, _BunRequest_promise, _Server_options, _Server_server, _Server_stream;
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.Server = void 0;
|
|
17
|
+
const create_promise_with_resolvers_js_1 = require("./utils/create_promise_with_resolvers.js");
|
|
18
|
+
function isServeTlsOptions(value) {
|
|
19
|
+
return !!("cert" in value && "key" in value);
|
|
20
|
+
}
|
|
21
|
+
class BunRequest {
|
|
22
|
+
get body() {
|
|
23
|
+
return __classPrivateFieldGet(this, _BunRequest_request, "f").body;
|
|
24
|
+
}
|
|
25
|
+
get headers() {
|
|
26
|
+
return __classPrivateFieldGet(this, _BunRequest_request, "f").headers;
|
|
27
|
+
}
|
|
28
|
+
get method() {
|
|
29
|
+
return __classPrivateFieldGet(this, _BunRequest_request, "f").method;
|
|
30
|
+
}
|
|
31
|
+
get remoteAddr() {
|
|
32
|
+
return __classPrivateFieldGet(this, _BunRequest_hostname, "f");
|
|
33
|
+
}
|
|
34
|
+
get request() {
|
|
35
|
+
return __classPrivateFieldGet(this, _BunRequest_request, "f");
|
|
36
|
+
}
|
|
37
|
+
get response() {
|
|
38
|
+
return __classPrivateFieldGet(this, _BunRequest_promise, "f");
|
|
39
|
+
}
|
|
40
|
+
get url() {
|
|
41
|
+
try {
|
|
42
|
+
const url = new URL(__classPrivateFieldGet(this, _BunRequest_request, "f").url);
|
|
43
|
+
return __classPrivateFieldGet(this, _BunRequest_request, "f").url.replace(url.origin, "");
|
|
44
|
+
}
|
|
45
|
+
catch {
|
|
46
|
+
// we don't care about errors, we just want to fall back
|
|
47
|
+
}
|
|
48
|
+
return __classPrivateFieldGet(this, _BunRequest_request, "f").url;
|
|
49
|
+
}
|
|
50
|
+
get rawUrl() {
|
|
51
|
+
return __classPrivateFieldGet(this, _BunRequest_request, "f").url;
|
|
52
|
+
}
|
|
53
|
+
constructor(request, server) {
|
|
54
|
+
_BunRequest_hostname.set(this, void 0);
|
|
55
|
+
// deno-lint-ignore no-explicit-any
|
|
56
|
+
_BunRequest_reject.set(this, void 0);
|
|
57
|
+
_BunRequest_request.set(this, void 0);
|
|
58
|
+
_BunRequest_resolve.set(this, void 0);
|
|
59
|
+
_BunRequest_resolved.set(this, false);
|
|
60
|
+
_BunRequest_promise.set(this, void 0);
|
|
61
|
+
__classPrivateFieldSet(this, _BunRequest_request, request, "f");
|
|
62
|
+
__classPrivateFieldSet(this, _BunRequest_hostname, server.requestIP(request)?.address, "f");
|
|
63
|
+
const { resolve, reject, promise } = (0, create_promise_with_resolvers_js_1.createPromiseWithResolvers)();
|
|
64
|
+
__classPrivateFieldSet(this, _BunRequest_resolve, resolve, "f");
|
|
65
|
+
__classPrivateFieldSet(this, _BunRequest_reject, reject, "f");
|
|
66
|
+
__classPrivateFieldSet(this, _BunRequest_promise, promise, "f");
|
|
67
|
+
}
|
|
68
|
+
// deno-lint-ignore no-explicit-any
|
|
69
|
+
error(reason) {
|
|
70
|
+
if (__classPrivateFieldGet(this, _BunRequest_resolved, "f")) {
|
|
71
|
+
throw new Error("Request already responded to.");
|
|
72
|
+
}
|
|
73
|
+
__classPrivateFieldSet(this, _BunRequest_resolved, true, "f");
|
|
74
|
+
__classPrivateFieldGet(this, _BunRequest_reject, "f").call(this, reason);
|
|
75
|
+
}
|
|
76
|
+
getBody() {
|
|
77
|
+
return __classPrivateFieldGet(this, _BunRequest_request, "f").body;
|
|
78
|
+
}
|
|
79
|
+
respond(response) {
|
|
80
|
+
if (__classPrivateFieldGet(this, _BunRequest_resolved, "f")) {
|
|
81
|
+
throw new Error("Request already responded to.");
|
|
82
|
+
}
|
|
83
|
+
__classPrivateFieldSet(this, _BunRequest_resolved, true, "f");
|
|
84
|
+
__classPrivateFieldGet(this, _BunRequest_resolve, "f").call(this, response);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
_BunRequest_hostname = new WeakMap(), _BunRequest_reject = new WeakMap(), _BunRequest_request = new WeakMap(), _BunRequest_resolve = new WeakMap(), _BunRequest_resolved = new WeakMap(), _BunRequest_promise = new WeakMap();
|
|
88
|
+
/** An implementation of the oak server abstraction for handling requests on
|
|
89
|
+
* Bun using the built in Bun http server. */
|
|
90
|
+
class Server {
|
|
91
|
+
constructor(_app, options) {
|
|
92
|
+
_Server_options.set(this, void 0);
|
|
93
|
+
_Server_server.set(this, void 0);
|
|
94
|
+
_Server_stream.set(this, void 0);
|
|
95
|
+
__classPrivateFieldSet(this, _Server_options, options, "f");
|
|
96
|
+
}
|
|
97
|
+
close() {
|
|
98
|
+
if (__classPrivateFieldGet(this, _Server_server, "f")) {
|
|
99
|
+
__classPrivateFieldGet(this, _Server_server, "f").stop();
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
listen() {
|
|
103
|
+
if (__classPrivateFieldGet(this, _Server_server, "f")) {
|
|
104
|
+
throw new Error("Server already listening.");
|
|
105
|
+
}
|
|
106
|
+
const { onListen, hostname, port, signal } = __classPrivateFieldGet(this, _Server_options, "f");
|
|
107
|
+
const tls = isServeTlsOptions(__classPrivateFieldGet(this, _Server_options, "f"))
|
|
108
|
+
? { key: __classPrivateFieldGet(this, _Server_options, "f").key, cert: __classPrivateFieldGet(this, _Server_options, "f").cert }
|
|
109
|
+
: undefined;
|
|
110
|
+
const { promise, resolve } = (0, create_promise_with_resolvers_js_1.createPromiseWithResolvers)();
|
|
111
|
+
__classPrivateFieldSet(this, _Server_stream, new ReadableStream({
|
|
112
|
+
start: (controller) => {
|
|
113
|
+
__classPrivateFieldSet(this, _Server_server, Bun.serve({
|
|
114
|
+
fetch(req, server) {
|
|
115
|
+
const request = new BunRequest(req, server);
|
|
116
|
+
controller.enqueue(request);
|
|
117
|
+
return request.response;
|
|
118
|
+
},
|
|
119
|
+
hostname,
|
|
120
|
+
port,
|
|
121
|
+
tls,
|
|
122
|
+
}), "f");
|
|
123
|
+
signal?.addEventListener("abort", () => {
|
|
124
|
+
controller.close();
|
|
125
|
+
this.close();
|
|
126
|
+
}, { once: true });
|
|
127
|
+
{
|
|
128
|
+
const { hostname, port } = __classPrivateFieldGet(this, _Server_server, "f");
|
|
129
|
+
if (onListen) {
|
|
130
|
+
onListen({ hostname, port });
|
|
131
|
+
}
|
|
132
|
+
resolve({ addr: { hostname, port } });
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
}), "f");
|
|
136
|
+
return promise;
|
|
137
|
+
}
|
|
138
|
+
[(_Server_options = new WeakMap(), _Server_server = new WeakMap(), _Server_stream = new WeakMap(), Symbol.asyncIterator)]() {
|
|
139
|
+
if (!__classPrivateFieldGet(this, _Server_stream, "f")) {
|
|
140
|
+
throw new TypeError("Server hasn't started listening.");
|
|
141
|
+
}
|
|
142
|
+
return __classPrivateFieldGet(this, _Server_stream, "f")[Symbol.asyncIterator]();
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
exports.Server = Server;
|
|
146
|
+
Object.defineProperty(Server, "type", {
|
|
147
|
+
enumerable: true,
|
|
148
|
+
configurable: true,
|
|
149
|
+
writable: true,
|
|
150
|
+
value: "bun"
|
|
151
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { Application, State } from "./application.js";
|
|
2
|
+
import { NativeRequest } from "./http_server_native_request.js";
|
|
3
|
+
import type { Listener, OakServer, ServeOptions, ServeTlsOptions } from "./types.js";
|
|
4
|
+
/** The oak abstraction of the Deno native HTTP server which is used internally
|
|
5
|
+
* for handling native HTTP requests. Generally users of oak do not need to
|
|
6
|
+
* worry about this class. */
|
|
7
|
+
export declare class Server<AS extends State = Record<string, any>> implements OakServer<NativeRequest> {
|
|
8
|
+
#private;
|
|
9
|
+
constructor(app: Application<AS>, options: Omit<ServeOptions | ServeTlsOptions, "signal">);
|
|
10
|
+
get app(): Application<AS>;
|
|
11
|
+
get closed(): boolean;
|
|
12
|
+
close(): Promise<void>;
|
|
13
|
+
listen(): Promise<Listener>;
|
|
14
|
+
[Symbol.asyncIterator](): AsyncIterableIterator<NativeRequest>;
|
|
15
|
+
static type: "native";
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=http_server_native.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"http_server_native.d.ts","sourceRoot":"","sources":["../../../../../src/deps/deno.land/x/oak@v17.1.4/http_server_native.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,KAAK,EAEV,QAAQ,EACR,SAAS,EAET,YAAY,EACZ,eAAe,EAChB,MAAM,YAAY,CAAC;AAWpB;;6BAE6B;AAE7B,qBAAa,MAAM,CAAC,EAAE,SAAS,KAAK,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CACxD,YAAW,SAAS,CAAC,aAAa,CAAC;;gBAQjC,GAAG,EAAE,WAAW,CAAC,EAAE,CAAC,EACpB,OAAO,EAAE,IAAI,CAAC,YAAY,GAAG,eAAe,EAAE,QAAQ,CAAC;IAWzD,IAAI,GAAG,IAAI,WAAW,CAAC,EAAE,CAAC,CAEzB;IAED,IAAI,MAAM,IAAI,OAAO,CAEpB;IAEK,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAa5B,MAAM,IAAI,OAAO,CAAC,QAAQ,CAAC;IA+B3B,CAAC,MAAM,CAAC,aAAa,CAAC,IAAI,qBAAqB,CAAC,aAAa,CAAC;IAO9D,MAAM,CAAC,IAAI,EAAE,QAAQ,CAAY;CAClC"}
|