@dotenvx/dotenvx 1.26.1 → 1.27.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,7 +2,19 @@
2
2
 
3
3
  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.
4
4
 
5
- [Unreleased](https://github.com/dotenvx/dotenvx/compare/v1.26.1...main)
5
+ [Unreleased](https://github.com/dotenvx/dotenvx/compare/v1.27.0...main)
6
+
7
+ ## [1.27.0](https://github.com/dotenvx/dotenvx/compare/v1.26.2...v1.27.0)
8
+
9
+ ### Added
10
+
11
+ * add support for `\t` expansion when double quoted. (e.g. `TAB="hi\tfriend"` becomes `hi friend`) ([#479](https://github.com/dotenvx/dotenvx/pull/479))
12
+
13
+ ## [1.26.2](https://github.com/dotenvx/dotenvx/compare/v1.26.1...v1.26.2)
14
+
15
+ ### Changed
16
+
17
+ * build binaries with bytecode option ([#477](https://github.com/dotenvx/dotenvx/pull/477))
6
18
 
7
19
  ## [1.26.1](https://github.com/dotenvx/dotenvx/compare/v1.26.0...v1.26.1)
8
20
 
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.26.1",
2
+ "version": "1.27.0",
3
3
  "name": "@dotenvx/dotenvx",
4
4
  "description": "a better dotenv–from the creator of `dotenv`",
5
5
  "author": "@motdotla",
@@ -121,8 +121,9 @@ class Parse {
121
121
 
122
122
  // Expand newlines if double quoted
123
123
  if (_quote === '"') {
124
- v = v.replace(/\\n/g, '\n')
125
- v = v.replace(/\\r/g, '\r')
124
+ v = v.replace(/\\n/g, '\n') // newline
125
+ v = v.replace(/\\r/g, '\r') // carriage return
126
+ v = v.replace(/\\t/g, '\t') // tabs
126
127
  }
127
128
 
128
129
  return v