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

dotenv-mono

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dotenv-mono - npm Package Compare versions

Comparing version 1.3.9 to 1.3.10

20

dist/index.js

@@ -253,4 +253,5 @@ "use strict";

return;
if (loadOnProcess) {
let config = dotenv_1.default.config({
const plain = fs_1.default.readFileSync(file, { encoding: this.encoding, flag: "r" });
const config = loadOnProcess
? dotenv_1.default.config({
path: file,

@@ -260,9 +261,12 @@ debug: this.debug,

override: !defaults && this.override,
});
if (this.expand)
config = dotenv_expand_1.default.expand(config);
this.mergeDotenvConfig(config);
}
})
: {
parsed: this.parse(plain),
ignoreProcessEnv: true,
};
if (this.expand)
dotenv_expand_1.default.expand(config);
this.mergeDotenvConfig(config);
if (!defaults)
this.plain = fs_1.default.readFileSync(file, { encoding: this.encoding, flag: "r" });
this.plain = plain;
}

@@ -269,0 +273,0 @@ /**

32

package.json
{
"name": "dotenv-mono",
"version": "1.3.9",
"version": "1.3.10",
"main": "./dist/index.js",

@@ -42,22 +42,22 @@ "module": "./dist/index.js",

"devDependencies": {
"@types/jest": "^29.2.4",
"@types/jest": "^29.4.0",
"@types/mock-fs": "^4.13.1",
"@types/node": "^18.11.17",
"@typescript-eslint/eslint-plugin": "^5.47.0",
"@typescript-eslint/parser": "^5.47.0",
"eslint": "^8.30.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-jest": "^27.1.7",
"@types/node": "^18.14.0",
"@typescript-eslint/eslint-plugin": "^5.52.0",
"@typescript-eslint/parser": "^5.52.0",
"eslint": "^8.34.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-jest-extended": "^2.0.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-simple-import-sort": "^8.0.0",
"husky": "^8.0.2",
"jest": "^29.3.1",
"jest-extended": "^3.2.0",
"lint-staged": "^13.1.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"husky": "^8.0.3",
"jest": "^29.4.3",
"jest-extended": "^3.2.4",
"lint-staged": "^13.1.2",
"mock-fs": "^5.2.0",
"prettier": "^2.8.1",
"prettier": "^2.8.4",
"standard-version": "^9.5.0",
"ts-jest": "^29.0.3",
"typescript": "^4.9.4"
"ts-jest": "^29.0.5",
"typescript": "^4.9.5"
},

@@ -64,0 +64,0 @@ "publishConfig": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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