Skip to content

Commit

Permalink
Adds an extension for NextAuth.js
Browse files Browse the repository at this point in the history
I tried to patch NextAuth.js first but they rejected it. So I'm fixing
Next.js and Yarn instead. I already have fixed the Next.js side and this
is the remaining piece.

References:
  nextauthjs/next-auth#1034
  vercel/next.js#20971
  • Loading branch information
simnalamburt committed Feb 20, 2021
1 parent 25d7628 commit b481061
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .yarn/versions/34ceb174.yml
@@ -0,0 +1,22 @@
releases:
"@yarnpkg/cli": patch
"@yarnpkg/plugin-compat": patch

declined:
- "@yarnpkg/plugin-constraints"
- "@yarnpkg/plugin-dlx"
- "@yarnpkg/plugin-essentials"
- "@yarnpkg/plugin-init"
- "@yarnpkg/plugin-interactive-tools"
- "@yarnpkg/plugin-node-modules"
- "@yarnpkg/plugin-npm-cli"
- "@yarnpkg/plugin-pack"
- "@yarnpkg/plugin-patch"
- "@yarnpkg/plugin-pnp"
- "@yarnpkg/plugin-stage"
- "@yarnpkg/plugin-typescript"
- "@yarnpkg/plugin-version"
- "@yarnpkg/plugin-workspace-tools"
- "@yarnpkg/builder"
- "@yarnpkg/core"
- "@yarnpkg/doctor"
6 changes: 6 additions & 0 deletions packages/plugin-compat/sources/extensions.ts
Expand Up @@ -225,4 +225,10 @@ export const packageExtensions: Array<[string, PackageExtensionData]> = [
protobufjs: `^6.8.6`,
},
}],
// https://github.com/nextauthjs/next-auth/pull/1034
[`next-auth@*`, {
dependencies: {
process: `^0.11.10`,
},
}],
];

0 comments on commit b481061

Please sign in to comment.