Socket
Socket
Sign inDemoInstall

@zeplin/cli

Package Overview
Dependencies
Maintainers
5
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zeplin/cli - npm Package Compare versions

Comparing version 0.4.2 to 0.4.3

2

dist/package.json
{
"name": "@zeplin/cli",
"version": "0.4.2",
"version": "0.4.3",
"description": "Zeplin CLI",

@@ -5,0 +5,0 @@ "main": "./dist/src/app",

@@ -27,2 +27,3 @@ "use strict";

const envUtil = __importStar(require("../../util/env"));
const authFileUtil = __importStar(require("../../util/auth-file"));
const index_1 = require("../../service/index");

@@ -37,4 +38,3 @@ function login() {

else {
const authService = new index_1.AuthenticationService();
const existingToken = yield authService.authenticate();
const existingToken = yield authFileUtil.readAuthToken();
if (existingToken) {

@@ -50,2 +50,3 @@ const answer = yield inquirer_1.default.prompt([{

}
const authService = new index_1.AuthenticationService();
yield authService.promptForLogin({ ignoreSaveTokenErrors: false });

@@ -52,0 +53,0 @@ logger_1.default.info(chalk_1.default.bold("\n🦄 Successfully authenticated."));

@@ -62,3 +62,3 @@ "use strict";

if (tokenFromFile) {
logger_1.default.debug(`Found access token from auth file. value: ${tokenFromEnv}`);
logger_1.default.debug(`Found access token from auth file. value: ${tokenFromFile}`);
this.authToken = tokenFromFile;

@@ -65,0 +65,0 @@ }

{
"name": "@zeplin/cli",
"version": "0.4.2",
"version": "0.4.3",
"description": "Zeplin CLI",

@@ -5,0 +5,0 @@ "main": "./dist/src/app",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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