wherdr 0.0.0-stage → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.output/nitro.json +15 -0
- package/.output/public/_nuxt/AgentView.DE2GDt4O.css +1 -0
- package/.output/public/_nuxt/BDI8xNSb.js +2 -0
- package/.output/public/_nuxt/BDNMzG2s.js +1 -0
- package/.output/public/_nuxt/BIA9pZvC.js +1 -0
- package/.output/public/_nuxt/Bd17z0YL.js +2 -0
- package/.output/public/_nuxt/BevNMnQ2.js +83 -0
- package/.output/public/_nuxt/BpQH8Ho1.js +1 -0
- package/.output/public/_nuxt/Bta8at9w.js +6 -0
- package/.output/public/_nuxt/CA9mI3eg.js +23 -0
- package/.output/public/_nuxt/CWwyK2XK.js +2 -0
- package/.output/public/_nuxt/CXG-cOdh.js +1 -0
- package/.output/public/_nuxt/Ci8N4mWR.js +1 -0
- package/.output/public/_nuxt/CjKICX3g.js +17 -0
- package/.output/public/_nuxt/D903WmCE.js +65 -0
- package/.output/public/_nuxt/DBu2-cEy.js +30 -0
- package/.output/public/_nuxt/DJE_XMLO.js +1 -0
- package/.output/public/_nuxt/DLLQgP0d.js +1 -0
- package/.output/public/_nuxt/DxO1TBoK.js +1 -0
- package/.output/public/_nuxt/SiL1FJ5s.js +3 -0
- package/.output/public/_nuxt/archivo-latin-ext-wght-normal.C4zznr8T.woff2 +0 -0
- package/.output/public/_nuxt/archivo-latin-wght-normal.E0tuGl4L.woff2 +0 -0
- package/.output/public/_nuxt/archivo-vietnamese-wght-normal.XAtsl5Q_.woff2 +0 -0
- package/.output/public/_nuxt/bLP7Jj-b.js +1 -0
- package/.output/public/_nuxt/builds/latest.json +1 -0
- package/.output/public/_nuxt/builds/meta/211609c0-be04-46c5-a6b0-566bc0c4a3dd.json +1 -0
- package/.output/public/_nuxt/e5N4AqCN.js +93 -0
- package/.output/public/_nuxt/entry.SHBiCXBL.css +2 -0
- package/.output/public/_nuxt/error-404.Bb87HomL.css +1 -0
- package/.output/public/_nuxt/error-500.Bwd7zAaE.css +1 -0
- package/.output/public/_nuxt/inter-cyrillic-ext-wght-normal.BOeWTOD4.woff2 +0 -0
- package/.output/public/_nuxt/inter-cyrillic-wght-normal.DqGufNeO.woff2 +0 -0
- package/.output/public/_nuxt/inter-greek-ext-wght-normal.DlzME5K_.woff2 +0 -0
- package/.output/public/_nuxt/inter-greek-wght-normal.CkhJZR-_.woff2 +0 -0
- package/.output/public/_nuxt/inter-latin-ext-wght-normal.DO1Apj_S.woff2 +0 -0
- package/.output/public/_nuxt/inter-latin-wght-normal.Dx4kXJAl.woff2 +0 -0
- package/.output/public/_nuxt/inter-vietnamese-wght-normal.CBcvBZtf.woff2 +0 -0
- package/.output/public/_nuxt/jetbrains-mono-cyrillic-wght-normal.D73BlboJ.woff2 +0 -0
- package/.output/public/_nuxt/jetbrains-mono-greek-wght-normal.Bw9x6K1M.woff2 +0 -0
- package/.output/public/_nuxt/jetbrains-mono-latin-ext-wght-normal.DBQx-q_a.woff2 +0 -0
- package/.output/public/_nuxt/jetbrains-mono-latin-wght-normal.B9CIFXIH.woff2 +0 -0
- package/.output/public/_nuxt/jetbrains-mono-vietnamese-wght-normal.Bt-aOZkq.woff2 +0 -0
- package/.output/public/_nuxt/wherdr-nerd-awesome.DQ3_iAfa.woff2 +0 -0
- package/.output/public/_nuxt/wherdr-nerd-codicons.CtEsfSAf.woff2 +0 -0
- package/.output/public/_nuxt/wherdr-nerd-devicons.ZMSFX1sW.woff2 +0 -0
- package/.output/public/_nuxt/wherdr-nerd-extension.Dai_ky39.woff2 +0 -0
- package/.output/public/_nuxt/wherdr-nerd-material-1.BdvqkCqW.woff2 +0 -0
- package/.output/public/_nuxt/wherdr-nerd-material-2.C_flbBWO.woff2 +0 -0
- package/.output/public/_nuxt/wherdr-nerd-material-3.8xz7iX-Y.woff2 +0 -0
- package/.output/public/_nuxt/wherdr-nerd-material-4.CO_PudDR.woff2 +0 -0
- package/.output/public/_nuxt/wherdr-nerd-octicons.Hl4VEx8m.woff2 +0 -0
- package/.output/public/_nuxt/wherdr-nerd-powerline.B_kAMxXr.woff2 +0 -0
- package/.output/public/_nuxt/wherdr-symbols.C1LsPKmg.woff2 +0 -0
- package/.output/public/_nuxt/yzABg5xl.js +1 -0
- package/.output/public/manifest-en.webmanifest +18 -0
- package/.output/public/manifest.webmanifest +18 -0
- package/.output/public/sw.js +99 -0
- package/.output/server/chunks/_/awake.mjs +170 -0
- package/.output/server/chunks/_/branding.mjs +28 -0
- package/.output/server/chunks/_/changes.mjs +199 -0
- package/.output/server/chunks/_/error-500.mjs +20 -0
- package/.output/server/chunks/_/machineOrder.mjs +40 -0
- package/.output/server/chunks/_/onboarding.mjs +26 -0
- package/.output/server/chunks/_/phone.mjs +343 -0
- package/.output/server/chunks/_/plugins.mjs +248 -0
- package/.output/server/chunks/_/projectBoard.mjs +275 -0
- package/.output/server/chunks/_/projectsActions.mjs +143 -0
- package/.output/server/chunks/_/projectsPlugin.mjs +56 -0
- package/.output/server/chunks/_/restart.mjs +459 -0
- package/.output/server/chunks/_/reveal.mjs +137 -0
- package/.output/server/chunks/_/worktrees.mjs +74 -0
- package/.output/server/chunks/_/ws.mjs +57 -0
- package/.output/server/chunks/nitro/nitro.mjs +20691 -0
- package/.output/server/chunks/raw/apple-touch-icon.mjs +7 -0
- package/.output/server/chunks/raw/build-nerd-font.mjs +7 -0
- package/.output/server/chunks/raw/build-terminal-font.mjs +7 -0
- package/.output/server/chunks/raw/check-leaks.mjs +5 -0
- package/.output/server/chunks/raw/dev.wherdr.open.mjs +7 -0
- package/.output/server/chunks/raw/docker-entrypoint.mjs +7 -0
- package/.output/server/chunks/raw/favicon-32.mjs +7 -0
- package/.output/server/chunks/raw/favicon.mjs +7 -0
- package/.output/server/chunks/raw/herdr-plugin.mjs +7 -0
- package/.output/server/chunks/raw/icon-192.mjs +7 -0
- package/.output/server/chunks/raw/icon-512-maskable.mjs +7 -0
- package/.output/server/chunks/raw/icon-512.mjs +7 -0
- package/.output/server/chunks/raw/icon-maskable.mjs +7 -0
- package/.output/server/chunks/raw/icon.mjs +7 -0
- package/.output/server/chunks/raw/install-claude-statusline.mjs +7 -0
- package/.output/server/chunks/raw/install-host-open.mjs +7 -0
- package/.output/server/chunks/raw/pack-output.mjs +5 -0
- package/.output/server/chunks/raw/reveal.mjs +7 -0
- package/.output/server/chunks/raw/wherdr-open.mjs +7 -0
- package/.output/server/chunks/routes/api/_..._.mjs +30 -0
- package/.output/server/chunks/routes/api/agents.post.mjs +30 -0
- package/.output/server/chunks/routes/api/ask-tab.post.mjs +49 -0
- package/.output/server/chunks/routes/api/attach.post.mjs +35 -0
- package/.output/server/chunks/routes/api/auth/disable.post.mjs +30 -0
- package/.output/server/chunks/routes/api/auth/lock-all.post.mjs +30 -0
- package/.output/server/chunks/routes/api/auth/lock.post.mjs +30 -0
- package/.output/server/chunks/routes/api/auth/login/options.post.mjs +30 -0
- package/.output/server/chunks/routes/api/auth/login/verify.post.mjs +30 -0
- package/.output/server/chunks/routes/api/auth/max-session.post.mjs +30 -0
- package/.output/server/chunks/routes/api/auth/register/options.post.mjs +30 -0
- package/.output/server/chunks/routes/api/auth/register/verify.post.mjs +30 -0
- package/.output/server/chunks/routes/api/auth/status.get.mjs +33 -0
- package/.output/server/chunks/routes/api/changes.get.mjs +38 -0
- package/.output/server/chunks/routes/api/chat/image.get.mjs +40 -0
- package/.output/server/chunks/routes/api/chat.get.mjs +93 -0
- package/.output/server/chunks/routes/api/choose.post.mjs +135 -0
- package/.output/server/chunks/routes/api/claude-statusline.post.mjs +35 -0
- package/.output/server/chunks/routes/api/close/status.get.mjs +36 -0
- package/.output/server/chunks/routes/api/close.post.mjs +37 -0
- package/.output/server/chunks/routes/api/codex-update.post.mjs +41 -0
- package/.output/server/chunks/routes/api/commands.get.mjs +42 -0
- package/.output/server/chunks/routes/api/config.get.mjs +86 -0
- package/.output/server/chunks/routes/api/dirs.get.mjs +33 -0
- package/.output/server/chunks/routes/api/dismiss.post.mjs +33 -0
- package/.output/server/chunks/routes/api/effort.post.mjs +36 -0
- package/.output/server/chunks/routes/api/efforts.get.mjs +37 -0
- package/.output/server/chunks/routes/api/file.post.mjs +34 -0
- package/.output/server/chunks/routes/api/gitroot.get.mjs +37 -0
- package/.output/server/chunks/routes/api/index.get.mjs +36 -0
- package/.output/server/chunks/routes/api/input.post.mjs +43 -0
- package/.output/server/chunks/routes/api/interrupt.post.mjs +48 -0
- package/.output/server/chunks/routes/api/isgit.get.mjs +37 -0
- package/.output/server/chunks/routes/api/machine/awake.get.mjs +39 -0
- package/.output/server/chunks/routes/api/machine/awake.post.mjs +40 -0
- package/.output/server/chunks/routes/api/machine/order.get.mjs +31 -0
- package/.output/server/chunks/routes/api/machine/order.post.mjs +36 -0
- package/.output/server/chunks/routes/api/machine/rename.post.mjs +39 -0
- package/.output/server/chunks/routes/api/menu.post.mjs +76 -0
- package/.output/server/chunks/routes/api/model.post.mjs +36 -0
- package/.output/server/chunks/routes/api/models.get.mjs +35 -0
- package/.output/server/chunks/routes/api/nav.post.mjs +58 -0
- package/.output/server/chunks/routes/api/onboarding.get.mjs +31 -0
- package/.output/server/chunks/routes/api/onboarding.post.mjs +34 -0
- package/.output/server/chunks/routes/api/phone.get.mjs +38 -0
- package/.output/server/chunks/routes/api/phone.post.mjs +38 -0
- package/.output/server/chunks/routes/api/plugins/actions.get.mjs +36 -0
- package/.output/server/chunks/routes/api/plugins/invoke.post.mjs +33 -0
- package/.output/server/chunks/routes/api/plugins/profiles.get.mjs +35 -0
- package/.output/server/chunks/routes/api/plugins/projects.get.mjs +37 -0
- package/.output/server/chunks/routes/api/plugins/projects.post.mjs +37 -0
- package/.output/server/chunks/routes/api/plugins/thread-limits.get.mjs +30 -0
- package/.output/server/chunks/routes/api/plugins/thread-limits.post.mjs +40 -0
- package/.output/server/chunks/routes/api/project/report.get.mjs +36 -0
- package/.output/server/chunks/routes/api/prompt.post.mjs +87 -0
- package/.output/server/chunks/routes/api/push/quiet.post.mjs +49 -0
- package/.output/server/chunks/routes/api/push/subscribe.post.mjs +51 -0
- package/.output/server/chunks/routes/api/push/test.post.mjs +32 -0
- package/.output/server/chunks/routes/api/push/unsubscribe.post.mjs +34 -0
- package/.output/server/chunks/routes/api/quotas.get.mjs +30 -0
- package/.output/server/chunks/routes/api/rename.post.mjs +36 -0
- package/.output/server/chunks/routes/api/requeue.post.mjs +34 -0
- package/.output/server/chunks/routes/api/restart.get.mjs +38 -0
- package/.output/server/chunks/routes/api/restart.post.mjs +39 -0
- package/.output/server/chunks/routes/api/reveal.post.mjs +31 -0
- package/.output/server/chunks/routes/api/screen-key.post.mjs +41 -0
- package/.output/server/chunks/routes/api/screen.get.mjs +76 -0
- package/.output/server/chunks/routes/api/search.get.mjs +76 -0
- package/.output/server/chunks/routes/api/seen.post.mjs +33 -0
- package/.output/server/chunks/routes/api/sessions.get.mjs +33 -0
- package/.output/server/chunks/routes/api/sessions.post.mjs +33 -0
- package/.output/server/chunks/routes/api/space.post.mjs +258 -0
- package/.output/server/chunks/routes/api/state.get.mjs +30 -0
- package/.output/server/chunks/routes/api/unqueue.post.mjs +35 -0
- package/.output/server/chunks/routes/api/update.get.mjs +78 -0
- package/.output/server/chunks/routes/api/upload.post.mjs +33 -0
- package/.output/server/chunks/routes/api/worktrees/remove.post.mjs +34 -0
- package/.output/server/chunks/routes/api/worktrees.get.mjs +31 -0
- package/.output/server/chunks/routes/favicon.ico.get.mjs +31 -0
- package/.output/server/chunks/routes/icons/_name_.get.mjs +31 -0
- package/.output/server/chunks/routes/renderer.mjs +358 -0
- package/.output/server/chunks/routes/uploads/_...name_.get.mjs +39 -0
- package/.output/server/chunks/routes/ws/_..._.mjs +32 -0
- package/.output/server/chunks/routes/ws/events.mjs +57 -0
- package/.output/server/chunks/routes/ws/mirror.mjs +157 -0
- package/.output/server/chunks/routes/ws/term.mjs +151 -0
- package/.output/server/chunks/virtual/_raw-helpers.mjs +12 -0
- package/.output/server/chunks/virtual/_virtual_spa-template.mjs +4 -0
- package/.output/server/chunks/virtual/precomputed.mjs +4 -0
- package/.output/server/index.mjs +26 -0
- package/.output/server/node_modules/@babel/parser/lib/index.js +14616 -0
- package/.output/server/node_modules/@babel/parser/package.json +50 -0
- package/.output/server/node_modules/@hexagon/base64/package.json +73 -0
- package/.output/server/node_modules/@hexagon/base64/src/base64.js +190 -0
- package/.output/server/node_modules/@levischuck/tiny-cbor/esm/cbor/cbor.js +440 -0
- package/.output/server/node_modules/@levischuck/tiny-cbor/esm/cbor/cbor_internal.js +111 -0
- package/.output/server/node_modules/@levischuck/tiny-cbor/esm/index.js +1 -0
- package/.output/server/node_modules/@levischuck/tiny-cbor/esm/package.json +3 -0
- package/.output/server/node_modules/@levischuck/tiny-cbor/package.json +25 -0
- package/.output/server/node_modules/@peculiar/asn1-android/build/es2015/attestation.js +34 -0
- package/.output/server/node_modules/@peculiar/asn1-android/build/es2015/index.js +3 -0
- package/.output/server/node_modules/@peculiar/asn1-android/build/es2015/key_description.js +512 -0
- package/.output/server/node_modules/@peculiar/asn1-android/build/es2015/nonstandard.js +103 -0
- package/.output/server/node_modules/@peculiar/asn1-android/build/es2015/package.json +3 -0
- package/.output/server/node_modules/@peculiar/asn1-android/node_modules/tslib/modules/index.js +70 -0
- package/.output/server/node_modules/@peculiar/asn1-android/node_modules/tslib/modules/package.json +3 -0
- package/.output/server/node_modules/@peculiar/asn1-android/node_modules/tslib/package.json +47 -0
- package/.output/server/node_modules/@peculiar/asn1-android/node_modules/tslib/tslib.js +484 -0
- package/.output/server/node_modules/@peculiar/asn1-android/package.json +64 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/attribute.js +22 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/attributes/counter_signature.js +13 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/attributes/index.js +8 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/attributes/message_digest.js +8 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/attributes/signing_time.js +13 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/certificate_choices.js +64 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/content_info.js +22 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/encapsulated_content_info.js +40 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/encrypted_content_info.js +56 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/enveloped_data.js +60 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/index.js +24 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/issuer_and_serial_number.js +23 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/kek_recipient_info.js +53 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/key_agree_recipient_info.js +167 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/key_trans_recipient_info.js +51 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/object_identifiers.js +10 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/originator_info.js +31 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/other_key_attribute.js +22 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/password_recipient_info.js +32 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/recipient_info.js +75 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/recipient_infos.js +20 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/revocation_info_choice.js +54 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/signed_data.js +64 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/signer_identifier.js +28 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/signer_info.js +70 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/build/cjs/types.js +51 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/node_modules/tslib/modules/index.js +70 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/node_modules/tslib/modules/package.json +3 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/node_modules/tslib/package.json +47 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/node_modules/tslib/tslib.js +484 -0
- package/.output/server/node_modules/@peculiar/asn1-cms/package.json +65 -0
- package/.output/server/node_modules/@peculiar/asn1-csr/build/cjs/attributes.js +20 -0
- package/.output/server/node_modules/@peculiar/asn1-csr/build/cjs/certification_request.js +29 -0
- package/.output/server/node_modules/@peculiar/asn1-csr/build/cjs/certification_request_info.js +34 -0
- package/.output/server/node_modules/@peculiar/asn1-csr/build/cjs/index.js +6 -0
- package/.output/server/node_modules/@peculiar/asn1-csr/node_modules/tslib/modules/index.js +70 -0
- package/.output/server/node_modules/@peculiar/asn1-csr/node_modules/tslib/modules/package.json +3 -0
- package/.output/server/node_modules/@peculiar/asn1-csr/node_modules/tslib/package.json +47 -0
- package/.output/server/node_modules/@peculiar/asn1-csr/node_modules/tslib/tslib.js +484 -0
- package/.output/server/node_modules/@peculiar/asn1-csr/package.json +65 -0
- package/.output/server/node_modules/@peculiar/asn1-ecc/build/cjs/algorithms.js +14 -0
- package/.output/server/node_modules/@peculiar/asn1-ecc/build/cjs/ec_parameters.js +27 -0
- package/.output/server/node_modules/@peculiar/asn1-ecc/build/cjs/ec_private_key.js +36 -0
- package/.output/server/node_modules/@peculiar/asn1-ecc/build/cjs/ec_signature_value.js +25 -0
- package/.output/server/node_modules/@peculiar/asn1-ecc/build/cjs/index.js +9 -0
- package/.output/server/node_modules/@peculiar/asn1-ecc/build/cjs/object_identifiers.js +26 -0
- package/.output/server/node_modules/@peculiar/asn1-ecc/build/cjs/rfc3279.js +95 -0
- package/.output/server/node_modules/@peculiar/asn1-ecc/build/es2015/algorithms.js +10 -0
- package/.output/server/node_modules/@peculiar/asn1-ecc/build/es2015/ec_parameters.js +24 -0
- package/.output/server/node_modules/@peculiar/asn1-ecc/build/es2015/ec_private_key.js +32 -0
- package/.output/server/node_modules/@peculiar/asn1-ecc/build/es2015/ec_signature_value.js +21 -0
- package/.output/server/node_modules/@peculiar/asn1-ecc/build/es2015/index.js +6 -0
- package/.output/server/node_modules/@peculiar/asn1-ecc/build/es2015/object_identifiers.js +23 -0
- package/.output/server/node_modules/@peculiar/asn1-ecc/build/es2015/package.json +3 -0
- package/.output/server/node_modules/@peculiar/asn1-ecc/build/es2015/rfc3279.js +90 -0
- package/.output/server/node_modules/@peculiar/asn1-ecc/node_modules/tslib/modules/index.js +70 -0
- package/.output/server/node_modules/@peculiar/asn1-ecc/node_modules/tslib/modules/package.json +3 -0
- package/.output/server/node_modules/@peculiar/asn1-ecc/node_modules/tslib/package.json +47 -0
- package/.output/server/node_modules/@peculiar/asn1-ecc/node_modules/tslib/tslib.js +484 -0
- package/.output/server/node_modules/@peculiar/asn1-ecc/package.json +66 -0
- package/.output/server/node_modules/@peculiar/asn1-pfx/build/cjs/attribute.js +36 -0
- package/.output/server/node_modules/@peculiar/asn1-pfx/build/cjs/authenticated_safe.js +20 -0
- package/.output/server/node_modules/@peculiar/asn1-pfx/build/cjs/bags/cert_bag.js +26 -0
- package/.output/server/node_modules/@peculiar/asn1-pfx/build/cjs/bags/crl_bag.js +25 -0
- package/.output/server/node_modules/@peculiar/asn1-pfx/build/cjs/bags/index.js +9 -0
- package/.output/server/node_modules/@peculiar/asn1-pfx/build/cjs/bags/key_bag.js +12 -0
- package/.output/server/node_modules/@peculiar/asn1-pfx/build/cjs/bags/pkcs8_shrouded_key_bag.js +12 -0
- package/.output/server/node_modules/@peculiar/asn1-pfx/build/cjs/bags/secret_bag.js +22 -0
- package/.output/server/node_modules/@peculiar/asn1-pfx/build/cjs/bags/types.js +11 -0
- package/.output/server/node_modules/@peculiar/asn1-pfx/build/cjs/index.js +10 -0
- package/.output/server/node_modules/@peculiar/asn1-pfx/build/cjs/mac_data.js +27 -0
- package/.output/server/node_modules/@peculiar/asn1-pfx/build/cjs/object_identifiers.js +14 -0
- package/.output/server/node_modules/@peculiar/asn1-pfx/build/cjs/pfx.js +28 -0
- package/.output/server/node_modules/@peculiar/asn1-pfx/build/cjs/safe_bag.js +45 -0
- package/.output/server/node_modules/@peculiar/asn1-pfx/node_modules/tslib/modules/index.js +70 -0
- package/.output/server/node_modules/@peculiar/asn1-pfx/node_modules/tslib/modules/package.json +3 -0
- package/.output/server/node_modules/@peculiar/asn1-pfx/node_modules/tslib/package.json +47 -0
- package/.output/server/node_modules/@peculiar/asn1-pfx/node_modules/tslib/tslib.js +484 -0
- package/.output/server/node_modules/@peculiar/asn1-pfx/package.json +67 -0
- package/.output/server/node_modules/@peculiar/asn1-pkcs8/build/cjs/encrypted_private_key_info.js +23 -0
- package/.output/server/node_modules/@peculiar/asn1-pkcs8/build/cjs/index.js +5 -0
- package/.output/server/node_modules/@peculiar/asn1-pkcs8/build/cjs/private_key_info.js +54 -0
- package/.output/server/node_modules/@peculiar/asn1-pkcs8/node_modules/tslib/modules/index.js +70 -0
- package/.output/server/node_modules/@peculiar/asn1-pkcs8/node_modules/tslib/modules/package.json +3 -0
- package/.output/server/node_modules/@peculiar/asn1-pkcs8/node_modules/tslib/package.json +47 -0
- package/.output/server/node_modules/@peculiar/asn1-pkcs8/node_modules/tslib/tslib.js +484 -0
- package/.output/server/node_modules/@peculiar/asn1-pkcs8/package.json +63 -0
- package/.output/server/node_modules/@peculiar/asn1-pkcs9/build/cjs/index.js +301 -0
- package/.output/server/node_modules/@peculiar/asn1-pkcs9/node_modules/tslib/modules/index.js +70 -0
- package/.output/server/node_modules/@peculiar/asn1-pkcs9/node_modules/tslib/modules/package.json +3 -0
- package/.output/server/node_modules/@peculiar/asn1-pkcs9/node_modules/tslib/package.json +47 -0
- package/.output/server/node_modules/@peculiar/asn1-pkcs9/node_modules/tslib/tslib.js +484 -0
- package/.output/server/node_modules/@peculiar/asn1-pkcs9/package.json +67 -0
- package/.output/server/node_modules/@peculiar/asn1-rsa/build/cjs/algorithms.js +40 -0
- package/.output/server/node_modules/@peculiar/asn1-rsa/build/cjs/index.js +9 -0
- package/.output/server/node_modules/@peculiar/asn1-rsa/build/cjs/object_identifiers.js +28 -0
- package/.output/server/node_modules/@peculiar/asn1-rsa/build/cjs/other_prime_info.js +46 -0
- package/.output/server/node_modules/@peculiar/asn1-rsa/build/cjs/parameters/index.js +6 -0
- package/.output/server/node_modules/@peculiar/asn1-rsa/build/cjs/parameters/rsaes_oaep.js +45 -0
- package/.output/server/node_modules/@peculiar/asn1-rsa/build/cjs/parameters/rsassa_pkcs1_v1_5.js +20 -0
- package/.output/server/node_modules/@peculiar/asn1-rsa/build/cjs/parameters/rsassa_pss.js +53 -0
- package/.output/server/node_modules/@peculiar/asn1-rsa/build/cjs/rsa_private_key.js +79 -0
- package/.output/server/node_modules/@peculiar/asn1-rsa/build/cjs/rsa_public_key.js +25 -0
- package/.output/server/node_modules/@peculiar/asn1-rsa/build/es2015/algorithms.js +36 -0
- package/.output/server/node_modules/@peculiar/asn1-rsa/build/es2015/index.js +6 -0
- package/.output/server/node_modules/@peculiar/asn1-rsa/build/es2015/object_identifiers.js +25 -0
- package/.output/server/node_modules/@peculiar/asn1-rsa/build/es2015/other_prime_info.js +42 -0
- package/.output/server/node_modules/@peculiar/asn1-rsa/build/es2015/package.json +3 -0
- package/.output/server/node_modules/@peculiar/asn1-rsa/build/es2015/parameters/index.js +3 -0
- package/.output/server/node_modules/@peculiar/asn1-rsa/build/es2015/parameters/rsaes_oaep.js +41 -0
- package/.output/server/node_modules/@peculiar/asn1-rsa/build/es2015/parameters/rsassa_pkcs1_v1_5.js +16 -0
- package/.output/server/node_modules/@peculiar/asn1-rsa/build/es2015/parameters/rsassa_pss.js +49 -0
- package/.output/server/node_modules/@peculiar/asn1-rsa/build/es2015/rsa_private_key.js +75 -0
- package/.output/server/node_modules/@peculiar/asn1-rsa/build/es2015/rsa_public_key.js +21 -0
- package/.output/server/node_modules/@peculiar/asn1-rsa/node_modules/tslib/modules/index.js +70 -0
- package/.output/server/node_modules/@peculiar/asn1-rsa/node_modules/tslib/modules/package.json +3 -0
- package/.output/server/node_modules/@peculiar/asn1-rsa/node_modules/tslib/package.json +47 -0
- package/.output/server/node_modules/@peculiar/asn1-rsa/node_modules/tslib/tslib.js +484 -0
- package/.output/server/node_modules/@peculiar/asn1-rsa/package.json +64 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/cjs/convert.js +25 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/cjs/converters.js +148 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/cjs/decorators.js +52 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/cjs/enums.js +40 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/cjs/errors/index.js +4 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/cjs/errors/schema_validation.js +7 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/cjs/helper.js +44 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/cjs/index.js +22 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/cjs/objects.js +17 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/cjs/parser.js +313 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/cjs/schema.js +165 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/cjs/serializer.js +150 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/cjs/storage.js +5 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/cjs/types/bit_string.js +71 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/cjs/types/index.js +5 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/cjs/types/octet_string.js +45 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/es2015/convert.js +20 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/es2015/converters.js +143 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/es2015/decorators.js +43 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/es2015/enums.js +37 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/es2015/errors/index.js +1 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/es2015/errors/schema_validation.js +3 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/es2015/helper.js +39 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/es2015/index.js +9 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/es2015/objects.js +13 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/es2015/package.json +3 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/es2015/parser.js +308 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/es2015/schema.js +160 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/es2015/serializer.js +145 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/es2015/storage.js +2 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/es2015/types/bit_string.js +66 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/es2015/types/index.js +2 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/build/es2015/types/octet_string.js +40 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/node_modules/tslib/modules/index.js +70 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/node_modules/tslib/modules/package.json +3 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/node_modules/tslib/package.json +47 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/node_modules/tslib/tslib.js +484 -0
- package/.output/server/node_modules/@peculiar/asn1-schema/package.json +74 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/algorithm_identifier.js +28 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/attribute.js +22 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/certificate.js +29 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/certificate_list.js +29 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extension.js +41 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/authority_information_access.js +36 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/authority_key_identifier.js +48 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/basic_constraints.js +27 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/certificate_issuer.js +19 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/certificate_policies.js +136 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/crl_delta_indicator.js +14 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/crl_distribution_points.js +132 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/crl_freshest.js +22 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/crl_issuing_distribution_point.js +68 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/crl_number.js +20 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/crl_reason.js +39 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/entrust_version_info.js +46 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/extended_key_usage.js +28 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/index.js +28 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/inhibit_any_policy.js +23 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/invalidity_date.js +22 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/issuer_alternative_name.js +19 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/key_usage.js +56 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/name_constraints.js +74 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/policy_constraints.js +33 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/policy_mappings.js +35 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/private_key_usage_period.js +31 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/subject_alternative_name.js +19 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/subject_directory_attributes.js +22 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/subject_info_access.js +22 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/extensions/subject_key_identifier.js +9 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/general_name.js +132 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/general_names.js +20 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/index.js +19 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/ip_converter.js +177 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/name.js +110 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/object_identifiers.js +16 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/subject_public_key_info.js +20 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/tbs_cert_list.js +83 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/tbs_certificate.js +78 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/time.js +43 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/types.js +9 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/cjs/validity.js +23 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/algorithm_identifier.js +24 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/attribute.js +18 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/certificate.js +25 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/certificate_list.js +25 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extension.js +37 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/authority_information_access.js +32 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/authority_key_identifier.js +43 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/basic_constraints.js +23 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/certificate_issuer.js +16 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/certificate_policies.js +129 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/crl_delta_indicator.js +11 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/crl_distribution_points.js +127 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/crl_freshest.js +19 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/crl_issuing_distribution_point.js +64 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/crl_number.js +17 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/crl_reason.js +36 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/entrust_version_info.js +41 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/extended_key_usage.js +25 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/index.js +25 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/inhibit_any_policy.js +20 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/invalidity_date.js +19 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/issuer_alternative_name.js +16 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/key_usage.js +52 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/name_constraints.js +69 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/policy_constraints.js +29 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/policy_mappings.js +31 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/private_key_usage_period.js +27 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/subject_alternative_name.js +16 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/subject_directory_attributes.js +19 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/subject_info_access.js +19 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/extensions/subject_key_identifier.js +5 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/general_name.js +127 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/general_names.js +17 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/index.js +16 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/ip_converter.js +173 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/name.js +106 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/object_identifiers.js +13 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/package.json +3 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/subject_public_key_info.js +16 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/tbs_cert_list.js +78 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/tbs_certificate.js +74 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/time.js +40 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/types.js +6 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/build/es2015/validity.js +19 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/node_modules/tslib/modules/index.js +70 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/node_modules/tslib/modules/package.json +3 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/node_modules/tslib/package.json +47 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/node_modules/tslib/tslib.js +484 -0
- package/.output/server/node_modules/@peculiar/asn1-x509/package.json +64 -0
- package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/aa_clear_attrs.js +27 -0
- package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/aa_controls.js +44 -0
- package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/attr_cert_issuer.js +31 -0
- package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/attr_cert_validity_period.js +19 -0
- package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/attr_spec.js +19 -0
- package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/attribute_certificate.js +25 -0
- package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/attribute_certificate_info.js +67 -0
- package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/class_list.js +16 -0
- package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/clearance.js +31 -0
- package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/holder.js +41 -0
- package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/ietf_attr_syntax.js +46 -0
- package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/index.js +23 -0
- package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/issuer_serial.js +30 -0
- package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/object_digest_info.js +37 -0
- package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/object_identifiers.js +17 -0
- package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/proxy_info.js +20 -0
- package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/role_syntax.js +29 -0
- package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/security_category.js +27 -0
- package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/svce_auth_info.js +27 -0
- package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/target.js +79 -0
- package/.output/server/node_modules/@peculiar/asn1-x509-attr/build/cjs/v2_form.js +39 -0
- package/.output/server/node_modules/@peculiar/asn1-x509-attr/node_modules/tslib/modules/index.js +70 -0
- package/.output/server/node_modules/@peculiar/asn1-x509-attr/node_modules/tslib/modules/package.json +3 -0
- package/.output/server/node_modules/@peculiar/asn1-x509-attr/node_modules/tslib/package.json +47 -0
- package/.output/server/node_modules/@peculiar/asn1-x509-attr/node_modules/tslib/tslib.js +484 -0
- package/.output/server/node_modules/@peculiar/asn1-x509-attr/package.json +64 -0
- package/.output/server/node_modules/@peculiar/utils/build/cjs/bytes/buffer-source.js +115 -0
- package/.output/server/node_modules/@peculiar/utils/build/cjs/bytes/concat.js +41 -0
- package/.output/server/node_modules/@peculiar/utils/build/cjs/bytes/equal.js +17 -0
- package/.output/server/node_modules/@peculiar/utils/build/cjs/bytes/index.js +31 -0
- package/.output/server/node_modules/@peculiar/utils/build/cjs/bytes/sequence.js +161 -0
- package/.output/server/node_modules/@peculiar/utils/build/cjs/converters/convert.js +74 -0
- package/.output/server/node_modules/@peculiar/utils/build/cjs/converters/defaults.js +72 -0
- package/.output/server/node_modules/@peculiar/utils/build/cjs/converters/index.js +18 -0
- package/.output/server/node_modules/@peculiar/utils/build/cjs/converters/registry.js +188 -0
- package/.output/server/node_modules/@peculiar/utils/build/cjs/encoding/base64.js +48 -0
- package/.output/server/node_modules/@peculiar/utils/build/cjs/encoding/base64url.js +26 -0
- package/.output/server/node_modules/@peculiar/utils/build/cjs/encoding/binary.js +26 -0
- package/.output/server/node_modules/@peculiar/utils/build/cjs/encoding/hex.js +229 -0
- package/.output/server/node_modules/@peculiar/utils/build/cjs/encoding/index.js +10 -0
- package/.output/server/node_modules/@peculiar/utils/build/cjs/encoding/utf16.js +24 -0
- package/.output/server/node_modules/@peculiar/utils/build/cjs/encoding/utf8.js +13 -0
- package/.output/server/node_modules/@peculiar/utils/build/cjs/index.js +10 -0
- package/.output/server/node_modules/@peculiar/utils/build/cjs/legacy/buffer-source-converter.js +37 -0
- package/.output/server/node_modules/@peculiar/utils/build/cjs/legacy/convert.js +72 -0
- package/.output/server/node_modules/@peculiar/utils/build/cjs/legacy/functions.js +23 -0
- package/.output/server/node_modules/@peculiar/utils/build/cjs/legacy/index.js +11 -0
- package/.output/server/node_modules/@peculiar/utils/build/cjs/package.json +3 -0
- package/.output/server/node_modules/@peculiar/utils/build/cjs/pem/index.js +14 -0
- package/.output/server/node_modules/@peculiar/utils/build/cjs/pem/pem.js +140 -0
- package/.output/server/node_modules/@peculiar/utils/build/esm/bytes/buffer-source.js +101 -0
- package/.output/server/node_modules/@peculiar/utils/build/esm/bytes/concat.js +37 -0
- package/.output/server/node_modules/@peculiar/utils/build/esm/bytes/equal.js +14 -0
- package/.output/server/node_modules/@peculiar/utils/build/esm/bytes/index.js +4 -0
- package/.output/server/node_modules/@peculiar/utils/build/esm/bytes/sequence.js +150 -0
- package/.output/server/node_modules/@peculiar/utils/build/esm/converters/convert.js +71 -0
- package/.output/server/node_modules/@peculiar/utils/build/esm/converters/defaults.js +68 -0
- package/.output/server/node_modules/@peculiar/utils/build/esm/converters/index.js +3 -0
- package/.output/server/node_modules/@peculiar/utils/build/esm/converters/registry.js +185 -0
- package/.output/server/node_modules/@peculiar/utils/build/esm/encoding/base64.js +40 -0
- package/.output/server/node_modules/@peculiar/utils/build/esm/encoding/base64url.js +19 -0
- package/.output/server/node_modules/@peculiar/utils/build/esm/encoding/binary.js +20 -0
- package/.output/server/node_modules/@peculiar/utils/build/esm/encoding/hex.js +220 -0
- package/.output/server/node_modules/@peculiar/utils/build/esm/encoding/index.js +6 -0
- package/.output/server/node_modules/@peculiar/utils/build/esm/encoding/utf16.js +19 -0
- package/.output/server/node_modules/@peculiar/utils/build/esm/encoding/utf8.js +8 -0
- package/.output/server/node_modules/@peculiar/utils/build/esm/index.js +6 -0
- package/.output/server/node_modules/@peculiar/utils/build/esm/legacy/buffer-source-converter.js +33 -0
- package/.output/server/node_modules/@peculiar/utils/build/esm/legacy/convert.js +68 -0
- package/.output/server/node_modules/@peculiar/utils/build/esm/legacy/functions.js +18 -0
- package/.output/server/node_modules/@peculiar/utils/build/esm/legacy/index.js +3 -0
- package/.output/server/node_modules/@peculiar/utils/build/esm/pem/index.js +1 -0
- package/.output/server/node_modules/@peculiar/utils/build/esm/pem/pem.js +129 -0
- package/.output/server/node_modules/@peculiar/utils/node_modules/tslib/modules/index.js +70 -0
- package/.output/server/node_modules/@peculiar/utils/node_modules/tslib/modules/package.json +3 -0
- package/.output/server/node_modules/@peculiar/utils/node_modules/tslib/package.json +47 -0
- package/.output/server/node_modules/@peculiar/utils/node_modules/tslib/tslib.js +484 -0
- package/.output/server/node_modules/@peculiar/utils/package.json +111 -0
- package/.output/server/node_modules/@peculiar/x509/build/x509.cjs.js +3445 -0
- package/.output/server/node_modules/@peculiar/x509/node_modules/tslib/modules/index.js +70 -0
- package/.output/server/node_modules/@peculiar/x509/node_modules/tslib/modules/package.json +3 -0
- package/.output/server/node_modules/@peculiar/x509/node_modules/tslib/package.json +47 -0
- package/.output/server/node_modules/@peculiar/x509/node_modules/tslib/tslib.js +484 -0
- package/.output/server/node_modules/@peculiar/x509/package.json +94 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/authentication/generateAuthenticationOptions.js +41 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/authentication/verifyAuthenticationResponse.js +171 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/convertAAGUIDToString.js +17 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/convertCOSEtoPKCS.js +21 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/convertCertBufferToPEM.js +31 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/convertPEMToBytes.js +11 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/convertX509PublicKeyToCOSE.js +73 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/cose.js +90 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/decodeAttestationObject.js +16 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/decodeAuthenticatorExtensions.js +34 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/decodeClientDataJSON.js +16 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/decodeCredentialPublicKey.js +11 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/fetch.js +14 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/generateChallenge.js +24 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/generateUserID.js +20 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/getCertificateInfo.js +77 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/index.js +17 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/isCertRevoked.js +96 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/iso/index.js +11 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/iso/isoBase64URL.js +72 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/iso/isoCBOR.js +35 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/iso/isoCrypto/digest.js +14 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/iso/isoCrypto/getRandomValues.js +11 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/iso/isoCrypto/getWebCrypto.js +49 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/iso/isoCrypto/importKey.js +8 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/iso/isoCrypto/index.js +7 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/iso/isoCrypto/mapCoseAlgToWebCryptoAlg.js +20 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/iso/isoCrypto/mapCoseAlgToWebCryptoKeyAlgName.js +19 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/iso/isoCrypto/unwrapEC2Signature.js +73 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/iso/isoCrypto/verify.js +32 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/iso/isoCrypto/verifyEC2.js +73 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/iso/isoCrypto/verifyOKP.js +51 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/iso/isoCrypto/verifyRSA.js +91 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/iso/isoUint8Array.js +79 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/logging.js +19 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/mapJWSAlgToCOSEAlg.js +31 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/mapX509SignatureAlgToCOSEAlg.js +35 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/matchExpectedRPID.js +41 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/parseAuthenticatorData.js +106 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/parseBackupFlags.js +25 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/toHash.js +12 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/validateCertificatePath.js +134 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/validateExtFIDOGenCEAAGUID.js +34 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/helpers/verifySignature.js +35 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/index.js +8 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/metadata/mdsTypes.js +17 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/metadata/parseJWT.js +12 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/metadata/verifyAttestationWithMetadata.js +159 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/metadata/verifyJWT.js +42 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/metadata/verifyMDSBlob.js +59 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/package.json +3 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/registration/generateRegistrationOptions.js +181 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/registration/verifications/tpm/constants.js +137 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/registration/verifications/tpm/parseCertInfo.js +58 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/registration/verifications/tpm/parsePubArea.js +94 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/registration/verifications/tpm/verifyAttestationTPM.js +331 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/registration/verifications/verifyAttestationAndroidKey.js +120 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/registration/verifications/verifyAttestationAndroidSafetyNet.js +113 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/registration/verifications/verifyAttestationApple.js +58 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/registration/verifications/verifyAttestationFIDOU2F.js +48 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/registration/verifications/verifyAttestationPacked.js +113 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/registration/verifyRegistrationResponse.js +213 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/services/defaultRootCerts/android-key.js +171 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/services/defaultRootCerts/android-safetynet.js +32 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/services/defaultRootCerts/apple.js +25 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/services/defaultRootCerts/mds.js +74 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/services/metadataService.js +268 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/services/settingsService.js +74 -0
- package/.output/server/node_modules/@simplewebauthn/server/esm/types/index.js +1 -0
- package/.output/server/node_modules/@simplewebauthn/server/package.json +65 -0
- package/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +6801 -0
- package/.output/server/node_modules/@vue/compiler-core/package.json +58 -0
- package/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +692 -0
- package/.output/server/node_modules/@vue/compiler-dom/package.json +57 -0
- package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +1420 -0
- package/.output/server/node_modules/@vue/compiler-ssr/package.json +34 -0
- package/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +1905 -0
- package/.output/server/node_modules/@vue/reactivity/package.json +55 -0
- package/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +7006 -0
- package/.output/server/node_modules/@vue/runtime-core/package.json +52 -0
- package/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +1867 -0
- package/.output/server/node_modules/@vue/runtime-dom/package.json +60 -0
- package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +904 -0
- package/.output/server/node_modules/@vue/server-renderer/package.json +53 -0
- package/.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js +655 -0
- package/.output/server/node_modules/@vue/shared/package.json +47 -0
- package/.output/server/node_modules/agent-base/dist/helpers.js +66 -0
- package/.output/server/node_modules/agent-base/dist/index.js +178 -0
- package/.output/server/node_modules/agent-base/package.json +46 -0
- package/.output/server/node_modules/asn1.js/lib/asn1/api.js +57 -0
- package/.output/server/node_modules/asn1.js/lib/asn1/base/buffer.js +153 -0
- package/.output/server/node_modules/asn1.js/lib/asn1/base/index.js +8 -0
- package/.output/server/node_modules/asn1.js/lib/asn1/base/node.js +638 -0
- package/.output/server/node_modules/asn1.js/lib/asn1/base/reporter.js +123 -0
- package/.output/server/node_modules/asn1.js/lib/asn1/constants/der.js +58 -0
- package/.output/server/node_modules/asn1.js/lib/asn1/constants/index.js +21 -0
- package/.output/server/node_modules/asn1.js/lib/asn1/decoders/der.js +335 -0
- package/.output/server/node_modules/asn1.js/lib/asn1/decoders/index.js +6 -0
- package/.output/server/node_modules/asn1.js/lib/asn1/decoders/pem.js +51 -0
- package/.output/server/node_modules/asn1.js/lib/asn1/encoders/der.js +295 -0
- package/.output/server/node_modules/asn1.js/lib/asn1/encoders/index.js +6 -0
- package/.output/server/node_modules/asn1.js/lib/asn1/encoders/pem.js +23 -0
- package/.output/server/node_modules/asn1.js/lib/asn1.js +11 -0
- package/.output/server/node_modules/asn1.js/package.json +36 -0
- package/.output/server/node_modules/asn1js/build/index.js +3266 -0
- package/.output/server/node_modules/asn1js/package.json +86 -0
- package/.output/server/node_modules/bn.js/lib/bn.js +3463 -0
- package/.output/server/node_modules/bn.js/package.json +36 -0
- package/.output/server/node_modules/buffer-equal-constant-time/index.js +41 -0
- package/.output/server/node_modules/buffer-equal-constant-time/package.json +21 -0
- package/.output/server/node_modules/debug/package.json +64 -0
- package/.output/server/node_modules/debug/src/browser.js +272 -0
- package/.output/server/node_modules/debug/src/common.js +292 -0
- package/.output/server/node_modules/debug/src/index.js +10 -0
- package/.output/server/node_modules/debug/src/node.js +263 -0
- package/.output/server/node_modules/devalue/index.js +17 -0
- package/.output/server/node_modules/devalue/package.json +39 -0
- package/.output/server/node_modules/devalue/src/base64.js +60 -0
- package/.output/server/node_modules/devalue/src/constants.js +12 -0
- package/.output/server/node_modules/devalue/src/operations.js +221 -0
- package/.output/server/node_modules/devalue/src/parse.js +279 -0
- package/.output/server/node_modules/devalue/src/stringify.js +433 -0
- package/.output/server/node_modules/devalue/src/uneval.js +698 -0
- package/.output/server/node_modules/devalue/src/utils.js +190 -0
- package/.output/server/node_modules/ecdsa-sig-formatter/package.json +46 -0
- package/.output/server/node_modules/ecdsa-sig-formatter/src/ecdsa-sig-formatter.js +187 -0
- package/.output/server/node_modules/ecdsa-sig-formatter/src/param-bytes-for-alg.js +23 -0
- package/.output/server/node_modules/entities/dist/commonjs/decode-codepoint.js +77 -0
- package/.output/server/node_modules/entities/dist/commonjs/decode.js +568 -0
- package/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-html.js +7 -0
- package/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +7 -0
- package/.output/server/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js +21 -0
- package/.output/server/node_modules/entities/dist/commonjs/internal/decode-shared.js +31 -0
- package/.output/server/node_modules/entities/dist/commonjs/package.json +3 -0
- package/.output/server/node_modules/entities/package.json +120 -0
- package/.output/server/node_modules/estree-walker/dist/umd/estree-walker.js +344 -0
- package/.output/server/node_modules/estree-walker/package.json +37 -0
- package/.output/server/node_modules/hookable/dist/index.mjs +257 -0
- package/.output/server/node_modules/hookable/package.json +54 -0
- package/.output/server/node_modules/http_ece/ece.js +528 -0
- package/.output/server/node_modules/http_ece/package.json +29 -0
- package/.output/server/node_modules/https-proxy-agent/dist/index.js +180 -0
- package/.output/server/node_modules/https-proxy-agent/dist/parse-proxy-response.js +101 -0
- package/.output/server/node_modules/https-proxy-agent/package.json +50 -0
- package/.output/server/node_modules/inherits/inherits.js +9 -0
- package/.output/server/node_modules/inherits/inherits_browser.js +27 -0
- package/.output/server/node_modules/inherits/package.json +29 -0
- package/.output/server/node_modules/jwa/index.js +266 -0
- package/.output/server/node_modules/jwa/package.json +37 -0
- package/.output/server/node_modules/jws/index.js +22 -0
- package/.output/server/node_modules/jws/lib/data-stream.js +55 -0
- package/.output/server/node_modules/jws/lib/sign-stream.js +83 -0
- package/.output/server/node_modules/jws/lib/tostring.js +10 -0
- package/.output/server/node_modules/jws/lib/verify-stream.js +125 -0
- package/.output/server/node_modules/jws/package.json +34 -0
- package/.output/server/node_modules/minimalistic-assert/index.js +11 -0
- package/.output/server/node_modules/minimalistic-assert/package.json +19 -0
- package/.output/server/node_modules/ms/index.js +162 -0
- package/.output/server/node_modules/ms/package.json +38 -0
- package/.output/server/node_modules/nostics/dist/formatters/ansi.mjs +19 -0
- package/.output/server/node_modules/nostics/dist/index.mjs +194 -0
- package/.output/server/node_modules/nostics/package.json +126 -0
- package/.output/server/node_modules/pvtsutils/build/index.js +399 -0
- package/.output/server/node_modules/pvtsutils/package.json +76 -0
- package/.output/server/node_modules/pvutils/build/utils.js +361 -0
- package/.output/server/node_modules/pvutils/package.json +63 -0
- package/.output/server/node_modules/qrcode-terminal/package.json +47 -0
- package/.output/server/node_modules/qrcode-terminal/vendor/QRCode/QR8bitByte.js +22 -0
- package/.output/server/node_modules/qrcode-terminal/vendor/QRCode/QRBitBuffer.js +38 -0
- package/.output/server/node_modules/qrcode-terminal/vendor/QRCode/QRErrorCorrectLevel.js +7 -0
- package/.output/server/node_modules/qrcode-terminal/vendor/QRCode/QRMaskPattern.js +10 -0
- package/.output/server/node_modules/qrcode-terminal/vendor/QRCode/QRMath.js +44 -0
- package/.output/server/node_modules/qrcode-terminal/vendor/QRCode/QRMode.js +6 -0
- package/.output/server/node_modules/qrcode-terminal/vendor/QRCode/QRPolynomial.js +66 -0
- package/.output/server/node_modules/qrcode-terminal/vendor/QRCode/QRRSBlock.js +298 -0
- package/.output/server/node_modules/qrcode-terminal/vendor/QRCode/QRUtil.js +272 -0
- package/.output/server/node_modules/qrcode-terminal/vendor/QRCode/index.js +462 -0
- package/.output/server/node_modules/reflect-metadata/Reflect.js +1415 -0
- package/.output/server/node_modules/reflect-metadata/package.json +68 -0
- package/.output/server/node_modules/safe-buffer/index.js +65 -0
- package/.output/server/node_modules/safe-buffer/package.json +51 -0
- package/.output/server/node_modules/safer-buffer/package.json +34 -0
- package/.output/server/node_modules/safer-buffer/safer.js +77 -0
- package/.output/server/node_modules/source-map-js/lib/array-set.js +121 -0
- package/.output/server/node_modules/source-map-js/lib/base64-vlq.js +140 -0
- package/.output/server/node_modules/source-map-js/lib/base64.js +67 -0
- package/.output/server/node_modules/source-map-js/lib/binary-search.js +111 -0
- package/.output/server/node_modules/source-map-js/lib/mapping-list.js +79 -0
- package/.output/server/node_modules/source-map-js/lib/quick-sort.js +132 -0
- package/.output/server/node_modules/source-map-js/lib/source-map-consumer.js +1188 -0
- package/.output/server/node_modules/source-map-js/lib/source-map-generator.js +444 -0
- package/.output/server/node_modules/source-map-js/lib/source-node.js +413 -0
- package/.output/server/node_modules/source-map-js/lib/util.js +594 -0
- package/.output/server/node_modules/source-map-js/package.json +71 -0
- package/.output/server/node_modules/source-map-js/source-map.js +8 -0
- package/.output/server/node_modules/supports-color/index.js +202 -0
- package/.output/server/node_modules/supports-color/package.json +64 -0
- package/.output/server/node_modules/tslib/modules/index.js +70 -0
- package/.output/server/node_modules/tslib/modules/package.json +3 -0
- package/.output/server/node_modules/tslib/package.json +47 -0
- package/.output/server/node_modules/tslib/tslib.js +484 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/decorators/auto-injectable.js +46 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/decorators/index.js +20 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/decorators/inject-all-with-transform.js +13 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/decorators/inject-all.js +12 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/decorators/inject-with-transform.js +10 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/decorators/inject.js +12 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/decorators/injectable.js +21 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/decorators/registry.js +14 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/decorators/scoped.js +13 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/decorators/singleton.js +11 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/dependency-container.js +341 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/error-helpers.js +19 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/factories/index.js +8 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/factories/instance-caching-factory.js +12 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/factories/instance-per-container-caching-factory.js +14 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/factories/predicate-aware-class-factory.js +19 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/index.js +15 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/interceptors.js +17 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/lazy-helpers.js +54 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/providers/class-provider.js +7 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/providers/factory-provider.js +7 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/providers/index.js +12 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/providers/injection-token.js +24 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/providers/provider.js +14 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/providers/token-provider.js +7 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/providers/value-provider.js +7 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/reflection-helpers.js +27 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/registry-base.js +39 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/registry.js +6 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/resolution-context.js +8 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/types/disposable.js +13 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/types/index.js +4 -0
- package/.output/server/node_modules/tsyringe/dist/cjs/types/lifecycle.js +10 -0
- package/.output/server/node_modules/tsyringe/node_modules/tslib/package.json +37 -0
- package/.output/server/node_modules/tsyringe/node_modules/tslib/tslib.js +284 -0
- package/.output/server/node_modules/tsyringe/package.json +63 -0
- package/.output/server/node_modules/ufo/dist/index.mjs +645 -0
- package/.output/server/node_modules/ufo/package.json +48 -0
- package/.output/server/node_modules/unhead/dist/client.mjs +22 -0
- package/.output/server/node_modules/unhead/dist/legacy.mjs +33 -0
- package/.output/server/node_modules/unhead/dist/minify.mjs +183 -0
- package/.output/server/node_modules/unhead/dist/parser.mjs +518 -0
- package/.output/server/node_modules/unhead/dist/plugins.mjs +746 -0
- package/.output/server/node_modules/unhead/dist/server.mjs +99 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.-hZVKou0.mjs +400 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.BEmVMkeA.mjs +673 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.BGFxPGPQ.mjs +47 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.BQWSw36o.mjs +192 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.Bf_fPVYA.mjs +6 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.Bjbp1C8D.mjs +224 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.Bm4Y6XQI.mjs +17 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.C5Bksi2B.mjs +49 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.CGPOfp5O.mjs +32 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.CHEy9ana.mjs +7 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.C_7zwq8E.mjs +11 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.D7HkBzZn.mjs +59 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.Dssd7L5I.mjs +196 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.jEy9BmRq.mjs +264 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.oZ7pkTV1.mjs +19 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.tQnRaXfX.mjs +240 -0
- package/.output/server/node_modules/unhead/dist/stream/client.mjs +33 -0
- package/.output/server/node_modules/unhead/dist/stream/iife.mjs +2 -0
- package/.output/server/node_modules/unhead/dist/stream/server.mjs +436 -0
- package/.output/server/node_modules/unhead/dist/utils.mjs +7 -0
- package/.output/server/node_modules/unhead/package.json +179 -0
- package/.output/server/node_modules/vue/dist/vue.cjs.js +80 -0
- package/.output/server/node_modules/vue/dist/vue.cjs.prod.js +66 -0
- package/.output/server/node_modules/vue/index.js +7 -0
- package/.output/server/node_modules/vue/index.mjs +1 -0
- package/.output/server/node_modules/vue/package.json +112 -0
- package/.output/server/node_modules/vue/server-renderer/index.mjs +1 -0
- package/.output/server/node_modules/vue-bundle-renderer/dist/runtime.mjs +687 -0
- package/.output/server/node_modules/vue-bundle-renderer/package.json +66 -0
- package/.output/server/node_modules/web-push/package.json +55 -0
- package/.output/server/node_modules/web-push/src/encryption-helper.js +62 -0
- package/.output/server/node_modules/web-push/src/index.js +21 -0
- package/.output/server/node_modules/web-push/src/urlsafe-base64-helper.js +13 -0
- package/.output/server/node_modules/web-push/src/vapid-helper.js +255 -0
- package/.output/server/node_modules/web-push/src/web-push-constants.js +17 -0
- package/.output/server/node_modules/web-push/src/web-push-error.js +16 -0
- package/.output/server/node_modules/web-push/src/web-push-lib.js +413 -0
- package/.output/server/package.json +67 -0
- package/LICENSE +21 -0
- package/README.md +963 -2
- package/bin/lib/commands.mjs +432 -0
- package/bin/lib/core.mjs +150 -0
- package/bin/lib/panel.mjs +208 -0
- package/bin/lib/runtime.mjs +74 -0
- package/bin/lib/service.mjs +133 -0
- package/bin/lib/tailnet.d.mts +32 -0
- package/bin/lib/tailnet.mjs +185 -0
- package/bin/wherdr.mjs +23 -0
- package/package.json +75 -4
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
function keyOf(name) {
|
|
2
|
+
return name.trim().toLowerCase();
|
|
3
|
+
}
|
|
4
|
+
function toError(error) {
|
|
5
|
+
return error instanceof Error ? error : new Error(String(error));
|
|
6
|
+
}
|
|
7
|
+
function removeConverter(converters, primaryNames, converter) {
|
|
8
|
+
for (const alias of [converter.name, ...(converter.aliases ?? [])]) {
|
|
9
|
+
converters.delete(keyOf(alias));
|
|
10
|
+
}
|
|
11
|
+
primaryNames.delete(keyOf(converter.name));
|
|
12
|
+
}
|
|
13
|
+
function requireCapability(converter, name, capability) {
|
|
14
|
+
const method = converter[capability];
|
|
15
|
+
if (typeof method !== "function") {
|
|
16
|
+
throw new Error(`Converter '${name}' does not support ${capability}()`);
|
|
17
|
+
}
|
|
18
|
+
return method;
|
|
19
|
+
}
|
|
20
|
+
function detectConfidence(name, text, converter) {
|
|
21
|
+
const normalizedName = keyOf(converter.name || name);
|
|
22
|
+
const trimmed = text.trim();
|
|
23
|
+
if (!trimmed) {
|
|
24
|
+
return 0;
|
|
25
|
+
}
|
|
26
|
+
let accepted = false;
|
|
27
|
+
if (converter.is) {
|
|
28
|
+
accepted = converter.is(text);
|
|
29
|
+
}
|
|
30
|
+
let decodable = false;
|
|
31
|
+
try {
|
|
32
|
+
converter.decode(text);
|
|
33
|
+
decodable = true;
|
|
34
|
+
}
|
|
35
|
+
catch {
|
|
36
|
+
decodable = false;
|
|
37
|
+
}
|
|
38
|
+
if (!accepted && !decodable) {
|
|
39
|
+
return 0;
|
|
40
|
+
}
|
|
41
|
+
switch (normalizedName) {
|
|
42
|
+
case "pem":
|
|
43
|
+
return /-----BEGIN [^-]+-----/.test(text) ? 1 : 0;
|
|
44
|
+
case "hex": {
|
|
45
|
+
const compact = trimmed.replace(/^0x/i, "").replace(/[\s:.-]/g, "");
|
|
46
|
+
if (!compact || /[^0-9a-f]/i.test(compact) || compact.length % 2 !== 0) {
|
|
47
|
+
return 0;
|
|
48
|
+
}
|
|
49
|
+
if (/^0x/i.test(trimmed) || /[:\s.-]/.test(trimmed)) {
|
|
50
|
+
return 0.95;
|
|
51
|
+
}
|
|
52
|
+
if (/[a-f]/.test(trimmed) || /[A-F]/.test(trimmed)) {
|
|
53
|
+
return 0.8;
|
|
54
|
+
}
|
|
55
|
+
return 0.45;
|
|
56
|
+
}
|
|
57
|
+
case "base64url":
|
|
58
|
+
if (/[-_]/.test(trimmed)) {
|
|
59
|
+
return 0.95;
|
|
60
|
+
}
|
|
61
|
+
if (/=/.test(trimmed)) {
|
|
62
|
+
return 0.1;
|
|
63
|
+
}
|
|
64
|
+
return 0.6;
|
|
65
|
+
case "base64":
|
|
66
|
+
if (/[+/=]/.test(trimmed)) {
|
|
67
|
+
return 0.9;
|
|
68
|
+
}
|
|
69
|
+
return 0.55;
|
|
70
|
+
case "binary":
|
|
71
|
+
case "utf8":
|
|
72
|
+
case "utf16be":
|
|
73
|
+
case "utf16le":
|
|
74
|
+
return 0;
|
|
75
|
+
default:
|
|
76
|
+
return accepted && decodable ? 0.75 : 0.5;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
export function createConverterRegistry(initialConverters = []) {
|
|
80
|
+
const converters = new Map();
|
|
81
|
+
const primaryNames = new Set();
|
|
82
|
+
const api = {
|
|
83
|
+
register(converter, options = {}) {
|
|
84
|
+
if (!converter.name || !keyOf(converter.name)) {
|
|
85
|
+
throw new TypeError("Converter name is required");
|
|
86
|
+
}
|
|
87
|
+
const names = [...new Set([converter.name, ...(converter.aliases ?? [])].map(keyOf))];
|
|
88
|
+
const conflicts = new Set();
|
|
89
|
+
for (const name of names) {
|
|
90
|
+
const existing = converters.get(name);
|
|
91
|
+
if (!existing) {
|
|
92
|
+
continue;
|
|
93
|
+
}
|
|
94
|
+
if (!options.override) {
|
|
95
|
+
throw new Error(`Converter '${name}' is already registered`);
|
|
96
|
+
}
|
|
97
|
+
conflicts.add(existing);
|
|
98
|
+
}
|
|
99
|
+
for (const conflicting of conflicts) {
|
|
100
|
+
removeConverter(converters, primaryNames, conflicting);
|
|
101
|
+
}
|
|
102
|
+
for (const name of names) {
|
|
103
|
+
converters.set(name, converter);
|
|
104
|
+
}
|
|
105
|
+
primaryNames.add(keyOf(converter.name));
|
|
106
|
+
return this;
|
|
107
|
+
},
|
|
108
|
+
unregister(name) {
|
|
109
|
+
const converter = converters.get(keyOf(name));
|
|
110
|
+
if (!converter) {
|
|
111
|
+
return false;
|
|
112
|
+
}
|
|
113
|
+
removeConverter(converters, primaryNames, converter);
|
|
114
|
+
return true;
|
|
115
|
+
},
|
|
116
|
+
has(name) {
|
|
117
|
+
return converters.has(keyOf(name));
|
|
118
|
+
},
|
|
119
|
+
get(name) {
|
|
120
|
+
const converter = converters.get(keyOf(name));
|
|
121
|
+
if (!converter) {
|
|
122
|
+
throw new Error(`Converter '${name}' is not registered`);
|
|
123
|
+
}
|
|
124
|
+
return converter;
|
|
125
|
+
},
|
|
126
|
+
list() {
|
|
127
|
+
return [...primaryNames].map((name) => this.get(name));
|
|
128
|
+
},
|
|
129
|
+
encode(name, data, options) {
|
|
130
|
+
return this.get(name).encode(data, options);
|
|
131
|
+
},
|
|
132
|
+
decode(name, text, options) {
|
|
133
|
+
return this.get(name).decode(text, options);
|
|
134
|
+
},
|
|
135
|
+
tryDecode(name, text, options) {
|
|
136
|
+
try {
|
|
137
|
+
return { ok: true, bytes: this.decode(name, text, options) };
|
|
138
|
+
}
|
|
139
|
+
catch (error) {
|
|
140
|
+
return { ok: false, error: toError(error) };
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
normalize(name, text, options) {
|
|
144
|
+
const converter = this.get(name);
|
|
145
|
+
return requireCapability(converter, name, "normalize").call(converter, text, options);
|
|
146
|
+
},
|
|
147
|
+
parse(name, text, options) {
|
|
148
|
+
const converter = this.get(name);
|
|
149
|
+
return requireCapability(converter, name, "parse").call(converter, text, options);
|
|
150
|
+
},
|
|
151
|
+
format(name, data, format) {
|
|
152
|
+
const converter = this.get(name);
|
|
153
|
+
return requireCapability(converter, name, "format").call(converter, data, format);
|
|
154
|
+
},
|
|
155
|
+
transcode(text, options) {
|
|
156
|
+
const bytes = this.decode(options.from, text, options.fromOptions);
|
|
157
|
+
return this.encode(options.to, bytes, options.toOptions);
|
|
158
|
+
},
|
|
159
|
+
detect(text, options = {}) {
|
|
160
|
+
const formatNames = options.formats?.length
|
|
161
|
+
? options.formats.map((name) => String(name))
|
|
162
|
+
: this.list()
|
|
163
|
+
.map((converter) => converter.name)
|
|
164
|
+
.filter((name) => !["binary", "utf8", "utf16be", "utf16le"].includes(keyOf(name)));
|
|
165
|
+
const detections = new Map();
|
|
166
|
+
for (const requestedName of formatNames) {
|
|
167
|
+
const converter = this.get(requestedName);
|
|
168
|
+
const confidence = detectConfidence(requestedName, text, converter);
|
|
169
|
+
if (confidence <= 0) {
|
|
170
|
+
continue;
|
|
171
|
+
}
|
|
172
|
+
const format = converter.name;
|
|
173
|
+
const current = detections.get(format);
|
|
174
|
+
if (!current || confidence > current.confidence) {
|
|
175
|
+
detections.set(format, { format, confidence });
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
return [...detections.values()].sort((left, right) => right.confidence - left.confidence);
|
|
179
|
+
},
|
|
180
|
+
};
|
|
181
|
+
for (const converter of initialConverters) {
|
|
182
|
+
api.register(converter);
|
|
183
|
+
}
|
|
184
|
+
return api;
|
|
185
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { toUint8Array } from "../bytes/index.js";
|
|
2
|
+
import { encode as encodeBinary, decode as decodeBinary } from "./binary.js";
|
|
3
|
+
const BASE64_REGEX = /^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/;
|
|
4
|
+
function nodeBuffer() {
|
|
5
|
+
return globalThis.Buffer;
|
|
6
|
+
}
|
|
7
|
+
export function normalize(text) {
|
|
8
|
+
return text.replace(/[\n\r\t ]/g, "");
|
|
9
|
+
}
|
|
10
|
+
export function pad(text) {
|
|
11
|
+
const remainder = text.length % 4;
|
|
12
|
+
return remainder ? text + "=".repeat(4 - remainder) : text;
|
|
13
|
+
}
|
|
14
|
+
export function is(text) {
|
|
15
|
+
if (typeof text !== "string") {
|
|
16
|
+
return false;
|
|
17
|
+
}
|
|
18
|
+
const normalized = normalize(text);
|
|
19
|
+
return normalized === "" || BASE64_REGEX.test(normalized);
|
|
20
|
+
}
|
|
21
|
+
export function encode(data, _options) {
|
|
22
|
+
const bytes = toUint8Array(data);
|
|
23
|
+
const buffer = nodeBuffer();
|
|
24
|
+
if (buffer) {
|
|
25
|
+
return buffer.from(bytes).toString("base64");
|
|
26
|
+
}
|
|
27
|
+
return btoa(encodeBinary(bytes));
|
|
28
|
+
}
|
|
29
|
+
export function decode(text, _options) {
|
|
30
|
+
const normalized = normalize(text);
|
|
31
|
+
if (!is(normalized)) {
|
|
32
|
+
throw new TypeError("Input is not valid Base64 text");
|
|
33
|
+
}
|
|
34
|
+
const buffer = nodeBuffer();
|
|
35
|
+
if (buffer) {
|
|
36
|
+
return new Uint8Array(buffer.from(normalized, "base64"));
|
|
37
|
+
}
|
|
38
|
+
return decodeBinary(atob(normalized));
|
|
39
|
+
}
|
|
40
|
+
export const base64 = { encode, decode, is, normalize, pad };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { base64 } from "./base64.js";
|
|
2
|
+
const BASE64URL_REGEX = /^[A-Za-z0-9_-]*$/;
|
|
3
|
+
export function normalize(text) {
|
|
4
|
+
return text.replace(/[\n\r\t ]/g, "");
|
|
5
|
+
}
|
|
6
|
+
export function is(text) {
|
|
7
|
+
return typeof text === "string" && BASE64URL_REGEX.test(normalize(text));
|
|
8
|
+
}
|
|
9
|
+
export function encode(data, _options) {
|
|
10
|
+
return base64.encode(data).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/g, "");
|
|
11
|
+
}
|
|
12
|
+
export function decode(text, _options) {
|
|
13
|
+
const normalized = normalize(text);
|
|
14
|
+
if (!is(normalized)) {
|
|
15
|
+
throw new TypeError("Input is not valid Base64Url text");
|
|
16
|
+
}
|
|
17
|
+
return base64.decode(base64.pad(normalized.replace(/-/g, "+").replace(/_/g, "/")));
|
|
18
|
+
}
|
|
19
|
+
export const base64url = { encode, decode, is, normalize };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { toUint8Array } from "../bytes/index.js";
|
|
2
|
+
export function encode(data) {
|
|
3
|
+
const bytes = toUint8Array(data);
|
|
4
|
+
let result = "";
|
|
5
|
+
for (const byte of bytes) {
|
|
6
|
+
result += String.fromCharCode(byte);
|
|
7
|
+
}
|
|
8
|
+
return result;
|
|
9
|
+
}
|
|
10
|
+
export function decode(text) {
|
|
11
|
+
const result = new Uint8Array(text.length);
|
|
12
|
+
for (let i = 0; i < text.length; i++) {
|
|
13
|
+
result[i] = text.charCodeAt(i) & 0xff;
|
|
14
|
+
}
|
|
15
|
+
return result;
|
|
16
|
+
}
|
|
17
|
+
export function is(text) {
|
|
18
|
+
return typeof text === "string";
|
|
19
|
+
}
|
|
20
|
+
export const binary = { encode, decode, is };
|
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
import { toUint8Array } from "../bytes/index.js";
|
|
2
|
+
const HEX_CHARACTER_REGEX = /^[0-9a-f]$/i;
|
|
3
|
+
const COMMON_SEPARATORS = [" ", "\t", "\n", "\r", ":", "-", "."];
|
|
4
|
+
function resolveSeparators(options) {
|
|
5
|
+
if (options.separators === "none") {
|
|
6
|
+
return [];
|
|
7
|
+
}
|
|
8
|
+
if (!options.separators || options.separators === "common") {
|
|
9
|
+
return COMMON_SEPARATORS;
|
|
10
|
+
}
|
|
11
|
+
return options.separators;
|
|
12
|
+
}
|
|
13
|
+
function validateSeparator(separator) {
|
|
14
|
+
if (!separator) {
|
|
15
|
+
throw new TypeError("Hex separators must be non-empty strings");
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
function matchSeparator(text, index, separators) {
|
|
19
|
+
for (const separator of separators) {
|
|
20
|
+
if (text.startsWith(separator, index)) {
|
|
21
|
+
return separator;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
26
|
+
function detectCase(text) {
|
|
27
|
+
const hasUpper = /[A-F]/.test(text);
|
|
28
|
+
const hasLower = /[a-f]/.test(text);
|
|
29
|
+
return hasUpper && !hasLower ? "upper" : "lower";
|
|
30
|
+
}
|
|
31
|
+
function detectLineSeparator(text) {
|
|
32
|
+
const match = /\r\n|\n/.exec(text);
|
|
33
|
+
if (!match) {
|
|
34
|
+
return undefined;
|
|
35
|
+
}
|
|
36
|
+
return match[0] === "\r\n" ? "\r\n" : "\n";
|
|
37
|
+
}
|
|
38
|
+
function compactForDetection(text) {
|
|
39
|
+
return text.replace(/[^0-9a-f]/gi, "");
|
|
40
|
+
}
|
|
41
|
+
function detectGroup(text) {
|
|
42
|
+
const segments = text.match(/[0-9A-Fa-f]+|[^0-9A-Fa-f]+/g) ?? [];
|
|
43
|
+
if (segments.length < 3) {
|
|
44
|
+
return undefined;
|
|
45
|
+
}
|
|
46
|
+
const hexSegments = segments.filter((_, index) => index % 2 === 0);
|
|
47
|
+
const separators = segments.filter((_, index) => index % 2 === 1);
|
|
48
|
+
const separator = separators[0];
|
|
49
|
+
if (!separator || separators.some((item) => item !== separator)) {
|
|
50
|
+
return undefined;
|
|
51
|
+
}
|
|
52
|
+
if (hexSegments.some((segment) => segment.length === 0 || segment.length % 2 !== 0)) {
|
|
53
|
+
return undefined;
|
|
54
|
+
}
|
|
55
|
+
const firstLength = hexSegments[0]?.length ?? 0;
|
|
56
|
+
if (!firstLength) {
|
|
57
|
+
return undefined;
|
|
58
|
+
}
|
|
59
|
+
if (hexSegments.slice(0, -1).some((segment) => segment.length !== firstLength)) {
|
|
60
|
+
return undefined;
|
|
61
|
+
}
|
|
62
|
+
if ((hexSegments[hexSegments.length - 1]?.length ?? 0) > firstLength) {
|
|
63
|
+
return undefined;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
size: firstLength / 2,
|
|
67
|
+
separator,
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
function detectFormat(text) {
|
|
71
|
+
const trimmed = text.trim();
|
|
72
|
+
const prefix = /^0x/i.test(trimmed) ? "0x" : "";
|
|
73
|
+
const body = prefix ? trimmed.slice(2) : trimmed;
|
|
74
|
+
const lineSeparator = detectLineSeparator(body);
|
|
75
|
+
const lines = body.split(/\r\n|\n/).filter((line) => line.length > 0);
|
|
76
|
+
const sampleLine = lines[0]?.trim() ?? "";
|
|
77
|
+
const group = detectGroup(sampleLine);
|
|
78
|
+
const format = {
|
|
79
|
+
case: detectCase(trimmed),
|
|
80
|
+
prefix,
|
|
81
|
+
};
|
|
82
|
+
if (group) {
|
|
83
|
+
format.group = group;
|
|
84
|
+
}
|
|
85
|
+
if (lineSeparator && lines.length > 1) {
|
|
86
|
+
const firstLineBytes = compactForDetection(lines[0] ?? "").length / 2;
|
|
87
|
+
if (firstLineBytes > 0 && lines.slice(0, -1).every((line) => compactForDetection(line).length / 2 === firstLineBytes)) {
|
|
88
|
+
format.line = {
|
|
89
|
+
bytesPerLine: firstLineBytes,
|
|
90
|
+
separator: lineSeparator,
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
return format;
|
|
95
|
+
}
|
|
96
|
+
function normalizeText(text, options) {
|
|
97
|
+
const allowPrefix = options.allowPrefix ?? true;
|
|
98
|
+
const separators = [...resolveSeparators(options)].sort((left, right) => right.length - left.length);
|
|
99
|
+
for (const separator of separators) {
|
|
100
|
+
validateSeparator(separator);
|
|
101
|
+
}
|
|
102
|
+
let working = text.trim();
|
|
103
|
+
if (/^0x/i.test(working)) {
|
|
104
|
+
if (!allowPrefix) {
|
|
105
|
+
throw new TypeError("Hexadecimal text must not include a 0x prefix");
|
|
106
|
+
}
|
|
107
|
+
working = working.slice(2);
|
|
108
|
+
}
|
|
109
|
+
let normalized = "";
|
|
110
|
+
let lastTokenWasSeparator = false;
|
|
111
|
+
for (let index = 0; index < working.length;) {
|
|
112
|
+
const character = working[index] ?? "";
|
|
113
|
+
if (HEX_CHARACTER_REGEX.test(character)) {
|
|
114
|
+
normalized += character;
|
|
115
|
+
lastTokenWasSeparator = false;
|
|
116
|
+
index += 1;
|
|
117
|
+
continue;
|
|
118
|
+
}
|
|
119
|
+
const separator = matchSeparator(working, index, separators);
|
|
120
|
+
if (!separator) {
|
|
121
|
+
throw new TypeError("Input is not valid hexadecimal text");
|
|
122
|
+
}
|
|
123
|
+
if (options.strict && (lastTokenWasSeparator || normalized.length === 0)) {
|
|
124
|
+
throw new TypeError("Hexadecimal text contains misplaced separators");
|
|
125
|
+
}
|
|
126
|
+
lastTokenWasSeparator = true;
|
|
127
|
+
index += separator.length;
|
|
128
|
+
}
|
|
129
|
+
if (options.strict && lastTokenWasSeparator && normalized.length > 0) {
|
|
130
|
+
throw new TypeError("Hexadecimal text must not end with a separator");
|
|
131
|
+
}
|
|
132
|
+
if (normalized.length % 2 !== 0) {
|
|
133
|
+
if (!options.allowOddLength) {
|
|
134
|
+
throw new TypeError("Hexadecimal text must contain an even number of characters");
|
|
135
|
+
}
|
|
136
|
+
normalized = `0${normalized}`;
|
|
137
|
+
}
|
|
138
|
+
return normalized.toLowerCase();
|
|
139
|
+
}
|
|
140
|
+
function groupPairs(pairs, group) {
|
|
141
|
+
if (!group) {
|
|
142
|
+
return pairs.join("");
|
|
143
|
+
}
|
|
144
|
+
if (!Number.isInteger(group.size) || group.size < 1) {
|
|
145
|
+
throw new RangeError("Hex group size must be a positive integer");
|
|
146
|
+
}
|
|
147
|
+
const chunks = [];
|
|
148
|
+
for (let index = 0; index < pairs.length; index += group.size) {
|
|
149
|
+
chunks.push(pairs.slice(index, index + group.size).join(""));
|
|
150
|
+
}
|
|
151
|
+
return chunks.join(group.separator);
|
|
152
|
+
}
|
|
153
|
+
export function normalize(text, options = {}) {
|
|
154
|
+
return normalizeText(text, options);
|
|
155
|
+
}
|
|
156
|
+
export function is(text, options = {}) {
|
|
157
|
+
if (typeof text !== "string") {
|
|
158
|
+
return false;
|
|
159
|
+
}
|
|
160
|
+
try {
|
|
161
|
+
normalize(text, options);
|
|
162
|
+
return true;
|
|
163
|
+
}
|
|
164
|
+
catch {
|
|
165
|
+
return false;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
export function encode(data, options = {}) {
|
|
169
|
+
const bytes = toUint8Array(data);
|
|
170
|
+
const casing = options.case ?? "lower";
|
|
171
|
+
const pairs = Array.from(bytes, (byte) => {
|
|
172
|
+
const text = byte.toString(16).padStart(2, "0");
|
|
173
|
+
return casing === "upper" ? text.toUpperCase() : text;
|
|
174
|
+
});
|
|
175
|
+
let body = "";
|
|
176
|
+
if (options.line) {
|
|
177
|
+
const bytesPerLine = options.line.bytesPerLine;
|
|
178
|
+
if (!Number.isInteger(bytesPerLine) || bytesPerLine < 1) {
|
|
179
|
+
throw new RangeError("Hex bytesPerLine must be a positive integer");
|
|
180
|
+
}
|
|
181
|
+
const separator = options.line.separator ?? "\n";
|
|
182
|
+
const lines = [];
|
|
183
|
+
for (let index = 0; index < pairs.length; index += bytesPerLine) {
|
|
184
|
+
lines.push(groupPairs(pairs.slice(index, index + bytesPerLine), options.group));
|
|
185
|
+
}
|
|
186
|
+
body = lines.join(separator);
|
|
187
|
+
}
|
|
188
|
+
else {
|
|
189
|
+
body = groupPairs(pairs, options.group);
|
|
190
|
+
}
|
|
191
|
+
return `${options.prefix ?? ""}${body}`;
|
|
192
|
+
}
|
|
193
|
+
export function decode(text, options = {}) {
|
|
194
|
+
const normalized = normalize(text, options);
|
|
195
|
+
const result = new Uint8Array(normalized.length / 2);
|
|
196
|
+
for (let i = 0; i < normalized.length; i += 2) {
|
|
197
|
+
result[i / 2] = Number.parseInt(normalized.slice(i, i + 2), 16);
|
|
198
|
+
}
|
|
199
|
+
return result;
|
|
200
|
+
}
|
|
201
|
+
export function parse(text, options = {}) {
|
|
202
|
+
const normalized = normalize(text, options);
|
|
203
|
+
return {
|
|
204
|
+
bytes: decode(normalized),
|
|
205
|
+
format: detectFormat(text),
|
|
206
|
+
normalized,
|
|
207
|
+
};
|
|
208
|
+
}
|
|
209
|
+
export function format(data, value) {
|
|
210
|
+
return encode(data, value);
|
|
211
|
+
}
|
|
212
|
+
export const formats = {
|
|
213
|
+
compact: Object.freeze({}),
|
|
214
|
+
upper: Object.freeze({ case: "upper" }),
|
|
215
|
+
colon: Object.freeze({ group: { size: 1, separator: ":" } }),
|
|
216
|
+
colonUpper: Object.freeze({ case: "upper", group: { size: 1, separator: ":" } }),
|
|
217
|
+
groupsOf4: Object.freeze({ group: { size: 4, separator: " " } }),
|
|
218
|
+
prefixed: Object.freeze({ prefix: "0x" }),
|
|
219
|
+
};
|
|
220
|
+
export const hex = { encode, decode, format, formats, is, normalize, parse };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { toArrayBuffer } from "../bytes/index.js";
|
|
2
|
+
export function encode(text, options = {}) {
|
|
3
|
+
const result = new ArrayBuffer(text.length * 2);
|
|
4
|
+
const view = new DataView(result);
|
|
5
|
+
for (let i = 0; i < text.length; i++) {
|
|
6
|
+
view.setUint16(i * 2, text.charCodeAt(i), options.littleEndian ?? false);
|
|
7
|
+
}
|
|
8
|
+
return new Uint8Array(result);
|
|
9
|
+
}
|
|
10
|
+
export function decode(data, options = {}) {
|
|
11
|
+
const buffer = toArrayBuffer(data);
|
|
12
|
+
const view = new DataView(buffer);
|
|
13
|
+
let result = "";
|
|
14
|
+
for (let i = 0; i < buffer.byteLength; i += 2) {
|
|
15
|
+
result += String.fromCharCode(view.getUint16(i, options.littleEndian ?? false));
|
|
16
|
+
}
|
|
17
|
+
return result;
|
|
18
|
+
}
|
|
19
|
+
export const utf16 = { encode, decode };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { toUint8Array } from "../bytes/index.js";
|
|
2
|
+
export function encode(text) {
|
|
3
|
+
return new TextEncoder().encode(text);
|
|
4
|
+
}
|
|
5
|
+
export function decode(data) {
|
|
6
|
+
return new TextDecoder("utf-8", { fatal: false }).decode(toUint8Array(data));
|
|
7
|
+
}
|
|
8
|
+
export const utf8 = { encode, decode };
|
package/.output/server/node_modules/@peculiar/utils/build/esm/legacy/buffer-source-converter.js
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { concat, equal, isArrayBuffer, isArrayBufferView, isBufferSource, toArrayBuffer, toUint8Array, toView, } from "../bytes/index.js";
|
|
2
|
+
export class BufferSourceConverter {
|
|
3
|
+
static isArrayBuffer(data) {
|
|
4
|
+
return isArrayBuffer(data);
|
|
5
|
+
}
|
|
6
|
+
static toArrayBuffer(data) {
|
|
7
|
+
return toArrayBuffer(data);
|
|
8
|
+
}
|
|
9
|
+
static toUint8Array(data) {
|
|
10
|
+
return toUint8Array(data);
|
|
11
|
+
}
|
|
12
|
+
static toView(data, type) {
|
|
13
|
+
return toView(data, type);
|
|
14
|
+
}
|
|
15
|
+
static isBufferSource(data) {
|
|
16
|
+
return isBufferSource(data);
|
|
17
|
+
}
|
|
18
|
+
static isArrayBufferView(data) {
|
|
19
|
+
return isArrayBufferView(data);
|
|
20
|
+
}
|
|
21
|
+
static isEqual(a, b) {
|
|
22
|
+
return equal(a, b);
|
|
23
|
+
}
|
|
24
|
+
static concat(first, second, ...rest) {
|
|
25
|
+
if (Array.isArray(first)) {
|
|
26
|
+
return typeof second === "function"
|
|
27
|
+
? concat(first, second)
|
|
28
|
+
: concat(first);
|
|
29
|
+
}
|
|
30
|
+
const buffers = [first, second, ...rest].filter(Boolean);
|
|
31
|
+
return concat(buffers);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { convert } from "../converters/index.js";
|
|
2
|
+
function normalizeTextEncoding(encoding) {
|
|
3
|
+
return encoding === "ascii" ? "binary" : encoding;
|
|
4
|
+
}
|
|
5
|
+
export class Convert {
|
|
6
|
+
static DEFAULT_UTF8_ENCODING = "utf8";
|
|
7
|
+
static isHex(data) {
|
|
8
|
+
return convert.isHex(data);
|
|
9
|
+
}
|
|
10
|
+
static isBase64(data) {
|
|
11
|
+
return convert.isBase64(data);
|
|
12
|
+
}
|
|
13
|
+
static isBase64Url(data) {
|
|
14
|
+
return convert.isBase64Url(data);
|
|
15
|
+
}
|
|
16
|
+
static ToString(buffer, enc = "utf8") {
|
|
17
|
+
return convert.toString(buffer, enc);
|
|
18
|
+
}
|
|
19
|
+
static FromString(str, enc = "utf8") {
|
|
20
|
+
if (!str) {
|
|
21
|
+
return new ArrayBuffer(0);
|
|
22
|
+
}
|
|
23
|
+
return convert.fromString(str, enc);
|
|
24
|
+
}
|
|
25
|
+
static ToBase64(buffer) {
|
|
26
|
+
return convert.toBase64(buffer);
|
|
27
|
+
}
|
|
28
|
+
static FromBase64(base64) {
|
|
29
|
+
return convert.fromBase64(base64);
|
|
30
|
+
}
|
|
31
|
+
static FromBase64Url(base64url) {
|
|
32
|
+
return convert.fromBase64Url(base64url);
|
|
33
|
+
}
|
|
34
|
+
static ToBase64Url(data) {
|
|
35
|
+
return convert.toBase64Url(data);
|
|
36
|
+
}
|
|
37
|
+
static FromUtf8String(text, encoding = Convert.DEFAULT_UTF8_ENCODING) {
|
|
38
|
+
return convert.fromString(text, normalizeTextEncoding(encoding));
|
|
39
|
+
}
|
|
40
|
+
static ToUtf8String(buffer, encoding = Convert.DEFAULT_UTF8_ENCODING) {
|
|
41
|
+
return convert.toString(buffer, normalizeTextEncoding(encoding));
|
|
42
|
+
}
|
|
43
|
+
static FromBinary(text) {
|
|
44
|
+
return convert.fromBinary(text);
|
|
45
|
+
}
|
|
46
|
+
static ToBinary(buffer) {
|
|
47
|
+
return convert.toBinary(buffer);
|
|
48
|
+
}
|
|
49
|
+
static ToHex(buffer) {
|
|
50
|
+
return convert.toHex(buffer);
|
|
51
|
+
}
|
|
52
|
+
static FromHex(hexString) {
|
|
53
|
+
return convert.fromHex(hexString);
|
|
54
|
+
}
|
|
55
|
+
static ToUtf16String(buffer, littleEndian = false) {
|
|
56
|
+
return convert.toUtf16String(buffer, littleEndian);
|
|
57
|
+
}
|
|
58
|
+
static FromUtf16String(text, littleEndian = false) {
|
|
59
|
+
return convert.fromUtf16String(text, littleEndian);
|
|
60
|
+
}
|
|
61
|
+
static Base64Padding(base64) {
|
|
62
|
+
const padCount = 4 - (base64.length % 4);
|
|
63
|
+
return padCount < 4 ? base64 + "=".repeat(padCount) : base64;
|
|
64
|
+
}
|
|
65
|
+
static formatString(data) {
|
|
66
|
+
return convert.formatString(data);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { concat, equal } from "../bytes/index.js";
|
|
2
|
+
export function assign(target, ...sources) {
|
|
3
|
+
for (const source of sources) {
|
|
4
|
+
if (!source) {
|
|
5
|
+
continue;
|
|
6
|
+
}
|
|
7
|
+
for (const prop in source) {
|
|
8
|
+
target[prop] = source[prop];
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
return target;
|
|
12
|
+
}
|
|
13
|
+
export function combine(...buf) {
|
|
14
|
+
return concat(buf);
|
|
15
|
+
}
|
|
16
|
+
export function isEqual(bytes1, bytes2) {
|
|
17
|
+
return equal(bytes1, bytes2);
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { decode, decodeFirst, encode, encodeMany, find, findAll, format, parse, pem, pemConverter } from "./pem.js";
|