Socket
Socket
Sign inDemoInstall

std-env

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

std-env - npm Package Compare versions

Comparing version 2.0.2 to 2.1.0

4

index.js

@@ -20,3 +20,3 @@ // Gather initial information

// NODE_ENV
if (process.NODE_ENV) {
if (process.env.NODE_ENV) {
nodeENV = String(process.env.NODE_ENV)

@@ -60,2 +60,2 @@ }

// Export env
module.exports = env
module.exports = Object.freeze(env)
{
"name": "std-env",
"version": "2.0.2",
"version": "2.1.0",
"description": "Detect running environment of the current Node.js process",

@@ -5,0 +5,0 @@ "license": "MIT",

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