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

akkeris

Package Overview
Dependencies
Maintainers
4
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

akkeris - npm Package Compare versions

Comparing version 2.7.9 to 2.8.0

6

package.json
{
"name": "akkeris",
"version": "2.7.9",
"version": "2.8.0",
"description": "Akkeris CLI",

@@ -21,7 +21,7 @@ "main": "aka.js",

"cliui": "^3.2.0",
"colors": "^1.3.2",
"colors": "^1.3.3",
"crypto-js": "^3.1.9-1",
"netrc": "^0.1.4",
"yargs": "https://github.com/trevorlinton/yargs#fork-head"
"yargs": "git+https://github.com/trevorlinton/yargs.git#fork-head"
}
}

@@ -14,3 +14,4 @@ "use strict"

'Content-Type':'application/json',
'Accept':'application/json'
'Accept':'application/json',
'User-Agent':'akkeris-cli',
};

@@ -21,3 +22,3 @@ if(OTP) {

appkit.http.post(
JSON.stringify({'notes':'Akkeris CLI Token (' + require('os').hostname() + ')', 'notes_url':'', 'fingerprint':''}),
JSON.stringify({'notes':'Akkeris CLI Token (' + require('os').hostname() + ')', 'note':'Akkeris CLI Token', 'notes_url':'', 'fingerprint':''}),
`https://${appkit.config.akkeris_auth_host}/authorizations`,

@@ -30,7 +31,7 @@ headers,

}
if(err.body && err.body.indexOf('2FA') > -1) {
let otp_header = Object.keys(err.headers).filter((x) => { return x.toLowerCase().indexOf("otp") !== -1 && x.toLowerCase().startsWith("x-") })
if(err.body && err.body.indexOf('2FA') > -1 || err.body.indexOf('OTP')) {
let otp_header = Object.keys(err.headers).filter((x) => { return x.toLowerCase().indexOf("-otp") !== -1 && x.toLowerCase().startsWith("x-") })
if(otp_header.length !== 1) {
loader.end('error')
return appkit.terminal.error("Unable to determine type of two factor OTP.")
return appkit.terminal.error("Unable to determine type of two factor OTP: " + err.body)
}

@@ -37,0 +38,0 @@ loader.end('ok');

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