Socket
Socket
Sign inDemoInstall

@availity/env-var

Package Overview
Dependencies
Maintainers
8
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@availity/env-var - npm Package Compare versions

Comparing version 1.6.2 to 1.6.3-alpha.454

CHANGELOG.md

1

index.js

@@ -42,2 +42,3 @@ let environments = {

case '[object Function]':
// eslint-disable-next-line jest/no-disabled-tests
return test();

@@ -44,0 +45,0 @@ default:

5

package.json
{
"name": "@availity/env-var",
"version": "1.6.2",
"version": "1.6.3-alpha.454+2255d11",
"description": "Availity-specific way to determine variables based on the current environment the code is running in",

@@ -25,3 +25,4 @@ "main": "src/index.js",

"access": "public"
}
},
"gitHead": "2255d115555d91ec7e6ec787844590d288034976"
}
import envVar, { setEnvironments } from '../index';
const setHostname = hostname => {
// eslint-disable-next-line no-undef
jsdom.reconfigure({

@@ -5,0 +6,0 @@ url: `https://${hostname}/`,

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