From 1350bbef0c98d3435e4e7386566604f782b18028 Mon Sep 17 00:00:00 2001 From: Jerome Fitzgerald Date: Tue, 25 Jan 2022 13:09:23 -0500 Subject: [PATCH 1/3] patch for 14.3.0, add back explicit module.exports #605 --- lib/main.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/main.js b/lib/main.js index d63b2edd..24097e16 100644 --- a/lib/main.js +++ b/lib/main.js @@ -137,4 +137,6 @@ const DotenvModule = { parse } +module.exports.config = DotenvModule.config +module.exports.parse = DotenvModule.parse module.exports = DotenvModule From 52e25e00b2dbd1bfad31089c488bac91e4e07292 Mon Sep 17 00:00:00 2001 From: Scott Motte Date: Tue, 25 Jan 2022 13:41:42 -0800 Subject: [PATCH 2/3] Version v14.3.1 - patch exports --- CHANGELOG.md | 8 ++++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8a2cac42..c567ff0e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,8 +4,16 @@ All notable changes to this project will be documented in this file. See [standa ## [Unreleased](https://github.com/motdotla/dotenv/compare/v14.3.0...master) +## [14.3.1](https://github.com/motdotla/dotenv/compare/v14.3.0...v14.3.1) + +### Changed + +- Preserve backwards compatibility on exports by re-introducing the prior in-place exports 🐞 ([#606](https://github.com/motdotla/dotenv/pull/606)) + ## [14.3.0](https://github.com/motdotla/dotenv/compare/v14.2.0...v14.3.0) +### Added + - Add `multiline` option 🎉 ([#486](https://github.com/motdotla/dotenv/pull/486)) ## [14.2.0](https://github.com/motdotla/dotenv/compare/v14.1.1...v14.2.0) (2022-01-17) diff --git a/package-lock.json b/package-lock.json index 4d6fa471..e5ba6fad 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { "name": "dotenv", - "version": "14.3.0", + "version": "14.3.1", "lockfileVersion": 2, "requires": true, "packages": { "": { - "version": "14.3.0", + "version": "14.3.1", "license": "BSD-2-Clause", "devDependencies": { "@types/node": "^17.0.9", diff --git a/package.json b/package.json index b6465065..7c557c5c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dotenv", - "version": "14.3.0", + "version": "14.3.1", "description": "Loads environment variables from .env file", "main": "lib/main.js", "types": "lib/main.d.ts", From 5dcb53ba0000b0f15619dcfcf87ccbc043ada1f3 Mon Sep 17 00:00:00 2001 From: Scott Motte Date: Tue, 25 Jan 2022 13:47:18 -0800 Subject: [PATCH 3/3] Update CHANGELOG --- CHANGELOG.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c567ff0e..4f0ec858 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,15 +2,15 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. -## [Unreleased](https://github.com/motdotla/dotenv/compare/v14.3.0...master) +## [Unreleased](https://github.com/motdotla/dotenv/compare/v14.3.1...master) -## [14.3.1](https://github.com/motdotla/dotenv/compare/v14.3.0...v14.3.1) +## [14.3.1](https://github.com/motdotla/dotenv/compare/v14.3.0...v14.3.1) (2022-01-25) ### Changed - Preserve backwards compatibility on exports by re-introducing the prior in-place exports 🐞 ([#606](https://github.com/motdotla/dotenv/pull/606)) -## [14.3.0](https://github.com/motdotla/dotenv/compare/v14.2.0...v14.3.0) +## [14.3.0](https://github.com/motdotla/dotenv/compare/v14.2.0...v14.3.0) (2022-01-24) ### Added