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

@shopletzy/cli

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shopletzy/cli - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

2

package.json
{
"name": "@shopletzy/cli",
"version": "1.0.5",
"version": "1.0.6",
"description": "Shopletzy CLI is a command line interface tool for interacting with the Shopletzy eCommerce platform",

@@ -5,0 +5,0 @@ "main": "./src/index.js",

@@ -13,2 +13,3 @@ import { slzconfig } from "../common/auth.js";

const apiUrl = "https://api.testing.shopletzy.com";
// const apiUrl = "http://localhost:3978";
const preSignedUrls = {};

@@ -296,3 +297,3 @@ let isReady = false;

log(chalk.green("\nCreated successfully"));
log("Theme ID: " + data._id);
log("Theme ID: " + data.id);
log();

@@ -320,3 +321,3 @@ } catch (error) {

// Define the table header and format using Chalk
const header = chalk.bold(`${"id".padEnd(30)}\t${"name".padEnd(15)}\tversion\t\trelease\t\tstatus`);
const header = chalk.bold(`${"id".padEnd(40)}\t${"name".padEnd(15)}\tversion\t\trelease\t\tstatus`);
log(header);

@@ -326,6 +327,6 @@

let latestReleaseVersion;
if (theme.releases) {
if (theme.releases && theme.releases.length > 0) {
latestReleaseVersion = theme.releases[theme.releases.length - 1].version;
}
const row = `${theme._id.padEnd(30)}\t${theme.name.padEnd(15)}\t${theme.curVer || ""}\t\t${
const row = `${theme.id.padEnd(40)}\t${theme.name.padEnd(15)}\t${theme.curVer || ""}\t\t${
latestReleaseVersion || ""

@@ -357,2 +358,5 @@ }\t\t${theme.status}`;

function addFilesToZip(dir) {
if (dir.startsWith(".git")) {
return;
}
const files = fs.readdirSync(dir);

@@ -359,0 +363,0 @@ for (const file of files) {

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