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

@dotenvx/dotenvx

Package Overview
Dependencies
Maintainers
2
Versions
189
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dotenvx/dotenvx - npm Package Compare versions

Comparing version 0.8.2 to 0.8.3

2

package.json
{
"version": "0.8.2",
"version": "0.8.3",
"name": "@dotenvx/dotenvx",

@@ -4,0 +4,0 @@ "description": "a better dotenv–from the creator of `dotenv`",

@@ -112,5 +112,6 @@ const fs = require('fs')

const guessEnvironment = function (file) {
const splitFile = file.split('.')
const possibleEnvironment = splitFile[2] // ['', 'env', environment']
const guessEnvironment = function (filepath) {
const filename = path.basename(filepath)
const parts = filename.split('.')
const possibleEnvironment = parts[2] // ['', 'env', environment', 'previous']

@@ -117,0 +118,0 @@ if (!possibleEnvironment || possibleEnvironment.length === 0) {

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