Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

auth

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

auth - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

16

commands/add.js

@@ -41,10 +41,8 @@ // @ts-check

try {
const pid =
providerId ??
(await select({
message: "What provider do you want to set up?",
choices: choices,
}))
providerId ??= await select({
message: "What provider do you want to set up?",
choices: choices,
})
const provider = providers[pid]
const provider = providers[providerId]
if (!provider?.setupUrl) {

@@ -54,3 +52,3 @@ console.error(

`Missing instructions for ${
provider?.name ?? pid
provider?.name ?? providerId
}.\nInstructions are available for: ${y.bold(

@@ -140,3 +138,3 @@ choices.map((choice) => choice.name).join(", ")

const varPrefix = `AUTH_${pid.toUpperCase()}`
const varPrefix = `AUTH_${providerId.toUpperCase()}`
await updateEnvFile({

@@ -143,0 +141,0 @@ [`${varPrefix}_ID`]: clientId,

{
"name": "auth",
"version": "1.2.1",
"version": "1.2.2",
"homepage": "https://cli.authjs.dev",

@@ -5,0 +5,0 @@ "repository": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc