read-config-file
Advanced tools
Comparing version 6.3.2 to 6.4.0
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20096
+ Addedconfig-file-ts@0.2.8-rc1(transitive)
+ Addeddotenv@16.4.5(transitive)
+ Addeddotenv-expand@11.0.7(transitive)
- Removedconfig-file-ts@0.2.6(transitive)
- Removeddotenv@9.0.2(transitive)
- Removeddotenv-expand@5.1.0(transitive)
Updatedconfig-file-ts@0.2.8-rc1
Updateddotenv@^16.4.5
Updateddotenv-expand@^11.0.6
Updatedjson5@^2.2.3
Updatedlazy-val@^1.0.5