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,698 @@
|
|
|
1
|
+
import { MAX_ARRAY_INDEX } from './constants.js';
|
|
2
|
+
import {
|
|
3
|
+
DevalueError,
|
|
4
|
+
enumerable_symbols,
|
|
5
|
+
escaped,
|
|
6
|
+
get_type,
|
|
7
|
+
is_buffer,
|
|
8
|
+
is_plain_object,
|
|
9
|
+
is_primitive,
|
|
10
|
+
stringify_key,
|
|
11
|
+
stringify_string,
|
|
12
|
+
valid_array_indices
|
|
13
|
+
} from './utils.js';
|
|
14
|
+
|
|
15
|
+
const chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_$';
|
|
16
|
+
// Short strings have bounded escaping/output costs per reference, so they cannot
|
|
17
|
+
// cause quadratic expansion. Keep them on the original fast path rather than
|
|
18
|
+
// paying for deduplication on common values such as names, IDs and status fields.
|
|
19
|
+
const MIN_STRING_LENGTH = 128;
|
|
20
|
+
const unsafe_chars = /[<\b\f\n\r\t\0\u2028\u2029]/g;
|
|
21
|
+
const reserved =
|
|
22
|
+
/^(?:do|if|in|for|int|let|new|try|var|byte|case|char|else|enum|goto|long|this|void|with|await|break|catch|class|const|final|float|short|super|throw|while|yield|delete|double|export|import|native|return|switch|throws|typeof|boolean|default|extends|finally|package|private|abstract|continue|debugger|function|volatile|interface|protected|transient|implements|instanceof|synchronized)$/;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Turn a value into the JavaScript that creates an equivalent value
|
|
26
|
+
* @param {any} value
|
|
27
|
+
* @param {(value: any, uneval: (value: any) => string) => string | void} [replacer]
|
|
28
|
+
*/
|
|
29
|
+
export function uneval(value, replacer) {
|
|
30
|
+
const counts = new Map();
|
|
31
|
+
|
|
32
|
+
/** @type {string[]} */
|
|
33
|
+
const keys = [];
|
|
34
|
+
|
|
35
|
+
const custom = new Map();
|
|
36
|
+
|
|
37
|
+
// Only allocate a literal cache when we need to reuse an expensive primitive,
|
|
38
|
+
// including long Map keys rendered in error paths during the walk.
|
|
39
|
+
/** @type {Map<string | bigint, string> | undefined} */
|
|
40
|
+
let primitives;
|
|
41
|
+
|
|
42
|
+
/** @param {any} thing */
|
|
43
|
+
function stringify_cached_primitive(thing) {
|
|
44
|
+
if (
|
|
45
|
+
(typeof thing === 'string' && thing.length >= MIN_STRING_LENGTH) ||
|
|
46
|
+
typeof thing === 'bigint'
|
|
47
|
+
) {
|
|
48
|
+
primitives ??= new Map();
|
|
49
|
+
let literal = primitives.get(thing);
|
|
50
|
+
if (literal === undefined) {
|
|
51
|
+
literal = stringify_primitive(thing);
|
|
52
|
+
primitives.set(thing, literal);
|
|
53
|
+
}
|
|
54
|
+
return literal;
|
|
55
|
+
}
|
|
56
|
+
return stringify_primitive(thing);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/** @param {any} thing */
|
|
60
|
+
function walk(thing) {
|
|
61
|
+
if (!is_primitive(thing)) {
|
|
62
|
+
if (counts.has(thing)) {
|
|
63
|
+
counts.set(thing, counts.get(thing) + 1);
|
|
64
|
+
return;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
counts.set(thing, 1);
|
|
68
|
+
|
|
69
|
+
if (replacer) {
|
|
70
|
+
const str = replacer(thing, (value) => uneval(value, replacer));
|
|
71
|
+
|
|
72
|
+
if (typeof str === 'string') {
|
|
73
|
+
custom.set(thing, str);
|
|
74
|
+
return;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
if (typeof thing === 'function') {
|
|
79
|
+
throw new DevalueError(`Cannot stringify a function`, keys, thing, value);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
const type = get_type(thing);
|
|
83
|
+
|
|
84
|
+
switch (type) {
|
|
85
|
+
case 'BigInt':
|
|
86
|
+
case 'String':
|
|
87
|
+
walk(thing.valueOf());
|
|
88
|
+
return;
|
|
89
|
+
|
|
90
|
+
case 'Number':
|
|
91
|
+
case 'Boolean':
|
|
92
|
+
case 'Date':
|
|
93
|
+
case 'RegExp':
|
|
94
|
+
case 'URL':
|
|
95
|
+
case 'URLSearchParams':
|
|
96
|
+
return;
|
|
97
|
+
|
|
98
|
+
case 'Array':
|
|
99
|
+
// forEach scans the logical length of dictionary-backed sparse
|
|
100
|
+
// arrays. Visit own enumerable indices without doing work for
|
|
101
|
+
// every hole.
|
|
102
|
+
for (const i of valid_array_indices(thing)) {
|
|
103
|
+
keys.push(`[${i}]`);
|
|
104
|
+
walk(thing[i]);
|
|
105
|
+
keys.pop();
|
|
106
|
+
}
|
|
107
|
+
break;
|
|
108
|
+
|
|
109
|
+
case 'Set':
|
|
110
|
+
Array.from(thing).forEach(walk);
|
|
111
|
+
break;
|
|
112
|
+
|
|
113
|
+
case 'Map':
|
|
114
|
+
for (const [key, value] of thing) {
|
|
115
|
+
keys.push(`.get(${is_primitive(key) ? stringify_cached_primitive(key) : '...'})`);
|
|
116
|
+
walk(key);
|
|
117
|
+
walk(value);
|
|
118
|
+
keys.pop();
|
|
119
|
+
}
|
|
120
|
+
break;
|
|
121
|
+
|
|
122
|
+
case 'Int8Array':
|
|
123
|
+
case 'Uint8Array':
|
|
124
|
+
case 'Uint8ClampedArray':
|
|
125
|
+
case 'Int16Array':
|
|
126
|
+
case 'Uint16Array':
|
|
127
|
+
case 'Float16Array':
|
|
128
|
+
case 'Int32Array':
|
|
129
|
+
case 'Uint32Array':
|
|
130
|
+
case 'Float32Array':
|
|
131
|
+
case 'Float64Array':
|
|
132
|
+
case 'BigInt64Array':
|
|
133
|
+
case 'BigUint64Array':
|
|
134
|
+
case 'DataView':
|
|
135
|
+
// A Node Buffer's backing store may be a shared pool. It must
|
|
136
|
+
// never be visited or hoisted just because a Buffer uses it.
|
|
137
|
+
if (!is_buffer(thing)) walk(thing.buffer);
|
|
138
|
+
return;
|
|
139
|
+
|
|
140
|
+
case 'ArrayBuffer':
|
|
141
|
+
return;
|
|
142
|
+
|
|
143
|
+
case 'Temporal.Duration':
|
|
144
|
+
case 'Temporal.Instant':
|
|
145
|
+
case 'Temporal.PlainDate':
|
|
146
|
+
case 'Temporal.PlainTime':
|
|
147
|
+
case 'Temporal.PlainDateTime':
|
|
148
|
+
case 'Temporal.PlainMonthDay':
|
|
149
|
+
case 'Temporal.PlainYearMonth':
|
|
150
|
+
case 'Temporal.ZonedDateTime':
|
|
151
|
+
return;
|
|
152
|
+
|
|
153
|
+
default:
|
|
154
|
+
if (!is_plain_object(thing)) {
|
|
155
|
+
throw new DevalueError(`Cannot stringify arbitrary non-POJOs`, keys, thing, value);
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
if (enumerable_symbols(thing).length > 0) {
|
|
159
|
+
throw new DevalueError(`Cannot stringify POJOs with symbolic keys`, keys, thing, value);
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
for (const key of Object.keys(thing)) {
|
|
163
|
+
if (key === '__proto__') {
|
|
164
|
+
throw new DevalueError(
|
|
165
|
+
`Cannot stringify objects with __proto__ keys`,
|
|
166
|
+
keys,
|
|
167
|
+
thing,
|
|
168
|
+
value
|
|
169
|
+
);
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
keys.push(stringify_key(key));
|
|
173
|
+
walk(thing[key]);
|
|
174
|
+
keys.pop();
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
} else if (typeof thing === 'symbol') {
|
|
178
|
+
throw new DevalueError(`Cannot stringify a Symbol primitive`, keys, thing, value);
|
|
179
|
+
} else if (
|
|
180
|
+
(typeof thing === 'string' && thing.length >= MIN_STRING_LENGTH) ||
|
|
181
|
+
typeof thing === 'bigint'
|
|
182
|
+
) {
|
|
183
|
+
counts.set(thing, (counts.get(thing) || 0) + 1);
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
walk(value);
|
|
188
|
+
|
|
189
|
+
const names = new Map();
|
|
190
|
+
|
|
191
|
+
/** @type {Array<[any, number]>} */
|
|
192
|
+
const repeated = [];
|
|
193
|
+
// Avoid allocating entries for all the values that will never be hoisted.
|
|
194
|
+
counts.forEach((count, thing) => {
|
|
195
|
+
if (count > 1) repeated.push([thing, count]);
|
|
196
|
+
});
|
|
197
|
+
|
|
198
|
+
repeated
|
|
199
|
+
.sort((a, b) => b[1] - a[1])
|
|
200
|
+
.forEach(([thing, count]) => {
|
|
201
|
+
const name = get_name(names.size);
|
|
202
|
+
|
|
203
|
+
if (is_primitive(thing)) {
|
|
204
|
+
const length = stringify_cached_primitive(thing).length;
|
|
205
|
+
// Hoisting costs one literal, a parameter and a reference per occurrence.
|
|
206
|
+
// Allow for the IIFE wrapper and separators even if one already exists,
|
|
207
|
+
// so inexpensive repetitions stay inline.
|
|
208
|
+
if (length * count <= length + (count + 1) * name.length + 25) return;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
names.set(thing, name);
|
|
212
|
+
});
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* @param {any} thing
|
|
216
|
+
* @returns {string}
|
|
217
|
+
*/
|
|
218
|
+
function stringify(thing) {
|
|
219
|
+
if (names.has(thing)) {
|
|
220
|
+
return names.get(thing);
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
if (is_primitive(thing)) {
|
|
224
|
+
return stringify_primitive(thing);
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
if (custom.has(thing)) {
|
|
228
|
+
return custom.get(thing);
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
const type = get_type(thing);
|
|
232
|
+
|
|
233
|
+
switch (type) {
|
|
234
|
+
case 'Number':
|
|
235
|
+
case 'String':
|
|
236
|
+
case 'Boolean':
|
|
237
|
+
case 'BigInt':
|
|
238
|
+
return `Object(${stringify(thing.valueOf())})`;
|
|
239
|
+
|
|
240
|
+
case 'RegExp':
|
|
241
|
+
const { source, flags } = thing;
|
|
242
|
+
return flags
|
|
243
|
+
? `new RegExp(${stringify_string(source)},"${flags}")`
|
|
244
|
+
: `new RegExp(${stringify_string(source)})`;
|
|
245
|
+
|
|
246
|
+
case 'Date':
|
|
247
|
+
return `new Date(${thing.getTime()})`;
|
|
248
|
+
|
|
249
|
+
case 'URL':
|
|
250
|
+
return `new URL(${stringify_string(thing.toString())})`;
|
|
251
|
+
|
|
252
|
+
case 'URLSearchParams':
|
|
253
|
+
return `new URLSearchParams(${stringify_string(thing.toString())})`;
|
|
254
|
+
|
|
255
|
+
case 'Array': {
|
|
256
|
+
// For dense arrays (no holes), we iterate normally.
|
|
257
|
+
// When we encounter the first hole, we collect own indices
|
|
258
|
+
// to determine the sparseness, then decide between:
|
|
259
|
+
// - Array literal with holes: [,"a",,] (default)
|
|
260
|
+
// - Object.assign with a sparse-safe allocator (for very sparse arrays)
|
|
261
|
+
// Only the Object.assign path avoids iterating every slot, which
|
|
262
|
+
// is what protects against the DoS of e.g. `arr[1000000] = 1`.
|
|
263
|
+
let has_holes = false;
|
|
264
|
+
|
|
265
|
+
let result = '[';
|
|
266
|
+
|
|
267
|
+
for (let i = 0; i < thing.length; i += 1) {
|
|
268
|
+
if (i > 0) result += ',';
|
|
269
|
+
|
|
270
|
+
if (Object.hasOwn(thing, i)) {
|
|
271
|
+
result += stringify(thing[i]);
|
|
272
|
+
} else if (!has_holes) {
|
|
273
|
+
// Decide between array literal and Object.assign.
|
|
274
|
+
//
|
|
275
|
+
// Array literal: holes are consecutive commas.
|
|
276
|
+
// For example, [, "a", ,] is written as [,"a",,].
|
|
277
|
+
// Each hole costs 1 char (a comma).
|
|
278
|
+
//
|
|
279
|
+
// Object.assign: populated indices are listed explicitly.
|
|
280
|
+
// For example, [, "a", ,] would be written as
|
|
281
|
+
// Object.assign(sparse(3),{1:"a"}), where sparse(n) stands
|
|
282
|
+
// for the expression emitted by stringify_sparse_array(n).
|
|
283
|
+
// This avoids paying per-hole, but has a large fixed
|
|
284
|
+
// overhead for the allocator and Object.assign wrapper,
|
|
285
|
+
// and each element costs extra chars for its index and colon.
|
|
286
|
+
//
|
|
287
|
+
// The serialized values are the same size either way, so
|
|
288
|
+
// the choice comes down to the structural overhead:
|
|
289
|
+
//
|
|
290
|
+
// Array literal overhead:
|
|
291
|
+
// 1 char per element or hole (comma separators)
|
|
292
|
+
// + 2 chars for "[" and "]"
|
|
293
|
+
// = L + 2
|
|
294
|
+
//
|
|
295
|
+
// Object.assign overhead:
|
|
296
|
+
// "Object.assign(" — 14 chars
|
|
297
|
+
// + allocator expression — A chars
|
|
298
|
+
// + ",{" — 2 chars
|
|
299
|
+
// + for each populated element:
|
|
300
|
+
// index + ":" + "," — (d + 2) chars
|
|
301
|
+
// + "})" — 2 chars
|
|
302
|
+
// = (18 + A) + P * (d + 2)
|
|
303
|
+
//
|
|
304
|
+
// where L is the array length, P is the number of
|
|
305
|
+
// populated elements, A is the allocator expression's
|
|
306
|
+
// length, and d is the number of digits in L (an upper
|
|
307
|
+
// bound on the digits in any index).
|
|
308
|
+
//
|
|
309
|
+
// Object.assign is cheaper when:
|
|
310
|
+
// (18 + A) + P * (d + 2) < L + 2
|
|
311
|
+
const populated_keys = valid_array_indices(thing);
|
|
312
|
+
const population = populated_keys.length;
|
|
313
|
+
const d = String(thing.length).length;
|
|
314
|
+
const array = stringify_sparse_array(thing.length);
|
|
315
|
+
|
|
316
|
+
const hole_cost = thing.length + 2;
|
|
317
|
+
const sparse_cost = array.length + 18 + population * (d + 2);
|
|
318
|
+
|
|
319
|
+
if (hole_cost > sparse_cost) {
|
|
320
|
+
const entries = populated_keys.map((k) => `${k}:${stringify(thing[k])}`).join(',');
|
|
321
|
+
return `Object.assign(${array},{${entries}})`;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
has_holes = true;
|
|
325
|
+
}
|
|
326
|
+
// else: already decided on array literal, hole is just an empty slot
|
|
327
|
+
// (the comma separator is all we need — no content for this position)
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
const tail = thing.length === 0 || Object.hasOwn(thing, thing.length - 1) ? '' : ',';
|
|
331
|
+
return result + tail + ']';
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
case 'Set':
|
|
335
|
+
case 'Map':
|
|
336
|
+
return `new ${type}([${Array.from(thing).map(stringify).join(',')}])`;
|
|
337
|
+
|
|
338
|
+
case 'Int8Array':
|
|
339
|
+
case 'Uint8Array':
|
|
340
|
+
case 'Uint8ClampedArray':
|
|
341
|
+
case 'Int16Array':
|
|
342
|
+
case 'Uint16Array':
|
|
343
|
+
case 'Float16Array':
|
|
344
|
+
case 'Int32Array':
|
|
345
|
+
case 'Uint32Array':
|
|
346
|
+
case 'Float32Array':
|
|
347
|
+
case 'Float64Array':
|
|
348
|
+
case 'BigInt64Array':
|
|
349
|
+
case 'BigUint64Array': {
|
|
350
|
+
if (is_buffer(thing)) thing = new Uint8Array(thing);
|
|
351
|
+
|
|
352
|
+
let str = `new ${type}`;
|
|
353
|
+
|
|
354
|
+
if (!names.has(thing.buffer)) {
|
|
355
|
+
str += `([${stringify_typed_array_elements(type, thing.buffer)}])`;
|
|
356
|
+
} else {
|
|
357
|
+
str += `(${stringify(thing.buffer)})`;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
// handle subarrays
|
|
361
|
+
if (thing.byteLength !== thing.buffer.byteLength) {
|
|
362
|
+
const start = thing.byteOffset / thing.BYTES_PER_ELEMENT;
|
|
363
|
+
const end = start + thing.length;
|
|
364
|
+
str += `.subarray(${start},${end})`;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
return str;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
case 'DataView': {
|
|
371
|
+
let str = `new DataView`;
|
|
372
|
+
|
|
373
|
+
if (!names.has(thing.buffer)) {
|
|
374
|
+
str += `(new Uint8Array([${new Uint8Array(thing.buffer)}]).buffer`;
|
|
375
|
+
} else {
|
|
376
|
+
str += `(${stringify(thing.buffer)}`;
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
// handle subviews
|
|
380
|
+
if (thing.byteLength !== thing.buffer.byteLength) {
|
|
381
|
+
str += `,${thing.byteOffset},${thing.byteLength}`;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
return str + ')';
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
case 'ArrayBuffer': {
|
|
388
|
+
const ui8 = new Uint8Array(thing);
|
|
389
|
+
return `new Uint8Array([${ui8.toString()}]).buffer`;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
case 'Temporal.Duration':
|
|
393
|
+
case 'Temporal.Instant':
|
|
394
|
+
case 'Temporal.PlainDate':
|
|
395
|
+
case 'Temporal.PlainTime':
|
|
396
|
+
case 'Temporal.PlainDateTime':
|
|
397
|
+
case 'Temporal.PlainMonthDay':
|
|
398
|
+
case 'Temporal.PlainYearMonth':
|
|
399
|
+
case 'Temporal.ZonedDateTime':
|
|
400
|
+
return `${type}.from(${stringify_string(thing.toString())})`;
|
|
401
|
+
|
|
402
|
+
default:
|
|
403
|
+
const keys = Object.keys(thing);
|
|
404
|
+
const obj = keys.map((key) => `${safe_key(key)}:${stringify(thing[key])}`).join(',');
|
|
405
|
+
const proto = Object.getPrototypeOf(thing);
|
|
406
|
+
if (proto === null) {
|
|
407
|
+
return keys.length > 0 ? `{${obj},__proto__:null}` : `{__proto__:null}`;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
return `{${obj}}`;
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
const str = stringify(value);
|
|
415
|
+
|
|
416
|
+
if (names.size) {
|
|
417
|
+
/** @type {string[]} */
|
|
418
|
+
const params = [];
|
|
419
|
+
|
|
420
|
+
/** @type {string[]} */
|
|
421
|
+
const statements = [];
|
|
422
|
+
|
|
423
|
+
/** @type {string[]} */
|
|
424
|
+
const values = [];
|
|
425
|
+
|
|
426
|
+
// Reconstructions (e.g. `b = new Uint8Array(...)`) reassign a placeholder
|
|
427
|
+
// parameter. They must run before the `statements` that reference them,
|
|
428
|
+
// otherwise those statements capture the placeholder. They only depend on
|
|
429
|
+
// IIFE arguments (never on each other), so emitting them first is safe.
|
|
430
|
+
/** @type {string[]} */
|
|
431
|
+
const reconstructions = [];
|
|
432
|
+
|
|
433
|
+
names.forEach((name, thing) => {
|
|
434
|
+
params.push(name);
|
|
435
|
+
|
|
436
|
+
if (custom.has(thing)) {
|
|
437
|
+
values.push(/** @type {string} */ (custom.get(thing)));
|
|
438
|
+
return;
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
if (is_primitive(thing)) {
|
|
442
|
+
values.push(stringify_cached_primitive(thing));
|
|
443
|
+
return;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
const type = get_type(thing);
|
|
447
|
+
|
|
448
|
+
switch (type) {
|
|
449
|
+
case 'Number':
|
|
450
|
+
case 'String':
|
|
451
|
+
case 'Boolean':
|
|
452
|
+
case 'BigInt': {
|
|
453
|
+
const primitive = thing.valueOf();
|
|
454
|
+
if (names.has(primitive)) {
|
|
455
|
+
// A hoisted primitive is only in scope inside the IIFE, not in
|
|
456
|
+
// its arguments. Reconstruct the box before assigning references.
|
|
457
|
+
values.push('{}');
|
|
458
|
+
reconstructions.push(`${name}=Object(${stringify(primitive)})`);
|
|
459
|
+
} else {
|
|
460
|
+
values.push(`Object(${stringify(primitive)})`);
|
|
461
|
+
}
|
|
462
|
+
break;
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
case 'RegExp':
|
|
466
|
+
const { source, flags } = thing;
|
|
467
|
+
const regexp = flags
|
|
468
|
+
? `new RegExp(${stringify_string(source)},"${flags}")`
|
|
469
|
+
: `new RegExp(${stringify_string(source)})`
|
|
470
|
+
values.push(regexp);
|
|
471
|
+
break;
|
|
472
|
+
|
|
473
|
+
case 'Date':
|
|
474
|
+
values.push(`new Date(${thing.getTime()})`);
|
|
475
|
+
break;
|
|
476
|
+
|
|
477
|
+
case 'URL':
|
|
478
|
+
values.push(`new URL(${stringify_string(thing.toString())})`);
|
|
479
|
+
break;
|
|
480
|
+
|
|
481
|
+
case 'URLSearchParams':
|
|
482
|
+
values.push(`new URLSearchParams(${stringify_string(thing.toString())})`);
|
|
483
|
+
break;
|
|
484
|
+
|
|
485
|
+
case 'Array': {
|
|
486
|
+
const populated_keys = valid_array_indices(thing);
|
|
487
|
+
// Only preallocate when the length is bounded by the number
|
|
488
|
+
// of populated elements, plus a small constant for short arrays.
|
|
489
|
+
values.push(
|
|
490
|
+
thing.length > 32 + 2 * populated_keys.length
|
|
491
|
+
? stringify_sparse_array(thing.length)
|
|
492
|
+
: `Array(${thing.length})`
|
|
493
|
+
);
|
|
494
|
+
for (const i of populated_keys) {
|
|
495
|
+
statements.push(`${name}[${i}]=${stringify(thing[i])}`);
|
|
496
|
+
}
|
|
497
|
+
break;
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
case 'Set': {
|
|
501
|
+
values.push(`new Set`);
|
|
502
|
+
const adds = Array.from(thing).map((v) => `.add(${stringify(v)})`);
|
|
503
|
+
// An empty Set is fully built by `new Set`; a chained statement would
|
|
504
|
+
// otherwise be a dangling `name.`.
|
|
505
|
+
if (adds.length > 0) statements.push(name + adds.join(''));
|
|
506
|
+
break;
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
case 'Map': {
|
|
510
|
+
values.push(`new Map`);
|
|
511
|
+
const sets = Array.from(thing).map(
|
|
512
|
+
([k, v]) => `.set(${stringify(k)}, ${stringify(v)})`
|
|
513
|
+
);
|
|
514
|
+
if (sets.length > 0) statements.push(name + sets.join(''));
|
|
515
|
+
break;
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
case 'Int8Array':
|
|
519
|
+
case 'Uint8Array':
|
|
520
|
+
case 'Uint8ClampedArray':
|
|
521
|
+
case 'Int16Array':
|
|
522
|
+
case 'Uint16Array':
|
|
523
|
+
case 'Float16Array':
|
|
524
|
+
case 'Int32Array':
|
|
525
|
+
case 'Uint32Array':
|
|
526
|
+
case 'Float32Array':
|
|
527
|
+
case 'Float64Array':
|
|
528
|
+
case 'BigInt64Array':
|
|
529
|
+
case 'BigUint64Array': {
|
|
530
|
+
if (is_buffer(thing)) thing = new Uint8Array(thing);
|
|
531
|
+
|
|
532
|
+
let str = `new ${type}`;
|
|
533
|
+
|
|
534
|
+
if (!names.has(thing.buffer)) {
|
|
535
|
+
str += `([${stringify_typed_array_elements(type, thing.buffer)}])`;
|
|
536
|
+
} else {
|
|
537
|
+
str += `(${stringify(thing.buffer)})`;
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
// handle subarrays
|
|
541
|
+
if (thing.byteLength !== thing.buffer.byteLength) {
|
|
542
|
+
const start = thing.byteOffset / thing.BYTES_PER_ELEMENT;
|
|
543
|
+
const end = start + thing.length;
|
|
544
|
+
str += `.subarray(${start},${end})`;
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
values.push(`{}`);
|
|
548
|
+
reconstructions.push(`${name}=${str}`);
|
|
549
|
+
break;
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
case 'DataView': {
|
|
553
|
+
let str = `new DataView`;
|
|
554
|
+
|
|
555
|
+
if (!names.has(thing.buffer)) {
|
|
556
|
+
str += `(new Uint8Array([${new Uint8Array(thing.buffer)}]).buffer`;
|
|
557
|
+
} else {
|
|
558
|
+
str += `(${stringify(thing.buffer)}`;
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
// handle subviews
|
|
562
|
+
if (thing.byteLength !== thing.buffer.byteLength) {
|
|
563
|
+
str += `,${thing.byteOffset},${thing.byteLength}`;
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
str += ')';
|
|
567
|
+
|
|
568
|
+
values.push(`{}`);
|
|
569
|
+
reconstructions.push(`${name}=${str}`);
|
|
570
|
+
break;
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
case 'ArrayBuffer':
|
|
574
|
+
values.push(`new Uint8Array([${new Uint8Array(thing)}]).buffer`);
|
|
575
|
+
break;
|
|
576
|
+
|
|
577
|
+
case 'Temporal.Duration':
|
|
578
|
+
case 'Temporal.Instant':
|
|
579
|
+
case 'Temporal.PlainDate':
|
|
580
|
+
case 'Temporal.PlainTime':
|
|
581
|
+
case 'Temporal.PlainDateTime':
|
|
582
|
+
case 'Temporal.PlainMonthDay':
|
|
583
|
+
case 'Temporal.PlainYearMonth':
|
|
584
|
+
case 'Temporal.ZonedDateTime':
|
|
585
|
+
values.push(`${type}.from(${stringify_string(thing.toString())})`);
|
|
586
|
+
break;
|
|
587
|
+
|
|
588
|
+
default:
|
|
589
|
+
values.push(Object.getPrototypeOf(thing) === null ? 'Object.create(null)' : '{}');
|
|
590
|
+
Object.keys(thing).forEach((key) => {
|
|
591
|
+
statements.push(`${name}${safe_prop(key)}=${stringify(thing[key])}`);
|
|
592
|
+
});
|
|
593
|
+
}
|
|
594
|
+
});
|
|
595
|
+
|
|
596
|
+
statements.push(`return ${str}`);
|
|
597
|
+
|
|
598
|
+
const body = [...reconstructions, ...statements].join(';');
|
|
599
|
+
// A function may have at most 65535 parameters (and a call at most that
|
|
600
|
+
// many arguments). For very large graphs, pass the hoisted values as a
|
|
601
|
+
// single array argument and destructure them into the placeholder names,
|
|
602
|
+
// so the emitted code stays within the engine limit (#93).
|
|
603
|
+
if (params.length > 65534) {
|
|
604
|
+
return `(function(){var[${params.join(',')}]=arguments[0];${body}}([${values.join(',')}]))`;
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
return `(function(${params.join(',')}){${body}}(${values.join(',')}))`;
|
|
608
|
+
} else {
|
|
609
|
+
return str;
|
|
610
|
+
}
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
/**
|
|
614
|
+
* Emit an array whose storage is not proportional to its declared length.
|
|
615
|
+
* As in the default parse operations, touching and deleting the largest valid
|
|
616
|
+
* index forces V8 into dictionary-elements mode before setting the length.
|
|
617
|
+
* Merely starting with [] and assigning .length still eagerly allocates.
|
|
618
|
+
* @param {number} length
|
|
619
|
+
*/
|
|
620
|
+
function stringify_sparse_array(length) {
|
|
621
|
+
return `(function(a){a[${MAX_ARRAY_INDEX}]=0;delete a[${MAX_ARRAY_INDEX}];a.length=${length};return a}([]))`;
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
/**
|
|
625
|
+
* Serialize the elements of `buffer`, read as `type`, as a comma-separated list.
|
|
626
|
+
* The view is created from `type` rather than from the serialized value's own
|
|
627
|
+
* constructor, which may be a subclass like Node's `Buffer` whose `toString`
|
|
628
|
+
* decodes the bytes instead of listing them.
|
|
629
|
+
* `BigInt64Array`/`BigUint64Array` elements are bigints and must be written
|
|
630
|
+
* with an `n` suffix, otherwise the emitted `new BigInt64Array([...])` throws.
|
|
631
|
+
* @param {string} type
|
|
632
|
+
* @param {ArrayBufferLike} buffer
|
|
633
|
+
*/
|
|
634
|
+
function stringify_typed_array_elements(type, buffer) {
|
|
635
|
+
const array = new (/** @type {any} */ (globalThis)[type])(buffer);
|
|
636
|
+
|
|
637
|
+
if (type === 'BigInt64Array' || type === 'BigUint64Array') {
|
|
638
|
+
return Array.from(array, (element) => `${element}n`).join(',');
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
// Float arrays can hold `-0`, which `toString()` collapses to `"0"`, silently
|
|
642
|
+
// losing the sign on round-trip. Emit `-0` explicitly for those elements.
|
|
643
|
+
if (
|
|
644
|
+
array instanceof Float32Array ||
|
|
645
|
+
array instanceof Float64Array ||
|
|
646
|
+
(typeof Float16Array !== 'undefined' && array instanceof Float16Array)
|
|
647
|
+
) {
|
|
648
|
+
return Array.from(array, (element) => (Object.is(element, -0) ? '-0' : `${element}`)).join(',');
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
return array.toString();
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
/** @param {number} num */
|
|
655
|
+
function get_name(num) {
|
|
656
|
+
let name = '';
|
|
657
|
+
|
|
658
|
+
do {
|
|
659
|
+
name = chars[num % chars.length] + name;
|
|
660
|
+
num = ~~(num / chars.length) - 1;
|
|
661
|
+
} while (num >= 0);
|
|
662
|
+
|
|
663
|
+
return reserved.test(name) ? `${name}0` : name;
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
/** @param {string} c */
|
|
667
|
+
function escape_unsafe_char(c) {
|
|
668
|
+
return escaped[c] || c;
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
/** @param {string} str */
|
|
672
|
+
function escape_unsafe_chars(str) {
|
|
673
|
+
return str.replace(unsafe_chars, escape_unsafe_char);
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
/** @param {string} key */
|
|
677
|
+
function safe_key(key) {
|
|
678
|
+
return /^[_$a-zA-Z][_$a-zA-Z0-9]*$/.test(key) ? key : escape_unsafe_chars(JSON.stringify(key));
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
/** @param {string} key */
|
|
682
|
+
function safe_prop(key) {
|
|
683
|
+
return /^[_$a-zA-Z][_$a-zA-Z0-9]*$/.test(key)
|
|
684
|
+
? `.${key}`
|
|
685
|
+
: `[${escape_unsafe_chars(JSON.stringify(key))}]`;
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
/** @param {any} thing */
|
|
689
|
+
function stringify_primitive(thing) {
|
|
690
|
+
const type = typeof thing;
|
|
691
|
+
if (type === 'string') return stringify_string(thing);
|
|
692
|
+
if (thing === void 0) return 'void 0';
|
|
693
|
+
if (thing === 0 && 1 / thing < 0) return '-0';
|
|
694
|
+
const str = String(thing);
|
|
695
|
+
if (type === 'number') return str.replace(/^(-)?0\./, '$1.');
|
|
696
|
+
if (type === 'bigint') return thing + 'n';
|
|
697
|
+
return str;
|
|
698
|
+
}
|