@dotenvx/dotenvx 2.19.1 → 2.19.2

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,13 @@
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/v2.19.1...main)
5
+ [Unreleased](https://github.com/dotenvx/dotenvx/compare/v2.19.2...main)
6
+
7
+ ## [2.19.2](https://github.com/dotenvx/dotenvx/compare/v2.19.1...v2.19.2) (2026-08-03)
8
+
9
+ ### Changed
10
+
11
+ * Example `.env.vault` from precommit ([#935](https://github.com/dotenvx/dotenvx/pull/935))
6
12
 
7
13
  ## [2.19.1](https://github.com/dotenvx/dotenvx/compare/v2.19.0...v2.19.1) (2026-07-29)
8
14
 
package/README.md CHANGED
@@ -130,6 +130,13 @@ More examples
130
130
 
131
131
  Run Claude with your real secrets while redacting them from its output.
132
132
 
133
+ Prerequisite: install [Claude Code](https://code.claude.com/docs/en/setup) to get the `claude` command.
134
+
135
+ ```sh
136
+ $ curl -fsSL https://claude.ai/install.sh | bash
137
+ $ claude --version
138
+ ```
139
+
133
140
  ```sh
134
141
  $ echo "HELLO=World" > .env
135
142
 
@@ -144,6 +151,13 @@ see [Claude redaction guide](https://dotenvx.com/docs/cli/run-redact-claude-prin
144
151
 
145
152
  Run Codex with your real secrets while redacting them from its output.
146
153
 
154
+ Prerequisite: install the [Codex CLI](https://developers.openai.com/codex/cli/) to get the `codex` command.
155
+
156
+ ```sh
157
+ $ npm install -g @openai/codex
158
+ $ codex --version
159
+ ```
160
+
147
161
  ```sh
148
162
  $ echo "HELLO=World" > .env
149
163
 
@@ -153,6 +167,27 @@ Hello [REDACTED]
153
167
 
154
168
  see [Codex redaction guide](https://dotenvx.com/docs/cli/run-redact-codex-exec)
155
169
 
170
+ </details>
171
+ <details><summary>Cursor 🖱️</summary><br>
172
+
173
+ Run Cursor with your real secrets while redacting them from its output.
174
+
175
+ Prerequisite: install the separate [Cursor CLI](https://cursor.com/cli). Installing the Cursor desktop app does not necessarily install the `agent` command.
176
+
177
+ ```sh
178
+ $ curl https://cursor.com/install -fsS | bash
179
+ $ agent --version
180
+ ```
181
+
182
+ ```sh
183
+ $ echo "HELLO=World" > .env
184
+
185
+ $ dotenvx run --redact -- agent -p --force 'Run `dotenvx get HELLO` and echo back just Hello VALUE' --output-format text
186
+ Hello [REDACTED]
187
+ ```
188
+
189
+ see [Cursor redaction guide](https://dotenvx.com/docs/secrets-in-cursor)
190
+
156
191
  </details>
157
192
  <details><summary>1Password 🔐</summary><br>
158
193
 
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.19.1",
2
+ "version": "2.19.2",
3
3
  "name": "@dotenvx/dotenvx",
4
4
  "description": "a secure dotenv–from the creator of `dotenv`",
5
5
  "author": "@motdotla",
@@ -43,7 +43,7 @@ class Prebuild {
43
43
 
44
44
  // check if that file is being ignored
45
45
  if (ig.ignores(file)) {
46
- if (file === '.env.example' || file === '.env.x') {
46
+ if (file === '.env.example' || file === '.env.vault' || file === '.env.x') {
47
47
  const warning = new Errors({
48
48
  message: `${file} ignored (should not be)`,
49
49
  help: `fix: [dotenvx gitignore --pattern !${file}]`
@@ -51,7 +51,7 @@ class Prebuild {
51
51
  warnings.push(warning)
52
52
  }
53
53
  } else {
54
- if (file !== '.env.example' && file !== '.env.x') {
54
+ if (file !== '.env.example' && file !== '.env.vault' && file !== '.env.x') {
55
55
  const src = fsx.readFileXSync(file)
56
56
  const encrypted = sealed(src)
57
57
 
@@ -60,7 +60,7 @@ class Precommit {
60
60
  if (this._isFileToBeCommitted(file)) {
61
61
  // check if that file is being ignored
62
62
  if (ig.ignores(file)) {
63
- if (filename === '.env.example' || filename === '.env.x') {
63
+ if (filename === '.env.example' || filename === '.env.vault' || filename === '.env.x') {
64
64
  const warning = new Errors({
65
65
  message: `${file} ignored (should not be)`,
66
66
  help: `fix: [dotenvx gitignore --pattern !${file}]`
@@ -68,7 +68,7 @@ class Precommit {
68
68
  warnings.push(warning)
69
69
  }
70
70
  } else {
71
- if (filename !== '.env.example' && filename !== '.env.x') {
71
+ if (filename !== '.env.example' && filename !== '.env.vault' && filename !== '.env.x') {
72
72
  const src = fsx.readFileXSync(file)
73
73
  const encrypted = sealed(src)
74
74