diff --git a/functions/package.json b/functions/package.json index 3bf228367..026fe4838 100644 --- a/functions/package.json +++ b/functions/package.json @@ -6,7 +6,7 @@ "build": "tsc --noEmit" }, "dependencies": { - "@auth/core": "0.18.0", + "@auth/core": "0.34.2", "cookie": "0.6.0", "date-fns": "3.6.0", "fast-xml-parser": "4.4.0", diff --git a/yarn.lock b/yarn.lock index c83f2540b..1e7915e1c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -44,22 +44,29 @@ __metadata: languageName: node linkType: hard -"@auth/core@npm:0.18.0": - version: 0.18.0 - resolution: "@auth/core@npm:0.18.0" - dependencies: - "@panva/hkdf": "npm:^1.0.4" - cookie: "npm:0.5.0" - jose: "npm:^4.11.1" - oauth4webapi: "npm:^2.0.6" +"@auth/core@npm:0.34.2": + version: 0.34.2 + resolution: "@auth/core@npm:0.34.2" + dependencies: + "@panva/hkdf": "npm:^1.1.1" + "@types/cookie": "npm:0.6.0" + cookie: "npm:0.6.0" + jose: "npm:^5.1.3" + oauth4webapi: "npm:^2.10.4" preact: "npm:10.11.3" preact-render-to-string: "npm:5.2.3" peerDependencies: + "@simplewebauthn/browser": ^9.0.1 + "@simplewebauthn/server": ^9.0.2 nodemailer: ^6.8.0 peerDependenciesMeta: + "@simplewebauthn/browser": + optional: true + "@simplewebauthn/server": + optional: true nodemailer: optional: true - checksum: 1cc261cdbc9b11cf4dadf4ef55690a217c7df6a6994247b4ccdfc10494191c35cf4c4464b7aba6619bb472a306e9d1ef44e8dd71649233b1f378cf6c20397ade + checksum: ec1a565b33120bf77bd483ec72489ce76cb117e4e77c3473868d910a356ffefc6499205d0fe1eb9caa303400fa9153f1d94da5a3a10dfa4306f01d369c6f1ff6 languageName: node linkType: hard @@ -2833,10 +2840,10 @@ __metadata: languageName: node linkType: hard -"@panva/hkdf@npm:^1.0.4": - version: 1.1.1 - resolution: "@panva/hkdf@npm:1.1.1" - checksum: f0dd12903751d8792420353f809ed3c7de860cf506399759fff5f59f7acfef8a77e2b64012898cee7e5b047708fa0bd91dff5ef55a502bf8ea11aad9842160da +"@panva/hkdf@npm:^1.1.1": + version: 1.2.1 + resolution: "@panva/hkdf@npm:1.2.1" + checksum: a4a9d1812f88f02bc163b365524bbaa5239cc4711e5e7be1bda68dabae1c896cf1cd12520949b0925a6910733d1afcb25ab51fd3cf06f0f69aee988fffebf56e languageName: node linkType: hard @@ -4963,13 +4970,6 @@ __metadata: languageName: node linkType: hard -"cookie@npm:0.5.0, cookie@npm:^0.5.0": - version: 0.5.0 - resolution: "cookie@npm:0.5.0" - checksum: aae7911ddc5f444a9025fbd979ad1b5d60191011339bce48e555cb83343d0f98b865ff5c4d71fecdfb8555a5cafdc65632f6fce172f32aaf6936830a883a0380 - languageName: node - linkType: hard - "cookie@npm:0.6.0": version: 0.6.0 resolution: "cookie@npm:0.6.0" @@ -4977,6 +4977,13 @@ __metadata: languageName: node linkType: hard +"cookie@npm:^0.5.0": + version: 0.5.0 + resolution: "cookie@npm:0.5.0" + checksum: aae7911ddc5f444a9025fbd979ad1b5d60191011339bce48e555cb83343d0f98b865ff5c4d71fecdfb8555a5cafdc65632f6fce172f32aaf6936830a883a0380 + languageName: node + linkType: hard + "core-js-compat@npm:^3.31.0, core-js-compat@npm:^3.33.1": version: 3.35.1 resolution: "core-js-compat@npm:3.35.1" @@ -6693,7 +6700,7 @@ __metadata: version: 0.0.0-use.local resolution: "functions@workspace:functions" dependencies: - "@auth/core": "npm:0.18.0" + "@auth/core": "npm:0.34.2" "@cloudflare/workers-types": "npm:4.20240620.0" "@types/cookie": "npm:0.6.0" "@types/query-string": "npm:6.3.0" @@ -7625,10 +7632,10 @@ __metadata: languageName: node linkType: hard -"jose@npm:^4.11.1": - version: 4.15.4 - resolution: "jose@npm:4.15.4" - checksum: 20fa941597150dffc7af3f41d994500cc3e71cd650b755243dbd80d91cf26c1053f95b78af588f05cfc4371e492a67c5c7a48f689b8605145a8fe28b484d725b +"jose@npm:^5.1.3": + version: 5.6.3 + resolution: "jose@npm:5.6.3" + checksum: 829f07b8857221ada1cd112a5ebd084e34748f6e3247f5cb03aca0a1f25dd6a07283c9a4f5b854935bda505e3243405640550f8e9eb46c45b172dc4cb336ac89 languageName: node linkType: hard @@ -8406,10 +8413,10 @@ __metadata: languageName: node linkType: hard -"oauth4webapi@npm:^2.0.6": - version: 2.7.0 - resolution: "oauth4webapi@npm:2.7.0" - checksum: 47cc610a95cbb9f22199f66bf8c43b6cfbd0bec5cfb7e46b7dcad9e7db424e34f0b2485b7c8ec51d08c0b4d16c419be054768997fc6342bf02c832ffafc99b77 +"oauth4webapi@npm:^2.10.4": + version: 2.11.1 + resolution: "oauth4webapi@npm:2.11.1" + checksum: 94a3f9dfff0399aff4d9e5e006f813063bcb71211bd07cac119afa5a69d7b5426fe2a19ccb7643e2a2dd1f9512c50e3f2b875275f943877da2dea2112c23e83e languageName: node linkType: hard