@awacloud/fw 0.1.0 → 1.0.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/CHANGELOG.md +125 -0
- package/NOTICE +8 -0
- package/README.md +163 -31
- package/dist/build/fw.core.pure.meta.json +6 -6
- package/dist/build/fw.core.pure.min.js +15 -12
- package/dist/build/fw.full.pure.meta.json +13 -7
- package/dist/build/fw.full.pure.min.js +45 -42
- package/dist/build/fw.minimal.pure.meta.json +6 -6
- package/dist/build/fw.minimal.pure.min.js +16 -13
- package/dist/build/fw.pack.compress-heavy.pure.meta.json +6 -6
- package/dist/build/fw.pack.compress-heavy.pure.min.js +3 -3
- package/dist/build/fw.pack.crypto-advanced.pure.meta.json +6 -6
- package/dist/build/fw.pack.crypto-advanced.pure.min.js +1 -1
- package/dist/build/fw.pack.crypto-basic.pure.meta.json +6 -6
- package/dist/build/fw.pack.crypto-basic.pure.min.js +1 -1
- package/dist/build/fw.pack.crypto-identity.pure.meta.json +7 -6
- package/dist/build/fw.pack.crypto-identity.pure.min.js +4 -4
- package/dist/build/fw.pwa.pure.meta.json +7 -6
- package/dist/build/fw.pwa.pure.min.js +38 -35
- package/dist/build/fw.site-interactive.pure.meta.json +6 -6
- package/dist/build/fw.site-interactive.pure.min.js +37 -34
- package/dist/build/fw.site.pure.meta.json +6 -6
- package/dist/build/fw.site.pure.min.js +24 -21
- package/dist/build/fw.spa.pure.meta.json +8 -7
- package/dist/build/fw.spa.pure.min.js +41 -38
- package/dist/build/sanity-base-classic.min.js +1 -1
- package/dist/build/sanity.min.js +1 -1
- package/dist/types/core/internal.d.ts +29 -0
- package/dist/types/core/internal.d.ts.map +1 -0
- package/dist/types/core/logger.d.ts +23 -4
- package/dist/types/core/logger.d.ts.map +1 -1
- package/dist/types/core/modules.d.ts +374 -61
- package/dist/types/core/modules.d.ts.map +1 -1
- package/dist/types/core/runtime.d.ts +10 -6
- package/dist/types/core/runtime.d.ts.map +1 -1
- package/dist/types/core/worker-helper.d.ts +35 -0
- package/dist/types/core/worker-helper.d.ts.map +1 -1
- package/dist/types/crypto/cipher/aes.d.ts +1 -7
- package/dist/types/crypto/cipher/aes.d.ts.map +1 -1
- package/dist/types/crypto/cipher/chacha20.d.ts +0 -10
- package/dist/types/crypto/cipher/chacha20.d.ts.map +1 -1
- package/dist/types/crypto/hash/argon2.d.ts +0 -15
- package/dist/types/crypto/hash/argon2.d.ts.map +1 -1
- package/dist/types/crypto/hash/blake2b.d.ts.map +1 -1
- package/dist/types/crypto/hash/hmac.d.ts.map +1 -1
- package/dist/types/crypto/hash/pbkdf2.d.ts.map +1 -1
- package/dist/types/crypto/hash/poly1305.d.ts.map +1 -1
- package/dist/types/crypto/hash/sha224.d.ts +1 -1
- package/dist/types/crypto/hash/sha256.d.ts +4 -13
- package/dist/types/crypto/hash/sha256.d.ts.map +1 -1
- package/dist/types/crypto/hash/sha3.d.ts.map +1 -1
- package/dist/types/crypto/hash/sha384.d.ts +1 -1
- package/dist/types/crypto/hash/sha512.d.ts +4 -13
- package/dist/types/crypto/hash/sha512.d.ts.map +1 -1
- package/dist/types/crypto/mode/cmac.d.ts +0 -6
- package/dist/types/crypto/mode/cmac.d.ts.map +1 -1
- package/dist/types/crypto/mode/ctr.d.ts +0 -6
- package/dist/types/crypto/mode/ctr.d.ts.map +1 -1
- package/dist/types/crypto/mode/gcm.d.ts +0 -9
- package/dist/types/crypto/mode/gcm.d.ts.map +1 -1
- package/dist/types/crypto/pkc/ecc.d.ts +0 -1
- package/dist/types/crypto/pkc/ecc.d.ts.map +1 -1
- package/dist/types/crypto/pkc/ed25519.d.ts +4 -25
- package/dist/types/crypto/pkc/ed25519.d.ts.map +1 -1
- package/dist/types/crypto/pkc/hybridSign.d.ts +25 -5
- package/dist/types/crypto/pkc/hybridSign.d.ts.map +1 -1
- package/dist/types/crypto/pkc/ml_dsa.d.ts +6 -26
- package/dist/types/crypto/pkc/ml_dsa.d.ts.map +1 -1
- package/dist/types/crypto/pkc/ml_kem.d.ts +0 -43
- package/dist/types/crypto/pkc/ml_kem.d.ts.map +1 -1
- package/dist/types/crypto/pkc/rsa.d.ts +0 -24
- package/dist/types/crypto/pkc/rsa.d.ts.map +1 -1
- package/dist/types/crypto/pkc/slh_dsa.d.ts +6 -16
- package/dist/types/crypto/pkc/slh_dsa.d.ts.map +1 -1
- package/dist/types/crypto/pkc/x25519.d.ts +0 -6
- package/dist/types/crypto/pkc/x25519.d.ts.map +1 -1
- package/dist/types/crypto/utils/bitArray.d.ts +0 -8
- package/dist/types/crypto/utils/bitArray.d.ts.map +1 -1
- package/dist/types/crypto/utils/jws.d.ts +6 -14
- package/dist/types/crypto/utils/jws.d.ts.map +1 -1
- package/dist/types/crypto/utils/keyformat.d.ts +52 -0
- package/dist/types/crypto/utils/keyformat.d.ts.map +1 -1
- package/dist/types/crypto/utils/random.d.ts +1 -10
- package/dist/types/crypto/utils/random.d.ts.map +1 -1
- package/dist/types/crypto/utils/rsaKeygen.d.ts +0 -10
- package/dist/types/crypto/utils/rsaKeygen.d.ts.map +1 -1
- package/dist/types/crypto/utils/uuid.d.ts.map +1 -1
- package/dist/types/crypto/utils/x509.d.ts +397 -0
- package/dist/types/crypto/utils/x509.d.ts.map +1 -0
- package/dist/types/crypto/wasm/argon2.d.ts +2 -1
- package/dist/types/crypto/wasm/argon2.d.ts.map +1 -1
- package/dist/types/crypto/wasm/pbkdf2.d.ts +2 -2
- package/dist/types/crypto/wasm/pbkdf2.d.ts.map +1 -1
- package/dist/types/crypto/wasm/rsa.d.ts.map +1 -1
- package/dist/types/crypto/wasm/runtime.d.ts +13 -0
- package/dist/types/crypto/wasm/runtime.d.ts.map +1 -1
- package/dist/types/crypto/webcrypto/aes.d.ts.map +1 -1
- package/dist/types/crypto/webcrypto/aeskw.d.ts.map +1 -1
- package/dist/types/crypto/webcrypto/digest.d.ts +0 -4
- package/dist/types/crypto/webcrypto/digest.d.ts.map +1 -1
- package/dist/types/crypto/webcrypto/rsa.d.ts.map +1 -1
- package/dist/types/dom/fs/fileIntake.d.ts +59 -0
- package/dist/types/dom/fs/fileIntake.d.ts.map +1 -0
- package/dist/types/dom/fs/fsAccess.d.ts.map +1 -1
- package/dist/types/dom/query/dnd.d.ts.map +1 -1
- package/dist/types/dom/query/sound.d.ts +89 -0
- package/dist/types/dom/query/sound.d.ts.map +1 -0
- package/dist/types/dom/rendering/chart.d.ts.map +1 -1
- package/dist/types/dom/rendering/component.d.ts +9 -3
- package/dist/types/dom/rendering/component.d.ts.map +1 -1
- package/dist/types/dom/rendering/parser.d.ts +39 -0
- package/dist/types/dom/rendering/parser.d.ts.map +1 -1
- package/dist/types/dom/rendering/render.d.ts.map +1 -1
- package/dist/types/dom/rendering/sanitize.d.ts +4 -0
- package/dist/types/dom/rendering/sanitize.d.ts.map +1 -1
- package/dist/types/dom/rendering/secPolicy.d.ts.map +1 -1
- package/dist/types/dom/rendering/styleSheet.d.ts +74 -0
- package/dist/types/dom/rendering/styleSheet.d.ts.map +1 -0
- package/dist/types/dom/rendering/template.d.ts +9 -3
- package/dist/types/dom/rendering/template.d.ts.map +1 -1
- package/dist/types/dom/rendering/themeTokens.d.ts +9 -3
- package/dist/types/dom/rendering/themeTokens.d.ts.map +1 -1
- package/dist/types/dom/rendering/uiSession-core.d.ts +9 -3
- package/dist/types/dom/rendering/uiSession-core.d.ts.map +1 -1
- package/dist/types/dom/rendering/uiSession-list.d.ts +9 -3
- package/dist/types/dom/rendering/uiSession-list.d.ts.map +1 -1
- package/dist/types/dom/rendering/uiSession.d.ts +18 -6
- package/dist/types/dom/rendering/uiSession.d.ts.map +1 -1
- package/dist/types/dom/sw/installPrompt.d.ts +89 -0
- package/dist/types/dom/sw/installPrompt.d.ts.map +1 -0
- package/dist/types/dom/sw/precache.d.ts +149 -0
- package/dist/types/dom/sw/precache.d.ts.map +1 -0
- package/dist/types/dom/sw/swUpdate.d.ts +129 -0
- package/dist/types/dom/sw/swUpdate.d.ts.map +1 -0
- package/dist/types/dom/utils/clipboard.d.ts +8 -0
- package/dist/types/dom/utils/clipboard.d.ts.map +1 -1
- package/dist/types/dom/utils/keybindings.d.ts.map +1 -1
- package/dist/types/dom/utils/route.d.ts.map +1 -1
- package/dist/types/dom/utils/ua.d.ts +2 -2
- package/dist/types/dom/utils/ua.d.ts.map +1 -1
- package/dist/types/io/calc/crc32.d.ts.map +1 -1
- package/dist/types/io/codec/b64.d.ts +24 -0
- package/dist/types/io/codec/b64.d.ts.map +1 -1
- package/dist/types/io/codec/cbor.d.ts +1 -0
- package/dist/types/io/codec/cbor.d.ts.map +1 -1
- package/dist/types/io/codec/hex.d.ts.map +1 -1
- package/dist/types/io/codec/msgpack.d.ts +1 -0
- package/dist/types/io/codec/msgpack.d.ts.map +1 -1
- package/dist/types/io/codec/url.d.ts +3 -1
- package/dist/types/io/codec/url.d.ts.map +1 -1
- package/dist/types/io/codec/utf8.d.ts.map +1 -1
- package/dist/types/io/compress/bitstream.d.ts +1 -1
- package/dist/types/io/compress/brotli.d.ts +0 -1
- package/dist/types/io/compress/brotli.d.ts.map +1 -1
- package/dist/types/io/compress/brotli_shared.d.ts +0 -4
- package/dist/types/io/compress/brotli_shared.d.ts.map +1 -1
- package/dist/types/io/compress/deflate.d.ts +14 -1
- package/dist/types/io/compress/deflate.d.ts.map +1 -1
- package/dist/types/io/compress/gzip.d.ts +4 -0
- package/dist/types/io/compress/gzip.d.ts.map +1 -1
- package/dist/types/io/compress/huffman.d.ts +7 -0
- package/dist/types/io/compress/huffman.d.ts.map +1 -1
- package/dist/types/io/compress/lz4.d.ts +4 -2
- package/dist/types/io/compress/lz4.d.ts.map +1 -1
- package/dist/types/io/compress/lz77.d.ts +17 -0
- package/dist/types/io/compress/lz77.d.ts.map +1 -1
- package/dist/types/io/compress/lzw.d.ts +2 -0
- package/dist/types/io/compress/lzw.d.ts.map +1 -1
- package/dist/types/io/compress/zip.d.ts.map +1 -1
- package/dist/types/io/compress/zlib.d.ts +9 -2
- package/dist/types/io/compress/zlib.d.ts.map +1 -1
- package/dist/types/io/math/linalg.d.ts.map +1 -1
- package/dist/types/process/rpc.d.ts.map +1 -1
- package/dist/types/process/workerPool.d.ts.map +1 -1
- package/dist/types/sanity/base.d.ts +12 -2
- package/dist/types/sanity/base.d.ts.map +1 -1
- package/dist/types/sanity/lockdown.d.ts +6 -5
- package/dist/types/sanity/lockdown.d.ts.map +1 -1
- package/dist/types/sanity/wasm-gate.d.ts +1 -1
- package/docs/README.md +17 -10
- package/docs/api/README.md +5 -5
- package/docs/api/core/logger.md +2 -1
- package/docs/api/core/modules.md +3 -3
- package/docs/api/core/runtime.md +9 -9
- package/docs/api/core/worker-helper.md +12 -2
- package/docs/api/crypto/README.md +1 -1
- package/docs/api/crypto/cipher/README.md +2 -2
- package/docs/api/crypto/cipher/aes.md +5 -10
- package/docs/api/crypto/cipher/chacha20.md +3 -8
- package/docs/api/crypto/hash/README.md +5 -5
- package/docs/api/crypto/hash/adf.md +21 -11
- package/docs/api/crypto/hash/argon2.md +3 -12
- package/docs/api/crypto/hash/blake2b.md +12 -14
- package/docs/api/crypto/hash/pbkdf2.md +1 -1
- package/docs/api/crypto/hash/sha224.md +2 -2
- package/docs/api/crypto/hash/sha256.md +4 -4
- package/docs/api/crypto/hash/sha3.md +2 -2
- package/docs/api/crypto/hash/sha384.md +1 -1
- package/docs/api/crypto/hash/sha512.md +5 -5
- package/docs/api/crypto/hash/sha512_224.md +1 -1
- package/docs/api/crypto/hash/sha512_256.md +1 -1
- package/docs/api/crypto/mode/README.md +3 -3
- package/docs/api/crypto/mode/cbc.md +2 -2
- package/docs/api/crypto/mode/chacha20poly1305.md +1 -1
- package/docs/api/crypto/mode/cmac.md +4 -4
- package/docs/api/crypto/mode/ctr.md +2 -3
- package/docs/api/crypto/mode/gcm.md +5 -5
- package/docs/api/crypto/mode/kw.md +4 -4
- package/docs/api/crypto/pkc/README.md +8 -8
- package/docs/api/crypto/pkc/ecc.md +19 -17
- package/docs/api/crypto/pkc/ed25519.md +10 -15
- package/docs/api/crypto/pkc/hybridKem.md +8 -2
- package/docs/api/crypto/pkc/hybridSign.md +34 -7
- package/docs/api/crypto/pkc/ml_dsa.md +20 -19
- package/docs/api/crypto/pkc/ml_kem.md +3 -3
- package/docs/api/crypto/pkc/rsa.md +7 -9
- package/docs/api/crypto/pkc/slh_dsa.md +12 -12
- package/docs/api/crypto/pkc/x25519.md +5 -4
- package/docs/api/crypto/utils/README.md +7 -7
- package/docs/api/crypto/utils/aes_modes.md +2 -5
- package/docs/api/crypto/utils/asn1.md +25 -16
- package/docs/api/crypto/utils/jws.md +6 -4
- package/docs/api/crypto/utils/keyformat.md +24 -15
- package/docs/api/crypto/utils/pad.md +1 -1
- package/docs/api/crypto/utils/pem.md +3 -3
- package/docs/api/crypto/utils/random.md +3 -4
- package/docs/api/crypto/utils/rsaKeygen.md +2 -2
- package/docs/api/crypto/utils/totp.md +2 -2
- package/docs/api/crypto/utils/uuid.md +5 -5
- package/docs/api/crypto/utils/x509.md +124 -0
- package/docs/api/crypto/wasm/aes.md +1 -1
- package/docs/api/crypto/wasm/argon2.md +6 -4
- package/docs/api/crypto/wasm/ml_kem.md +1 -0
- package/docs/api/crypto/wasm/pbkdf2.md +8 -8
- package/docs/api/crypto/wasm/rsa.md +1 -1
- package/docs/api/crypto/wasm/runtime.md +27 -10
- package/docs/api/crypto/webcrypto/aes.md +1 -1
- package/docs/api/crypto/webcrypto/aeskw.md +2 -2
- package/docs/api/crypto/webcrypto/digest.md +3 -5
- package/docs/api/crypto/webcrypto/ecc.md +1 -1
- package/docs/api/crypto/webcrypto/ed25519.md +1 -1
- package/docs/api/crypto/webcrypto/rsa.md +3 -2
- package/docs/api/crypto/webcrypto/x25519.md +1 -1
- package/docs/api/dom/README.md +6 -1
- package/docs/api/dom/fs/README.md +1 -0
- package/docs/api/dom/fs/fileIntake.md +120 -0
- package/docs/api/dom/fs/fsAccess.md +1 -0
- package/docs/api/dom/fs/indexedDB.md +1 -1
- package/docs/api/dom/fs/storage.md +1 -1
- package/docs/api/dom/query/README.md +2 -1
- package/docs/api/dom/query/dnd.md +4 -1
- package/docs/api/dom/query/dom.md +5 -0
- package/docs/api/dom/query/sound.md +103 -0
- package/docs/api/dom/rendering/README.md +4 -3
- package/docs/api/dom/rendering/chart.md +5 -4
- package/docs/api/dom/rendering/component.md +25 -3
- package/docs/api/dom/rendering/parser.md +5 -2
- package/docs/api/dom/rendering/reactiveBind.md +1 -1
- package/docs/api/dom/rendering/render.md +2 -2
- package/docs/api/dom/rendering/sanitize.md +10 -2
- package/docs/api/dom/rendering/secPolicy.md +4 -4
- package/docs/api/dom/rendering/styleSheet.md +85 -0
- package/docs/api/dom/rendering/template.md +20 -5
- package/docs/api/dom/rendering/themeTokens.md +6 -3
- package/docs/api/dom/rendering/uiSession.md +18 -5
- package/docs/api/dom/rendering/virtualScroll.md +2 -2
- package/docs/api/dom/sensors/geolocation.md +1 -1
- package/docs/api/dom/sw/README.md +7 -1
- package/docs/api/dom/sw/cache.md +2 -1
- package/docs/api/dom/sw/installPrompt.md +111 -0
- package/docs/api/dom/sw/precache.md +124 -0
- package/docs/api/dom/sw/serviceWorker.md +4 -2
- package/docs/api/dom/sw/swUpdate.md +112 -0
- package/docs/api/dom/utils/clipboard.md +56 -5
- package/docs/api/dom/utils/entropyCollector.md +1 -1
- package/docs/api/dom/utils/keybindings.md +17 -2
- package/docs/api/dom/utils/leaderElection.md +2 -2
- package/docs/api/dom/utils/route.md +1 -0
- package/docs/api/dom/utils/ua.md +15 -10
- package/docs/api/io/calc/crc32.md +4 -1
- package/docs/api/io/codec/README.md +2 -2
- package/docs/api/io/codec/b64.md +31 -2
- package/docs/api/io/codec/buffer.md +1 -1
- package/docs/api/io/codec/cbor.md +6 -4
- package/docs/api/io/codec/csv.md +178 -178
- package/docs/api/io/codec/hex.md +10 -2
- package/docs/api/io/codec/msgpack.md +4 -3
- package/docs/api/io/codec/url.md +4 -3
- package/docs/api/io/codec/utf8.md +3 -3
- package/docs/api/io/compress/bitstream.md +6 -3
- package/docs/api/io/compress/brotli.md +36 -4
- package/docs/api/io/compress/brotli_shared.md +1 -1
- package/docs/api/io/compress/deflate.md +42 -34
- package/docs/api/io/compress/gzip.md +26 -6
- package/docs/api/io/compress/huffman.md +2 -1
- package/docs/api/io/compress/lz4.md +5 -3
- package/docs/api/io/compress/lz77.md +26 -3
- package/docs/api/io/compress/lzw.md +13 -8
- package/docs/api/io/compress/zip.md +36 -10
- package/docs/api/io/compress/zlib.md +21 -5
- package/docs/api/io/math/linalg.md +1 -1
- package/docs/api/io/utils/valid.md +1 -1
- package/docs/api/process/rpc.md +3 -2
- package/docs/api/process/workerPool.md +1 -1
- package/docs/api/sanity/base.md +9 -5
- package/docs/api/sanity/lockdown.md +7 -6
- package/docs/api/surface.json +12311 -0
- package/docs/api/typed.md +5 -3
- package/docs/dev/README.md +2 -0
- package/docs/dev/bench.md +76 -0
- package/docs/dev/crypto-references.md +54 -0
- package/docs/dev/provenance.md +30 -7
- package/docs/dev/publishing.md +7 -7
- package/docs/dev/runtime.md +1 -1
- package/docs/dev/testing.md +13 -0
- package/docs/evidence/l4-evidence.md +86 -0
- package/docs/evidence/pqc-hybrid-evidence.md +7 -6
- package/docs/guide/README.md +1 -0
- package/docs/guide/_QUICK_REF.md +5 -5
- package/docs/guide/doc-format.md +4 -3
- package/docs/guide/integrations-hmr.md +1 -1
- package/docs/guide/module-creation-workflow.md +8 -8
- package/docs/guide/rendering-pipeline.md +11 -4
- package/docs/guide/security.md +7 -5
- package/docs/guide/stability.md +123 -0
- package/docs/guide/tutorial-todo.md +20 -8
- package/docs/guide/typescript.md +9 -0
- package/docs/guide/worker-confinement.md +30 -17
- package/docs/notes/lz77-deflate-factorization.md +3 -3
- package/docs/tools/README.md +1 -1
- package/docs/tools/bundler.md +3 -3
- package/docs/tools/codegen.md +1 -1
- package/docs/tools/standalone.md +0 -1
- package/fw.config.json +2 -2
- package/integrations/_shared/catalog.generated.json +7 -1
- package/integrations/_shared/core.js +1 -1
- package/integrations/astro/index.js +1 -1
- package/integrations/eslint/README.md +7 -1
- package/integrations/nextjs/index.js +1 -1
- package/integrations/nodejs/README.md +3 -3
- package/integrations/turbopack/index.js +2 -2
- package/integrations/typedoc/categorize.js +1 -1
- package/integrations/typedoc/typedoc.json +2 -1
- package/integrations/vite/index.js +2 -2
- package/integrations/vite/vite-env.d.ts +7 -4
- package/integrations/webpack/index.js +3 -3
- package/package.json +76 -10
- package/src/core/internal.js +31 -0
- package/src/core/logger.js +95 -23
- package/src/core/modules.js +17 -8
- package/src/core/readyState.js +1 -1
- package/src/core/runtime.js +74 -27
- package/src/core/worker-helper.js +83 -4
- package/src/crypto/NIST_CONFORMANCE.md +47 -34
- package/src/crypto/cipher/aes.acvp.md +7 -8
- package/src/crypto/cipher/aes.js +280 -229
- package/src/crypto/cipher/chacha20.acvp.md +6 -7
- package/src/crypto/cipher/chacha20.js +91 -61
- package/src/crypto/hash/adf.js +1 -1
- package/src/crypto/hash/argon2.acvp.md +11 -15
- package/src/crypto/hash/argon2.js +9 -24
- package/src/crypto/hash/blake2b.js +157 -125
- package/src/crypto/hash/hkdf.acvp.md +15 -15
- package/src/crypto/hash/hkdf.js +1 -1
- package/src/crypto/hash/hmac.acvp.md +10 -12
- package/src/crypto/hash/hmac.js +5 -1
- package/src/crypto/hash/pbkdf2.acvp.md +13 -13
- package/src/crypto/hash/pbkdf2.js +36 -8
- package/src/crypto/hash/poly1305.acvp.md +10 -6
- package/src/crypto/hash/poly1305.js +171 -50
- package/src/crypto/hash/sha224.acvp.md +3 -3
- package/src/crypto/hash/sha224.js +4 -4
- package/src/crypto/hash/sha256.acvp.md +2 -2
- package/src/crypto/hash/sha256.js +514 -50
- package/src/crypto/hash/sha3.acvp.md +9 -9
- package/src/crypto/hash/sha3.js +127 -71
- package/src/crypto/hash/sha384.acvp.md +3 -3
- package/src/crypto/hash/sha384.js +4 -4
- package/src/crypto/hash/sha512.acvp.md +7 -8
- package/src/crypto/hash/sha512.js +107 -108
- package/src/crypto/hash/sha512_224.acvp.md +6 -6
- package/src/crypto/hash/sha512_224.js +2 -2
- package/src/crypto/hash/sha512_256.acvp.md +6 -6
- package/src/crypto/hash/sha512_256.js +2 -2
- package/src/crypto/mode/cbc.acvp.md +2 -2
- package/src/crypto/mode/cbc.js +1 -1
- package/src/crypto/mode/chacha20poly1305.acvp.md +6 -6
- package/src/crypto/mode/chacha20poly1305.js +3 -3
- package/src/crypto/mode/cmac.acvp.md +5 -5
- package/src/crypto/mode/cmac.js +8 -8
- package/src/crypto/mode/ctr.acvp.md +2 -2
- package/src/crypto/mode/ctr.js +1 -3
- package/src/crypto/mode/gcm.acvp.md +6 -6
- package/src/crypto/mode/gcm.js +7 -7
- package/src/crypto/mode/kw.acvp.md +4 -4
- package/src/crypto/mode/kw.js +5 -5
- package/src/crypto/pkc/ecc.acvp.md +13 -13
- package/src/crypto/pkc/ecc.js +9 -11
- package/src/crypto/pkc/ed25519.acvp.md +30 -34
- package/src/crypto/pkc/ed25519.js +453 -94
- package/src/crypto/pkc/hybrid-kat.provenance.md +4 -4
- package/src/crypto/pkc/hybridSign.js +103 -24
- package/src/crypto/pkc/ml_dsa.acvp.md +18 -18
- package/src/crypto/pkc/ml_dsa.js +29 -32
- package/src/crypto/pkc/ml_kem.acvp.md +7 -7
- package/src/crypto/pkc/ml_kem.js +15 -21
- package/src/crypto/pkc/rsa.acvp.md +11 -15
- package/src/crypto/pkc/rsa.js +7 -44
- package/src/crypto/pkc/slh_dsa.acvp.md +16 -16
- package/src/crypto/pkc/slh_dsa.js +16 -18
- package/src/crypto/pkc/x25519.acvp.md +13 -10
- package/src/crypto/pkc/x25519.js +273 -29
- package/src/crypto/utils/aes_modes.acvp.md +1 -2
- package/src/crypto/utils/aes_modes.js +2 -2
- package/src/crypto/utils/asn1-oid.js +1 -1
- package/src/crypto/utils/asn1.js +1 -1
- package/src/crypto/utils/bitArray.js +33 -48
- package/src/crypto/utils/bn.js +1 -1
- package/src/crypto/utils/jws.js +37 -41
- package/src/crypto/utils/keyformat.js +181 -2
- package/src/crypto/utils/pem.js +1 -1
- package/src/crypto/utils/random.acvp.md +5 -5
- package/src/crypto/utils/random.js +845 -846
- package/src/crypto/utils/rsaKeygen.acvp.md +3 -2
- package/src/crypto/utils/rsaKeygen.js +6 -6
- package/src/crypto/utils/totp.js +1 -1
- package/src/crypto/utils/uuid.acvp.md +5 -5
- package/src/crypto/utils/uuid.js +11 -10
- package/src/crypto/utils/x509.js +591 -0
- package/src/crypto/wasm/aes.js +1 -1
- package/src/crypto/wasm/aes.scalar.wasm +0 -0
- package/src/crypto/wasm/argon2.js +17 -1
- package/src/crypto/wasm/argon2.scalar.wasm +0 -0
- package/src/crypto/wasm/blake2b.scalar.wasm +0 -0
- package/src/crypto/wasm/blake2b.simd.wasm +0 -0
- package/src/crypto/wasm/chacha20poly1305.scalar.wasm +0 -0
- package/src/crypto/wasm/chacha20poly1305.simd.wasm +0 -0
- package/src/crypto/wasm/cmac.scalar.wasm +0 -0
- package/src/crypto/wasm/ecc.js +3 -3
- package/src/crypto/wasm/ecc.scalar.wasm +0 -0
- package/src/crypto/wasm/ed25519.js +1 -1
- package/src/crypto/wasm/ed25519.scalar.wasm +0 -0
- package/src/crypto/wasm/hkdf.scalar.wasm +0 -0
- package/src/crypto/wasm/hmac.scalar.wasm +0 -0
- package/src/crypto/wasm/ml_dsa.js +2 -2
- package/src/crypto/wasm/ml_dsa.scalar.wasm +0 -0
- package/src/crypto/wasm/ml_dsa.simd.wasm +0 -0
- package/src/crypto/wasm/ml_kem.js +2 -2
- package/src/crypto/wasm/ml_kem.scalar.wasm +0 -0
- package/src/crypto/wasm/ml_kem.simd.wasm +0 -0
- package/src/crypto/wasm/pbkdf2.js +8 -6
- package/src/crypto/wasm/pbkdf2.scalar.wasm +0 -0
- package/src/crypto/wasm/rsa.js +6 -5
- package/src/crypto/wasm/rsa.scalar.wasm +0 -0
- package/src/crypto/wasm/runtime.js +84 -17
- package/src/crypto/wasm/sha2.scalar.wasm +0 -0
- package/src/crypto/wasm/sha3.scalar.wasm +0 -0
- package/src/crypto/wasm/sha3.simd.wasm +0 -0
- package/src/crypto/wasm/slh_dsa.js +1 -1
- package/src/crypto/wasm/slh_dsa.scalar.wasm +0 -0
- package/src/crypto/wasm/x25519.js +1 -1
- package/src/crypto/wasm/x25519.scalar.wasm +0 -0
- package/src/crypto/webcrypto/aes.js +8 -2
- package/src/crypto/webcrypto/aeskw.js +7 -2
- package/src/crypto/webcrypto/digest.js +1 -15
- package/src/crypto/webcrypto/ecc.js +2 -2
- package/src/crypto/webcrypto/ed25519.js +2 -2
- package/src/crypto/webcrypto/hmac.js +2 -2
- package/src/crypto/webcrypto/rsa.js +7 -2
- package/src/crypto/webcrypto/x25519.js +2 -2
- package/src/dom/display/animate.js +1 -1
- package/src/dom/display/fullscreen.js +1 -1
- package/src/dom/fs/download.js +1 -1
- package/src/dom/fs/fileIntake.js +192 -0
- package/src/dom/fs/fsAccess.js +2 -3
- package/src/dom/fs/indexedDB.js +1 -1
- package/src/dom/fs/remoteStore.js +1 -1
- package/src/dom/fs/storage.js +1 -1
- package/src/dom/lifecycle/idle.js +1 -1
- package/src/dom/lifecycle/visibility.js +1 -1
- package/src/dom/lifecycle/wakeLock.js +1 -1
- package/src/dom/net/ajax.js +1 -1
- package/src/dom/net/network.js +1 -1
- package/src/dom/net/sse.js +1 -1
- package/src/dom/net/webrtc.js +1 -1
- package/src/dom/net/ws.js +1 -1
- package/src/dom/query/dnd.js +56 -4
- package/src/dom/query/dom.js +1 -1
- package/src/dom/query/events.js +1 -1
- package/src/dom/query/gesture.js +1 -1
- package/src/dom/query/media.js +1 -1
- package/src/dom/query/sound.js +333 -0
- package/src/dom/rendering/chart.js +736 -663
- package/src/dom/rendering/component.js +25 -14
- package/src/dom/rendering/devtools.js +2 -2
- package/src/dom/rendering/parser.js +155 -12
- package/src/dom/rendering/render.js +14 -4
- package/src/dom/rendering/sanitize.js +11 -4
- package/src/dom/rendering/secPolicy.js +6 -4
- package/src/dom/rendering/styleSheet.js +217 -0
- package/src/dom/rendering/template.js +72 -13
- package/src/dom/rendering/themeTokens.js +542 -522
- package/src/dom/rendering/uiSession-core.js +51 -6
- package/src/dom/rendering/uiSession-direct.js +1 -1
- package/src/dom/rendering/uiSession-list.js +4 -4
- package/src/dom/rendering/uiSession.js +1 -1
- package/src/dom/rendering/virtualScroll.js +341 -341
- package/src/dom/sensors/battery.js +1 -1
- package/src/dom/sensors/geolocation.js +1 -1
- package/src/dom/sensors/networkInfo.js +1 -1
- package/src/dom/sensors/sensors.js +1 -1
- package/src/dom/sw/backgroundSync.js +1 -1
- package/src/dom/sw/cache.js +1 -1
- package/src/dom/sw/installPrompt.js +151 -0
- package/src/dom/sw/precache.js +257 -0
- package/src/dom/sw/push.js +1 -1
- package/src/dom/sw/sharedWorker.js +1 -1
- package/src/dom/sw/swUpdate.js +239 -0
- package/src/dom/utils/a11y.js +1 -1
- package/src/dom/utils/clipboard.js +56 -6
- package/src/dom/utils/entropyCollector.js +1 -1
- package/src/dom/utils/focus.js +1 -1
- package/src/dom/utils/form.js +1 -1
- package/src/dom/utils/keybindings.js +600 -574
- package/src/dom/utils/leaderElection.js +1 -1
- package/src/dom/utils/notifications.js +1 -1
- package/src/dom/utils/permissions.js +107 -107
- package/src/dom/utils/route.js +14 -2
- package/src/dom/utils/ua.js +42 -28
- package/src/dom/utils/webauthn.js +1 -1
- package/src/io/binary/reader.js +1 -1
- package/src/io/binary/writer.js +1 -1
- package/src/io/calc/bigint.js +1 -1
- package/src/io/calc/crc32.js +28 -2
- package/src/io/calc/easing.js +514 -514
- package/src/io/codec/b64.js +189 -52
- package/src/io/codec/base32.js +1 -1
- package/src/io/codec/base58.js +1 -1
- package/src/io/codec/buffer.js +1 -1
- package/src/io/codec/cbor.js +111 -18
- package/src/io/codec/csv.js +1 -1
- package/src/io/codec/hex.js +51 -6
- package/src/io/codec/mime.js +1 -1
- package/src/io/codec/msgpack.js +47 -6
- package/src/io/codec/url.js +24 -7
- package/src/io/codec/utf8.js +5 -3
- package/src/io/codec/xml.js +1 -1
- package/src/io/compress/bitstream.js +2 -2
- package/src/io/compress/brotli.js +663 -163
- package/src/io/compress/brotli_dict.js +1 -1
- package/src/io/compress/brotli_dict_words.js +1 -1
- package/src/io/compress/brotli_frame.js +1 -1
- package/src/io/compress/brotli_shared.js +7 -7
- package/src/io/compress/deflate.js +87 -53
- package/src/io/compress/gzip.js +187 -74
- package/src/io/compress/huffman.js +24 -1
- package/src/io/compress/lz4.js +45 -7
- package/src/io/compress/lz77.js +148 -63
- package/src/io/compress/lzw.js +35 -19
- package/src/io/compress/zip.js +862 -815
- package/src/io/compress/zlib.js +87 -7
- package/src/io/i18n/i18n.js +1 -1
- package/src/io/math/fixed-point.js +1 -1
- package/src/io/math/geom.js +1 -1
- package/src/io/math/interp.js +1 -1
- package/src/io/math/linalg.js +10 -4
- package/src/io/math/stats.js +1 -1
- package/src/io/structures/btree.js +1 -1
- package/src/io/structures/heap.js +1 -1
- package/src/io/structures/lruCache.js +1 -1
- package/src/io/structures/ringBuffer.js +1 -1
- package/src/io/structures/tree-walker.js +1 -1
- package/src/io/structures/trie.js +1 -1
- package/src/io/sync/abort.js +1 -1
- package/src/io/sync/atomics.js +1 -1
- package/src/io/sync/cancellable.js +1 -1
- package/src/io/sync/channel.js +1 -1
- package/src/io/sync/mutex.js +1 -1
- package/src/io/sync/semaphore.js +1 -1
- package/src/io/sync/tokenBucket.js +1 -1
- package/src/io/text/ansi.js +1 -1
- package/src/io/text/html-entities.js +1 -1
- package/src/io/time/date.js +1 -1
- package/src/io/timing/clock.js +1 -1
- package/src/io/timing/rateLimit.js +1 -1
- package/src/io/timing/scheduler.js +1 -1
- package/src/io/utils/errors.js +1 -1
- package/src/io/utils/eventBus.js +1 -1
- package/src/io/utils/signal.js +1 -1
- package/src/io/utils/valid.js +1 -1
- package/src/main.js +1 -1
- package/src/process/message.js +1 -1
- package/src/process/rpc.js +7 -3
- package/src/process/workerPool.js +11 -4
- package/src/sanity/base.js +85 -39
- package/src/sanity/lockdown-apply.js +3 -3
- package/src/sanity/lockdown.js +58 -32
- package/src/sanity/wasm-gate.js +2 -2
- package/src/typed.js +7 -3
- package/third-party/NOTICE-brotli-dictionary.txt +69 -0
- package/third-party/NOTICE-fw-wasm-crypto.txt +576 -0
- package/third-party/NOTICE-whatwg-entities.txt +44 -0
- package/types/registry.generated.d.ts +7 -1
- package/types/typed.d.ts +7 -3
- package/dist/types/crypto/utils/aes_ctr.d.ts +0 -84
- package/dist/types/crypto/utils/aes_ctr.d.ts.map +0 -1
- package/docs/api/crypto/utils/aes_ctr.md +0 -71
- package/src/crypto/utils/aes_ctr.acvp.md +0 -67
- package/src/crypto/utils/aes_ctr.js +0 -134
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://typedoc.org/schema.json",
|
|
3
|
-
"name": "@awacloud/fw —
|
|
3
|
+
"name": "@awacloud/fw — API reference (generated)",
|
|
4
4
|
"entryPoints": ["../../dist/types"],
|
|
5
5
|
"entryPointStrategy": "expand",
|
|
6
6
|
"exclude": [
|
|
7
7
|
"**/*.test.d.ts",
|
|
8
8
|
"**/*.kat.d.ts",
|
|
9
|
+
"**/*.reference.d.ts",
|
|
9
10
|
"**/registry.generated.d.ts",
|
|
10
11
|
"**/typed.d.ts"
|
|
11
12
|
],
|
|
@@ -82,7 +82,7 @@ export default function fwVitePlugin(options = {}) {
|
|
|
82
82
|
return core.emit(id.slice(RESOLVED_PREFIX.length));
|
|
83
83
|
},
|
|
84
84
|
|
|
85
|
-
// Dev-only : close the restart gap
|
|
85
|
+
// Dev-only : close the restart gap — editing
|
|
86
86
|
// `fw.config.json` or regenerating the committed catalog used to
|
|
87
87
|
// require killing and restarting `vite dev`, because `core` was
|
|
88
88
|
// built once at plugin construction and never re-read. This hook is
|
|
@@ -153,7 +153,7 @@ export default function fwVitePlugin(options = {}) {
|
|
|
153
153
|
// both `dev` and `build`.
|
|
154
154
|
//
|
|
155
155
|
// CAVEAT — documented only, NOT fixed here (pre-existing, orthogonal
|
|
156
|
-
// to the ESM sanity conversion
|
|
156
|
+
// to the ESM sanity conversion): the injected script
|
|
157
157
|
// carries `type: 'module'`, and per the HTML spec module scripts are
|
|
158
158
|
// DEFERRED until after HTML parsing completes, unlike a classic
|
|
159
159
|
// blocking `<script>`. Any inline classic script, inline event
|
|
@@ -17,20 +17,23 @@
|
|
|
17
17
|
// IMPORTANT — this file is a *global script* (no top-level import/export) so the
|
|
18
18
|
// `declare module 'virtual:...'` blocks are ambient. Cross-package types are
|
|
19
19
|
// pulled in via inline `import('...')` type queries, which do NOT turn the file
|
|
20
|
-
// into a module.
|
|
20
|
+
// into a module. They use RELATIVE paths, like `types/typed.d.ts`: a package
|
|
21
|
+
// specifier (`@awacloud/fw/typed`) does not resolve when this file is read by
|
|
22
|
+
// path under `moduleResolution: "node"` (which ignores `exports`), and the
|
|
23
|
+
// types would silently become `any`.
|
|
21
24
|
|
|
22
25
|
declare module 'virtual:@awacloud/fw/preset/*' {
|
|
23
26
|
/** Pre-instantiated runtime, narrowed by module name. */
|
|
24
|
-
export const runtime: import('
|
|
27
|
+
export const runtime: import('../../types/typed').TypedModuleRuntime;
|
|
25
28
|
/** Names of the top-level modules registered for this preset. */
|
|
26
29
|
export const moduleNames: string[];
|
|
27
30
|
}
|
|
28
31
|
|
|
29
32
|
declare module 'virtual:@awacloud/fw/side-bundle/*' {
|
|
30
33
|
/** Register every module of this side-bundle onto a runtime. */
|
|
31
|
-
export function install(runtime: import('
|
|
34
|
+
export function install(runtime: import('../../dist/types/core/runtime').ModuleRuntime): void;
|
|
32
35
|
/** The side-bundle's module definitions. */
|
|
33
|
-
export const modules: import('
|
|
36
|
+
export const modules: import('../../dist/types/core/runtime').ModuleDefinition[];
|
|
34
37
|
/** Names of the modules in this side-bundle. */
|
|
35
38
|
export const moduleNames: string[];
|
|
36
39
|
}
|
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
* inject `import {applyBase} …; applyBase();`), so every tier prepends a
|
|
29
29
|
* SELF-APPLYING subpath instead of the explicit-call ESM source — a bare
|
|
30
30
|
* import of the latter is inert since the sanity tiers became explicit-call
|
|
31
|
-
* ES modules
|
|
31
|
+
* ES modules:
|
|
32
32
|
* - `base` / `community` → the **built classic-artifact subpath**
|
|
33
33
|
* `@awacloud/fw/sanity/<tier>.classic` (e.g.
|
|
34
34
|
* `dist/build/sanity-base-classic.min.js`) ;
|
|
35
35
|
* - `lockdown` → `@awacloud/fw/sanity/lockdown.apply`, the self-applying
|
|
36
|
-
* ESM wrapper around `lockdown()` (
|
|
36
|
+
* ESM wrapper around `lockdown()` (this branch used to prepend the
|
|
37
37
|
* bare `@awacloud/fw/sanity/lockdown` specifier and therefore applied
|
|
38
38
|
* NOTHING — `sanity: 'lockdown'` was silently a no-op). There is no
|
|
39
39
|
* `lockdown.classic` artifact; the wrapper is the ESM equivalent.
|
|
@@ -92,7 +92,7 @@ export class FwWebpackPlugin {
|
|
|
92
92
|
// tiers are explicit-call ES modules, so prepending their source
|
|
93
93
|
// subpath applies nothing at all (see file header).
|
|
94
94
|
// `base`/`community` → the built classic artifact ;
|
|
95
|
-
// `lockdown` → the `lockdown.apply` ESM wrapper
|
|
95
|
+
// `lockdown` → the `lockdown.apply` ESM wrapper.
|
|
96
96
|
if (sanity) {
|
|
97
97
|
const sanityMod = sanity === 'lockdown'
|
|
98
98
|
? `${core.pkg}/sanity/lockdown.apply`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@awacloud/fw",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Zero-dependency browser framework: a DI module runtime with 200+ ESM modules — codecs, compression, crypto (WebCrypto + WASM tiers, post-quantum), DOM rendering and query, workers, security lockdown — usable without a bundler via import maps.",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"node": ">=18"
|
|
26
26
|
},
|
|
27
27
|
"awa": {
|
|
28
|
-
"maturity": "
|
|
28
|
+
"maturity": "L4",
|
|
29
29
|
"coverageBasis": [
|
|
30
30
|
"src/**",
|
|
31
31
|
"integrations/**",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"tools/_lib/cli-help.js"
|
|
34
34
|
],
|
|
35
35
|
"coverageFloor": 0.92,
|
|
36
|
-
"_coverageComment": "Basis = the package.json files[] JS surface, i.e. exactly what this package PUBLISHES: src/**, integrations/**, tools/rendering/** and tools/_lib/cli-help.js. playground/** is excluded because files[] excludes it (!playground/**), and test files are already out via bunfig coverageSkipTestFiles. The unfiltered All-files aggregate is NOT a source-quality signal here: it is an unweighted mean of per-file %Lines, so it admitted 4 rows that are not this package at all - two tools/fw-bundler/** modules and two OS-temp COPIES that integrations/_shared/config-resolve.test.js imports from a temp dir (1.14% and 29.94%) - which dragged 238 rows to 91.9770% (RED) while the 230 published rows read 93.1865%. The floor stays 0.92, deliberately UNCHANGED: coverageBasis fixes the measurement basis, it must not relax the gate, so the max(0, floor(basis mean) - 2) seeding rule used when DECLARING a floor is not applied here - 0.92 was earned previously and is kept, now with a +1.19 pp margin."
|
|
36
|
+
"_coverageComment": "Basis = the package.json files[] JS surface, i.e. exactly what this package PUBLISHES: src/**, integrations/**, tools/rendering/** and tools/_lib/cli-help.js. playground/** is excluded because files[] excludes it (!playground/**), and test files are already out via bunfig coverageSkipTestFiles. The unfiltered All-files aggregate is NOT a source-quality signal here: it is an unweighted mean of per-file %Lines, so it admitted 4 rows that are not this package at all - two tools/fw-bundler/** modules and two OS-temp COPIES that integrations/_shared/config-resolve.test.js imports from a temp dir (1.14% and 29.94%) - which dragged 238 rows to 91.9770% (RED) while the 230 published rows read 93.1865%. The floor stays 0.92, deliberately UNCHANGED: coverageBasis fixes the measurement basis, it must not relax the gate, so the max(0, floor(basis mean) - 2) seeding rule used when DECLARING a floor is not applied here - 0.92 was earned previously and is kept, now with a +1.19 pp margin. Re-measured 2026-11-06 by `bun cli.ts coverage-gate --scopes packages/front/fw/`: 93.36% over 234 basis rows (10583 pass / 0 fail / 8 skip), floor unchanged."
|
|
37
37
|
},
|
|
38
38
|
"main": "src/main.js",
|
|
39
39
|
"types": "dist/types/main.d.ts",
|
|
@@ -48,6 +48,7 @@
|
|
|
48
48
|
"src/**/*.js",
|
|
49
49
|
"src/**/*.md",
|
|
50
50
|
"src/**/*.bin",
|
|
51
|
+
"src/**/*.wasm",
|
|
51
52
|
"types/**/*.d.ts",
|
|
52
53
|
"dist/types/**/*.d.ts",
|
|
53
54
|
"dist/types/**/*.d.ts.map",
|
|
@@ -66,6 +67,7 @@
|
|
|
66
67
|
"!integrations/**/*.test.js",
|
|
67
68
|
"!src/**/*.test.js",
|
|
68
69
|
"!src/**/*.kat.js",
|
|
70
|
+
"!src/**/*.reference.js",
|
|
69
71
|
"!src/**/*.test.html",
|
|
70
72
|
"!src/**/__fixtures__/**",
|
|
71
73
|
"!dist/types/**/__fixtures__/**",
|
|
@@ -73,9 +75,9 @@
|
|
|
73
75
|
"third-party",
|
|
74
76
|
"!docs/api-generated/**",
|
|
75
77
|
"!playground/**",
|
|
78
|
+
"NOTICE",
|
|
76
79
|
"README.md",
|
|
77
|
-
"CHANGELOG.md"
|
|
78
|
-
"NOTICE"
|
|
80
|
+
"CHANGELOG.md"
|
|
79
81
|
],
|
|
80
82
|
"exports": {
|
|
81
83
|
".": {
|
|
@@ -130,14 +132,35 @@
|
|
|
130
132
|
"types": "./types/typed.d.ts",
|
|
131
133
|
"default": "./src/typed.js"
|
|
132
134
|
},
|
|
135
|
+
"./typed.js": {
|
|
136
|
+
"types": "./types/typed.d.ts",
|
|
137
|
+
"default": "./src/typed.js"
|
|
138
|
+
},
|
|
139
|
+
"./io/*.test.js": null,
|
|
140
|
+
"./io/*.test": null,
|
|
141
|
+
"./io/*.kat.js": null,
|
|
142
|
+
"./io/*.kat": null,
|
|
143
|
+
"./io/*.reference.js": null,
|
|
144
|
+
"./io/*.reference": null,
|
|
145
|
+
"./io/*.md": null,
|
|
146
|
+
"./io/*.bin": {
|
|
147
|
+
"default": "./src/io/*.bin"
|
|
148
|
+
},
|
|
133
149
|
"./io/*.js": {
|
|
134
150
|
"types": "./dist/types/io/*.d.ts",
|
|
135
151
|
"default": "./src/io/*.js"
|
|
136
152
|
},
|
|
137
153
|
"./io/*": {
|
|
138
154
|
"types": "./dist/types/io/*.d.ts",
|
|
139
|
-
"default": "./src/io
|
|
155
|
+
"default": "./src/io/*.js"
|
|
140
156
|
},
|
|
157
|
+
"./dom/*.test.js": null,
|
|
158
|
+
"./dom/*.test": null,
|
|
159
|
+
"./dom/*.kat.js": null,
|
|
160
|
+
"./dom/*.kat": null,
|
|
161
|
+
"./dom/*.reference.js": null,
|
|
162
|
+
"./dom/*.reference": null,
|
|
163
|
+
"./dom/*.md": null,
|
|
141
164
|
"./dom/*.js": {
|
|
142
165
|
"types": "./dist/types/dom/*.d.ts",
|
|
143
166
|
"browser": "./src/dom/*.js",
|
|
@@ -145,43 +168,80 @@
|
|
|
145
168
|
},
|
|
146
169
|
"./dom/*": {
|
|
147
170
|
"types": "./dist/types/dom/*.d.ts",
|
|
148
|
-
"browser": "./src/dom
|
|
149
|
-
"default": "./src/dom
|
|
171
|
+
"browser": "./src/dom/*.js",
|
|
172
|
+
"default": "./src/dom/*.js"
|
|
150
173
|
},
|
|
151
174
|
"./crypto/pkc/__fixtures__/*.js": null,
|
|
152
175
|
"./crypto/pkc/__fixtures__/*": null,
|
|
176
|
+
"./crypto/*.test.js": null,
|
|
177
|
+
"./crypto/*.test": null,
|
|
178
|
+
"./crypto/*.kat.js": null,
|
|
179
|
+
"./crypto/*.kat": null,
|
|
180
|
+
"./crypto/*.reference.js": null,
|
|
181
|
+
"./crypto/*.reference": null,
|
|
182
|
+
"./crypto/*.md": null,
|
|
183
|
+
"./crypto/*.wasm": {
|
|
184
|
+
"default": "./src/crypto/*.wasm"
|
|
185
|
+
},
|
|
153
186
|
"./crypto/*.js": {
|
|
154
187
|
"types": "./dist/types/crypto/*.d.ts",
|
|
155
188
|
"default": "./src/crypto/*.js"
|
|
156
189
|
},
|
|
157
190
|
"./crypto/*": {
|
|
158
191
|
"types": "./dist/types/crypto/*.d.ts",
|
|
159
|
-
"default": "./src/crypto
|
|
192
|
+
"default": "./src/crypto/*.js"
|
|
160
193
|
},
|
|
194
|
+
"./process/*.test.js": null,
|
|
195
|
+
"./process/*.test": null,
|
|
196
|
+
"./process/*.kat.js": null,
|
|
197
|
+
"./process/*.kat": null,
|
|
198
|
+
"./process/*.reference.js": null,
|
|
199
|
+
"./process/*.reference": null,
|
|
200
|
+
"./process/*.md": null,
|
|
161
201
|
"./process/*.js": {
|
|
162
202
|
"types": "./dist/types/process/*.d.ts",
|
|
163
203
|
"default": "./src/process/*.js"
|
|
164
204
|
},
|
|
165
205
|
"./process/*": {
|
|
166
206
|
"types": "./dist/types/process/*.d.ts",
|
|
167
|
-
"default": "./src/process
|
|
207
|
+
"default": "./src/process/*.js"
|
|
168
208
|
},
|
|
169
209
|
"./sanity/base": {
|
|
210
|
+
"types": "./dist/types/sanity/base.d.ts",
|
|
211
|
+
"default": "./src/sanity/base.js"
|
|
212
|
+
},
|
|
213
|
+
"./sanity/base.js": {
|
|
214
|
+
"types": "./dist/types/sanity/base.d.ts",
|
|
170
215
|
"default": "./src/sanity/base.js"
|
|
171
216
|
},
|
|
172
217
|
"./sanity/base.classic": {
|
|
173
218
|
"default": "./dist/build/sanity-base-classic.min.js"
|
|
174
219
|
},
|
|
175
220
|
"./sanity/community": {
|
|
221
|
+
"types": "./dist/types/sanity/community.d.ts",
|
|
222
|
+
"default": "./src/sanity/community.js"
|
|
223
|
+
},
|
|
224
|
+
"./sanity/community.js": {
|
|
225
|
+
"types": "./dist/types/sanity/community.d.ts",
|
|
176
226
|
"default": "./src/sanity/community.js"
|
|
177
227
|
},
|
|
178
228
|
"./sanity/community.classic": {
|
|
179
229
|
"default": "./dist/build/sanity-community-classic.min.js"
|
|
180
230
|
},
|
|
181
231
|
"./sanity/lockdown": {
|
|
232
|
+
"types": "./dist/types/sanity/lockdown.d.ts",
|
|
233
|
+
"default": "./src/sanity/lockdown.js"
|
|
234
|
+
},
|
|
235
|
+
"./sanity/lockdown.js": {
|
|
236
|
+
"types": "./dist/types/sanity/lockdown.d.ts",
|
|
182
237
|
"default": "./src/sanity/lockdown.js"
|
|
183
238
|
},
|
|
184
239
|
"./sanity/lockdown.apply": {
|
|
240
|
+
"types": "./dist/types/sanity/lockdown-apply.d.ts",
|
|
241
|
+
"default": "./src/sanity/lockdown-apply.js"
|
|
242
|
+
},
|
|
243
|
+
"./sanity/lockdown-apply.js": {
|
|
244
|
+
"types": "./dist/types/sanity/lockdown-apply.d.ts",
|
|
185
245
|
"default": "./src/sanity/lockdown-apply.js"
|
|
186
246
|
},
|
|
187
247
|
"./config": {
|
|
@@ -232,6 +292,9 @@
|
|
|
232
292
|
"types": "./integrations/nestjs/index.d.ts",
|
|
233
293
|
"default": "./integrations/nestjs/index.js"
|
|
234
294
|
},
|
|
295
|
+
"./eslint": {
|
|
296
|
+
"default": "./integrations/eslint/no-factory-capture.js"
|
|
297
|
+
},
|
|
235
298
|
"./dist/build/*": {
|
|
236
299
|
"default": "./dist/build/*"
|
|
237
300
|
},
|
|
@@ -247,6 +310,9 @@
|
|
|
247
310
|
"types:audit": "fw-codegen audit",
|
|
248
311
|
"integrations:catalog": "fw-bundler catalog",
|
|
249
312
|
"integrations:catalog:check": "fw-bundler catalog --check",
|
|
313
|
+
"api:surface": "bun tools/api-surface.js",
|
|
314
|
+
"api:surface:check": "bun tools/api-surface.js --check",
|
|
315
|
+
"setup:playground": "fw-bundler bundle && tsc -p tsconfig.types.json",
|
|
250
316
|
"prebuild:presets": "fw-bundler bundle presets",
|
|
251
317
|
"prebuild:side-bundles": "fw-bundler bundle side-bundles",
|
|
252
318
|
"prebuild:minimal": "fw-bundler bundle minimal",
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// Copyright (c) 2026 AwaCloud SAS
|
|
2
|
+
// Author: Matthieu Bouilloux
|
|
3
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @fileoverview The internal slot of a module API: the primitives some
|
|
7
|
+
* modules expose for their vector tests and for one another (`makeSha` of
|
|
8
|
+
* sha256 / sha512, the NTT of ml_kem, `encodeTlv` of hybridSign…). They sit
|
|
9
|
+
* under a non-enumerable property keyed by a registered symbol, so they are
|
|
10
|
+
* not part of the API object's keys, its types or its documentation, and
|
|
11
|
+
* are outside the semver contract (`docs/guide/stability.md`).
|
|
12
|
+
*
|
|
13
|
+
* A factory cannot import this file (factories are capture-free: a worker
|
|
14
|
+
* re-evaluates their source), so it writes
|
|
15
|
+
* `Object.defineProperty(api, Symbol.for('@awacloud/fw/internal'), { value })`
|
|
16
|
+
* and reads a dependency's slot as `dep[Symbol.for('@awacloud/fw/internal')]`.
|
|
17
|
+
* Tests and tools use the helpers below. This file is not in the package's
|
|
18
|
+
* `exports` map.
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
/** The registered symbol keying the internal slot. */
|
|
22
|
+
export const INTERNAL = Symbol.for('@awacloud/fw/internal');
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* The internal slot of an API object (or `undefined`).
|
|
26
|
+
* @param {object} api
|
|
27
|
+
* @returns {any}
|
|
28
|
+
*/
|
|
29
|
+
export function internalOf(api) {
|
|
30
|
+
return api == null ? undefined : api[INTERNAL];
|
|
31
|
+
}
|
package/src/core/logger.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// Copyright (c) 2026 AwaCloud SAS
|
|
2
2
|
// Author: Matthieu Bouilloux
|
|
3
3
|
// SPDX-License-Identifier: Apache-2.0
|
|
4
4
|
|
|
@@ -18,15 +18,25 @@
|
|
|
18
18
|
* @property {function(): void} clear
|
|
19
19
|
* @property {function(LogEntry): void} [__push]
|
|
20
20
|
* @property {function(function): function} subscribe
|
|
21
|
+
* @property {function(boolean=): boolean} native Opt out of the takeover's
|
|
22
|
+
* printing policy: with `native(true)` every `console` call of the realm
|
|
23
|
+
* prints as the native console does (in production too, without the
|
|
24
|
+
* appended stack) and is still recorded; `native(false)` restores the
|
|
25
|
+
* policy (printed only in dev). Returns `false` when the realm's console
|
|
26
|
+
* is not an fw console (locked by another script), `true` otherwise.
|
|
21
27
|
*/
|
|
22
28
|
|
|
23
29
|
/**
|
|
24
30
|
* Create a lightweight in-memory logger and optionally proxy to the real console.
|
|
25
31
|
* Note: In a browser-shaped realm (`window` defined) this replaces
|
|
26
|
-
* `window.console` with a non-modifiable wrapper
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
32
|
+
* `window.console` with a non-modifiable wrapper: every call is recorded in
|
|
33
|
+
* the buffer, and printed only when `dev` is true; assigning a console
|
|
34
|
+
* method is refused (a warning). A later call in the same realm (a second
|
|
35
|
+
* fw entry) joins that wrapper — its buffer records the same calls — instead
|
|
36
|
+
* of redefining it; a console another script locked is left alone. Under
|
|
37
|
+
* bare Node or a worker-shaped realm (no `window`), the console Proxy
|
|
38
|
+
* install is SKIPPED — logging still works as a plain passthrough via
|
|
39
|
+
* `globalThis.console`.
|
|
30
40
|
* @param {boolean} dev When true, forward logs to the original console.
|
|
31
41
|
* @returns {LoggerAPI}
|
|
32
42
|
*/
|
|
@@ -130,16 +140,30 @@ const main = function(dev) {
|
|
|
130
140
|
return stack.split('\n');
|
|
131
141
|
};
|
|
132
142
|
|
|
143
|
+
// The loggers fed by an fw console proxy: the one that installed it, then
|
|
144
|
+
// every later fw entry of the same realm, which joins instead of
|
|
145
|
+
// redefining the locked `console` (that threw: "readonly property").
|
|
146
|
+
const SINKS = Symbol.for('@awacloud/fw/console-sinks');
|
|
147
|
+
// The realm's printing mode, shared by every logger fed by the proxy.
|
|
148
|
+
const MODE = Symbol.for('@awacloud/fw/console-mode');
|
|
149
|
+
|
|
133
150
|
const createConsoleProxy = function (target) {
|
|
151
|
+
const sinks = [log];
|
|
152
|
+
const mode = { native: false };
|
|
134
153
|
return new Proxy(target, {
|
|
135
154
|
get: function (obj, prop) {
|
|
155
|
+
if (prop === SINKS) return sinks;
|
|
156
|
+
if (prop === MODE) return mode;
|
|
136
157
|
const value = obj[prop];
|
|
137
158
|
if (typeof value !== 'function') {
|
|
138
159
|
return value;
|
|
139
160
|
}
|
|
140
161
|
return function () {
|
|
141
162
|
const err = new Error().stack;
|
|
142
|
-
|
|
163
|
+
for (let i = 0; i < sinks.length; i++) sinks[i](String(prop), [...arguments], err);
|
|
164
|
+
if (mode.native) {
|
|
165
|
+
return value.apply(obj, arguments);
|
|
166
|
+
}
|
|
143
167
|
if (dev) {
|
|
144
168
|
return value.apply(obj, [...arguments, formatStack(err)]);
|
|
145
169
|
}
|
|
@@ -153,16 +177,33 @@ const main = function(dev) {
|
|
|
153
177
|
};
|
|
154
178
|
|
|
155
179
|
if (hasWindow) {
|
|
156
|
-
const
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
180
|
+
const joined = consoleHolder && consoleHolder[SINKS];
|
|
181
|
+
if (Array.isArray(joined)) {
|
|
182
|
+
// An fw console already: record through it too.
|
|
183
|
+
joined.push(log);
|
|
184
|
+
} else {
|
|
185
|
+
const desc = Object.getOwnPropertyDescriptor(window, 'console');
|
|
186
|
+
// A console locked by something else is left as it is.
|
|
187
|
+
if (!desc || desc.configurable || desc.writable) {
|
|
188
|
+
const currentConsole = createConsoleProxy(consoleHolder);
|
|
189
|
+
Object.defineProperty(window, 'console', {
|
|
190
|
+
value: currentConsole,
|
|
191
|
+
writable: false,
|
|
192
|
+
enumerable: false,
|
|
193
|
+
configurable: false
|
|
194
|
+
});
|
|
195
|
+
}
|
|
196
|
+
}
|
|
163
197
|
}
|
|
164
198
|
|
|
165
|
-
|
|
199
|
+
const native = function (on) {
|
|
200
|
+
const m = hasWindow && window.console ? window.console[MODE] : null;
|
|
201
|
+
if (!m || typeof m !== 'object') return false;
|
|
202
|
+
m.native = on !== false;
|
|
203
|
+
return true;
|
|
204
|
+
};
|
|
205
|
+
|
|
206
|
+
return { get, setLen, clear, __push, subscribe, native };
|
|
166
207
|
};
|
|
167
208
|
|
|
168
209
|
/**
|
|
@@ -332,16 +373,30 @@ const worker = function(dev, port) {
|
|
|
332
373
|
return stack.split('\n');
|
|
333
374
|
};
|
|
334
375
|
|
|
376
|
+
// The loggers fed by an fw console proxy: the one that installed it, then
|
|
377
|
+
// every later fw entry of the same realm, which joins instead of
|
|
378
|
+
// redefining the locked `console` (that threw: "readonly property").
|
|
379
|
+
const SINKS = Symbol.for('@awacloud/fw/console-sinks');
|
|
380
|
+
// The realm's printing mode, shared by every logger fed by the proxy.
|
|
381
|
+
const MODE = Symbol.for('@awacloud/fw/console-mode');
|
|
382
|
+
|
|
335
383
|
const createConsoleProxy = function (target) {
|
|
384
|
+
const sinks = [log];
|
|
385
|
+
const mode = { native: false };
|
|
336
386
|
return new Proxy(target, {
|
|
337
387
|
get: function (obj, prop) {
|
|
388
|
+
if (prop === SINKS) return sinks;
|
|
389
|
+
if (prop === MODE) return mode;
|
|
338
390
|
const value = obj[prop];
|
|
339
391
|
if (typeof value !== 'function') {
|
|
340
392
|
return value;
|
|
341
393
|
}
|
|
342
394
|
return function () {
|
|
343
395
|
const err = new Error().stack;
|
|
344
|
-
|
|
396
|
+
for (let i = 0; i < sinks.length; i++) sinks[i](String(prop), [...arguments], err);
|
|
397
|
+
if (mode.native) {
|
|
398
|
+
return value.apply(obj, arguments);
|
|
399
|
+
}
|
|
345
400
|
if (dev) {
|
|
346
401
|
return value.apply(obj, [...arguments, formatStack(err)]);
|
|
347
402
|
}
|
|
@@ -354,15 +409,32 @@ const worker = function(dev, port) {
|
|
|
354
409
|
});
|
|
355
410
|
};
|
|
356
411
|
|
|
357
|
-
const
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
412
|
+
const joined = consoleHolder && consoleHolder[SINKS];
|
|
413
|
+
if (Array.isArray(joined)) {
|
|
414
|
+
// An fw console already (a second logger in this worker): record through it too.
|
|
415
|
+
joined.push(log);
|
|
416
|
+
} else {
|
|
417
|
+
const desc = Object.getOwnPropertyDescriptor(self, 'console');
|
|
418
|
+
// A console locked by something else is left as it is.
|
|
419
|
+
if (!desc || desc.configurable || desc.writable) {
|
|
420
|
+
const currentConsole = createConsoleProxy(consoleHolder);
|
|
421
|
+
Object.defineProperty(self, 'console', {
|
|
422
|
+
value: currentConsole,
|
|
423
|
+
writable: false,
|
|
424
|
+
enumerable: false,
|
|
425
|
+
configurable: false
|
|
426
|
+
});
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
const native = function (on) {
|
|
431
|
+
const m = self.console ? self.console[MODE] : null;
|
|
432
|
+
if (!m || typeof m !== 'object') return false;
|
|
433
|
+
m.native = on !== false;
|
|
434
|
+
return true;
|
|
435
|
+
};
|
|
364
436
|
|
|
365
|
-
return {get, setLen, clear, subscribe};
|
|
437
|
+
return {get, setLen, clear, subscribe, native};
|
|
366
438
|
};
|
|
367
439
|
|
|
368
440
|
const logger = {
|
package/src/core/modules.js
CHANGED
|
@@ -13,6 +13,7 @@ import { fullscreen } from '../dom/display/fullscreen.js';
|
|
|
13
13
|
|
|
14
14
|
// dom/fs
|
|
15
15
|
import { download } from '../dom/fs/download.js';
|
|
16
|
+
import { fileIntake } from '../dom/fs/fileIntake.js';
|
|
16
17
|
import { fsAccess } from '../dom/fs/fsAccess.js';
|
|
17
18
|
import { indexedDB } from '../dom/fs/indexedDB.js';
|
|
18
19
|
import { remoteStore } from '../dom/fs/remoteStore.js';
|
|
@@ -37,6 +38,7 @@ import { dom } from '../dom/query/dom.js';
|
|
|
37
38
|
import { events } from '../dom/query/events.js';
|
|
38
39
|
import { gesture } from '../dom/query/gesture.js';
|
|
39
40
|
import { media } from '../dom/query/media.js';
|
|
41
|
+
import { sound } from '../dom/query/sound.js';
|
|
40
42
|
|
|
41
43
|
// dom/rendering
|
|
42
44
|
import { chart } from '../dom/rendering/chart.js';
|
|
@@ -50,6 +52,7 @@ import { sanitize } from '../dom/rendering/sanitize.js';
|
|
|
50
52
|
import { secPolicy } from '../dom/rendering/secPolicy.js';
|
|
51
53
|
import { template } from '../dom/rendering/template.js';
|
|
52
54
|
import { themeTokens } from '../dom/rendering/themeTokens.js';
|
|
55
|
+
import { styleSheet } from '../dom/rendering/styleSheet.js';
|
|
53
56
|
import { uiSession } from '../dom/rendering/uiSession.js';
|
|
54
57
|
import { uiSessionCore } from '../dom/rendering/uiSession-core.js';
|
|
55
58
|
import { uiSessionDirect } from '../dom/rendering/uiSession-direct.js';
|
|
@@ -65,9 +68,12 @@ import { sensors } from '../dom/sensors/sensors.js';
|
|
|
65
68
|
// dom/sw
|
|
66
69
|
import { backgroundSync } from '../dom/sw/backgroundSync.js';
|
|
67
70
|
import { cache } from '../dom/sw/cache.js';
|
|
71
|
+
import { installPrompt } from '../dom/sw/installPrompt.js';
|
|
72
|
+
import { precache } from '../dom/sw/precache.js';
|
|
68
73
|
import { push } from '../dom/sw/push.js';
|
|
69
74
|
import { serviceWorker } from '../dom/sw/serviceWorker.js';
|
|
70
75
|
import { sharedWorker } from '../dom/sw/sharedWorker.js';
|
|
76
|
+
import { swUpdate } from '../dom/sw/swUpdate.js';
|
|
71
77
|
|
|
72
78
|
// dom/utils
|
|
73
79
|
import { a11y } from '../dom/utils/a11y.js';
|
|
@@ -223,11 +229,11 @@ import { aes_modes } from '../crypto/utils/aes_modes.js';
|
|
|
223
229
|
import { bn } from '../crypto/utils/bn.js';
|
|
224
230
|
import { pad } from '../crypto/utils/pad.js';
|
|
225
231
|
import { random } from '../crypto/utils/random.js';
|
|
226
|
-
import { aes_ctr } from '../crypto/utils/aes_ctr.js';
|
|
227
232
|
import { uuid } from '../crypto/utils/uuid.js';
|
|
228
233
|
import { rsaKeygen } from '../crypto/utils/rsaKeygen.js';
|
|
229
234
|
import { jws } from '../crypto/utils/jws.js';
|
|
230
235
|
import { keyformat } from '../crypto/utils/keyformat.js';
|
|
236
|
+
import { x509 } from '../crypto/utils/x509.js';
|
|
231
237
|
import { totp } from '../crypto/utils/totp.js';
|
|
232
238
|
|
|
233
239
|
// crypto/webcrypto
|
|
@@ -267,23 +273,26 @@ import { wasmX25519 } from '../crypto/wasm/x25519.js';
|
|
|
267
273
|
|
|
268
274
|
/* !dev_only */
|
|
269
275
|
|
|
270
|
-
|
|
276
|
+
// Frozen: an import of the registry cannot add, drop or replace a module
|
|
277
|
+
// for every other importer (D9 G1).
|
|
278
|
+
export default Object.freeze([
|
|
271
279
|
processMessage, processRPC, workerPool, clock, rateLimit, scheduler, sse, webrtc, broadcastChannel, network,
|
|
272
|
-
backgroundSync, cache, push, serviceWorker,
|
|
280
|
+
backgroundSync, cache, precache, push, serviceWorker, swUpdate, sharedWorker, installPrompt,
|
|
281
|
+
date, i18n, ansi, htmlEntities, semver, str, unicode,
|
|
273
282
|
lruCache, heap, ringBuffer, trie, btree, treeWalker, abort, mutex, semaphore, channel, atomics, cancellable,
|
|
274
283
|
tokenBucket, binaryReader, binaryWriter, easing, crc32, adler32, bigint, linalg, stats, geom, interp, fixedPoint,
|
|
275
284
|
geolocation, battery, networkInfo, sensors, a11y, focus, form, formKit, keybindings, leaderElection, notifications,
|
|
276
285
|
permissions, route, webauthn, visibility, idle, wakeLock, lz4, bitstream, huffman, lz77, lzw, deflate, gzip, zlib,
|
|
277
286
|
zip, brotliDict, brotliDictWords, brotli, brotliShared, brotliFrame, b64, base32, base58, buffer, cbor, csv, hex,
|
|
278
287
|
mime, msgpack, url, utf8, xml, errors, eventBus, bitmap, queue, signal, ui8, uuid, valid, chart, component, parser,
|
|
279
|
-
reactiveBind, render, sanitize, secPolicy, template, themeTokens, devtools, devtoolsUI, uiSession, uiSessionCore, uiSessionDirect,
|
|
280
|
-
uiSessionList, virtualScroll, dnd, dom, events, gesture, media, animate, fullscreen, download, fsAccess,
|
|
288
|
+
reactiveBind, render, sanitize, secPolicy, template, themeTokens, styleSheet, devtools, devtoolsUI, uiSession, uiSessionCore, uiSessionDirect,
|
|
289
|
+
uiSessionList, virtualScroll, dnd, dom, events, gesture, media, sound, animate, fullscreen, download, fileIntake, fsAccess,
|
|
281
290
|
indexedDB, remoteStore, storage, ajax, ws, entropyCollector, clipboard, ua, bitArray, asn1, asn1Oid, pem,
|
|
282
|
-
aes_modes, bn, pad, random,
|
|
291
|
+
aes_modes, bn, pad, random, sha256, sha224, sha512, sha512_224, sha512_256, sha384, hmac, pbkdf2,
|
|
283
292
|
hkdf, sha3, adf, poly1305, blake2b, argon2, aes, chacha20, ctr, cbc, gcm, cmac, kw, chacha20poly1305, ecc,
|
|
284
|
-
x25519, ed25519, rsa, ml_kem, ml_dsa, slh_dsa, hybridKem, hybridSign, rsaKeygen, jws, keyformat, totp,
|
|
293
|
+
x25519, ed25519, rsa, ml_kem, ml_dsa, slh_dsa, hybridKem, hybridSign, rsaKeygen, jws, keyformat, x509, totp,
|
|
285
294
|
webcryptoDigest, webcryptoHmac, webcryptoPbkdf2, webcryptoHkdf, webcryptoAes, webcryptoAesKw, webcryptoRsa,
|
|
286
295
|
webcryptoEcc, webcryptoEd25519, webcryptoX25519,
|
|
287
296
|
wasmRuntime, wasmArgon2, wasmMlKem, wasmMlDsa, wasmSlhDsa, wasmSha3, wasmBlake2b, wasmChacha20poly1305,
|
|
288
297
|
wasmCmac, wasmSha2, wasmHmac, wasmPbkdf2, wasmHkdf, wasmAes, wasmRsa, wasmEcc, wasmEd25519, wasmX25519
|
|
289
|
-
];
|
|
298
|
+
]);
|
package/src/core/readyState.js
CHANGED