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

@packt/serverless-env-generator

Package Overview
Dependencies
Maintainers
4
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@packt/serverless-env-generator - npm Package Compare versions

Comparing version 0.0.2 to 0.1.0

6

index.js

@@ -18,2 +18,3 @@ #!/usr/bin/env node

const Fs = require('fs');
const Path = require('path');
const YAML = require('yamljs');

@@ -52,4 +53,5 @@

}
const availableEnvs = Fs.existsSync(commander.envVariables)
? require(commander.envVariables)
const filePath = Path.join(process.cwd(), commander.envVariables);
const availableEnvs = Fs.existsSync(filePath)
? require(filePath)
: commander.envVariables.split(',');

@@ -56,0 +58,0 @@

{
"name": "@packt/serverless-env-generator",
"version": "0.0.2",
"description":
"Generate serverless.env.yml for dynamic ENV assignments within serverless.yml",
"version": "0.1.0",
"description": "Generate serverless.env.yml for dynamic ENV assignments within serverless.yml",
"main": "index.js",

@@ -12,4 +11,3 @@ "scripts": {

"type": "git",
"url":
"git+ssh://git@bitbucket.org/packt-internal/serverless-env-generator.git"
"url": "git+ssh://git@bitbucket.org/packt-internal/serverless-env-generator.git"
},

@@ -27,8 +25,7 @@ "author": {

"license": "Apache-2.0",
"homepage":
"https://bitbucket.org/packt-internal/serverless-env-generator#readme",
"homepage": "https://bitbucket.org/packt-internal/serverless-env-generator#readme",
"dependencies": {
"commander": "^2.15.1",
"dotenv": "^5.0.1",
"yamljs": "^0.3.0"
"commander": "2.16.0",
"dotenv": "6.0.0",
"yamljs": "0.3.0"
},

@@ -35,0 +32,0 @@ "bin": {

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