@incanta/config
Advanced tools
Comparing version 0.5.1 to 0.5.2
@@ -129,2 +129,7 @@ "use strict"; | ||
async processSecrets(v) { | ||
if (typeof this.normalizedValues.secrets?.provider === "undefined" || | ||
(typeof this.normalizedValues.secrets?.provider === "string" && | ||
this.normalizedValues.secrets.provider === provider_1.SecretsProviderType.None)) { | ||
return v; | ||
} | ||
if (typeof v === "string" && v.startsWith("secret|")) { | ||
@@ -131,0 +136,0 @@ const secretKey = v.slice(7); |
{ | ||
"name": "@incanta/config", | ||
"version": "0.5.1", | ||
"version": "0.5.2", | ||
"main": "lib/index.js", | ||
@@ -5,0 +5,0 @@ "exports": { |
@@ -200,2 +200,10 @@ import merge from "lodash.merge"; | ||
public async processSecrets<T>(v: T): Promise<T> { | ||
if ( | ||
typeof this.normalizedValues.secrets?.provider === "undefined" || | ||
(typeof this.normalizedValues.secrets?.provider === "string" && | ||
this.normalizedValues.secrets.provider === SecretsProviderType.None) | ||
) { | ||
return v; | ||
} | ||
if (typeof v === "string" && v.startsWith("secret|")) { | ||
@@ -202,0 +210,0 @@ const secretKey = v.slice(7); |
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
73524
1331