@dotenvx/dotenvx
Advanced tools
Comparing version 1.19.2 to 1.19.3
@@ -5,4 +5,10 @@ # Changelog | ||
## [Unreleased](https://github.com/dotenvx/dotenvx/compare/v1.19.2...main) | ||
## [Unreleased](https://github.com/dotenvx/dotenvx/compare/v1.19.3...main) | ||
## 1.19.3 | ||
### Changed | ||
* 🐞 fix decrypt re-encrypt of values containing backslashes ([#406](https://github.com/dotenvx/dotenvx/pull/407)) | ||
## 1.19.2 | ||
@@ -9,0 +15,0 @@ |
{ | ||
"version": "1.19.2", | ||
"version": "1.19.3", | ||
"name": "@dotenvx/dotenvx", | ||
@@ -4,0 +4,0 @@ "description": "a better dotenv–from the creator of `dotenv`", |
@@ -435,2 +435,13 @@ [![dotenvx](https://dotenvx.com/better-banner.png)](https://dotenvx.com) | ||
</details> | ||
* <details><summary>asdf</summary><br> | ||
```sh | ||
# use dotenvx with asdf | ||
$ asdf plugin add dotenvx | ||
$ asdf install dotenvx latest | ||
``` | ||
thank you [@jgburet](https://github.com/jgburet/asdf-dotenvx) of Paris 🇫🇷 | ||
</details> | ||
* <details><summary>Git</summary><br> | ||
@@ -437,0 +448,0 @@ |
@@ -16,2 +16,8 @@ const util = require('util') | ||
} | ||
// prevents test\test (and similar) from becoming test\\test and then test\\\\test, etc recursively after each encrypt/decrypt combo | ||
if (replaceValue.includes('\\')) { | ||
escapedValue = escapedValue.replace(/\\\\/g, '\\') | ||
} | ||
let newPart = `${key}=${escapedValue}` | ||
@@ -18,0 +24,0 @@ |
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
207964
3525
1803