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

create-zalo-mini-app

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-zalo-mini-app - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

10

bin/index.js
#! /usr/bin/env node
const exec = require('exec-sh');
const compareVersion = require('compare-versions');
var commandExistsSync = require('command-exists').sync;
const chalk = require('chalk');
const { lookpath } = require('lookpath');

@@ -44,3 +44,5 @@ const { MINIMUM_NODE_VERSION } = require('../constants');

if (commandExistsSync('zmp')) {
const zmp = await lookpath('zmp-cli');
if (zmp) {
try {

@@ -67,5 +69,5 @@ logger.statusStart(`Updating CLI: ${waitText}`);

if (createProjectFolder) {
await exec.promise(`cd ${projectFolder} && zmp init`);
await exec.promise(`cd ${projectFolder} && zmp-cli init`);
} else {
await exec.promise(`zmp init`);
await exec.promise(`zmp-cli init`);
}

@@ -72,0 +74,0 @@ } catch (err) {

3

package.json
{
"name": "create-zalo-mini-app",
"version": "1.0.0",
"version": "1.0.1",
"description": "Create zalo mini app project",

@@ -25,2 +25,3 @@ "main": "bin/index.js",

"exec-sh": "^0.4.0",
"lookpath": "^1.2.2",
"ora": "^3.4.0"

@@ -27,0 +28,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