chore(deps): update NextAuth v4 compatibility baseline
This commit is contained in:
@@ -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 };"
|
||||
|
||||
Reference in New Issue
Block a user