New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

create-moov-app

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-moov-app - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

10

lib/create-moov-app.js

@@ -22,3 +22,11 @@ const { calculatePwaPath, getProjectName } = require('./utils');

const userConfig = await promptForConfig();
let userConfig;
try {
userConfig = await promptForConfig();
} catch(err) {
console.log(err.message);
return;
}
if (await createMoovAppInternal(userConfig)) {

@@ -25,0 +33,0 @@ console.log(`Moov PWA created in ${calculatePwaPath(userConfig)}. Head to that directory and run "${_calculateStartCommand()}" to see it in action!`);

@@ -102,3 +102,10 @@ const prompts = require('prompts');

const promptForConfig = async () => {
return await prompts(questions);
const userInput = await prompts(questions);
// If the user has not provided all input, abort.
if (Object.keys(userInput).length !== questions.length) {
throw new Error('User configuration is incomplete. Aborting.');
}
return userInput;
};

@@ -105,0 +112,0 @@

2

package.json
{
"name": "create-moov-app",
"version": "1.0.0",
"version": "1.0.1",
"description": "Utility to create Moov PWA projects",

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

@@ -14,3 +14,6 @@ # create-moov-app

## Release Notes
### 1.0.1 - Oct 1, 2018
* Fix issue where project creation would continue after canceling configuration.
### 1.0.0 - Sep 26, 2018
* Initial release.
* Initial release.
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