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

@adobe/aio-lib-ims-oauth

Package Overview
Dependencies
Maintainers
21
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adobe/aio-lib-ims-oauth - npm Package Compare versions

Comparing version 4.1.0 to 5.0.0

28

package.json
{
"name": "@adobe/aio-lib-ims-oauth",
"description": "OAuth2 (SUSI) token creation plugin for @adobe/aio-lib-ims",
"version": "4.1.0",
"version": "5.0.0",
"author": "Adobe Inc.",
"bugs": "https://github.com/adobe/aio-lib-ims-oauth/issues",
"dependencies": {
"@adobe/aio-lib-core-errors": "^3.0.1",
"@adobe/aio-lib-core-logging": "^1.2.0",
"@adobe/aio-lib-env": "^1.0.0",
"@adobe/aio-lib-core-errors": "^3.1.0",
"@adobe/aio-lib-core-logging": "^2.0.0",
"@adobe/aio-lib-env": "^2.0.0",
"@oclif/core": "^1.14.2",
"cli-ux": "^5.3.3",

@@ -15,13 +16,14 @@ "ora": "^4.0.3"

"peerDependencies": {
"@adobe/aio-lib-ims": "^4.0.0"
"@adobe/aio-lib-ims": "^5.0.0"
},
"devDependencies": {
"@adobe/eslint-config-aio-lib-config": "^1.4.0",
"eslint": "^7.32.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jest": "^23.20.0",
"eslint-plugin-jsdoc": "^37.5.1",
"@adobe/eslint-config-aio-lib-config": "^2",
"eslint": "^8",
"eslint-config-standard": "^17",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-jest": "^23",
"eslint-plugin-jsdoc": "^37",
"eslint-plugin-n": "^15",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.2.0",
"eslint-plugin-promise": "^6",
"eslint-plugin-standard": "^4.0.1",

@@ -36,3 +38,3 @@ "globby": "^10.0.1",

"engines": {
"node": ">=12.0.0"
"node": "^14.18 || ^16.13 || >=18"
},

@@ -39,0 +41,0 @@ "files": [

@@ -76,3 +76,3 @@ /*

.then(() => {
const options = { bare: config[CLI_BARE_OUTPUT], env: config.env, timeout: config.timeout, open: config.open }
const options = { bare: config[CLI_BARE_OUTPUT], env: config.env, timeout: config.timeout, open: config.open, browser: config.browser }
return login(options)

@@ -79,0 +79,0 @@ })

@@ -15,3 +15,3 @@ /*

const ora = require('ora')
const { cli } = require('cli-ux')
const { CliUx: cli } = require('@oclif/core')
const { randomId, authSiteUrl, getImsCliOAuthUrl, createServer, handleOPTIONS, handleGET, handlePOST, handleUnsupportedHttpMethod } = require('./helpers')

@@ -38,3 +38,3 @@ const { codes: errors } = require('./errors')

// eslint-disable-next-line camelcase
const { bare = false, env, timeout = AUTH_TIMEOUT_SECONDS, client_id, scope, open = true } = options
const { bare = false, env, timeout = AUTH_TIMEOUT_SECONDS, client_id, scope, open = true, browser: app } = options
const redirect_uri = `${getImsCliOAuthUrl(env)}${LOGIN_SUCCESS}` // eslint-disable-line camelcase

@@ -44,2 +44,3 @@ const id = randomId()

const serverPort = server.address().port
// eslint-disable-next-line camelcase
const uri = authSiteUrl({ id, port: serverPort, client_id, scope, redirect_uri }, env)

@@ -58,3 +59,5 @@

if (open) {
cli.open(uri)
cli.open(uri, {
app
})
}

@@ -61,0 +64,0 @@

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