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

@asymmetrik/yadda-secret

Package Overview
Dependencies
Maintainers
4
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@asymmetrik/yadda-secret - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

2

package.json
{
"name": "@asymmetrik/yadda-secret",
"description": "Client secret library",
"version": "0.0.2",
"version": "0.0.3",
"main": "index.js",

@@ -6,0 +6,0 @@ "author": "contributors",

@@ -74,8 +74,8 @@ 'use strict';

if (typeof target[name] === 'object' && target[name].constructor === KMSFLAG) {
// If variable is in environment use it instead for backwards comparability
if (target[name].name in process.env)
return Promise.resolve(process.env[target[name].name]);
// If given a resolved variable, resolve to the value directly
if (target[name].resolveTo !== undefined)
else if (target[name].resolveTo !== undefined)
return Promise.resolve(target[name].resolveTo);
// If variable is in environment use it instead for backwards comparability & testing
else if (target[name].name in process.env)
return Promise.resolve(process.env[target[name].name]);
else

@@ -82,0 +82,0 @@ return this.retrieveFromKMS(target[name].name);

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