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

@incanta/config

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@incanta/config - npm Package Compare versions

Comparing version 0.5.1 to 0.5.2

5

lib/config.js

@@ -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);

2

package.json
{
"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

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