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

env-create

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

env-create - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

4

lib/main.js

@@ -11,3 +11,3 @@ const fs = require('fs')

* code can rely on the environment variables existing.
* @param {{path:string, encoding:string} options
* @param {{path?:string, encoding?:string} options
*/

@@ -18,3 +18,3 @@ const load = (options) => {

const encoding = (options && options.encoding) || DEFAULT_ENCODING
// don't allow an options.path of zero length, i.e. ''
if (jsonPath.length < 1) {jsonPath = getDefaultPath()}

@@ -21,0 +21,0 @@

{
"name": "env-create",
"version": "1.0.8",
"version": "1.0.9",
"description": "Read in a .env.json file that contains valid JSON and assign top level properties to environment variables",

@@ -14,3 +14,3 @@ "repository": {

"lint": "eslint lib --color",
"build": "npm run lint && npm test && git add -A && git commit -m 'build commit ' && npm version patch && npm publish "
"build": "npm run lint && npm test && git add -A && npm version patch && npm publish "
},

@@ -17,0 +17,0 @@ "author": "Tod Gentille",

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