Comparing version 15.0.0 to 15.0.1
@@ -7,2 +7,8 @@ # Changelog | ||
## [15.0.1](https://github.com/motdotla/dotenv/compare/v15.0.0...v15.0.1) (2022-02-02) | ||
### Changed | ||
- Properly parse empty single or double quoted values 🐞 ([#614](https://github.com/motdotla/dotenv/pull/614)) | ||
## [15.0.0](https://github.com/motdotla/dotenv/compare/v14.3.2...v15.0.0) (2022-01-31) | ||
@@ -9,0 +15,0 @@ |
@@ -31,3 +31,3 @@ const fs = require('fs') | ||
// Remove surrounding quotes | ||
value = value.replace(/^(['"])([\s\S]+)\1$/mg, '$2') | ||
value = value.replace(/^(['"])([\s\S]*)\1$/mg, '$2') | ||
@@ -34,0 +34,0 @@ // Expand newlines if double quoted |
{ | ||
"name": "dotenv", | ||
"version": "15.0.0", | ||
"version": "15.0.1", | ||
"description": "Loads environment variables from .env file", | ||
@@ -5,0 +5,0 @@ "main": "lib/main.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
33617