🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

dotenvr

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dotenvr - npm Package Compare versions

Comparing version
0.2.0
to
0.2.1
+1
-1
dist/index.js

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

if (mixed) {
return Object.assign(Object.assign({}, process.env), config);
process.env = Object.assign(Object.assign({}, process.env), config);
}

@@ -76,0 +76,0 @@ return config;

{
"name": "dotenvr",
"version": "0.2.0",
"version": "0.2.1",
"description": "dotenv Recursion",
"main": "dist/index.js",
"main": "index.js",
"scripts": {

@@ -40,3 +40,3 @@ "coverage": "istanbul cover _mocha -- -R spec --timeout 5000 --recursive",

"istanbul": "^0.4.5",
"mocha": "^8.1.3",
"mocha": "^5.1.0",
"nyc": "^14.1.1",

@@ -55,2 +55,2 @@ "sinon": "^4.5.0",

}
}
}

@@ -7,4 +7,3 @@ import { describe } from "mocha";

it('parse-env', () => {
const config = Dotenvr.load('.env', false);
const config = Dotenvr.load('.env', true);
assert.deepEqual(

@@ -23,3 +22,3 @@ config,

'NUMBER': 123,
'GOPATH': process.env.GOPATH,
'GOPATH': 0,
'ARR': ['a', 'b', 'c'],

@@ -26,0 +25,0 @@ 'BOOL_TRUE_1': true,

Sorry, the diff of this file is not supported yet