From 87fec228cc528f2b42c9398ae77ae721d6ba70e1 Mon Sep 17 00:00:00 2001 From: Hexagon Date: Fri, 8 Mar 2024 18:18:00 +0100 Subject: [PATCH] Punycode -> punycode.js. Update deps. Bump to 3.5.1. (#161) --- deno-lock.json | 187 +++++++++++--------- import_map.json | 10 +- lib/toolbox.js | 2 +- package-lock.json | 434 ++++++++++++++++++++++------------------------ package.json | 17 +- 5 files changed, 327 insertions(+), 323 deletions(-) diff --git a/deno-lock.json b/deno-lock.json index a87ffcb9..f6cc827c 100644 --- a/deno-lock.json +++ b/deno-lock.json @@ -1,93 +1,108 @@ { - "version": "2", + "version": "3", + "redirects": { + "https://unpkg.com/asn1js@3.0.5?module": "https://unpkg.com/asn1js@3.0.5/build/index.es.js?module", + "https://unpkg.com/asn1js@^3.0.5?module": "https://unpkg.com/asn1js@3.0.5/build/index.es.js?module", + "https://unpkg.com/bytestreamjs@2.0.1/build/mjs/bit?module": "https://unpkg.com/bytestreamjs@2.0.1/build/mjs/bit.js?module", + "https://unpkg.com/bytestreamjs@2.0.1/build/mjs/bit_stream?module": "https://unpkg.com/bytestreamjs@2.0.1/build/mjs/bit_stream.js?module", + "https://unpkg.com/bytestreamjs@2.0.1/build/mjs/byte_stream?module": "https://unpkg.com/bytestreamjs@2.0.1/build/mjs/byte_stream.js?module", + "https://unpkg.com/bytestreamjs@2.0.1/build/mjs/helpers?module": "https://unpkg.com/bytestreamjs@2.0.1/build/mjs/helpers.js?module", + "https://unpkg.com/bytestreamjs@2.0.1/build/mjs/seq_bit_stream?module": "https://unpkg.com/bytestreamjs@2.0.1/build/mjs/seq_bit_stream.js?module", + "https://unpkg.com/bytestreamjs@2.0.1/build/mjs/seq_stream?module": "https://unpkg.com/bytestreamjs@2.0.1/build/mjs/seq_stream.js?module", + "https://unpkg.com/bytestreamjs@^2.0.0?module": "https://unpkg.com/bytestreamjs@2.0.1/build/mjs/index.js?module", + "https://unpkg.com/pkijs@3.0.15?module": "https://unpkg.com/pkijs@3.0.15/build/index.es.js?module", + "https://unpkg.com/pvtsutils@^1.3.2?module": "https://unpkg.com/pvtsutils@1.3.5/build/index.es.js?module", + "https://unpkg.com/pvutils@^1.1.3?module": "https://unpkg.com/pvutils@1.1.3/build/utils.es.js?module" + }, "remote": { "https://deno.land/std@0.136.0/fmt/colors.ts": "30455035d6d728394781c10755351742dd731e3db6771b1843f9b9e490104d37", "https://deno.land/std@0.136.0/testing/_diff.ts": "d8743b5c15d34eb58ae7e4ad43295ee1c7a935029b460a056d901f3aefcead45", "https://deno.land/std@0.136.0/testing/_format.ts": "0d8dc79eab15b67cdc532826213bbe05bccfd276ca473a50a3fc7bbfb7260642", "https://deno.land/std@0.136.0/testing/asserts.ts": "61d85fc80f548a6e1e66d93fb7874a2c9e097aeecc00643c5f4f340370cde56f", - "https://deno.land/x/b64@1.1.26/dist/base64.min.mjs": "5db46b11a4703ff46938016afbaca5a2b4545ef714bc53297f5c9ae176b70673", - "https://deno.land/x/cbor@v1.5.2/decode.js": "ab5518450c1cc3d8e3be7a772de8008d2a4f92626630eed6fabd66a25f565526", - "https://deno.land/x/cbor@v1.5.2/encode.js": "80da1bb1c2936bba0b53e7e0945d73c5a55ed62ea659cf3d785514310b4e3d37", - "https://deno.land/x/cbor@v1.5.2/index.js?module": "cc8678819d77aa34b6fa9293658d85d5e53e53eaf555f85b0f98a8a18dbfaa12", - "https://deno.land/x/cbor@v1.5.2/iterators.js": "744e0469fe37c33bab3787608ced2f2cda014cb9352b3adbd949a2701f043aea", - "https://deno.land/x/jose@v4.14.4/index.ts?module": "5e551713b783fa8658c4e09e8029ba31fc99cb3fc82e9434067708015c26eefb", - "https://deno.land/x/jose@v4.14.4/jwe/compact/decrypt.ts": "3649ed7b978e77add955a9cbf0cf5c72e24f93ba7c4529d6566c0dd8b99373c4", - "https://deno.land/x/jose@v4.14.4/jwe/compact/encrypt.ts": "1afcc6fa6b15cc0c6e0203b46d25628df484a360c82e973ecb5e393e7e5045e5", - "https://deno.land/x/jose@v4.14.4/jwe/flattened/decrypt.ts": "50fb1da167c6912d86cac8db369995b14fae730e5aaf234ce7c0677759610d19", - "https://deno.land/x/jose@v4.14.4/jwe/flattened/encrypt.ts": "4534e901d1cb74aa0033cb575af64b69d3a4612570ec3cbc19d958264d26ab40", - "https://deno.land/x/jose@v4.14.4/jwe/general/decrypt.ts": "81df68fadf11486845ac24100fbdeab7331b5c4a5efc1469c8c6ce30139b44e5", - "https://deno.land/x/jose@v4.14.4/jwe/general/encrypt.ts": "ad260501c583f013a393cce144060b278254c25fb5f48d37f31ccc5fdaf58e1c", - "https://deno.land/x/jose@v4.14.4/jwk/embedded.ts": "26d27b429d4cb7d38790889bcf24c5c19fa18aa2c813d808d65e2d1f602461bb", - "https://deno.land/x/jose@v4.14.4/jwk/thumbprint.ts": "054ed9e231f96f112cbf2765634633ddd4cd20365030d5d857e754774db80d70", - "https://deno.land/x/jose@v4.14.4/jwks/local.ts": "af7b608e0bf6bd5a246817b9e0261d3f1cd5954cf7e35276c1b7deb00778a94b", - "https://deno.land/x/jose@v4.14.4/jwks/remote.ts": "09a414cb2e96bc18919281944432df5e7a157c8af5455cd24d0d6fe3ac0f9b71", - "https://deno.land/x/jose@v4.14.4/jws/compact/sign.ts": "1e88d19dc26d3ea5f2ce3da989813daf5c555d8dec6528051530f7b5a3e87bae", - "https://deno.land/x/jose@v4.14.4/jws/compact/verify.ts": "eaf38d96a99120dc0646b4f242f46dc68282d8a6dacc804a356f60251e5f164d", - "https://deno.land/x/jose@v4.14.4/jws/flattened/sign.ts": "be5db0e622a6c5b1e905338d33851e89e956350c9d774de50c70f30a6a156356", - "https://deno.land/x/jose@v4.14.4/jws/flattened/verify.ts": "a33cceddfea487e08815baa81daa7577e933cf931bf4ee18ab676dec43477069", - "https://deno.land/x/jose@v4.14.4/jws/general/sign.ts": "b40b40ce59f12dc58d30a553cb865821d8c2487513c144f608163e847d5a5375", - "https://deno.land/x/jose@v4.14.4/jws/general/verify.ts": "358f828fe681147b2fdb37fd95fd158ab53d56094e6fc688d8e8cb1a18b4fcb6", - "https://deno.land/x/jose@v4.14.4/jwt/decrypt.ts": "4df7341c74773f7ed98a8b906e72137701759bea3d1c0a0b9695b3424ead03b8", - "https://deno.land/x/jose@v4.14.4/jwt/encrypt.ts": "cdba36a63f16263fc3f827a08beefbff738fea6b4bb588b9e213ff68696c7ba6", - "https://deno.land/x/jose@v4.14.4/jwt/produce.ts": "dfe55ae98056a40be6fda924144c0656bb19c8bbf3fe35d842efe2d1545df3e4", - "https://deno.land/x/jose@v4.14.4/jwt/sign.ts": "54d0a761056edeec428a956abd8db034a20536d87fc7b7a2d4fbf953e931aa37", - "https://deno.land/x/jose@v4.14.4/jwt/unsecured.ts": "c829502b1bc3f6153ed550f081b9e79b6ed25e2196708b154a11e85d8036cc18", - "https://deno.land/x/jose@v4.14.4/jwt/verify.ts": "73afafd96c7e7f008d062f4be86157f32b577d94dd40a91c6842d694c9986553", - "https://deno.land/x/jose@v4.14.4/key/export.ts": "5addf06a10ce16bb24e630a8f0e5473eff2cbc1ac549ba29fd8ecf0610778edc", - "https://deno.land/x/jose@v4.14.4/key/generate_key_pair.ts": "74fa98acae05f132c4e986e7a026223c4ba9729eee5a1fb94e1b8b621c3c3fc6", - "https://deno.land/x/jose@v4.14.4/key/generate_secret.ts": "5883fb32f24d62639bc7b0c2e6cd2de2a86df74ed6c8e00126ffeb788ab66d1a", - "https://deno.land/x/jose@v4.14.4/key/import.ts": "cdf200d1eea914677117835c36f5332924fb2e5cb6fd07594b6455b3ab0f7749", - "https://deno.land/x/jose@v4.14.4/lib/aesgcmkw.ts": "9415c556597be41a4a2f7203fd32fb00d1f06b6b2cfef70d481acec39c7807d6", - "https://deno.land/x/jose@v4.14.4/lib/buffer_utils.ts": "dad65c92c9baef14cd5366a4131252afa7a5b4f3a068d0244e2df8660ea2bd8e", - "https://deno.land/x/jose@v4.14.4/lib/cek.ts": "a474becfe1c2d86fbcf3a24cdcd96274beb8d61bd17926e5f345001f39df922b", - "https://deno.land/x/jose@v4.14.4/lib/check_iv_length.ts": "118eb531167126c8421d71a21f2cfdc10a658c933e178b33395ef3e962c54f80", - "https://deno.land/x/jose@v4.14.4/lib/check_key_type.ts": "81f5a2c3764464d2b917a1c55c6011d312184e8c68e43bee51565c2db1b166c4", - "https://deno.land/x/jose@v4.14.4/lib/check_p2s.ts": "2f5549e121c43019ac85a3bb3fe8cb98a397122dcaa80f3cd8bf5fcf314e1f67", - "https://deno.land/x/jose@v4.14.4/lib/crypto_key.ts": "3da8e265080fb72be9f66a33c6aa76c7176b6162b4ae2534828822cf9c5b04e8", - "https://deno.land/x/jose@v4.14.4/lib/decrypt_key_management.ts": "25553575fa7fb97576cd010ff7d22025b566c75f43406aba5fb0c5b9c56a2e51", - "https://deno.land/x/jose@v4.14.4/lib/encrypt_key_management.ts": "ec08f264e7dde341171d6272e9db639ae3718cc7047b3117735ab960d9bd01d4", - "https://deno.land/x/jose@v4.14.4/lib/epoch.ts": "cd608f73f6c100e8156c6020ec2bce6757e01759793f0d6aab23908d3d2ea933", - "https://deno.land/x/jose@v4.14.4/lib/format_pem.ts": "b5230682e7a89609238015b77f33afd248f3e0f69bcb5895eece2f86d83100f6", - "https://deno.land/x/jose@v4.14.4/lib/invalid_key_input.ts": "9ca81c899000c18cf1b70ab8221f39b306cc153663e748190307e284fd47ab6a", - "https://deno.land/x/jose@v4.14.4/lib/is_disjoint.ts": "b5ea1cb260899f5cfb04f032029956e637067714a275d13be429fc53287a4b17", - "https://deno.land/x/jose@v4.14.4/lib/is_object.ts": "43549ddc51a3b3d4c22b953b191a961fbb61fb5081e8efb88ad075afa1f4d214", - "https://deno.land/x/jose@v4.14.4/lib/iv.ts": "4766d9ad87b478bb7344094f38c8561181b72f8678edd1b5226d1e0f9ab677fc", - "https://deno.land/x/jose@v4.14.4/lib/jwt_claims_set.ts": "af0a315486eaef0b9c5f019d4bc74cd5cfdc7ea242a9ce696dcf8630c02a80e8", - "https://deno.land/x/jose@v4.14.4/lib/secs.ts": "03a2f02fda0f76bf431734552a947c2916c699b904ae0d2f90a415931c30e66d", - "https://deno.land/x/jose@v4.14.4/lib/validate_algorithms.ts": "6b20f4b5f6935cd9edcd6eb2128226144ba792eaa7c47966c666a51baf1682eb", - "https://deno.land/x/jose@v4.14.4/lib/validate_crit.ts": "6d2b43959ddf432060505ef13af32cb1bf0daff815ef1eae4d7971629566a695", - "https://deno.land/x/jose@v4.14.4/runtime/aeskw.ts": "a9bd412c6d07b2606520972671a545cdb205f79f0a2e9ec0fb145fb2147319e1", - "https://deno.land/x/jose@v4.14.4/runtime/asn1.ts": "7fbd7affe92faac7e10c571f727ef819824ebd68058c6a1e0323ced7a26777ac", - "https://deno.land/x/jose@v4.14.4/runtime/base64url.ts": "74ecb18b90de56bcc4424b6c911cfe49b56dd4a316978f5c8ee9a23560069636", - "https://deno.land/x/jose@v4.14.4/runtime/bogus.ts": "4f1c967b0d9b4e7105e16ad8c173da55708f377ee5e201d8ee5fc613f3417f08", - "https://deno.land/x/jose@v4.14.4/runtime/check_cek_length.ts": "2ee093fcb273602449ed7863ab6bd4dd2a7aeff99507e0573e3cd4b8d8099e5d", - "https://deno.land/x/jose@v4.14.4/runtime/check_key_length.ts": "5656870cc4460602775134280bf46f17e27100b237bdb5c687aceabeffc8f2a2", - "https://deno.land/x/jose@v4.14.4/runtime/decrypt.ts": "fc24eadefce13095a4012972a1552f148d9d12d8ed7d1f17ed7c87e00810335f", - "https://deno.land/x/jose@v4.14.4/runtime/digest.ts": "cee73fad56ce596ffedc56811d174ab413e7981eb847eb67c0e77f213cc2ac2d", - "https://deno.land/x/jose@v4.14.4/runtime/ecdhes.ts": "74a6f43dde87736179d814312b010087bea0c834f51adc9a93f79664f78cb75f", - "https://deno.land/x/jose@v4.14.4/runtime/encrypt.ts": "50d400ab152e2d66bffccf7473545097dd69894bc05508530260c8bc0d811638", - "https://deno.land/x/jose@v4.14.4/runtime/fetch_jwks.ts": "34b71aa6bbd51984d1009792499ea17133dcb11bf2f2d8fba60e8090d900fc20", - "https://deno.land/x/jose@v4.14.4/runtime/generate.ts": "bc25cf20301cfd6feabb56847e3d5fbe2fc8c11c82e6ad942d27c21fa1f863f0", - "https://deno.land/x/jose@v4.14.4/runtime/get_sign_verify_key.ts": "f08a086524491a54fb2a0e203819d4ca2b193444aecf6dfbaf6d400431cb439c", - "https://deno.land/x/jose@v4.14.4/runtime/interfaces.d.ts": "19de45286493ae3cf3c8a920190aff2e58edf0b8cbac20591e970ec0e510a91f", - "https://deno.land/x/jose@v4.14.4/runtime/is_key_like.ts": "d9660a40820d254843721a53b51eb94a4db39a1ee36103ea8c28e2cc2207599b", - "https://deno.land/x/jose@v4.14.4/runtime/jwk_to_key.ts": "3779cb38ea2857b37f378a45d6b27651eb672f398ddae16cd1fb2aacaa451df5", - "https://deno.land/x/jose@v4.14.4/runtime/key_to_jwk.ts": "2af6f52abbe59316fa96771da48538c8f718b6fdd8703d185f8a87ef44c0f064", - "https://deno.land/x/jose@v4.14.4/runtime/pbes2kw.ts": "1c424aade1ef8c69f0b9db635ff04d873f7c1b2615c7fbef49ee053704912e9d", - "https://deno.land/x/jose@v4.14.4/runtime/random.ts": "3e9c8d08208e5dc186ae659535f0018303ff3b56615335bf0dfb5904fe36aab7", - "https://deno.land/x/jose@v4.14.4/runtime/rsaes.ts": "124b6e87d8569b39d6f550b371303c79e9eb28aa0d9b14025eeaffe50282c987", - "https://deno.land/x/jose@v4.14.4/runtime/sign.ts": "1524f8855538ca5fd607cd681f804ba421b0ec58f562118f3c635324ba053f90", - "https://deno.land/x/jose@v4.14.4/runtime/subtle_dsa.ts": "bab28945afd1aac19d3142a70f0c44c4b283b581d33cf8e1234889b58338e80d", - "https://deno.land/x/jose@v4.14.4/runtime/subtle_rsaes.ts": "26147da83932ebf7266d69ddd408f269395de05ddde64ba4e1585571bb61bd93", - "https://deno.land/x/jose@v4.14.4/runtime/timing_safe_equal.ts": "fc5b3f4132cec56630eac4677fef2b519707a9c6a257f8ae86515b0d86ff5f6b", - "https://deno.land/x/jose@v4.14.4/runtime/verify.ts": "d391e2286b47485247b475016c66999f5146a1cf8331115385a9ba629251c15e", - "https://deno.land/x/jose@v4.14.4/runtime/webcrypto.ts": "3365b7d62eaa7e6befe5e2f4f67aa7859805c41b87064433b6e70f94501aa36e", - "https://deno.land/x/jose@v4.14.4/runtime/zlib.ts": "74a4c85d1a6e523282ae927412d58e6789a8d7264b4e966a7df800a97f28a1e1", - "https://deno.land/x/jose@v4.14.4/types.d.ts": "55472cf3a27b7282dc258a1c24ea32f7433d34597c9f3804bebabf49e6647728", - "https://deno.land/x/jose@v4.14.4/util/base64url.ts": "d2567042684de8bf1e4f1ad67be40ab343ee192ddf1cf12ff1d940d6c1fa2bcb", - "https://deno.land/x/jose@v4.14.4/util/decode_jwt.ts": "704e28d29feeadfa331259caae66951b5d4c62b0c6ee23c62f70b47db978cd1a", - "https://deno.land/x/jose@v4.14.4/util/decode_protected_header.ts": "546eac15dd97d267373cb3d8d9a94ad03481f1328c4457560ffde9a5a595ebe8", - "https://deno.land/x/jose@v4.14.4/util/errors.ts": "107a41f79bd8a226c836080f617809cd148e00112fdadc0e15c3a6079da02f5d", + "https://deno.land/x/b64@1.1.25/dist/base64.min.mjs": "1ee1f0776c0a2038fc8496b470a2651d2f5b604319eaa7daf300548526f95c93", + "https://deno.land/x/b64@1.1.28/dist/base64.min.mjs": "3af421878b7d88ecc08af2735842f951af79a73afe3f490034e2e1972f295410", + "https://deno.land/x/cbor@v1.5.8/decode.js": "c11597d7e31641a59af7f3b3b3ef15bd9a697e2e6ecfa6670efcb9937b991ad9", + "https://deno.land/x/cbor@v1.5.8/encode.js": "7d7107d73a42c37a096c0f8838b6e43a310b0e4868b911c6de0f6dc7ffa5f1b2", + "https://deno.land/x/cbor@v1.5.8/index.js?module": "cc8678819d77aa34b6fa9293658d85d5e53e53eaf555f85b0f98a8a18dbfaa12", + "https://deno.land/x/cbor@v1.5.8/iterators.js": "744e0469fe37c33bab3787608ced2f2cda014cb9352b3adbd949a2701f043aea", + "https://deno.land/x/jose@v4.15.4/index.ts?module": "001561816081376605a2226a401c3841f3b9b79fca17ae8d1a1f26c40aed16ca", + "https://deno.land/x/jose@v4.15.4/jwe/compact/decrypt.ts": "3649ed7b978e77add955a9cbf0cf5c72e24f93ba7c4529d6566c0dd8b99373c4", + "https://deno.land/x/jose@v4.15.4/jwe/compact/encrypt.ts": "d147705bc7e2675cfb546f78676ec91f432c93ff28022f7125a71d72454bec90", + "https://deno.land/x/jose@v4.15.4/jwe/flattened/decrypt.ts": "15985387a637d542bfc985c0c52d0fe0906118ba74402a6dbdd7c0c4e311ecc4", + "https://deno.land/x/jose@v4.15.4/jwe/flattened/encrypt.ts": "3081453bdc4d94e04e7ba34ccc3d8fd9253a8953bfd5343082b2fa8d639f4928", + "https://deno.land/x/jose@v4.15.4/jwe/general/decrypt.ts": "81df68fadf11486845ac24100fbdeab7331b5c4a5efc1469c8c6ce30139b44e5", + "https://deno.land/x/jose@v4.15.4/jwe/general/encrypt.ts": "ad260501c583f013a393cce144060b278254c25fb5f48d37f31ccc5fdaf58e1c", + "https://deno.land/x/jose@v4.15.4/jwk/embedded.ts": "26d27b429d4cb7d38790889bcf24c5c19fa18aa2c813d808d65e2d1f602461bb", + "https://deno.land/x/jose@v4.15.4/jwk/thumbprint.ts": "dddb12cfccb323b1d49e56ac8250bcaa3740d632376dc58ebb16491e3e574e3d", + "https://deno.land/x/jose@v4.15.4/jwks/local.ts": "af7b608e0bf6bd5a246817b9e0261d3f1cd5954cf7e35276c1b7deb00778a94b", + "https://deno.land/x/jose@v4.15.4/jwks/remote.ts": "09a414cb2e96bc18919281944432df5e7a157c8af5455cd24d0d6fe3ac0f9b71", + "https://deno.land/x/jose@v4.15.4/jws/compact/sign.ts": "1e88d19dc26d3ea5f2ce3da989813daf5c555d8dec6528051530f7b5a3e87bae", + "https://deno.land/x/jose@v4.15.4/jws/compact/verify.ts": "eaf38d96a99120dc0646b4f242f46dc68282d8a6dacc804a356f60251e5f164d", + "https://deno.land/x/jose@v4.15.4/jws/flattened/sign.ts": "be5db0e622a6c5b1e905338d33851e89e956350c9d774de50c70f30a6a156356", + "https://deno.land/x/jose@v4.15.4/jws/flattened/verify.ts": "ca2c88cbe1473bac56769c812d80c2dcd7223fab7537d6ec9c6d89a0e857d685", + "https://deno.land/x/jose@v4.15.4/jws/general/sign.ts": "b40b40ce59f12dc58d30a553cb865821d8c2487513c144f608163e847d5a5375", + "https://deno.land/x/jose@v4.15.4/jws/general/verify.ts": "358f828fe681147b2fdb37fd95fd158ab53d56094e6fc688d8e8cb1a18b4fcb6", + "https://deno.land/x/jose@v4.15.4/jwt/decrypt.ts": "4df7341c74773f7ed98a8b906e72137701759bea3d1c0a0b9695b3424ead03b8", + "https://deno.land/x/jose@v4.15.4/jwt/encrypt.ts": "b9a6de7c7ac4797d2f97f47481538752e0623e40c99cc98056cc2ae957129875", + "https://deno.land/x/jose@v4.15.4/jwt/produce.ts": "dfe55ae98056a40be6fda924144c0656bb19c8bbf3fe35d842efe2d1545df3e4", + "https://deno.land/x/jose@v4.15.4/jwt/sign.ts": "54d0a761056edeec428a956abd8db034a20536d87fc7b7a2d4fbf953e931aa37", + "https://deno.land/x/jose@v4.15.4/jwt/unsecured.ts": "c829502b1bc3f6153ed550f081b9e79b6ed25e2196708b154a11e85d8036cc18", + "https://deno.land/x/jose@v4.15.4/jwt/verify.ts": "73afafd96c7e7f008d062f4be86157f32b577d94dd40a91c6842d694c9986553", + "https://deno.land/x/jose@v4.15.4/key/export.ts": "5addf06a10ce16bb24e630a8f0e5473eff2cbc1ac549ba29fd8ecf0610778edc", + "https://deno.land/x/jose@v4.15.4/key/generate_key_pair.ts": "74fa98acae05f132c4e986e7a026223c4ba9729eee5a1fb94e1b8b621c3c3fc6", + "https://deno.land/x/jose@v4.15.4/key/generate_secret.ts": "5883fb32f24d62639bc7b0c2e6cd2de2a86df74ed6c8e00126ffeb788ab66d1a", + "https://deno.land/x/jose@v4.15.4/key/import.ts": "cdf200d1eea914677117835c36f5332924fb2e5cb6fd07594b6455b3ab0f7749", + "https://deno.land/x/jose@v4.15.4/lib/aesgcmkw.ts": "9415c556597be41a4a2f7203fd32fb00d1f06b6b2cfef70d481acec39c7807d6", + "https://deno.land/x/jose@v4.15.4/lib/buffer_utils.ts": "dad65c92c9baef14cd5366a4131252afa7a5b4f3a068d0244e2df8660ea2bd8e", + "https://deno.land/x/jose@v4.15.4/lib/cek.ts": "a474becfe1c2d86fbcf3a24cdcd96274beb8d61bd17926e5f345001f39df922b", + "https://deno.land/x/jose@v4.15.4/lib/check_iv_length.ts": "118eb531167126c8421d71a21f2cfdc10a658c933e178b33395ef3e962c54f80", + "https://deno.land/x/jose@v4.15.4/lib/check_key_type.ts": "81f5a2c3764464d2b917a1c55c6011d312184e8c68e43bee51565c2db1b166c4", + "https://deno.land/x/jose@v4.15.4/lib/check_p2s.ts": "2f5549e121c43019ac85a3bb3fe8cb98a397122dcaa80f3cd8bf5fcf314e1f67", + "https://deno.land/x/jose@v4.15.4/lib/crypto_key.ts": "3da8e265080fb72be9f66a33c6aa76c7176b6162b4ae2534828822cf9c5b04e8", + "https://deno.land/x/jose@v4.15.4/lib/decrypt_key_management.ts": "9551fc03b4952c7771e76aec46b568f28c34950811d86eb13893eb565946ddf6", + "https://deno.land/x/jose@v4.15.4/lib/encrypt_key_management.ts": "ec08f264e7dde341171d6272e9db639ae3718cc7047b3117735ab960d9bd01d4", + "https://deno.land/x/jose@v4.15.4/lib/epoch.ts": "cd608f73f6c100e8156c6020ec2bce6757e01759793f0d6aab23908d3d2ea933", + "https://deno.land/x/jose@v4.15.4/lib/format_pem.ts": "b5230682e7a89609238015b77f33afd248f3e0f69bcb5895eece2f86d83100f6", + "https://deno.land/x/jose@v4.15.4/lib/invalid_key_input.ts": "9ca81c899000c18cf1b70ab8221f39b306cc153663e748190307e284fd47ab6a", + "https://deno.land/x/jose@v4.15.4/lib/is_disjoint.ts": "b5ea1cb260899f5cfb04f032029956e637067714a275d13be429fc53287a4b17", + "https://deno.land/x/jose@v4.15.4/lib/is_object.ts": "43549ddc51a3b3d4c22b953b191a961fbb61fb5081e8efb88ad075afa1f4d214", + "https://deno.land/x/jose@v4.15.4/lib/iv.ts": "4766d9ad87b478bb7344094f38c8561181b72f8678edd1b5226d1e0f9ab677fc", + "https://deno.land/x/jose@v4.15.4/lib/jwt_claims_set.ts": "af0a315486eaef0b9c5f019d4bc74cd5cfdc7ea242a9ce696dcf8630c02a80e8", + "https://deno.land/x/jose@v4.15.4/lib/secs.ts": "03a2f02fda0f76bf431734552a947c2916c699b904ae0d2f90a415931c30e66d", + "https://deno.land/x/jose@v4.15.4/lib/validate_algorithms.ts": "6b20f4b5f6935cd9edcd6eb2128226144ba792eaa7c47966c666a51baf1682eb", + "https://deno.land/x/jose@v4.15.4/lib/validate_crit.ts": "6d2b43959ddf432060505ef13af32cb1bf0daff815ef1eae4d7971629566a695", + "https://deno.land/x/jose@v4.15.4/runtime/aeskw.ts": "a9bd412c6d07b2606520972671a545cdb205f79f0a2e9ec0fb145fb2147319e1", + "https://deno.land/x/jose@v4.15.4/runtime/asn1.ts": "695f4792d2fc092be76713a165fbb7a738554435b4fb6d5f06ac591e62b1d411", + "https://deno.land/x/jose@v4.15.4/runtime/base64url.ts": "74ecb18b90de56bcc4424b6c911cfe49b56dd4a316978f5c8ee9a23560069636", + "https://deno.land/x/jose@v4.15.4/runtime/bogus.ts": "4f1c967b0d9b4e7105e16ad8c173da55708f377ee5e201d8ee5fc613f3417f08", + "https://deno.land/x/jose@v4.15.4/runtime/check_cek_length.ts": "2ee093fcb273602449ed7863ab6bd4dd2a7aeff99507e0573e3cd4b8d8099e5d", + "https://deno.land/x/jose@v4.15.4/runtime/check_key_length.ts": "5656870cc4460602775134280bf46f17e27100b237bdb5c687aceabeffc8f2a2", + "https://deno.land/x/jose@v4.15.4/runtime/decrypt.ts": "fc24eadefce13095a4012972a1552f148d9d12d8ed7d1f17ed7c87e00810335f", + "https://deno.land/x/jose@v4.15.4/runtime/digest.ts": "cee73fad56ce596ffedc56811d174ab413e7981eb847eb67c0e77f213cc2ac2d", + "https://deno.land/x/jose@v4.15.4/runtime/ecdhes.ts": "74a6f43dde87736179d814312b010087bea0c834f51adc9a93f79664f78cb75f", + "https://deno.land/x/jose@v4.15.4/runtime/encrypt.ts": "50d400ab152e2d66bffccf7473545097dd69894bc05508530260c8bc0d811638", + "https://deno.land/x/jose@v4.15.4/runtime/fetch_jwks.ts": "34b71aa6bbd51984d1009792499ea17133dcb11bf2f2d8fba60e8090d900fc20", + "https://deno.land/x/jose@v4.15.4/runtime/generate.ts": "bc25cf20301cfd6feabb56847e3d5fbe2fc8c11c82e6ad942d27c21fa1f863f0", + "https://deno.land/x/jose@v4.15.4/runtime/get_sign_verify_key.ts": "f08a086524491a54fb2a0e203819d4ca2b193444aecf6dfbaf6d400431cb439c", + "https://deno.land/x/jose@v4.15.4/runtime/is_key_like.ts": "d9660a40820d254843721a53b51eb94a4db39a1ee36103ea8c28e2cc2207599b", + "https://deno.land/x/jose@v4.15.4/runtime/jwk_to_key.ts": "3779cb38ea2857b37f378a45d6b27651eb672f398ddae16cd1fb2aacaa451df5", + "https://deno.land/x/jose@v4.15.4/runtime/key_to_jwk.ts": "2af6f52abbe59316fa96771da48538c8f718b6fdd8703d185f8a87ef44c0f064", + "https://deno.land/x/jose@v4.15.4/runtime/pbes2kw.ts": "1c424aade1ef8c69f0b9db635ff04d873f7c1b2615c7fbef49ee053704912e9d", + "https://deno.land/x/jose@v4.15.4/runtime/random.ts": "3e9c8d08208e5dc186ae659535f0018303ff3b56615335bf0dfb5904fe36aab7", + "https://deno.land/x/jose@v4.15.4/runtime/rsaes.ts": "124b6e87d8569b39d6f550b371303c79e9eb28aa0d9b14025eeaffe50282c987", + "https://deno.land/x/jose@v4.15.4/runtime/runtime.ts": "d748ecb0c1b57020d6f6c41b4458cce74b4d15ab919c38a0ec32d12cee7f5976", + "https://deno.land/x/jose@v4.15.4/runtime/sign.ts": "1524f8855538ca5fd607cd681f804ba421b0ec58f562118f3c635324ba053f90", + "https://deno.land/x/jose@v4.15.4/runtime/subtle_dsa.ts": "bab28945afd1aac19d3142a70f0c44c4b283b581d33cf8e1234889b58338e80d", + "https://deno.land/x/jose@v4.15.4/runtime/subtle_rsaes.ts": "26147da83932ebf7266d69ddd408f269395de05ddde64ba4e1585571bb61bd93", + "https://deno.land/x/jose@v4.15.4/runtime/timing_safe_equal.ts": "fc5b3f4132cec56630eac4677fef2b519707a9c6a257f8ae86515b0d86ff5f6b", + "https://deno.land/x/jose@v4.15.4/runtime/verify.ts": "d391e2286b47485247b475016c66999f5146a1cf8331115385a9ba629251c15e", + "https://deno.land/x/jose@v4.15.4/runtime/webcrypto.ts": "3365b7d62eaa7e6befe5e2f4f67aa7859805c41b87064433b6e70f94501aa36e", + "https://deno.land/x/jose@v4.15.4/runtime/zlib.ts": "74a4c85d1a6e523282ae927412d58e6789a8d7264b4e966a7df800a97f28a1e1", + "https://deno.land/x/jose@v4.15.4/util/base64url.ts": "d2567042684de8bf1e4f1ad67be40ab343ee192ddf1cf12ff1d940d6c1fa2bcb", + "https://deno.land/x/jose@v4.15.4/util/decode_jwt.ts": "7578cd174b640188e8fd4ad7f0c92e83ebd6ea50097b5833364d095ec7aff2b1", + "https://deno.land/x/jose@v4.15.4/util/decode_protected_header.ts": "546eac15dd97d267373cb3d8d9a94ad03481f1328c4457560ffde9a5a595ebe8", + "https://deno.land/x/jose@v4.15.4/util/errors.ts": "107a41f79bd8a226c836080f617809cd148e00112fdadc0e15c3a6079da02f5d", + "https://deno.land/x/jose@v4.15.4/util/runtime.ts": "088cae7df0d285065f141d880c5c21a572234997082337d1125d7f1603059642", "https://deno.land/x/punycode@v2.1.1/punycode.js": "3de0ad931f4637cdcc2bd600d831ef3cd20dd0876e1c54d5ab438f81c123489d", "https://deno.land/x/test_suite@0.16.1/describe.ts": "c0c944d8e4fba4c54f168ba8799aca4ffabe7cdecfac28c5dbaf0d1f8b345df1", "https://deno.land/x/test_suite@0.16.1/mod.ts": "16dd20330261d5de4a0b4f85676329eb77679649d01e6468898883e527c9e133", @@ -101,8 +116,8 @@ "https://unpkg.com/bytestreamjs@2.0.1/build/mjs/seq_bit_stream.js?module": "85d9f73fefdfba00d037a13e5605a3db43852b38d47e65d55a55d2acd6259b7b", "https://unpkg.com/bytestreamjs@2.0.1/build/mjs/seq_stream.js?module": "aa84f1a692c6a4244d493592318b14302c6c4753cf0fef58186c5cd4556a2591", "https://unpkg.com/pkijs@3.0.15/build/index.es.js?module": "30ca868e524a18bd9a7fd6e1ee73549b6b9e6fc27bf25f40d96867f9d0bcc3c3", - "https://unpkg.com/pvtsutils@1.3.2/build/index.es.js?module": "82e3289330c5ab2b1485084ef8bc621329bf817126951252cb336e619e322ecb", + "https://unpkg.com/pvtsutils@1.3.5/build/index.es.js?module": "c4eca4d375604c7930aa9d6e5421552b854de2e243df38175858db19a52bf4cf", "https://unpkg.com/pvutils@1.1.3/build/utils.es.js?module": "6def4dab26340f2056fde9711dbf595396b64d53c720268b9f9a73c46940206f", - "https://unpkg.com/tldts@6.0.5/dist/index.esm.min.js": "0306d4fc0a40c58adf891b0599d65209054e978c4e7134fd53b373116d969979" + "https://unpkg.com/tldts@6.1.11/dist/index.esm.min.js": "e93d6a4fe311f54b298994803ab1654cbbc0ac70dbd6b8dea64e80a341c8a834" } } diff --git a/import_map.json b/import_map.json index 028a4efd..7ba92ddf 100644 --- a/import_map.json +++ b/import_map.json @@ -1,13 +1,13 @@ { "imports": { - "tldts": "https://unpkg.com/tldts@6.0.5/dist/index.esm.min.js", - "punycode": "https://deno.land/x/punycode@v2.1.1/punycode.js", - "jose": "https://deno.land/x/jose@v4.14.4/index.ts?module", + "tldts": "https://unpkg.com/tldts@6.1.11/dist/index.esm.min.js", + "punycode.js": "https://deno.land/x/punycode@v2.1.1/punycode.js", + "jose": "https://deno.land/x/jose@v4.15.4/index.ts?module", "asn1js": "https://unpkg.com/asn1js@3.0.5?module", - "cbor-x": "https://deno.land/x/cbor@v1.5.2/index.js?module", + "cbor-x": "https://deno.land/x/cbor@v1.5.8/index.js?module", "std/": "https://deno.land/std@0.136.0/", "pkijs": "https://unpkg.com/pkijs@3.0.15?module", - "@hexagon/base64": "https://deno.land/x/b64@1.1.26/dist/base64.min.mjs", + "@hexagon/base64": "https://deno.land/x/b64@1.1.28/dist/base64.min.mjs", "test_suite": "https://deno.land/x/test_suite@0.16.1/mod.ts", "chai": "./test/helpers/chai-deno-shim.js", diff --git a/lib/toolbox.js b/lib/toolbox.js index d1411486..ee5843e0 100644 --- a/lib/toolbox.js +++ b/lib/toolbox.js @@ -1,6 +1,6 @@ // External dependencies import { parse as tldtsParse } from "tldts"; -import punycode from "punycode"; +import punycode from "punycode.js"; import { decodeProtectedHeader, importJWK, jwtVerify } from "jose"; import { Certificate as PkijsCertificate, diff --git a/package-lock.json b/package-lock.json index fbfd35e7..5c586c64 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,21 +1,21 @@ { "name": "fido2-lib", - "version": "3.4.1", + "version": "3.5.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "fido2-lib", - "version": "3.4.1", + "version": "3.5.1", "license": "MIT", "dependencies": { - "@hexagon/base64": "~1.1.26", - "@peculiar/webcrypto": "~1.4.3", + "@hexagon/base64": "~1.1.28", + "@peculiar/webcrypto": "~1.4.5", "asn1js": "~3.0.2", - "cbor-x": "~1.5.3", - "jose": "^4.14.4", + "cbor-x": "~1.5.8", + "jose": "^4.15.4", "pkijs": "~3.0.15", - "tldts": "~6.0.5" + "tldts": "~6.1.11" }, "devDependencies": { "c8": "^8.0.0", @@ -26,7 +26,8 @@ "eslint": "^8.42.0", "gh-pages": "^5.0.0", "jsdoc": "^4.0.2", - "mocha": "^10.2.0", + "mocha": "^10.3.0", + "punycode.js": "^2.3.1", "rollup": "^3.25.1" }, "engines": { @@ -52,9 +53,9 @@ "dev": true }, "node_modules/@cbor-extract/cbor-extract-darwin-arm64": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/@cbor-extract/cbor-extract-darwin-arm64/-/cbor-extract-darwin-arm64-2.1.1.tgz", - "integrity": "sha512-blVBy5MXz6m36Vx0DfLd7PChOQKEs8lK2bD1WJn/vVgG4FXZiZmZb2GECHFvVPA5T7OnODd9xZiL3nMCv6QUhA==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@cbor-extract/cbor-extract-darwin-arm64/-/cbor-extract-darwin-arm64-2.2.0.tgz", + "integrity": "sha512-P7swiOAdF7aSi0H+tHtHtr6zrpF3aAq/W9FXx5HektRvLTM2O89xCyXF3pk7pLc7QpaY7AoaE8UowVf9QBdh3w==", "cpu": [ "arm64" ], @@ -64,9 +65,9 @@ ] }, "node_modules/@cbor-extract/cbor-extract-darwin-x64": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/@cbor-extract/cbor-extract-darwin-x64/-/cbor-extract-darwin-x64-2.1.1.tgz", - "integrity": "sha512-h6KFOzqk8jXTvkOftyRIWGrd7sKQzQv2jVdTL9nKSf3D2drCvQB/LHUxAOpPXo3pv2clDtKs3xnHalpEh3rDsw==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@cbor-extract/cbor-extract-darwin-x64/-/cbor-extract-darwin-x64-2.2.0.tgz", + "integrity": "sha512-1liF6fgowph0JxBbYnAS7ZlqNYLf000Qnj4KjqPNW4GViKrEql2MgZnAsExhY9LSy8dnvA4C0qHEBgPrll0z0w==", "cpu": [ "x64" ], @@ -76,9 +77,9 @@ ] }, "node_modules/@cbor-extract/cbor-extract-linux-arm": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/@cbor-extract/cbor-extract-linux-arm/-/cbor-extract-linux-arm-2.1.1.tgz", - "integrity": "sha512-ds0uikdcIGUjPyraV4oJqyVE5gl/qYBpa/Wnh6l6xLE2lj/hwnjT2XcZCChdXwW/YFZ1LUHs6waoYN8PmK0nKQ==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@cbor-extract/cbor-extract-linux-arm/-/cbor-extract-linux-arm-2.2.0.tgz", + "integrity": "sha512-QeBcBXk964zOytiedMPQNZr7sg0TNavZeuUCD6ON4vEOU/25+pLhNN6EDIKJ9VLTKaZ7K7EaAriyYQ1NQ05s/Q==", "cpu": [ "arm" ], @@ -88,9 +89,9 @@ ] }, "node_modules/@cbor-extract/cbor-extract-linux-arm64": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/@cbor-extract/cbor-extract-linux-arm64/-/cbor-extract-linux-arm64-2.1.1.tgz", - "integrity": "sha512-SxAaRcYf8S0QHaMc7gvRSiTSr7nUYMqbUdErBEu+HYA4Q6UNydx1VwFE68hGcp1qvxcy9yT5U7gA+a5XikfwSQ==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@cbor-extract/cbor-extract-linux-arm64/-/cbor-extract-linux-arm64-2.2.0.tgz", + "integrity": "sha512-rQvhNmDuhjTVXSPFLolmQ47/ydGOFXtbR7+wgkSY0bdOxCFept1hvg59uiLPT2fVDuJFuEy16EImo5tE2x3RsQ==", "cpu": [ "arm64" ], @@ -100,9 +101,9 @@ ] }, "node_modules/@cbor-extract/cbor-extract-linux-x64": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/@cbor-extract/cbor-extract-linux-x64/-/cbor-extract-linux-x64-2.1.1.tgz", - "integrity": "sha512-GVK+8fNIE9lJQHAlhOROYiI0Yd4bAZ4u++C2ZjlkS3YmO6hi+FUxe6Dqm+OKWTcMpL/l71N6CQAmaRcb4zyJuA==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@cbor-extract/cbor-extract-linux-x64/-/cbor-extract-linux-x64-2.2.0.tgz", + "integrity": "sha512-cWLAWtT3kNLHSvP4RKDzSTX9o0wvQEEAj4SKvhWuOVZxiDAeQazr9A+PSiRILK1VYMLeDml89ohxCnUNQNQNCw==", "cpu": [ "x64" ], @@ -112,9 +113,9 @@ ] }, "node_modules/@cbor-extract/cbor-extract-win32-x64": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/@cbor-extract/cbor-extract-win32-x64/-/cbor-extract-win32-x64-2.1.1.tgz", - "integrity": "sha512-2Niq1C41dCRIDeD8LddiH+mxGlO7HJ612Ll3D/E73ZWBmycued+8ghTr/Ho3CMOWPUEr08XtyBMVXAjqF+TcKw==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@cbor-extract/cbor-extract-win32-x64/-/cbor-extract-win32-x64-2.2.0.tgz", + "integrity": "sha512-l2M+Z8DO2vbvADOBNLbbh9y5ST1RY5sqkWOg/58GkUPBYou/cuNZ68SGQ644f1CvZ8kcOxyZtw06+dxWHIoN/w==", "cpu": [ "x64" ], @@ -198,9 +199,9 @@ } }, "node_modules/@hexagon/base64": { - "version": "1.1.26", - "resolved": "https://registry.npmjs.org/@hexagon/base64/-/base64-1.1.26.tgz", - "integrity": "sha512-9HYANYWJAwBbxjkz5P0ZB+JXX7kH7HhUG0FmIBcF7GUmnl6mXnAHFuGOkssW7v2RLNnVvjcKIeOqywSHfw21Qg==" + "version": "1.1.28", + "resolved": "https://registry.npmjs.org/@hexagon/base64/-/base64-1.1.28.tgz", + "integrity": "sha512-lhqDEAvWixy3bZ+UOYbPwUbBkwBq5C1LAJ/xPC8Oi+lL54oyakv/npbA0aU2hgCsx/1NUd4IBvV03+aUBWxerw==" }, "node_modules/@humanwhocodes/config-array": { "version": "0.11.10", @@ -317,13 +318,13 @@ } }, "node_modules/@peculiar/asn1-schema": { - "version": "2.3.6", - "resolved": "https://registry.npmjs.org/@peculiar/asn1-schema/-/asn1-schema-2.3.6.tgz", - "integrity": "sha512-izNRxPoaeJeg/AyH8hER6s+H7p4itk+03QCa4sbxI3lNdseQYCuxzgsuNK8bTXChtLTjpJz6NmXKA73qLa3rCA==", + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/@peculiar/asn1-schema/-/asn1-schema-2.3.8.tgz", + "integrity": "sha512-ULB1XqHKx1WBU/tTFIA+uARuRoBVZ4pNdOA878RDrRbBfBGcSzi5HBkdScC6ZbHn8z7L8gmKCgPC1LHRrP46tA==", "dependencies": { "asn1js": "^3.0.5", - "pvtsutils": "^1.3.2", - "tslib": "^2.4.0" + "pvtsutils": "^1.3.5", + "tslib": "^2.6.2" } }, "node_modules/@peculiar/json-schema": { @@ -338,15 +339,15 @@ } }, "node_modules/@peculiar/webcrypto": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/@peculiar/webcrypto/-/webcrypto-1.4.3.tgz", - "integrity": "sha512-VtaY4spKTdN5LjJ04im/d/joXuvLbQdgy5Z4DXF4MFZhQ+MTrejbNMkfZBp1Bs3O5+bFqnJgyGdPuZQflvIa5A==", + "version": "1.4.5", + "resolved": "https://registry.npmjs.org/@peculiar/webcrypto/-/webcrypto-1.4.5.tgz", + "integrity": "sha512-oDk93QCDGdxFRM8382Zdminzs44dg3M2+E5Np+JWkpqLDyJC9DviMh8F8mEJkYuUcUOGA5jHO5AJJ10MFWdbZw==", "dependencies": { - "@peculiar/asn1-schema": "^2.3.6", + "@peculiar/asn1-schema": "^2.3.8", "@peculiar/json-schema": "^1.1.12", - "pvtsutils": "^1.3.2", - "tslib": "^2.5.0", - "webcrypto-core": "^1.7.7" + "pvtsutils": "^1.3.5", + "tslib": "^2.6.2", + "webcrypto-core": "^1.7.8" }, "engines": { "node": ">=10.12.0" @@ -669,32 +670,32 @@ } }, "node_modules/cbor-extract": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/cbor-extract/-/cbor-extract-2.1.1.tgz", - "integrity": "sha512-1UX977+L+zOJHsp0mWFG13GLwO6ucKgSmSW6JTl8B9GUvACvHeIVpFqhU92299Z6PfD09aTXDell5p+lp1rUFA==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/cbor-extract/-/cbor-extract-2.2.0.tgz", + "integrity": "sha512-Ig1zM66BjLfTXpNgKpvBePq271BPOvu8MR0Jl080yG7Jsl+wAZunfrwiwA+9ruzm/WEdIV5QF/bjDZTqyAIVHA==", "hasInstallScript": true, "optional": true, "dependencies": { - "node-gyp-build-optional-packages": "5.0.3" + "node-gyp-build-optional-packages": "5.1.1" }, "bin": { "download-cbor-prebuilds": "bin/download-prebuilds.js" }, "optionalDependencies": { - "@cbor-extract/cbor-extract-darwin-arm64": "2.1.1", - "@cbor-extract/cbor-extract-darwin-x64": "2.1.1", - "@cbor-extract/cbor-extract-linux-arm": "2.1.1", - "@cbor-extract/cbor-extract-linux-arm64": "2.1.1", - "@cbor-extract/cbor-extract-linux-x64": "2.1.1", - "@cbor-extract/cbor-extract-win32-x64": "2.1.1" + "@cbor-extract/cbor-extract-darwin-arm64": "2.2.0", + "@cbor-extract/cbor-extract-darwin-x64": "2.2.0", + "@cbor-extract/cbor-extract-linux-arm": "2.2.0", + "@cbor-extract/cbor-extract-linux-arm64": "2.2.0", + "@cbor-extract/cbor-extract-linux-x64": "2.2.0", + "@cbor-extract/cbor-extract-win32-x64": "2.2.0" } }, "node_modules/cbor-x": { - "version": "1.5.3", - "resolved": "https://registry.npmjs.org/cbor-x/-/cbor-x-1.5.3.tgz", - "integrity": "sha512-adrN0S67C7jY2hgqeGcw+Uj6iEGLQa5D/p6/9YNl5AaVIYJaJz/bARfWsP8UikBZWbhS27LN0DJK4531vo9ODw==", + "version": "1.5.8", + "resolved": "https://registry.npmjs.org/cbor-x/-/cbor-x-1.5.8.tgz", + "integrity": "sha512-gc3bHBsvG6GClCY6c0/iip+ghlqizkVp+TtaL927lwvP4VP9xBdi1HmqPR5uj/Mj/0TOlngMkIYa25wKg+VNrQ==", "optionalDependencies": { - "cbor-extract": "^2.1.1" + "cbor-extract": "^2.2.0" } }, "node_modules/chai": { @@ -925,6 +926,15 @@ "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", "dev": true }, + "node_modules/detect-libc": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.2.tgz", + "integrity": "sha512-UX6sGumvvqSaXgdKGUsgZWqcUyIXZ/vZTrlRT/iobiKhGL0zL4d3osHj3uqllWJK+i+sixDS/3COVEOFbupFyw==", + "optional": true, + "engines": { + "node": ">=8" + } + }, "node_modules/diff": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/diff/-/diff-5.0.0.tgz", @@ -1720,9 +1730,9 @@ } }, "node_modules/jose": { - "version": "4.14.4", - "resolved": "https://registry.npmjs.org/jose/-/jose-4.14.4.tgz", - "integrity": "sha512-j8GhLiKmUAh+dsFXlX1aJCbt5KMibuKb+d7j1JaOJG6s2UjX1PQlW+OKB/sD4a/5ZYF4RcmYmLSndOoU3Lt/3g==", + "version": "4.15.4", + "resolved": "https://registry.npmjs.org/jose/-/jose-4.15.4.tgz", + "integrity": "sha512-W+oqK4H+r5sITxfxpSU+MMdr/YSWGvgZMQDIsNoBDGGy4i7GBPTtvFKibQzW06n3U3TqHjhvBJsirShsEJ6eeQ==", "funding": { "url": "https://github.com/sponsors/panva" } @@ -1981,9 +1991,9 @@ } }, "node_modules/mocha": { - "version": "10.2.0", - "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.2.0.tgz", - "integrity": "sha512-IDY7fl/BecMwFHzoqF2sg/SHHANeBoMMXFlS9r0OXKDssYE1M5O43wUY/9BVPeIvfH2zmEbBfseqN9gBQZzXkg==", + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.3.0.tgz", + "integrity": "sha512-uF2XJs+7xSLsrmIvn37i/wnc91nw7XjOQB8ccyx5aEgdnohr7n+rEiZP23WkCYHjilR6+EboEnbq/ZQDz4LSbg==", "dev": true, "dependencies": { "ansi-colors": "4.1.1", @@ -1993,13 +2003,12 @@ "diff": "5.0.0", "escape-string-regexp": "4.0.0", "find-up": "5.0.0", - "glob": "7.2.0", + "glob": "8.1.0", "he": "1.2.0", "js-yaml": "4.1.0", "log-symbols": "4.1.0", "minimatch": "5.0.1", "ms": "2.1.3", - "nanoid": "3.3.3", "serialize-javascript": "6.0.0", "strip-json-comments": "3.1.1", "supports-color": "8.1.1", @@ -2014,10 +2023,6 @@ }, "engines": { "node": ">= 14.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/mochajs" } }, "node_modules/mocha/node_modules/argparse": { @@ -2027,37 +2032,24 @@ "dev": true }, "node_modules/mocha/node_modules/glob": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", - "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", + "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", "dev": true, "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "minimatch": "^5.0.1", + "once": "^1.3.0" }, "engines": { - "node": "*" + "node": ">=12" }, "funding": { "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/mocha/node_modules/glob/node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dev": true, - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, "node_modules/mocha/node_modules/js-yaml": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", @@ -2127,18 +2119,6 @@ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", "dev": true }, - "node_modules/nanoid": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.3.tgz", - "integrity": "sha512-p1sjXuopFs0xg+fPASzQ28agW1oHD7xDsd9Xkf3T15H3c/cifrFHVwrh74PdoklAPi+i7MdRsE47vm2r6JoB+w==", - "dev": true, - "bin": { - "nanoid": "bin/nanoid.cjs" - }, - "engines": { - "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" - } - }, "node_modules/natural-compare": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", @@ -2166,10 +2146,13 @@ } }, "node_modules/node-gyp-build-optional-packages": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/node-gyp-build-optional-packages/-/node-gyp-build-optional-packages-5.0.3.tgz", - "integrity": "sha512-k75jcVzk5wnnc/FMxsf4udAoTEUv2jY3ycfdSd3yWu6Cnd1oee6/CfZJApyscA4FJOmdoixWwiwOyf16RzD5JA==", + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/node-gyp-build-optional-packages/-/node-gyp-build-optional-packages-5.1.1.tgz", + "integrity": "sha512-+P72GAjVAbTxjjwUmwjVrqrdZROD4nf8KgpBoDxqXXTiYZZt/ud60dE5yvCSr9lRO8e8yv6kgJIC0K0PfZFVQw==", "optional": true, + "dependencies": { + "detect-libc": "^2.0.1" + }, "bin": { "node-gyp-build-optional-packages": "bin.js", "node-gyp-build-optional-packages-optional": "optional.js", @@ -2446,12 +2429,21 @@ "node": ">=6" } }, + "node_modules/punycode.js": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode.js/-/punycode.js-2.3.1.tgz", + "integrity": "sha512-uxFIHU0YlHYhDQtV4R9J6a52SLx28BCjT+4ieh7IGbgwVJWO+km431c4yRlREUAsAmt/uMjQUyQHNEPf0M39CA==", + "dev": true, + "engines": { + "node": ">=6" + } + }, "node_modules/pvtsutils": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/pvtsutils/-/pvtsutils-1.3.2.tgz", - "integrity": "sha512-+Ipe2iNUyrZz+8K/2IOo+kKikdtfhRKzNpQbruF2URmqPtoqAs8g3xS7TJvFF2GcPXjh7DkqMnpVveRFq4PgEQ==", + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/pvtsutils/-/pvtsutils-1.3.5.tgz", + "integrity": "sha512-ARvb14YB9Nm2Xi6nBq1ZX6dAM0FsJnuk+31aUp4TrcZEdKUlSqOqsxJHUPJDNE3qiIp+iUPEIeR6Je/tgV7zsA==", "dependencies": { - "tslib": "^2.4.0" + "tslib": "^2.6.1" } }, "node_modules/pvutils": { @@ -2788,20 +2780,20 @@ "dev": true }, "node_modules/tldts": { - "version": "6.0.5", - "resolved": "https://registry.npmjs.org/tldts/-/tldts-6.0.5.tgz", - "integrity": "sha512-2JQhXcZbp8eh2Ka81yvu5WzBa7NPKhGhXHy+dz0grD7w3DjgK0CsryEwNjVs6i170VF4sZAkwP8pGb1q53wiiQ==", + "version": "6.1.11", + "resolved": "https://registry.npmjs.org/tldts/-/tldts-6.1.11.tgz", + "integrity": "sha512-AAgE/IWvbsg4Lr4KGFNR7bL/MhQfBlgGV9UBg2uy5mCwSGi5f12eZ7ZydAqv4ACys6pUYjNoV2qfZdcCn4RS+Q==", "dependencies": { - "tldts-core": "^6.0.5" + "tldts-core": "^6.1.11" }, "bin": { "tldts": "bin/cli.js" } }, "node_modules/tldts-core": { - "version": "6.0.5", - "resolved": "https://registry.npmjs.org/tldts-core/-/tldts-core-6.0.5.tgz", - "integrity": "sha512-DBpylEmOYzU+x8oiJU6pULwr1WPIoW1YYXxf8K88N+mEtIB9QOSCsMj0KdARoJFS/rMDWRguB4dRKL0zqq6LWQ==" + "version": "6.1.11", + "resolved": "https://registry.npmjs.org/tldts-core/-/tldts-core-6.1.11.tgz", + "integrity": "sha512-ZFcT+/fdEc5VRndQIJtArNBHsaq4udRoeE4E6cwLzGaH0dq7Ng2L7cAoea6riM2uhNFD09EDa1bN8lrfrOBCLg==" }, "node_modules/to-regex-range": { "version": "5.0.1", @@ -2843,9 +2835,9 @@ } }, "node_modules/tslib": { - "version": "2.5.3", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.3.tgz", - "integrity": "sha512-mSxlJJwl3BMEQCUNnxXBU9jP4JBktcEGhURcPR6VQVlnP0FdDEsIaz0C35dXNGLyRfrATNofF0F5p2KPxQgB+w==" + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" }, "node_modules/type-check": { "version": "0.4.0", @@ -2943,15 +2935,15 @@ } }, "node_modules/webcrypto-core": { - "version": "1.7.7", - "resolved": "https://registry.npmjs.org/webcrypto-core/-/webcrypto-core-1.7.7.tgz", - "integrity": "sha512-7FjigXNsBfopEj+5DV2nhNpfic2vumtjjgPmeDKk45z+MJwXKKfhPB7118Pfzrmh4jqOMST6Ch37iPAHoImg5g==", + "version": "1.7.8", + "resolved": "https://registry.npmjs.org/webcrypto-core/-/webcrypto-core-1.7.8.tgz", + "integrity": "sha512-eBR98r9nQXTqXt/yDRtInszPMjTaSAMJAFDg2AHsgrnczawT1asx9YNBX6k5p+MekbPF4+s/UJJrr88zsTqkSg==", "dependencies": { - "@peculiar/asn1-schema": "^2.3.6", + "@peculiar/asn1-schema": "^2.3.8", "@peculiar/json-schema": "^1.1.12", "asn1js": "^3.0.1", - "pvtsutils": "^1.3.2", - "tslib": "^2.4.0" + "pvtsutils": "^1.3.5", + "tslib": "^2.6.2" } }, "node_modules/webidl-conversions": { @@ -3107,39 +3099,39 @@ "dev": true }, "@cbor-extract/cbor-extract-darwin-arm64": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/@cbor-extract/cbor-extract-darwin-arm64/-/cbor-extract-darwin-arm64-2.1.1.tgz", - "integrity": "sha512-blVBy5MXz6m36Vx0DfLd7PChOQKEs8lK2bD1WJn/vVgG4FXZiZmZb2GECHFvVPA5T7OnODd9xZiL3nMCv6QUhA==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@cbor-extract/cbor-extract-darwin-arm64/-/cbor-extract-darwin-arm64-2.2.0.tgz", + "integrity": "sha512-P7swiOAdF7aSi0H+tHtHtr6zrpF3aAq/W9FXx5HektRvLTM2O89xCyXF3pk7pLc7QpaY7AoaE8UowVf9QBdh3w==", "optional": true }, "@cbor-extract/cbor-extract-darwin-x64": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/@cbor-extract/cbor-extract-darwin-x64/-/cbor-extract-darwin-x64-2.1.1.tgz", - "integrity": "sha512-h6KFOzqk8jXTvkOftyRIWGrd7sKQzQv2jVdTL9nKSf3D2drCvQB/LHUxAOpPXo3pv2clDtKs3xnHalpEh3rDsw==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@cbor-extract/cbor-extract-darwin-x64/-/cbor-extract-darwin-x64-2.2.0.tgz", + "integrity": "sha512-1liF6fgowph0JxBbYnAS7ZlqNYLf000Qnj4KjqPNW4GViKrEql2MgZnAsExhY9LSy8dnvA4C0qHEBgPrll0z0w==", "optional": true }, "@cbor-extract/cbor-extract-linux-arm": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/@cbor-extract/cbor-extract-linux-arm/-/cbor-extract-linux-arm-2.1.1.tgz", - "integrity": "sha512-ds0uikdcIGUjPyraV4oJqyVE5gl/qYBpa/Wnh6l6xLE2lj/hwnjT2XcZCChdXwW/YFZ1LUHs6waoYN8PmK0nKQ==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@cbor-extract/cbor-extract-linux-arm/-/cbor-extract-linux-arm-2.2.0.tgz", + "integrity": "sha512-QeBcBXk964zOytiedMPQNZr7sg0TNavZeuUCD6ON4vEOU/25+pLhNN6EDIKJ9VLTKaZ7K7EaAriyYQ1NQ05s/Q==", "optional": true }, "@cbor-extract/cbor-extract-linux-arm64": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/@cbor-extract/cbor-extract-linux-arm64/-/cbor-extract-linux-arm64-2.1.1.tgz", - "integrity": "sha512-SxAaRcYf8S0QHaMc7gvRSiTSr7nUYMqbUdErBEu+HYA4Q6UNydx1VwFE68hGcp1qvxcy9yT5U7gA+a5XikfwSQ==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@cbor-extract/cbor-extract-linux-arm64/-/cbor-extract-linux-arm64-2.2.0.tgz", + "integrity": "sha512-rQvhNmDuhjTVXSPFLolmQ47/ydGOFXtbR7+wgkSY0bdOxCFept1hvg59uiLPT2fVDuJFuEy16EImo5tE2x3RsQ==", "optional": true }, "@cbor-extract/cbor-extract-linux-x64": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/@cbor-extract/cbor-extract-linux-x64/-/cbor-extract-linux-x64-2.1.1.tgz", - "integrity": "sha512-GVK+8fNIE9lJQHAlhOROYiI0Yd4bAZ4u++C2ZjlkS3YmO6hi+FUxe6Dqm+OKWTcMpL/l71N6CQAmaRcb4zyJuA==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@cbor-extract/cbor-extract-linux-x64/-/cbor-extract-linux-x64-2.2.0.tgz", + "integrity": "sha512-cWLAWtT3kNLHSvP4RKDzSTX9o0wvQEEAj4SKvhWuOVZxiDAeQazr9A+PSiRILK1VYMLeDml89ohxCnUNQNQNCw==", "optional": true }, "@cbor-extract/cbor-extract-win32-x64": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/@cbor-extract/cbor-extract-win32-x64/-/cbor-extract-win32-x64-2.1.1.tgz", - "integrity": "sha512-2Niq1C41dCRIDeD8LddiH+mxGlO7HJ612Ll3D/E73ZWBmycued+8ghTr/Ho3CMOWPUEr08XtyBMVXAjqF+TcKw==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@cbor-extract/cbor-extract-win32-x64/-/cbor-extract-win32-x64-2.2.0.tgz", + "integrity": "sha512-l2M+Z8DO2vbvADOBNLbbh9y5ST1RY5sqkWOg/58GkUPBYou/cuNZ68SGQ644f1CvZ8kcOxyZtw06+dxWHIoN/w==", "optional": true }, "@eslint-community/eslint-utils": { @@ -3198,9 +3190,9 @@ "dev": true }, "@hexagon/base64": { - "version": "1.1.26", - "resolved": "https://registry.npmjs.org/@hexagon/base64/-/base64-1.1.26.tgz", - "integrity": "sha512-9HYANYWJAwBbxjkz5P0ZB+JXX7kH7HhUG0FmIBcF7GUmnl6mXnAHFuGOkssW7v2RLNnVvjcKIeOqywSHfw21Qg==" + "version": "1.1.28", + "resolved": "https://registry.npmjs.org/@hexagon/base64/-/base64-1.1.28.tgz", + "integrity": "sha512-lhqDEAvWixy3bZ+UOYbPwUbBkwBq5C1LAJ/xPC8Oi+lL54oyakv/npbA0aU2hgCsx/1NUd4IBvV03+aUBWxerw==" }, "@humanwhocodes/config-array": { "version": "0.11.10", @@ -3289,13 +3281,13 @@ } }, "@peculiar/asn1-schema": { - "version": "2.3.6", - "resolved": "https://registry.npmjs.org/@peculiar/asn1-schema/-/asn1-schema-2.3.6.tgz", - "integrity": "sha512-izNRxPoaeJeg/AyH8hER6s+H7p4itk+03QCa4sbxI3lNdseQYCuxzgsuNK8bTXChtLTjpJz6NmXKA73qLa3rCA==", + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/@peculiar/asn1-schema/-/asn1-schema-2.3.8.tgz", + "integrity": "sha512-ULB1XqHKx1WBU/tTFIA+uARuRoBVZ4pNdOA878RDrRbBfBGcSzi5HBkdScC6ZbHn8z7L8gmKCgPC1LHRrP46tA==", "requires": { "asn1js": "^3.0.5", - "pvtsutils": "^1.3.2", - "tslib": "^2.4.0" + "pvtsutils": "^1.3.5", + "tslib": "^2.6.2" } }, "@peculiar/json-schema": { @@ -3307,15 +3299,15 @@ } }, "@peculiar/webcrypto": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/@peculiar/webcrypto/-/webcrypto-1.4.3.tgz", - "integrity": "sha512-VtaY4spKTdN5LjJ04im/d/joXuvLbQdgy5Z4DXF4MFZhQ+MTrejbNMkfZBp1Bs3O5+bFqnJgyGdPuZQflvIa5A==", + "version": "1.4.5", + "resolved": "https://registry.npmjs.org/@peculiar/webcrypto/-/webcrypto-1.4.5.tgz", + "integrity": "sha512-oDk93QCDGdxFRM8382Zdminzs44dg3M2+E5Np+JWkpqLDyJC9DviMh8F8mEJkYuUcUOGA5jHO5AJJ10MFWdbZw==", "requires": { - "@peculiar/asn1-schema": "^2.3.6", + "@peculiar/asn1-schema": "^2.3.8", "@peculiar/json-schema": "^1.1.12", - "pvtsutils": "^1.3.2", - "tslib": "^2.5.0", - "webcrypto-core": "^1.7.7" + "pvtsutils": "^1.3.5", + "tslib": "^2.6.2", + "webcrypto-core": "^1.7.8" } }, "@tootallnate/once": { @@ -3559,26 +3551,26 @@ } }, "cbor-extract": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/cbor-extract/-/cbor-extract-2.1.1.tgz", - "integrity": "sha512-1UX977+L+zOJHsp0mWFG13GLwO6ucKgSmSW6JTl8B9GUvACvHeIVpFqhU92299Z6PfD09aTXDell5p+lp1rUFA==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/cbor-extract/-/cbor-extract-2.2.0.tgz", + "integrity": "sha512-Ig1zM66BjLfTXpNgKpvBePq271BPOvu8MR0Jl080yG7Jsl+wAZunfrwiwA+9ruzm/WEdIV5QF/bjDZTqyAIVHA==", "optional": true, "requires": { - "@cbor-extract/cbor-extract-darwin-arm64": "2.1.1", - "@cbor-extract/cbor-extract-darwin-x64": "2.1.1", - "@cbor-extract/cbor-extract-linux-arm": "2.1.1", - "@cbor-extract/cbor-extract-linux-arm64": "2.1.1", - "@cbor-extract/cbor-extract-linux-x64": "2.1.1", - "@cbor-extract/cbor-extract-win32-x64": "2.1.1", - "node-gyp-build-optional-packages": "5.0.3" + "@cbor-extract/cbor-extract-darwin-arm64": "2.2.0", + "@cbor-extract/cbor-extract-darwin-x64": "2.2.0", + "@cbor-extract/cbor-extract-linux-arm": "2.2.0", + "@cbor-extract/cbor-extract-linux-arm64": "2.2.0", + "@cbor-extract/cbor-extract-linux-x64": "2.2.0", + "@cbor-extract/cbor-extract-win32-x64": "2.2.0", + "node-gyp-build-optional-packages": "5.1.1" } }, "cbor-x": { - "version": "1.5.3", - "resolved": "https://registry.npmjs.org/cbor-x/-/cbor-x-1.5.3.tgz", - "integrity": "sha512-adrN0S67C7jY2hgqeGcw+Uj6iEGLQa5D/p6/9YNl5AaVIYJaJz/bARfWsP8UikBZWbhS27LN0DJK4531vo9ODw==", + "version": "1.5.8", + "resolved": "https://registry.npmjs.org/cbor-x/-/cbor-x-1.5.8.tgz", + "integrity": "sha512-gc3bHBsvG6GClCY6c0/iip+ghlqizkVp+TtaL927lwvP4VP9xBdi1HmqPR5uj/Mj/0TOlngMkIYa25wKg+VNrQ==", "requires": { - "cbor-extract": "^2.1.1" + "cbor-extract": "^2.2.0" } }, "chai": { @@ -3752,6 +3744,12 @@ "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", "dev": true }, + "detect-libc": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.2.tgz", + "integrity": "sha512-UX6sGumvvqSaXgdKGUsgZWqcUyIXZ/vZTrlRT/iobiKhGL0zL4d3osHj3uqllWJK+i+sixDS/3COVEOFbupFyw==", + "optional": true + }, "diff": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/diff/-/diff-5.0.0.tgz", @@ -4347,9 +4345,9 @@ } }, "jose": { - "version": "4.14.4", - "resolved": "https://registry.npmjs.org/jose/-/jose-4.14.4.tgz", - "integrity": "sha512-j8GhLiKmUAh+dsFXlX1aJCbt5KMibuKb+d7j1JaOJG6s2UjX1PQlW+OKB/sD4a/5ZYF4RcmYmLSndOoU3Lt/3g==" + "version": "4.15.4", + "resolved": "https://registry.npmjs.org/jose/-/jose-4.15.4.tgz", + "integrity": "sha512-W+oqK4H+r5sITxfxpSU+MMdr/YSWGvgZMQDIsNoBDGGy4i7GBPTtvFKibQzW06n3U3TqHjhvBJsirShsEJ6eeQ==" }, "js-yaml": { "version": "3.14.1", @@ -4555,9 +4553,9 @@ "dev": true }, "mocha": { - "version": "10.2.0", - "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.2.0.tgz", - "integrity": "sha512-IDY7fl/BecMwFHzoqF2sg/SHHANeBoMMXFlS9r0OXKDssYE1M5O43wUY/9BVPeIvfH2zmEbBfseqN9gBQZzXkg==", + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.3.0.tgz", + "integrity": "sha512-uF2XJs+7xSLsrmIvn37i/wnc91nw7XjOQB8ccyx5aEgdnohr7n+rEiZP23WkCYHjilR6+EboEnbq/ZQDz4LSbg==", "dev": true, "requires": { "ansi-colors": "4.1.1", @@ -4567,13 +4565,12 @@ "diff": "5.0.0", "escape-string-regexp": "4.0.0", "find-up": "5.0.0", - "glob": "7.2.0", + "glob": "8.1.0", "he": "1.2.0", "js-yaml": "4.1.0", "log-symbols": "4.1.0", "minimatch": "5.0.1", "ms": "2.1.3", - "nanoid": "3.3.3", "serialize-javascript": "6.0.0", "strip-json-comments": "3.1.1", "supports-color": "8.1.1", @@ -4590,28 +4587,16 @@ "dev": true }, "glob": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", - "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", + "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", "dev": true, "requires": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "dependencies": { - "minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dev": true, - "requires": { - "brace-expansion": "^1.1.7" - } - } + "minimatch": "^5.0.1", + "once": "^1.3.0" } }, "js-yaml": { @@ -4672,12 +4657,6 @@ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", "dev": true }, - "nanoid": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.3.tgz", - "integrity": "sha512-p1sjXuopFs0xg+fPASzQ28agW1oHD7xDsd9Xkf3T15H3c/cifrFHVwrh74PdoklAPi+i7MdRsE47vm2r6JoB+w==", - "dev": true - }, "natural-compare": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", @@ -4694,10 +4673,13 @@ } }, "node-gyp-build-optional-packages": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/node-gyp-build-optional-packages/-/node-gyp-build-optional-packages-5.0.3.tgz", - "integrity": "sha512-k75jcVzk5wnnc/FMxsf4udAoTEUv2jY3ycfdSd3yWu6Cnd1oee6/CfZJApyscA4FJOmdoixWwiwOyf16RzD5JA==", - "optional": true + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/node-gyp-build-optional-packages/-/node-gyp-build-optional-packages-5.1.1.tgz", + "integrity": "sha512-+P72GAjVAbTxjjwUmwjVrqrdZROD4nf8KgpBoDxqXXTiYZZt/ud60dE5yvCSr9lRO8e8yv6kgJIC0K0PfZFVQw==", + "optional": true, + "requires": { + "detect-libc": "^2.0.1" + } }, "normalize-path": { "version": "3.0.0", @@ -4890,12 +4872,18 @@ "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==", "dev": true }, + "punycode.js": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode.js/-/punycode.js-2.3.1.tgz", + "integrity": "sha512-uxFIHU0YlHYhDQtV4R9J6a52SLx28BCjT+4ieh7IGbgwVJWO+km431c4yRlREUAsAmt/uMjQUyQHNEPf0M39CA==", + "dev": true + }, "pvtsutils": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/pvtsutils/-/pvtsutils-1.3.2.tgz", - "integrity": "sha512-+Ipe2iNUyrZz+8K/2IOo+kKikdtfhRKzNpQbruF2URmqPtoqAs8g3xS7TJvFF2GcPXjh7DkqMnpVveRFq4PgEQ==", + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/pvtsutils/-/pvtsutils-1.3.5.tgz", + "integrity": "sha512-ARvb14YB9Nm2Xi6nBq1ZX6dAM0FsJnuk+31aUp4TrcZEdKUlSqOqsxJHUPJDNE3qiIp+iUPEIeR6Je/tgV7zsA==", "requires": { - "tslib": "^2.4.0" + "tslib": "^2.6.1" } }, "pvutils": { @@ -5127,17 +5115,17 @@ "dev": true }, "tldts": { - "version": "6.0.5", - "resolved": "https://registry.npmjs.org/tldts/-/tldts-6.0.5.tgz", - "integrity": "sha512-2JQhXcZbp8eh2Ka81yvu5WzBa7NPKhGhXHy+dz0grD7w3DjgK0CsryEwNjVs6i170VF4sZAkwP8pGb1q53wiiQ==", + "version": "6.1.11", + "resolved": "https://registry.npmjs.org/tldts/-/tldts-6.1.11.tgz", + "integrity": "sha512-AAgE/IWvbsg4Lr4KGFNR7bL/MhQfBlgGV9UBg2uy5mCwSGi5f12eZ7ZydAqv4ACys6pUYjNoV2qfZdcCn4RS+Q==", "requires": { - "tldts-core": "^6.0.5" + "tldts-core": "^6.1.11" } }, "tldts-core": { - "version": "6.0.5", - "resolved": "https://registry.npmjs.org/tldts-core/-/tldts-core-6.0.5.tgz", - "integrity": "sha512-DBpylEmOYzU+x8oiJU6pULwr1WPIoW1YYXxf8K88N+mEtIB9QOSCsMj0KdARoJFS/rMDWRguB4dRKL0zqq6LWQ==" + "version": "6.1.11", + "resolved": "https://registry.npmjs.org/tldts-core/-/tldts-core-6.1.11.tgz", + "integrity": "sha512-ZFcT+/fdEc5VRndQIJtArNBHsaq4udRoeE4E6cwLzGaH0dq7Ng2L7cAoea6riM2uhNFD09EDa1bN8lrfrOBCLg==" }, "to-regex-range": { "version": "5.0.1", @@ -5172,9 +5160,9 @@ } }, "tslib": { - "version": "2.5.3", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.3.tgz", - "integrity": "sha512-mSxlJJwl3BMEQCUNnxXBU9jP4JBktcEGhURcPR6VQVlnP0FdDEsIaz0C35dXNGLyRfrATNofF0F5p2KPxQgB+w==" + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" }, "type-check": { "version": "0.4.0", @@ -5251,15 +5239,15 @@ } }, "webcrypto-core": { - "version": "1.7.7", - "resolved": "https://registry.npmjs.org/webcrypto-core/-/webcrypto-core-1.7.7.tgz", - "integrity": "sha512-7FjigXNsBfopEj+5DV2nhNpfic2vumtjjgPmeDKk45z+MJwXKKfhPB7118Pfzrmh4jqOMST6Ch37iPAHoImg5g==", + "version": "1.7.8", + "resolved": "https://registry.npmjs.org/webcrypto-core/-/webcrypto-core-1.7.8.tgz", + "integrity": "sha512-eBR98r9nQXTqXt/yDRtInszPMjTaSAMJAFDg2AHsgrnczawT1asx9YNBX6k5p+MekbPF4+s/UJJrr88zsTqkSg==", "requires": { - "@peculiar/asn1-schema": "^2.3.6", + "@peculiar/asn1-schema": "^2.3.8", "@peculiar/json-schema": "^1.1.12", "asn1js": "^3.0.1", - "pvtsutils": "^1.3.2", - "tslib": "^2.4.0" + "pvtsutils": "^1.3.5", + "tslib": "^2.6.2" } }, "webidl-conversions": { diff --git a/package.json b/package.json index 87171dff..6702bd06 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fido2-lib", - "version": "3.5.0", + "version": "3.5.1", "description": "A library for performing FIDO 2.0 / WebAuthn functionality", "type": "module", "main": "dist/main.cjs", @@ -44,17 +44,18 @@ "eslint": "^8.42.0", "gh-pages": "^5.0.0", "jsdoc": "^4.0.2", - "mocha": "^10.2.0", - "rollup": "^3.25.1" + "mocha": "^10.3.0", + "rollup": "^3.25.1", + "punycode.js": "^2.3.1" }, "dependencies": { - "@hexagon/base64": "~1.1.26", - "@peculiar/webcrypto": "~1.4.3", + "@hexagon/base64": "~1.1.28", + "@peculiar/webcrypto": "~1.4.5", "asn1js": "~3.0.2", - "cbor-x": "~1.5.3", - "jose": "^4.14.4", + "cbor-x": "~1.5.8", + "jose": "^4.15.4", "pkijs": "~3.0.15", - "tldts": "~6.0.5" + "tldts": "~6.1.11" }, "eslintConfig": { "root": true,