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

assert-env

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

assert-env - npm Package Compare versions

Comparing version 0.5.0 to 0.6.0

2

index.js

@@ -19,3 +19,3 @@ 'use strict';

var message = 'One or more required environment variable(s) are missing: %s!';
var message = 'Missing required environment variable(s): %s!';

@@ -22,0 +22,0 @@ /**

{
"name": "assert-env",
"version": "0.5.0",
"version": "0.6.0",
"description": "Assert that specific environment variables exist.",

@@ -8,2 +8,3 @@ "main": "index.js",

"test": "tape test.js | faucet",
"lint": "jshint **.js",
"develop": "rerun-script"

@@ -44,4 +45,4 @@ },

"devDependencies": {
"chai": "^1.10.0",
"faucet": "0.0.1",
"jshint": "^2.5.11",
"rerun-script": "^0.4.0",

@@ -48,0 +49,0 @@ "tape": "^3.0.1"

@@ -9,3 +9,2 @@ 'use strict';

var assertEnv = require('./');
var assert = require('chai').assert;

@@ -34,3 +33,3 @@ /*!

assert.throw(fn, ReferenceError, /HTTP_LISTEN_HOST/);
t.throws(fn, ReferenceError, /HTTP_LISTEN_HOST/);

@@ -49,6 +48,5 @@ t.end();

assert.doesNotThrow(fn, ReferenceError);
t.doesNotThrow(fn, ReferenceError);
t.end();
});
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