Socket
Socket
Sign inDemoInstall

dotenv

Package Overview
Dependencies
0
Maintainers
3
Versions
86
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 13.0.0 to 13.0.1

8

CHANGELOG.md

@@ -5,6 +5,12 @@ # Changelog

## [Unreleased](https://github.com/motdotla/dotenv/compare/v13.0.0...master)
## [Unreleased](https://github.com/motdotla/dotenv/compare/v13.0.1...master)
TBD
## [13.0.1](https://github.com/motdotla/dotenv/compare/v13.0.0...v13.0.1) (2022-01-16)
### Changed
* Hide comments and newlines from debug output
## [13.0.0](https://github.com/motdotla/dotenv/compare/v12.0.4...v13.0.0) (2022-01-16)

@@ -11,0 +17,0 @@

@@ -47,3 +47,8 @@ const fs = require('fs')

} else if (debug) {
log(`did not match key and value when parsing line ${idx + 1}: ${line}`)
const trimmedLine = line.trim()
// ignore empty and commented lines
if (trimmedLine.length && trimmedLine[0] !== '#') {
log(`failed to match key and value when parsing line ${idx + 1}: ${line}`)
}
}

@@ -50,0 +55,0 @@ })

2

package.json
{
"name": "dotenv",
"version": "13.0.0",
"version": "13.0.1",
"description": "Loads environment variables from .env file",

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

@@ -91,2 +91,3 @@ <p align="center">

* [typescript parse](https://github.com/dotenv-org/examples/tree/master/dotenv-typescript-parse)
* [typescript config](https://github.com/dotenv-org/examples/tree/master/dotenv-typescript-config)
* [webpack](https://github.com/dotenv-org/examples/tree/master/dotenv-webpack)

@@ -93,0 +94,0 @@ * [webpack (plugin)](https://github.com/dotenv-org/examples/tree/master/dotenv-webpack2)

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc