Socket
Socket
Sign inDemoInstall

dotenv

Package Overview
Dependencies
Maintainers
1
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dotenv - npm Package Compare versions

Comparing version 0.0.5 to 0.1.0

2

lib/main.js

@@ -43,4 +43,4 @@ "use strict";

load: function() {
dotenv._loadEnv();
dotenv._loadEnvDotEnvironment();
dotenv._loadEnv();

@@ -47,0 +47,0 @@ return true;

{
"name": "dotenv",
"version": "0.0.5",
"version": "0.1.0",
"description": "Loads environment variables from .env",

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

@@ -13,3 +13,3 @@ var assert = require('assert'),

it('version should be set', function() {
result.version.should.eql("0.0.5");
result.version.should.eql("0.1.0");
});

@@ -44,6 +44,11 @@

it('overrides any values in .env with .env.environment', function() {
process.env.ENVIRONMENT_OVERRIDE.should.eql("development");
});
it('reads from a skipped line in .env.development', function() {
process.env.AFTER_LINE.should.eql("after_line");
});
});
});

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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