chore(deps): update NextAuth v4 compatibility baseline

This commit is contained in:
2026-11-03 10:15:53 +00:00
parent bb50b17277
commit 16ca736789
3 changed files with 35 additions and 55 deletions
+32 -53
View File
@@ -42,14 +42,14 @@
"multiparty": "^4.2.3",
"mysql": "^2.18.1",
"next": "^14.2.28",
"next-auth": "^4.24.4",
"next-auth": "4.24.15",
"next-build-id": "^3.0.0",
"next-connect": "^0.12.2",
"next-redux-wrapper": "^7.0.5",
"next-swagger-doc": "^0.4.0",
"next-translate": "^2.6.2",
"next-translate-plugin": "^2.6.2",
"nodemailer": "^6.9.7",
"nodemailer": "7.0.13",
"nookies": "^2.5.2",
"notifications-node-client": "^7.0.6",
"openapi-types": "^12.1.3",
@@ -130,47 +130,6 @@
"openapi-types": ">=7"
}
},
"node_modules/@auth/core": {
"version": "0.34.2",
"resolved": "https://registry.npmjs.org/@auth/core/-/core-0.34.2.tgz",
"integrity": "sha512-KywHKRgLiF3l7PLyL73fjLSIBe1YNcA6sMeew4yMP6cfCWGXZrkkXd32AjRi1hlJ9nvovUBGZHvbn+LijO6ZeQ==",
"optional": true,
"peer": true,
"dependencies": {
"@panva/hkdf": "^1.1.1",
"@types/cookie": "0.6.0",
"cookie": "0.6.0",
"jose": "^5.1.3",
"oauth4webapi": "^2.10.4",
"preact": "10.11.3",
"preact-render-to-string": "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
}
}
},
"node_modules/@auth/core/node_modules/jose": {
"version": "5.9.2",
"license": "MIT",
"optional": true,
"peer": true,
"funding": {
"url": "https://github.com/sponsors/panva"
}
},
"node_modules/@auth/prisma-adapter": {
"version": "1.6.0",
"license": "ISC",
@@ -219,6 +178,17 @@
"url": "https://github.com/sponsors/panva"
}
},
"node_modules/@auth/prisma-adapter/node_modules/nodemailer": {
"version": "6.10.1",
"resolved": "https://registry.npmjs.org/nodemailer/-/nodemailer-6.10.1.tgz",
"integrity": "sha512-Z+iLaBGVaSjbIzQ4pX6XV41HrooLsQ10ZWPUehGmuantvzWoDVBnmsdUcOIDM1t+yPor5pDhVlDESgOMEGxhHA==",
"license": "MIT-0",
"optional": true,
"peer": true,
"engines": {
"node": ">=6.0.0"
}
},
"node_modules/@azure/abort-controller": {
"version": "2.1.2",
"license": "MIT",
@@ -7541,9 +7511,10 @@
}
},
"node_modules/next-auth": {
"version": "4.24.11",
"resolved": "https://registry.npmjs.org/next-auth/-/next-auth-4.24.11.tgz",
"integrity": "sha512-pCFXzIDQX7xmHFs4KVH4luCjaCbuPRtZ9oBUjUhOk84mZ9WVPf94n87TxYI4rSRf9HmfHEF8Yep3JrYDVOo3Cw==",
"version": "4.24.15",
"resolved": "https://registry.npmjs.org/next-auth/-/next-auth-4.24.15.tgz",
"integrity": "sha512-NnjYtjrSOAx/TIVFGTX4IfI/9yHnNpi4B7FuLUwuV20v2Zxgr2OGP/YN0ynJuI7y8QOnTBPitfOdEXZrVvhIuA==",
"license": "ISC",
"dependencies": {
"@babel/runtime": "^7.20.13",
"@panva/hkdf": "^1.0.2",
@@ -7553,12 +7524,12 @@
"openid-client": "^5.4.0",
"preact": "^10.6.3",
"preact-render-to-string": "^5.1.19",
"uuid": "^8.3.2"
"uuid": "^11.1.1"
},
"peerDependencies": {
"@auth/core": "0.34.2",
"next": "^12.2.5 || ^13 || ^14 || ^15",
"nodemailer": "^6.6.5",
"@auth/core": "0.34.3",
"next": "^12.2.5 || ^13 || ^14 || ^15 || ^16",
"nodemailer": "^7.0.7",
"react": "^17.0.2 || ^18 || ^19",
"react-dom": "^17.0.2 || ^18 || ^19"
},
@@ -7598,10 +7569,16 @@
}
},
"node_modules/next-auth/node_modules/uuid": {
"version": "8.3.2",
"version": "11.1.1",
"resolved": "https://registry.npmjs.org/uuid/-/uuid-11.1.1.tgz",
"integrity": "sha512-vIYxrBCC/N/K+Js3qSN88go7kIfNPssr/hHCesKCQNAjmgvYS2oqr69kIufEG+O4+PfezOH4EbIeHCfFov8ZgQ==",
"funding": [
"https://github.com/sponsors/broofa",
"https://github.com/sponsors/ctavan"
],
"license": "MIT",
"bin": {
"uuid": "dist/bin/uuid"
"uuid": "dist/esm/bin/uuid"
}
},
"node_modules/next-build-id": {
@@ -7782,7 +7759,9 @@
"license": "MIT"
},
"node_modules/nodemailer": {
"version": "6.9.15",
"version": "7.0.13",
"resolved": "https://registry.npmjs.org/nodemailer/-/nodemailer-7.0.13.tgz",
"integrity": "sha512-PNDFSJdP+KFgdsG3ZzMXCgquO7I6McjY2vlqILjtJd0hy8wEvtugS9xKRF2NWlPNGxvLCXlTNIae4serI7dinw==",
"license": "MIT-0",
"engines": {
"node": ">=6.0.0"
+2 -2
View File
@@ -56,14 +56,14 @@
"multiparty": "^4.2.3",
"mysql": "^2.18.1",
"next": "^14.2.28",
"next-auth": "^4.24.4",
"next-auth": "4.24.15",
"next-build-id": "^3.0.0",
"next-connect": "^0.12.2",
"next-redux-wrapper": "^7.0.5",
"next-swagger-doc": "^0.4.0",
"next-translate": "^2.6.2",
"next-translate-plugin": "^2.6.2",
"nodemailer": "^6.9.7",
"nodemailer": "7.0.13",
"nookies": "^2.5.2",
"notifications-node-client": "^7.0.6",
"openapi-types": "^12.1.3",
@@ -19,6 +19,7 @@ const loadAuthInternals = ({ adapterFactory = () => ({}) } = {}) => {
let source = fs.readFileSync(filePath, "utf8");
source = source.replace(/import[\s\S]*?from\s+"[^"]+";\n?/g, "");
source = source.replace("export const authOptions", "const authOptions");
source = source.replace(
/export default NextAuthPEDW;\s*$/,
"module.exports = { appendParamsAndPathToNewUrl, resolveRequestLocale, authOptions, NextAuthPEDW };"