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
@@ -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 };"