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

create-payload-app

Package Overview
Dependencies
Maintainers
2
Versions
471
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-payload-app - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

14

dist/lib/write-env-file.js

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

case 1:
_a.trys.push([1, 6, , 7]);
_a.trys.push([1, 7, , 8]);
if (!(template.type === 'starter' &&

@@ -85,3 +85,3 @@ fs_extra_1.default.existsSync(path_1.default.join(projectDir, '.env.example')))) return [3 /*break*/, 4];

_a.sent();
_a.label = 4;
return [3 /*break*/, 6];
case 4:

@@ -92,5 +92,7 @@ content = "MONGODB_URI=".concat(databaseUri, "\nPAYLOAD_SECRET=").concat(payloadSecret);

_a.sent();
_a.label = 6;
case 6:
(0, log_1.success)('.env file created');
return [3 /*break*/, 7];
case 6:
return [3 /*break*/, 8];
case 7:
err_1 = _a.sent();

@@ -102,4 +104,4 @@ (0, log_1.error)('Unable to write .env file');

process.exit(1);
return [3 /*break*/, 7];
case 7: return [2 /*return*/];
return [3 /*break*/, 8];
case 8: return [2 /*return*/];
}

@@ -106,0 +108,0 @@ });

@@ -40,3 +40,3 @@ {

},
"version": "0.4.0",
"version": "0.4.1",
"devDependencies": {

@@ -43,0 +43,0 @@ "@types/command-exists": "^1.2.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