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

create-piso-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-piso-app - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

10

lib/index.js

@@ -45,3 +45,5 @@ "use strict";

var package_json_1 = __importDefault(require("../package.json"));
var update_notifier_cjs_1 = __importDefault(require("update-notifier-cjs"));
var log_1 = __importDefault(require("./log"));
var chalk_1 = __importDefault(require("chalk"));
var program = new commander_1.Command();

@@ -53,8 +55,14 @@ program

.action(function (dest) { return __awaiter(void 0, void 0, void 0, function () {
var notifier;
return __generator(this, function (_a) {
switch (_a.label) {
case 0: return [4 /*yield*/, (0, download_repo_1.default)(dest)];
case 0:
notifier = (0, update_notifier_cjs_1.default)({ pkg: package_json_1.default }).notify();
return [4 /*yield*/, (0, download_repo_1.default)(dest)];
case 1:
_a.sent();
(0, log_1.default)(dest);
if (notifier.update) {
console.log("\n", chalk_1.default.yellowBright("".concat(notifier.update.latest, " \u7248\u672C\u5DF2\u53D1\u5E03\uFF0C\u8BF7\u5347\u7EA7")));
}
return [2 /*return*/];

@@ -61,0 +69,0 @@ }

5

package.json
{
"name": "create-piso-app",
"version": "0.0.2",
"version": "0.0.3",
"main": "lib/index.js",

@@ -27,3 +27,4 @@ "bin": {

"inquirer": "^9.2.18",
"progress": "^2.0.3"
"progress": "^2.0.3",
"update-notifier-cjs": "^5.1.6"
},

@@ -30,0 +31,0 @@ "keywords": [

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