Skip to content

Commit 747f417

Browse files
authored
Merge pull request #1005 from motdotla/injected
`injecting` to `injected`
2 parents ccc50d5 + 271df30 commit 747f417

6 files changed

Lines changed: 21 additions & 17 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. See [standa
44

55
## [Unreleased](https://github.com/motdotla/dotenv/compare/v17.4.0...master)
66

7+
### Changed
8+
9+
* Text change `injecting` to `injected` ([#1005](https://github.com/motdotla/dotenv/pull/1005))
10+
711
## [17.4.0](https://github.com/motdotla/dotenv/compare/v17.3.1...v17.4.0) (2026-04-01)
812

913
### Added

README-es.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ console.log(process.env) // elimínalo después de confirmar que funciona
3636
```
3737
```sh
3838
$ node index.js
39-
injecting env (14) from .env
39+
injected env (14) from .env
4040
```
4141

4242
Eso es todo. `process.env` ahora tiene las claves y valores que definiste en tu archivo `.env`.
@@ -198,7 +198,7 @@ console.log('DATABASE_URL', process.env.DATABASE_URL)
198198
```
199199
```sh
200200
$ dotenvx run --debug -- node index.js
201-
injecting env (2) from .env · dotenvx@1.59.1
201+
injected env (2) from .env · dotenvx@1.59.1
202202
DATABASE_URL postgres://username@localhost/my_database
203203
```
204204

@@ -219,7 +219,7 @@ console.log('DATABASE_URL', process.env.DATABASE_URL)
219219
```
220220
```sh
221221
$ dotenvx run --debug -- node index.js
222-
injecting env (1) from .env · dotenvx@1.59.1
222+
injected env (1) from .env · dotenvx@1.59.1
223223
DATABASE_URL postgres://yourusername@localhost/my_database
224224
```
225225

@@ -235,7 +235,7 @@ $ dotenvx set HELLO Production -f .env.production
235235
$ echo "console.log('Hello ' + process.env.HELLO)" > index.js
236236
237237
$ DOTENV_PRIVATE_KEY_PRODUCTION="<.env.production private key>" dotenvx run -- node index.js
238-
injecting env (2) from .env.production · dotenvx@1.59.1
238+
injected env (2) from .env.production · dotenvx@1.59.1
239239
Hello Production
240240
```
241241

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ console.log(process.env) // remove this after you've confirmed it is working
3636
```
3737
```sh
3838
$ node index.js
39-
injecting env (14) from .env
39+
injected env (14) from .env
4040
```
4141

4242
That's it. `process.env` now has the keys and values you defined in your `.env` file.
@@ -198,7 +198,7 @@ console.log('DATABASE_URL', process.env.DATABASE_URL)
198198
```
199199
```sh
200200
$ dotenvx run --debug -- node index.js
201-
injecting env (2) from .env · dotenvx@1.59.1
201+
injected env (2) from .env · dotenvx@1.59.1
202202
DATABASE_URL postgres://username@localhost/my_database
203203
```
204204

@@ -219,7 +219,7 @@ console.log('DATABASE_URL', process.env.DATABASE_URL)
219219
```
220220
```sh
221221
$ dotenvx run --debug -- node index.js
222-
injecting env (1) from .env · dotenvx@1.59.1
222+
injected env (1) from .env · dotenvx@1.59.1
223223
DATABASE_URL postgres://yourusername@localhost/my_database
224224
```
225225

@@ -235,7 +235,7 @@ $ dotenvx set HELLO Production -f .env.production
235235
$ echo "console.log('Hello ' + process.env.HELLO)" > index.js
236236
237237
$ DOTENV_PRIVATE_KEY_PRODUCTION="<.env.production private key>" dotenvx run -- node index.js
238-
injecting env (2) from .env.production · dotenvx@1.59.1
238+
injected env (2) from .env.production · dotenvx@1.59.1
239239
Hello Production
240240
```
241241

lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ function configDotenv (options) {
306306
}
307307
}
308308

309-
_log(`injecting env (${keysCount}) from ${shortPaths.join(',')} ${dim(`// tip: ${_getRandomTip()}`)}`)
309+
_log(`injected env (${keysCount}) from ${shortPaths.join(',')} ${dim(`// tip: ${_getRandomTip()}`)}`)
310310
}
311311

312312
if (lastError) {

skills/dotenv/SKILL.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ console.log('DATABASE_URL', process.env.DATABASE_URL)
180180
```
181181
```sh
182182
$ dotenvx run --debug -- node index.js
183-
[dotenvx@0.14.1] injecting env (2) from .env
183+
[dotenvx@0.14.1] injected env (2) from .env
184184
DATABASE_URL postgres://username@localhost/my_database
185185
```
186186

@@ -201,7 +201,7 @@ console.log('DATABASE_URL', process.env.DATABASE_URL)
201201
```
202202
```sh
203203
$ dotenvx run --debug -- node index.js
204-
[dotenvx@0.14.1] injecting env (1) from .env
204+
[dotenvx@0.14.1] injected env (1) from .env
205205
DATABASE_URL postgres://yourusername@localhost/my_database
206206
```
207207

@@ -217,7 +217,7 @@ $ dotenvx set HELLO Production -f .env.production
217217
$ echo "console.log('Hello ' + process.env.HELLO)" > index.js
218218
219219
$ DOTENV_PRIVATE_KEY_PRODUCTION="<.env.production private key>" dotenvx run -- node index.js
220-
[dotenvx] injecting env (2) from .env.production
220+
[dotenvx] injected env (2) from .env.production
221221
Hello Production
222222
```
223223

@@ -645,7 +645,7 @@ HELLO=World
645645

646646
```sh
647647
$ node index.js
648-
[dotenv@17.0.0] injecting env (1) from .env
648+
[dotenv@17.0.0] injected env (1) from .env
649649
Hello World
650650
```
651651

skills/dotenvx/SKILL.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ $ echo "HELLO=production" > .env.production
7777
$ echo "console.log('Hello ' + process.env.HELLO)" > index.js
7878

7979
$ dotenvx run -f .env.production -- node index.js
80-
[dotenvx@1.X.X] injecting env (1) from .env.production
80+
[dotenvx@1.X.X] injected env (1) from .env.production
8181
Hello production
8282
```
8383

@@ -88,7 +88,7 @@ $ echo "HELLO=local" > .env.local
8888
$ echo "HELLO=World" > .env
8989

9090
$ dotenvx run -f .env.local -f .env -- node index.js
91-
[dotenvx@1.X.X] injecting env (1) from .env.local,.env
91+
[dotenvx@1.X.X] injected env (1) from .env.local,.env
9292
Hello local
9393
```
9494

@@ -130,7 +130,7 @@ Decrypt at runtime by setting the private key (found in `.env.keys`):
130130

131131
```sh
132132
$ DOTENV_PRIVATE_KEY="<key from .env.keys>" dotenvx run -- node index.js
133-
[dotenvx@1.X.X] injecting env (2) from .env
133+
[dotenvx@1.X.X] injected env (2) from .env
134134
Hello World
135135
```
136136

@@ -148,7 +148,7 @@ Combine multiple encrypted files:
148148

149149
```sh
150150
$ DOTENV_PRIVATE_KEY="<key>" DOTENV_PRIVATE_KEY_PRODUCTION="<key>" dotenvx run -- node index.js
151-
[dotenvx@1.X.X] injecting env (3) from .env, .env.production
151+
[dotenvx@1.X.X] injected env (3) from .env, .env.production
152152
```
153153

154154
**Commit the encrypted `.env` file. Never commit `.env.keys`.**

0 commit comments

Comments
 (0)