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

read-config-file

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

read-config-file - npm Package Compare versions

Comparing version 6.3.2 to 6.4.0

6

out/main.js

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

else if (configFile.endsWith(".ts")) {
result = config_file_ts_1.loadTsConfig(configFile);
result = (0, config_file_ts_1.loadTsConfig)(configFile);
if (typeof result === "function") {

@@ -37,3 +37,3 @@ result = result(request);

else {
result = js_yaml_1.load(data);
result = (0, js_yaml_1.load)(data);
}

@@ -116,3 +116,3 @@ return { result, configFile };

}
const parsed = dotenv_1.parse(data);
const parsed = (0, dotenv_1.parse)(data);
for (const key of Object.keys(parsed)) {

@@ -119,0 +119,0 @@ if (!process.env.hasOwnProperty(key)) {

{
"name": "read-config-file",
"version": "6.3.2",
"version": "6.4.0",
"main": "out/main.js",

@@ -17,13 +17,13 @@ "author": "Vladimir Krivosheev",

"dependencies": {
"config-file-ts": "^0.2.4",
"dotenv": "^9.0.2",
"dotenv-expand": "^5.1.0",
"config-file-ts": "0.2.8-rc1",
"dotenv": "^16.4.5",
"dotenv-expand": "^11.0.6",
"js-yaml": "^4.1.0",
"json5": "^2.2.0",
"lazy-val": "^1.0.4"
"json5": "^2.2.3",
"lazy-val": "^1.0.5"
},
"devDependencies": {
"@types/js-yaml": "^4.0.1",
"@types/node": "^15.0.2",
"typescript": "^4.2.4"
"@types/js-yaml": "^4.0.9",
"@types/node": "^20.12.12",
"typescript": "^5.4.5"
},

@@ -30,0 +30,0 @@ "typings": "./out/main.d.ts",

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