diff --git a/src/packages/auth-ui-components/package.json b/src/packages/auth-ui-components/package.json index a7ed0a3b7..3fc66ddea 100644 --- a/src/packages/auth-ui-components/package.json +++ b/src/packages/auth-ui-components/package.json @@ -26,7 +26,7 @@ ], "dependencies": { "@apollo/client": "3.13.5", - "@simplewebauthn/browser": "10.0.0", + "@simplewebauthn/browser": "13.1.0", "@usedapp/core": "1.2.16", "ethers": "5.8.0", "web3-token": "1.0.6", @@ -47,7 +47,7 @@ "@azure/msal-browser": "4.8.0", "@exogee/graphweaver-admin-ui-components": "workspace:*", "@okta/okta-auth-js": "7.11.1", - "@simplewebauthn/types": "10.0.0", + "@simplewebauthn/types": "12.0.0", "@types/react": "19.0.12", "@types/react-dom": "19.0.4", "esbuild": "0.25.1", diff --git a/src/packages/auth/package.json b/src/packages/auth/package.json index f333f77f9..17de8ba0c 100644 --- a/src/packages/auth/package.json +++ b/src/packages/auth/package.json @@ -28,7 +28,7 @@ "@exogee/graphweaver-scalars": "workspace:*", "@exogee/graphweaver-server": "workspace:*", "@exogee/logger": "workspace:*", - "@simplewebauthn/server": "10.0.1", + "@simplewebauthn/server": "13.1.1", "apollo-server-errors": "3.3.1", "class-validator": "0.14.1", "dotenv": "16.4.7", @@ -41,7 +41,7 @@ "web3-token": "1.0.6" }, "devDependencies": { - "@simplewebauthn/types": "10.0.0", + "@simplewebauthn/types": "12.0.0", "@types/jsonwebtoken": "9.0.9", "@types/ms": "0.7.34", "@types/node": "22.13.14", diff --git a/src/packages/end-to-end/package.json b/src/packages/end-to-end/package.json index f8b3b4f65..518086a89 100644 --- a/src/packages/end-to-end/package.json +++ b/src/packages/end-to-end/package.json @@ -56,7 +56,7 @@ }, "devDependencies": { "@playwright/test": "1.49.1", - "@simplewebauthn/types": "10.0.0", + "@simplewebauthn/types": "12.0.0", "@types/jest": "29.5.14", "@types/node": "22.13.10", "dotenv": "16.4.7", diff --git a/src/pnpm-lock.yaml b/src/pnpm-lock.yaml index 1c6b53cfc..c6769d016 100644 --- a/src/pnpm-lock.yaml +++ b/src/pnpm-lock.yaml @@ -919,8 +919,8 @@ importers: specifier: workspace:* version: link:../logger '@simplewebauthn/server': - specifier: 10.0.1 - version: 10.0.1(encoding@0.1.13) + specifier: 13.1.1 + version: 13.1.1 apollo-server-errors: specifier: 3.3.1 version: 3.3.1(graphql@16.10.0) @@ -953,8 +953,8 @@ importers: version: 1.0.6(react@19.1.0) devDependencies: '@simplewebauthn/types': - specifier: 10.0.0 - version: 10.0.0 + specifier: 12.0.0 + version: 12.0.0 '@types/jsonwebtoken': specifier: 9.0.9 version: 9.0.9 @@ -989,8 +989,8 @@ importers: specifier: 3.13.5 version: 3.13.5(@types/react@19.0.12)(graphql-ws@6.0.4(graphql@16.10.0)(ws@8.18.1))(graphql@16.10.0)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(subscriptions-transport-ws@0.11.0(graphql@16.10.0)) '@simplewebauthn/browser': - specifier: 10.0.0 - version: 10.0.0 + specifier: 13.1.0 + version: 13.1.0 '@usedapp/core': specifier: 1.2.16 version: 1.2.16(ethers@5.8.0)(node-fetch@3.3.2)(react@19.1.0) @@ -1023,8 +1023,8 @@ importers: specifier: 7.11.1 version: 7.11.1(encoding@0.1.13) '@simplewebauthn/types': - specifier: 10.0.0 - version: 10.0.0 + specifier: 12.0.0 + version: 12.0.0 '@types/react': specifier: 19.0.12 version: 19.0.12 @@ -1428,8 +1428,8 @@ importers: specifier: 1.49.1 version: 1.49.1 '@simplewebauthn/types': - specifier: 10.0.0 - version: 10.0.0 + specifier: 12.0.0 + version: 12.0.0 '@types/jest': specifier: 29.5.14 version: 29.5.14 @@ -1565,16 +1565,16 @@ importers: optionalDependencies: '@mikro-orm/knex': specifier: 6.4.11 - version: 6.4.11(@mikro-orm/core@6.4.11)(pg@8.14.1) + version: 6.4.11(@mikro-orm/core@6.4.11) '@mikro-orm/mysql': specifier: 6.4.11 - version: 6.4.11(@mikro-orm/core@6.4.11)(pg@8.14.1) + version: 6.4.11(@mikro-orm/core@6.4.11) '@mikro-orm/postgresql': specifier: 6.4.11 version: 6.4.11(@mikro-orm/core@6.4.11) '@mikro-orm/sqlite': specifier: 6.4.11 - version: 6.4.11(@mikro-orm/core@6.4.11)(pg@8.14.1) + version: 6.4.11(@mikro-orm/core@6.4.11) devDependencies: '@mikro-orm/core': specifier: 6.4.11 @@ -3905,8 +3905,8 @@ packages: peerDependencies: jsep: ^0.4.0||^1.0.0 - '@levischuck/tiny-cbor@0.2.2': - resolution: {integrity: sha512-f5CnPw997Y2GQ8FAvtuVVC19FX8mwNNC+1XJcIi16n/LTJifKO6QBgGLgN3YEmqtGMk17SKSuoWES3imJVxAVw==} + '@levischuck/tiny-cbor@0.2.11': + resolution: {integrity: sha512-llBRm4dT4Z89aRsm6u2oEZ8tfwL/2l6BwpZ7JcyieouniDECM5AqNgr/y08zalEIvW3RSK4upYyybDcmjXqAow==} '@lezer/common@1.2.3': resolution: {integrity: sha512-w7ojc8ejBqr2REPsWxJjrMFsA/ysDCFICn8zEOR9mrqzOu2amhITYuLD8ag6XZf0CFXDrhKqw7+tW8cX66NaDA==} @@ -4253,20 +4253,20 @@ packages: resolution: {integrity: sha512-Ejx1P/mj+kMjQb8/y5XxDUn4reGdr+WyKYloBljpppUy8gs42T+BNoEOuRYqDVdgPc6NxduzIDoJS9pOFfV5Ew==} engines: {node: ^12.18.3 || >=14} - '@peculiar/asn1-android@2.3.13': - resolution: {integrity: sha512-0VTNazDGKrLS6a3BwTDZanqq6DR/I3SbvmDMuS8Be+OYpvM6x1SRDh9AGDsHVnaCOIztOspCPc6N1m+iUv1Xxw==} + '@peculiar/asn1-android@2.3.16': + resolution: {integrity: sha512-a1viIv3bIahXNssrOIkXZIlI2ePpZaNmR30d4aBL99mu2rO+mT9D6zBsp7H6eROWGtmwv0Ionp5olJurIo09dw==} - '@peculiar/asn1-ecc@2.3.14': - resolution: {integrity: sha512-zWPyI7QZto6rnLv6zPniTqbGaLh6zBpJyI46r1yS/bVHJXT2amdMHCRRnbV5yst2H8+ppXG6uXu/M6lKakiQ8w==} + '@peculiar/asn1-ecc@2.3.15': + resolution: {integrity: sha512-/HtR91dvgog7z/WhCVdxZJ/jitJuIu8iTqiyWVgRE9Ac5imt2sT/E4obqIVGKQw7PIy+X6i8lVBoT6wC73XUgA==} - '@peculiar/asn1-rsa@2.3.13': - resolution: {integrity: sha512-wBNQqCyRtmqvXkGkL4DR3WxZhHy8fDiYtOjTeCd7SFE5F6GBeafw3EJ94PX/V0OJJrjQ40SkRY2IZu3ZSyBqcg==} + '@peculiar/asn1-rsa@2.3.15': + resolution: {integrity: sha512-p6hsanvPhexRtYSOHihLvUUgrJ8y0FtOM97N5UEpC+VifFYyZa0iZ5cXjTkZoDwxJ/TTJ1IJo3HVTB2JJTpXvg==} '@peculiar/asn1-schema@2.3.15': resolution: {integrity: sha512-QPeD8UA8axQREpgR5UTAfu2mqQmm97oUqahDtNdBcfj3qAnoXzFdQW+aNf/tD2WVXF8Fhmftxoj0eMIT++gX2w==} - '@peculiar/asn1-x509@2.3.13': - resolution: {integrity: sha512-PfeLQl2skXmxX2/AFFCVaWU8U6FKW1Db43mgBhShCOFS1bVxqtvusq1hVjfuEcuSQGedrLdCSvTgabluwN/M9A==} + '@peculiar/asn1-x509@2.3.15': + resolution: {integrity: sha512-0dK5xqTqSLaxv1FHXIcd4Q/BZNuopg+u1l23hT9rOmQ1g4dNtw0g/RnEi+TboB0gOwGtrWn269v27cMgchFIIg==} '@peculiar/json-schema@1.1.12': resolution: {integrity: sha512-coUfuoMeIB7B8/NMekxaDzLhaYmp0HZNPEjYRm9goRou8UZIC3z21s0sL9AWoCw4EG876QyO3kYrc61WNF9B/w==} @@ -4746,15 +4746,15 @@ packages: resolution: {integrity: sha512-7eDbqKv/OBd11jjdZjUwFGN8sHWkeUqLeHXHQxQ1azja2IM7WIH+z/aLgzR6LhB3/MINNwtjesDpjGqTMj2JKQ==} engines: {node: '>=12.0'} - '@simplewebauthn/browser@10.0.0': - resolution: {integrity: sha512-hG0JMZD+LiLUbpQcAjS4d+t4gbprE/dLYop/CkE01ugU/9sKXflxV5s0DRjdz3uNMFecatRfb4ZLG3XvF8m5zg==} + '@simplewebauthn/browser@13.1.0': + resolution: {integrity: sha512-WuHZ/PYvyPJ9nxSzgHtOEjogBhwJfC8xzYkPC+rR/+8chl/ft4ngjiK8kSU5HtRJfczupyOh33b25TjYbvwAcg==} - '@simplewebauthn/server@10.0.1': - resolution: {integrity: sha512-djNWcRn+H+6zvihBFJSpG3fzb0NQS9c/Mw5dYOtZ9H+oDw8qn9Htqxt4cpqRvSOAfwqP7rOvE9rwqVaoGGc3hg==} + '@simplewebauthn/server@13.1.1': + resolution: {integrity: sha512-1hsLpRHfSuMB9ee2aAdh0Htza/X3f4djhYISrggqGe3xopNjOcePiSDkDDoPzDYaaMCrbqGP1H2TYU7bgL9PmA==} engines: {node: '>=20.0.0'} - '@simplewebauthn/types@10.0.0': - resolution: {integrity: sha512-SFXke7xkgPRowY2E+8djKbdEznTVnD5R6GO7GPTthpHrokLvNKw8C3lFZypTxLI7KkCfGPfhtqB3d7OVGGa9jQ==} + '@simplewebauthn/types@12.0.0': + resolution: {integrity: sha512-q6y8MkoV8V8jB4zzp18Uyj2I7oFp2/ONL8c3j8uT06AOWu3cIChc1au71QYHrP2b+xDapkGTiv+9lX7xkTlAsA==} '@sinclair/typebox@0.27.8': resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==} @@ -5737,6 +5737,10 @@ packages: resolution: {integrity: sha512-FVnvrKJwpt9LP2lAMl8qZswRNm3T4q9CON+bxldk2iwk3FFpuwhx2FfinyitizWHsVYyaY+y5JzDR0rCMV5yTQ==} engines: {node: '>=12.0.0'} + asn1js@3.0.6: + resolution: {integrity: sha512-UOCGPYbl0tv8+006qks/dTgV9ajs97X2p0FAbyS2iyCRrmLSRolDaHdp+v/CLgnzHc3fVB+CwYiUmei7ndFcgA==} + engines: {node: '>=12.0.0'} + assertion-error@2.0.1: resolution: {integrity: sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==} engines: {node: '>=12'} @@ -6341,9 +6345,6 @@ packages: cross-fetch@3.2.0: resolution: {integrity: sha512-Q+xVJLoGOeIMXZmbUK4HYk+69cQH6LudR0Vu/pRm2YlU/hDV9CiS0gKUMaWY5f2NeUH9C1nV3bsTlCo0FsTV1Q==} - cross-fetch@4.0.0: - resolution: {integrity: sha512-e4a5N8lVvuLgAWgnCrLr2PP0YyDOTHa9H/Rj54dirp61qXnNq46m82bRhNqIA5VccJtWBvPTFRV3TtvHUKPB1g==} - cross-inspect@1.0.1: resolution: {integrity: sha512-Pcw1JTvZLSJH83iiGWt6fRcT+BjZlCDRVwYLbUcHzv/CRpB7r0MlSrGbIyQvVSNyGnbt7G4AXuyCiDR3POvZ1A==} engines: {node: '>=16.0.0'} @@ -7115,6 +7116,7 @@ packages: formidable@2.1.2: resolution: {integrity: sha512-CM3GuJ57US06mlpQ47YcunuUZ9jpm8Vx+P2CGt2j7HpgkKZO/DJYQ0Bobim8G6PFQmK5lOqOOdUXboU+h73A4g==} + deprecated: 'ACTION REQUIRED: SWITCH TO v3 - v1 and v2 are VULNERABLE! v1 is DEPRECATED FOR OVER 2 YEARS! Use formidable@latest or try formidable-mini for fresh projects' formik@2.4.6: resolution: {integrity: sha512-A+2EI7U7aG296q2TLGvNapDNTZp1khVt5Vk0Q/fyfSROss0V/V6+txt2aJnwEos44IxTCW/LYAi/zgWzlevj+g==} @@ -7610,10 +7612,6 @@ packages: resolution: {integrity: sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==} engines: {node: '>= 0.10'} - ipaddr.js@2.2.0: - resolution: {integrity: sha512-Ag3wB2o37wslZS19hZqorUnrnzSkpOVy+IiiDEiTqNubEYpYuHWIf6K4psgN2ZWKExS4xhVCrRVfb/wfW8fWJA==} - engines: {node: '>= 10'} - is-absolute@1.0.0: resolution: {integrity: sha512-dOWoqflvcydARa360Gvv18DZ/gRuHKi2NU/wU5X1ZFzdYfH29nkiNZsF3mp4OJ3H4yo9Mx8A/uAGNzpzPN3yBA==} engines: {node: '>=0.10.0'} @@ -8646,6 +8644,7 @@ packages: node-domexception@1.0.0: resolution: {integrity: sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==} engines: {node: '>=10.5.0'} + deprecated: Use your platform's native DOMException instead node-fetch@2.7.0: resolution: {integrity: sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==} @@ -13984,7 +13983,7 @@ snapshots: dependencies: jsep: 1.4.0 - '@levischuck/tiny-cbor@0.2.2': {} + '@levischuck/tiny-cbor@0.2.11': {} '@lezer/common@1.2.3': {} @@ -14121,22 +14120,6 @@ snapshots: - supports-color - tedious - '@mikro-orm/knex@6.4.11(@mikro-orm/core@6.4.11)(pg@8.14.1)(sqlite3@5.1.7)': - dependencies: - '@mikro-orm/core': 6.4.11 - fs-extra: 11.3.0 - knex: 3.1.0(pg@8.14.1)(sqlite3@5.1.7) - sqlstring: 2.3.3 - transitivePeerDependencies: - - mysql - - mysql2 - - pg - - pg-native - - sqlite3 - - supports-color - - tedious - optional: true - '@mikro-orm/knex@6.4.11(@mikro-orm/core@6.4.11)(sqlite3@5.1.7)': dependencies: '@mikro-orm/core': 6.4.11 @@ -14184,23 +14167,6 @@ snapshots: - supports-color - tedious - '@mikro-orm/mysql@6.4.11(@mikro-orm/core@6.4.11)(pg@8.14.1)': - dependencies: - '@mikro-orm/core': 6.4.11 - '@mikro-orm/knex': 6.4.11(@mikro-orm/core@6.4.11)(mysql2@3.14.0)(pg@8.14.1) - mysql2: 3.14.0 - transitivePeerDependencies: - - better-sqlite3 - - libsql - - mariadb - - mysql - - pg - - pg-native - - sqlite3 - - supports-color - - tedious - optional: true - '@mikro-orm/postgresql@6.4.11(@mikro-orm/core@6.4.11)': dependencies: '@mikro-orm/core': 6.4.11 @@ -14277,26 +14243,6 @@ snapshots: - supports-color - tedious - '@mikro-orm/sqlite@6.4.11(@mikro-orm/core@6.4.11)(pg@8.14.1)': - dependencies: - '@mikro-orm/core': 6.4.11 - '@mikro-orm/knex': 6.4.11(@mikro-orm/core@6.4.11)(pg@8.14.1)(sqlite3@5.1.7) - fs-extra: 11.3.0 - sqlite3: 5.1.7 - sqlstring-sqlite: 0.1.1 - transitivePeerDependencies: - - better-sqlite3 - - bluebird - - libsql - - mariadb - - mysql - - mysql2 - - pg - - pg-native - - supports-color - - tedious - optional: true - '@motionone/animation@10.18.0': dependencies: '@motionone/easing': 10.18.0 @@ -14806,37 +14752,36 @@ snapshots: dependencies: detect-libc: 1.0.3 - '@peculiar/asn1-android@2.3.13': + '@peculiar/asn1-android@2.3.16': dependencies: '@peculiar/asn1-schema': 2.3.15 - asn1js: 3.0.5 + asn1js: 3.0.6 tslib: 2.8.1 - '@peculiar/asn1-ecc@2.3.14': + '@peculiar/asn1-ecc@2.3.15': dependencies: '@peculiar/asn1-schema': 2.3.15 - '@peculiar/asn1-x509': 2.3.13 - asn1js: 3.0.5 + '@peculiar/asn1-x509': 2.3.15 + asn1js: 3.0.6 tslib: 2.8.1 - '@peculiar/asn1-rsa@2.3.13': + '@peculiar/asn1-rsa@2.3.15': dependencies: '@peculiar/asn1-schema': 2.3.15 - '@peculiar/asn1-x509': 2.3.13 - asn1js: 3.0.5 + '@peculiar/asn1-x509': 2.3.15 + asn1js: 3.0.6 tslib: 2.8.1 '@peculiar/asn1-schema@2.3.15': dependencies: - asn1js: 3.0.5 + asn1js: 3.0.6 pvtsutils: 1.3.6 tslib: 2.8.1 - '@peculiar/asn1-x509@2.3.13': + '@peculiar/asn1-x509@2.3.15': dependencies: '@peculiar/asn1-schema': 2.3.15 - asn1js: 3.0.5 - ipaddr.js: 2.2.0 + asn1js: 3.0.6 pvtsutils: 1.3.6 tslib: 2.8.1 @@ -15298,25 +15243,19 @@ snapshots: transitivePeerDependencies: - encoding - '@simplewebauthn/browser@10.0.0': - dependencies: - '@simplewebauthn/types': 10.0.0 + '@simplewebauthn/browser@13.1.0': {} - '@simplewebauthn/server@10.0.1(encoding@0.1.13)': + '@simplewebauthn/server@13.1.1': dependencies: '@hexagon/base64': 1.1.28 - '@levischuck/tiny-cbor': 0.2.2 - '@peculiar/asn1-android': 2.3.13 - '@peculiar/asn1-ecc': 2.3.14 - '@peculiar/asn1-rsa': 2.3.13 + '@levischuck/tiny-cbor': 0.2.11 + '@peculiar/asn1-android': 2.3.16 + '@peculiar/asn1-ecc': 2.3.15 + '@peculiar/asn1-rsa': 2.3.15 '@peculiar/asn1-schema': 2.3.15 - '@peculiar/asn1-x509': 2.3.13 - '@simplewebauthn/types': 10.0.0 - cross-fetch: 4.0.0(encoding@0.1.13) - transitivePeerDependencies: - - encoding + '@peculiar/asn1-x509': 2.3.15 - '@simplewebauthn/types@10.0.0': {} + '@simplewebauthn/types@12.0.0': {} '@sinclair/typebox@0.27.8': {} @@ -16505,6 +16444,12 @@ snapshots: pvutils: 1.1.3 tslib: 2.8.1 + asn1js@3.0.6: + dependencies: + pvtsutils: 1.3.6 + pvutils: 1.1.3 + tslib: 2.8.1 + assertion-error@2.0.1: {} astral-regex@2.0.0: {} @@ -17243,12 +17188,6 @@ snapshots: transitivePeerDependencies: - encoding - cross-fetch@4.0.0(encoding@0.1.13): - dependencies: - node-fetch: 2.7.0(encoding@0.1.13) - transitivePeerDependencies: - - encoding - cross-inspect@1.0.1: dependencies: tslib: 2.8.1 @@ -18791,8 +18730,6 @@ snapshots: ipaddr.js@1.9.1: {} - ipaddr.js@2.2.0: {} - is-absolute@1.0.0: dependencies: is-relative: 1.0.0 @@ -19617,29 +19554,6 @@ snapshots: transitivePeerDependencies: - supports-color - knex@3.1.0(pg@8.14.1)(sqlite3@5.1.7): - dependencies: - colorette: 2.0.19 - commander: 10.0.1 - debug: 4.3.4 - escalade: 3.2.0 - esm: 3.2.25 - get-package-type: 0.1.0 - getopts: 2.3.0 - interpret: 2.2.0 - lodash: 4.17.21 - pg-connection-string: 2.6.2 - rechoir: 0.8.0 - resolve-from: 5.0.0 - tarn: 3.0.2 - tildify: 2.0.0 - optionalDependencies: - pg: 8.14.1 - sqlite3: 5.1.7 - transitivePeerDependencies: - - supports-color - optional: true - knex@3.1.0(sqlite3@5.1.7): dependencies: colorette: 2.0.19