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

get-env

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

get-env - npm Package Compare versions

Comparing version 0.5.6 to 0.5.8

5

dist/index.js

@@ -124,5 +124,4 @@ module.exports =

var extras = [];
for (var _i = 0, _a = args[0]; _i < _a.length; _i++) {
var env = _a[_i];
var rules = args[0][env];
for (var _i = 0, _a = Object.entries(args[0]); _i < _a.length; _i++) {
var _b = _a[_i], env = _b[0], rules = _b[1];
assert((lodash_1.isString(rules) && !lodash_1.isEmpty(rules)) || (Array.isArray(rules) && rules.reduce(function (count, rule) {

@@ -129,0 +128,0 @@ return count += (lodash_1.isString(rule) && !lodash_1.isEmpty(rule)) ? 0 : 1;

4

package.json
{
"name": "get-env",
"version": "0.5.6",
"version": "0.5.8",
"description": "Return `dev`, `prod`, or optional extra environements based on `process.env.NODE_ENV`",

@@ -37,3 +37,3 @@ "license": "MIT",

"tslint-pilwon": "^0.1.6",
"typescript": "^2.1.0-dev.20161102",
"typescript": "^2.1.1",
"webpack": "^2.1.0-beta.25",

@@ -40,0 +40,0 @@ "webpack-node-externals": "^1.5.4"

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