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

@availity/env-var

Package Overview
Dependencies
Maintainers
12
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 2.0.4 to 3.0.0

15

CHANGELOG.md

@@ -5,2 +5,17 @@ # Changelog

# [3.0.0](https://github.com/Availity/sdk-js/compare/@availity/env-var@2.0.4...@availity/env-var@3.0.0) (2023-09-01)
### Features
* **env-var:** allow users to return undefined ([947687a](https://github.com/Availity/sdk-js/commit/947687a5f1430569ca8b698435d5632d19431c05))
### BREAKING CHANGES
* **env-var:** returning undefined previously would default to the local value,
now we expect you to define what you want to return
## [2.0.4](https://github.com/Availity/sdk-js/compare/@availity/env-var@2.0.3...@availity/env-var@2.0.4) (2023-08-23)

@@ -7,0 +22,0 @@

2

dist/index.js

@@ -130,3 +130,3 @@ "use strict";

const env = getCurrentEnv(windowOverride);
if (typeof varObj[env] !== "undefined") {
if (`${env}` in varObj) {
return varObj[env];

@@ -133,0 +133,0 @@ }

{
"name": "@availity/env-var",
"version": "2.0.4",
"version": "3.0.0",
"description": "Availity-specific way to determine variables based on the current environment the code is running in",

@@ -5,0 +5,0 @@ "keywords": [

@@ -127,3 +127,3 @@ // Cloud domains are in the format <team>.<cloud provider><zone>.availity.com

if (typeof varObj[env] !== 'undefined') {
if (`${env}` in varObj) {
return varObj[env];

@@ -130,0 +130,0 @@ }

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