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

nenv

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nenv - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

6

lib/index.js

@@ -14,5 +14,6 @@ var defaults = ['test', 'devel', 'stage', 'production'];

function dset(val) {
var value = this.value;
var value = '' + this.value;
if(this(val)) {
process.env.NODE_ENV = val;
this.current = val;
return function revert() {

@@ -128,2 +129,5 @@ process.env.NODE_ENV = value;

// current value
query.current = query.value;
// initial value validity

@@ -130,0 +134,0 @@ query.valid = Boolean(query());

2

package.json
{
"name": "nenv",
"description": "Utility for managing node development environments",
"version": "0.3.1",
"version": "0.3.2",
"author": "muji <noop@xpm.io>",

@@ -6,0 +6,0 @@ "main": "lib/index.js",

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