Merge pull request #1264 from lowdefy/renovate/npm-next-auth-vulnerability

fix(deps): update dependency next-auth to v4.9.0 [security]
This commit is contained in:
Sam 2022-07-08 15:15:24 +02:00 committed by GitHub
commit d46bc8cb1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 29 additions and 28 deletions

34
.pnp.cjs generated
View File

@ -3873,7 +3873,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["@swc/core", "npm:1.2.194"],\
["@swc/jest", "virtual:babee6e81435a5d101529cd67f2c6b175f4db37a4ab0b58df15adf73dd11be8917ac14caf44ab4e6882a92c61661055072365b349016e85173e049f006fc2305#npm:0.2.21"],\
["jest", "virtual:babee6e81435a5d101529cd67f2c6b175f4db37a4ab0b58df15adf73dd11be8917ac14caf44ab4e6882a92c61661055072365b349016e85173e049f006fc2305#npm:28.1.0"],\
["next-auth", "virtual:3828db34ebd29f8d79b511e3dda5577d908743c95df6a5617131f10c5e8d5f4e186c617c1b33cc53cb90d5062cc3ecfe666338a3f54f9227de91ca5e440bfb5f#npm:4.5.0"]\
["next-auth", "virtual:3828db34ebd29f8d79b511e3dda5577d908743c95df6a5617131f10c5e8d5f4e186c617c1b33cc53cb90d5062cc3ecfe666338a3f54f9227de91ca5e440bfb5f#npm:4.9.0"]\
],\
"linkType": "SOFT"\
}]\
@ -3899,7 +3899,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["less", "npm:4.1.2"],\
["less-loader", "virtual:003bebd8b7a948d12b44e2c11a621884feb1891eea3645171e827971487f79396db9f7422bc411ccf3f90877e94ec86f5c3da70b96efb5daddb2ee3b35eae5c6#npm:11.0.0"],\
["next", "virtual:003bebd8b7a948d12b44e2c11a621884feb1891eea3645171e827971487f79396db9f7422bc411ccf3f90877e94ec86f5c3da70b96efb5daddb2ee3b35eae5c6#npm:12.1.6"],\
["next-auth", "virtual:003bebd8b7a948d12b44e2c11a621884feb1891eea3645171e827971487f79396db9f7422bc411ccf3f90877e94ec86f5c3da70b96efb5daddb2ee3b35eae5c6#npm:4.5.0"],\
["next-auth", "virtual:003bebd8b7a948d12b44e2c11a621884feb1891eea3645171e827971487f79396db9f7422bc411ccf3f90877e94ec86f5c3da70b96efb5daddb2ee3b35eae5c6#npm:4.9.0"],\
["next-with-less", "virtual:003bebd8b7a948d12b44e2c11a621884feb1891eea3645171e827971487f79396db9f7422bc411ccf3f90877e94ec86f5c3da70b96efb5daddb2ee3b35eae5c6#npm:2.0.5"],\
["process", "npm:0.11.10"],\
["react", "npm:18.1.0"],\
@ -3945,7 +3945,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["less", "npm:4.1.2"],\
["less-loader", "virtual:003bebd8b7a948d12b44e2c11a621884feb1891eea3645171e827971487f79396db9f7422bc411ccf3f90877e94ec86f5c3da70b96efb5daddb2ee3b35eae5c6#npm:11.0.0"],\
["next", "virtual:003bebd8b7a948d12b44e2c11a621884feb1891eea3645171e827971487f79396db9f7422bc411ccf3f90877e94ec86f5c3da70b96efb5daddb2ee3b35eae5c6#npm:12.1.6"],\
["next-auth", "virtual:003bebd8b7a948d12b44e2c11a621884feb1891eea3645171e827971487f79396db9f7422bc411ccf3f90877e94ec86f5c3da70b96efb5daddb2ee3b35eae5c6#npm:4.5.0"],\
["next-auth", "virtual:003bebd8b7a948d12b44e2c11a621884feb1891eea3645171e827971487f79396db9f7422bc411ccf3f90877e94ec86f5c3da70b96efb5daddb2ee3b35eae5c6#npm:4.9.0"],\
["next-with-less", "virtual:003bebd8b7a948d12b44e2c11a621884feb1891eea3645171e827971487f79396db9f7422bc411ccf3f90877e94ec86f5c3da70b96efb5daddb2ee3b35eae5c6#npm:2.0.5"],\
["opener", "npm:1.5.2"],\
["process", "npm:0.11.10"],\
@ -14033,17 +14033,17 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
}]\
]],\
["next-auth", [\
["npm:4.5.0", {\
"packageLocation": "./.yarn/cache/next-auth-npm-4.5.0-931aa166f3-b27a3337d0.zip/node_modules/next-auth/",\
["npm:4.9.0", {\
"packageLocation": "./.yarn/cache/next-auth-npm-4.9.0-b12caf90ff-7f776f0a8d.zip/node_modules/next-auth/",\
"packageDependencies": [\
["next-auth", "npm:4.5.0"]\
["next-auth", "npm:4.9.0"]\
],\
"linkType": "SOFT"\
}],\
["virtual:003bebd8b7a948d12b44e2c11a621884feb1891eea3645171e827971487f79396db9f7422bc411ccf3f90877e94ec86f5c3da70b96efb5daddb2ee3b35eae5c6#npm:4.5.0", {\
"packageLocation": "./.yarn/__virtual__/next-auth-virtual-585c32c50e/0/cache/next-auth-npm-4.5.0-931aa166f3-b27a3337d0.zip/node_modules/next-auth/",\
["virtual:003bebd8b7a948d12b44e2c11a621884feb1891eea3645171e827971487f79396db9f7422bc411ccf3f90877e94ec86f5c3da70b96efb5daddb2ee3b35eae5c6#npm:4.9.0", {\
"packageLocation": "./.yarn/__virtual__/next-auth-virtual-de48b65fdb/0/cache/next-auth-npm-4.9.0-b12caf90ff-7f776f0a8d.zip/node_modules/next-auth/",\
"packageDependencies": [\
["next-auth", "virtual:003bebd8b7a948d12b44e2c11a621884feb1891eea3645171e827971487f79396db9f7422bc411ccf3f90877e94ec86f5c3da70b96efb5daddb2ee3b35eae5c6#npm:4.5.0"],\
["next-auth", "virtual:003bebd8b7a948d12b44e2c11a621884feb1891eea3645171e827971487f79396db9f7422bc411ccf3f90877e94ec86f5c3da70b96efb5daddb2ee3b35eae5c6#npm:4.9.0"],\
["@babel/runtime", "npm:7.18.3"],\
["@panva/hkdf", "npm:1.0.2"],\
["@types/nodemailer", null],\
@ -14055,7 +14055,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["oauth", "npm:0.9.15"],\
["openid-client", "npm:5.1.6"],\
["preact", "npm:10.7.2"],\
["preact-render-to-string", "virtual:4e9e53f37e186732d9013cdc95bae28cea5175c232e0e8912a149a78b9c6835902b8cb979f290d65d629c3dd6af0bc12fccff14299bf25487b87ec2d95f2ebc2#npm:5.2.0"],\
["preact-render-to-string", "virtual:3004f94de6be8671ec59649e0f579f96619e03fb140a9d6e262998189d520342355f5999effc0c5c7236afb4f43b16032930e915c7b79f6d9522beafd0844e8c#npm:5.2.0"],\
["react", "npm:18.1.0"],\
["react-dom", "virtual:573fe255dffc9c89f4f7aa60da718603753ee98acc55d6772bbd0ebdcf07f9183fb8e54b4f3f2246c538a14ead402db8d2e076039c667d1538702638a0cc87b8#npm:18.1.0"],\
["uuid", "npm:8.3.2"]\
@ -14070,10 +14070,10 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
],\
"linkType": "HARD"\
}],\
["virtual:3828db34ebd29f8d79b511e3dda5577d908743c95df6a5617131f10c5e8d5f4e186c617c1b33cc53cb90d5062cc3ecfe666338a3f54f9227de91ca5e440bfb5f#npm:4.5.0", {\
"packageLocation": "./.yarn/__virtual__/next-auth-virtual-4e9e53f37e/0/cache/next-auth-npm-4.5.0-931aa166f3-b27a3337d0.zip/node_modules/next-auth/",\
["virtual:3828db34ebd29f8d79b511e3dda5577d908743c95df6a5617131f10c5e8d5f4e186c617c1b33cc53cb90d5062cc3ecfe666338a3f54f9227de91ca5e440bfb5f#npm:4.9.0", {\
"packageLocation": "./.yarn/__virtual__/next-auth-virtual-3004f94de6/0/cache/next-auth-npm-4.9.0-b12caf90ff-7f776f0a8d.zip/node_modules/next-auth/",\
"packageDependencies": [\
["next-auth", "virtual:3828db34ebd29f8d79b511e3dda5577d908743c95df6a5617131f10c5e8d5f4e186c617c1b33cc53cb90d5062cc3ecfe666338a3f54f9227de91ca5e440bfb5f#npm:4.5.0"],\
["next-auth", "virtual:3828db34ebd29f8d79b511e3dda5577d908743c95df6a5617131f10c5e8d5f4e186c617c1b33cc53cb90d5062cc3ecfe666338a3f54f9227de91ca5e440bfb5f#npm:4.9.0"],\
["@babel/runtime", "npm:7.18.3"],\
["@panva/hkdf", "npm:1.0.2"],\
["@types/nodemailer", null],\
@ -14085,7 +14085,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["oauth", "npm:0.9.15"],\
["openid-client", "npm:5.1.6"],\
["preact", "npm:10.7.2"],\
["preact-render-to-string", "virtual:4e9e53f37e186732d9013cdc95bae28cea5175c232e0e8912a149a78b9c6835902b8cb979f290d65d629c3dd6af0bc12fccff14299bf25487b87ec2d95f2ebc2#npm:5.2.0"],\
["preact-render-to-string", "virtual:3004f94de6be8671ec59649e0f579f96619e03fb140a9d6e262998189d520342355f5999effc0c5c7236afb4f43b16032930e915c7b79f6d9522beafd0844e8c#npm:5.2.0"],\
["react", null],\
["react-dom", null],\
["uuid", "npm:8.3.2"]\
@ -15439,10 +15439,10 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
],\
"linkType": "SOFT"\
}],\
["virtual:4e9e53f37e186732d9013cdc95bae28cea5175c232e0e8912a149a78b9c6835902b8cb979f290d65d629c3dd6af0bc12fccff14299bf25487b87ec2d95f2ebc2#npm:5.2.0", {\
"packageLocation": "./.yarn/__virtual__/preact-render-to-string-virtual-e13ec21d1d/0/cache/preact-render-to-string-npm-5.2.0-796c41ab90-aae92b67da.zip/node_modules/preact-render-to-string/",\
["virtual:3004f94de6be8671ec59649e0f579f96619e03fb140a9d6e262998189d520342355f5999effc0c5c7236afb4f43b16032930e915c7b79f6d9522beafd0844e8c#npm:5.2.0", {\
"packageLocation": "./.yarn/__virtual__/preact-render-to-string-virtual-2898367c85/0/cache/preact-render-to-string-npm-5.2.0-796c41ab90-aae92b67da.zip/node_modules/preact-render-to-string/",\
"packageDependencies": [\
["preact-render-to-string", "virtual:4e9e53f37e186732d9013cdc95bae28cea5175c232e0e8912a149a78b9c6835902b8cb979f290d65d629c3dd6af0bc12fccff14299bf25487b87ec2d95f2ebc2#npm:5.2.0"],\
["preact-render-to-string", "virtual:3004f94de6be8671ec59649e0f579f96619e03fb140a9d6e262998189d520342355f5999effc0c5c7236afb4f43b16032930e915c7b79f6d9522beafd0844e8c#npm:5.2.0"],\
["@types/preact", null],\
["preact", "npm:10.7.2"],\
["pretty-format", "npm:3.8.0"]\

View File

@ -25,11 +25,12 @@ function createLinkAccountEvent(context, { authConfig, plugins }) {
if (linkAccountPlugins.length === 0) return undefined;
async function linkAccountEvent({ account, user }) {
async function linkAccountEvent({ account, profile, user }) {
for (const plugin of linkAccountPlugins) {
await plugin.fn({
properties: plugin.properties ?? {},
account,
profile,
user,
});
}

View File

@ -41,7 +41,7 @@
"swc": "swc src --out-dir dist --config-file ../../../../.swcrc --delete-dir-on-start --copy-files"
},
"dependencies": {
"next-auth": "4.5.0"
"next-auth": "4.9.0"
},
"devDependencies": {
"@swc/cli": "0.1.57",

View File

@ -65,7 +65,7 @@
"chokidar": "3.5.3",
"dotenv": "16.0.1",
"next": "12.1.6",
"next-auth": "4.5.0",
"next-auth": "4.9.0",
"opener": "1.5.2",
"process": "0.11.10",
"react": "18.1.0",

View File

@ -54,7 +54,7 @@
"@lowdefy/operators-js": "4.0.0-alpha.19",
"@lowdefy/plugin-next-auth": "4.0.0-alpha.19",
"next": "12.1.6",
"next-auth": "4.5.0",
"next-auth": "4.9.0",
"process": "0.11.10",
"react": "18.1.0",
"react-dom": "18.1.0",

View File

@ -2914,7 +2914,7 @@ __metadata:
"@swc/core": 1.2.194
"@swc/jest": 0.2.21
jest: 28.1.0
next-auth: 4.5.0
next-auth: 4.9.0
languageName: unknown
linkType: soft
@ -2951,7 +2951,7 @@ __metadata:
less: 4.1.2
less-loader: 11.0.0
next: 12.1.6
next-auth: 4.5.0
next-auth: 4.9.0
next-with-less: 2.0.5
opener: 1.5.2
process: 0.11.10
@ -2984,7 +2984,7 @@ __metadata:
less: 4.1.2
less-loader: 11.0.0
next: 12.1.6
next-auth: 4.5.0
next-auth: 4.9.0
next-with-less: 2.0.5
process: 0.11.10
react: 18.1.0
@ -11582,9 +11582,9 @@ __metadata:
languageName: node
linkType: hard
"next-auth@npm:4.5.0":
version: 4.5.0
resolution: "next-auth@npm:4.5.0"
"next-auth@npm:4.9.0":
version: 4.9.0
resolution: "next-auth@npm:4.9.0"
dependencies:
"@babel/runtime": ^7.16.3
"@panva/hkdf": ^1.0.1
@ -11602,7 +11602,7 @@ __metadata:
peerDependenciesMeta:
nodemailer:
optional: true
checksum: b27a3337d0e89571d27c782661ef3abcfab1344885290c92e253efd22af4acad4a6a676db74466ea5fe57cfc012407a4cb4a660069a208c1ca6bc47cf172a1c8
checksum: 7f776f0a8db26bb19c4fd2b916e38fc27b1e046cc173541d7c398605b3f538c898907ff09b3010a3610b9ddb31e25009056377e3ed33dee68930346ed6dd4eb9
languageName: node
linkType: hard