dotenv-express 17.4.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 ADDED
@@ -0,0 +1,645 @@
1
+ # Changelog
2
+
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
+
5
+ ## [Unreleased](https://github.com/motdotla/dotenv/compare/v17.4.2...master)
6
+
7
+ * Add skills tip ([#1012](https://github.com/motdotla/dotenv/pull/1012))
8
+
9
+ ## [17.4.2](https://github.com/motdotla/dotenv/compare/v17.4.1...v17.4.2) (2026-04-12)
10
+
11
+ ### Changed
12
+
13
+ * Improved skill files - tightened up details ([#1009](https://github.com/motdotla/dotenv/pull/1009))
14
+
15
+ ## [17.4.1](https://github.com/motdotla/dotenv/compare/v17.4.0...v17.4.1) (2026-04-05)
16
+
17
+ ### Changed
18
+
19
+ * Change text `injecting` to `injected` ([#1005](https://github.com/motdotla/dotenv/pull/1005))
20
+
21
+ ## [17.4.0](https://github.com/motdotla/dotenv/compare/v17.3.1...v17.4.0) (2026-04-01)
22
+
23
+ ### Added
24
+
25
+ * Add `skills/` folder with focused agent skills: `skills/dotenv/SKILL.md` (core usage) and `skills/dotenvx/SKILL.md` (encryption, multiple environments, variable expansion) for AI coding agent discovery via the skills.sh ecosystem (`npx skills add motdotla/dotenv`)
26
+
27
+ ### Changed
28
+
29
+ * Tighten up logs: `β—‡ injecting env (14) from .env` ([#1003](https://github.com/motdotla/dotenv/pull/1003))
30
+
31
+ ## [17.3.1](https://github.com/motdotla/dotenv/compare/v17.3.0...v17.3.1) (2026-02-12)
32
+
33
+ ### Changed
34
+
35
+ * Fix as2 example command in README and update spanish README
36
+
37
+ ## [17.3.0](https://github.com/motdotla/dotenv/compare/v17.2.4...v17.3.0) (2026-02-12)
38
+
39
+ ### Added
40
+
41
+ * Add a new README section on dotenv’s approach to the agentic future.
42
+
43
+ ### Changed
44
+
45
+ * Rewrite README to get humans started more quickly with less noise while simultaneously making more accessible for llms and agents to go deeper into details.
46
+
47
+ ## [17.2.4](https://github.com/motdotla/dotenv/compare/v17.2.3...v17.2.4) (2026-02-05)
48
+
49
+ ### Changed
50
+
51
+ * Make `DotenvPopulateInput` accept `NodeJS.ProcessEnv` type ([#915](https://github.com/motdotla/dotenv/pull/915))
52
+ - Give back to dotenv by checking out my newest project [vestauth](https://github.com/vestauth/vestauth). It is auth for agents. Thank you for using my software.
53
+
54
+ ## [17.2.3](https://github.com/motdotla/dotenv/compare/v17.2.2...v17.2.3) (2025-09-29)
55
+
56
+ ### Changed
57
+
58
+ * Fixed typescript error definition ([#912](https://github.com/motdotla/dotenv/pull/912))
59
+
60
+ ## [17.2.2](https://github.com/motdotla/dotenv/compare/v17.2.1...v17.2.2) (2025-09-02)
61
+
62
+ ### Added
63
+
64
+ - πŸ™ A big thank you to new sponsor [Tuple.app](https://tuple.app/dotenv) - *the premier screen sharing app for developers on macOS and Windows.* Go check them out. It's wonderful and generous of them to give back to open source by sponsoring dotenv. Give them some love back.
65
+
66
+ ## [17.2.1](https://github.com/motdotla/dotenv/compare/v17.2.0...v17.2.1) (2025-07-24)
67
+
68
+ ### Changed
69
+
70
+ * Fix clickable tip links by removing parentheses ([#897](https://github.com/motdotla/dotenv/pull/897))
71
+
72
+ ## [17.2.0](https://github.com/motdotla/dotenv/compare/v17.1.0...v17.2.0) (2025-07-09)
73
+
74
+ ### Added
75
+
76
+ * Optionally specify `DOTENV_CONFIG_QUIET=true` in your environment or `.env` file to quiet the runtime log ([#889](https://github.com/motdotla/dotenv/pull/889))
77
+ * Just like dotenv any `DOTENV_CONFIG_` environment variables take precedence over any code set options like `({quiet: false})`
78
+
79
+ ```ini
80
+ # .env
81
+ DOTENV_CONFIG_QUIET=true
82
+ HELLO="World"
83
+ ```
84
+ ```js
85
+ // index.js
86
+ require('dotenv').config()
87
+ console.log(`Hello ${process.env.HELLO}`)
88
+ ```
89
+ ```sh
90
+ $ node index.js
91
+ Hello World
92
+
93
+ or
94
+
95
+ $ DOTENV_CONFIG_QUIET=true node index.js
96
+ ```
97
+
98
+ ## [17.1.0](https://github.com/motdotla/dotenv/compare/v17.0.1...v17.1.0) (2025-07-07)
99
+
100
+ ### Added
101
+
102
+ * Add additional security and configuration tips to the runtime log ([#884](https://github.com/motdotla/dotenv/pull/884))
103
+ * Dim the tips text from the main injection information text
104
+
105
+ ```js
106
+ const TIPS = [
107
+ 'πŸ” encrypt with dotenvx: https://dotenvx.com',
108
+ 'πŸ” prevent committing .env to code: https://dotenvx.com/precommit',
109
+ 'πŸ” prevent building .env in docker: https://dotenvx.com/prebuild',
110
+ 'πŸ› οΈ run anywhere with `dotenvx run -- yourcommand`',
111
+ 'βš™οΈ specify custom .env file path with { path: \'/custom/path/.env\' }',
112
+ 'βš™οΈ enable debug logging with { debug: true }',
113
+ 'βš™οΈ override existing env vars with { override: true }',
114
+ 'βš™οΈ suppress all logs with { quiet: true }',
115
+ 'βš™οΈ write to custom object with { processEnv: myObject }',
116
+ 'βš™οΈ load multiple .env files with { path: [\'.env.local\', \'.env\'] }'
117
+ ]
118
+ ```
119
+
120
+ ## [17.0.1](https://github.com/motdotla/dotenv/compare/v17.0.0...v17.0.1) (2025-07-01)
121
+
122
+ ### Changed
123
+
124
+ * Patched injected log to count only populated/set keys to process.env ([#879](https://github.com/motdotla/dotenv/pull/879))
125
+
126
+ ## [17.0.0](https://github.com/motdotla/dotenv/compare/v16.6.1...v17.0.0) (2025-06-27)
127
+
128
+ ### Changed
129
+
130
+ - Default `quiet` to false - informational (file and keys count) runtime log message shows by default ([#875](https://github.com/motdotla/dotenv/pull/875))
131
+
132
+ ## [16.6.1](https://github.com/motdotla/dotenv/compare/v16.6.0...v16.6.1) (2025-06-27)
133
+
134
+ ### Changed
135
+
136
+ - Default `quiet` to true – hiding the runtime log message ([#874](https://github.com/motdotla/dotenv/pull/874))
137
+ - NOTICE: 17.0.0 will be released with quiet defaulting to false. Use `config({ quiet: true })` to suppress.
138
+ - And check out the new [dotenvx](https://github.com/dotenvx/dotenvx). As coding workflows evolve and agents increasingly handle secrets, encrypted .env files offer a much safer way to deploy both agents and code together with secure secrets. Simply switch `require('dotenv').config()` for `require('@dotenvx/dotenvx').config()`.
139
+
140
+ ## [16.6.0](https://github.com/motdotla/dotenv/compare/v16.5.0...v16.6.0) (2025-06-26)
141
+
142
+ ### Added
143
+
144
+ - Default log helpful message `[dotenv@16.6.0] injecting env (1) from .env` ([#870](https://github.com/motdotla/dotenv/pull/870))
145
+ - Use `{ quiet: true }` to suppress
146
+ - Aligns dotenv more closely with [dotenvx](https://github.com/dotenvx/dotenvx).
147
+
148
+ ## [16.5.0](https://github.com/motdotla/dotenv/compare/v16.4.7...v16.5.0) (2025-04-07)
149
+
150
+ ### Added
151
+
152
+ - πŸŽ‰ Added new sponsor [Graphite](https://graphite.dev/?utm_source=github&utm_medium=repo&utm_campaign=dotenv) - *the AI developer productivity platform helping teams on GitHub ship higher quality software, faster*.
153
+
154
+ > [!TIP]
155
+ > **[Become a sponsor](https://github.com/sponsors/motdotla)**
156
+ >
157
+ > The dotenvx README is viewed thousands of times DAILY on GitHub and NPM.
158
+ > Sponsoring dotenv is a great way to get in front of developers and give back to the developer community at the same time.
159
+
160
+ ### Changed
161
+
162
+ - Remove `_log` method. Use `_debug` [#862](https://github.com/motdotla/dotenv/pull/862)
163
+
164
+ ## [16.4.7](https://github.com/motdotla/dotenv/compare/v16.4.6...v16.4.7) (2024-12-03)
165
+
166
+ ### Changed
167
+
168
+ - Ignore `.tap` folder when publishing. (oops, sorry about that everyone. - @motdotla) [#848](https://github.com/motdotla/dotenv/pull/848)
169
+
170
+ ## [16.4.6](https://github.com/motdotla/dotenv/compare/v16.4.5...v16.4.6) (2024-12-02)
171
+
172
+ ### Changed
173
+
174
+ - Clean up stale dev dependencies [#847](https://github.com/motdotla/dotenv/pull/847)
175
+ - Various README updates clarifying usage and alternative solutions using [dotenvx](https://github.com/dotenvx/dotenvx)
176
+
177
+ ## [16.4.5](https://github.com/motdotla/dotenv/compare/v16.4.4...v16.4.5) (2024-02-19)
178
+
179
+ ### Changed
180
+
181
+ - 🐞 Fix recent regression when using `path` option. return to historical behavior: do not attempt to auto find `.env` if `path` set. (regression was introduced in `16.4.3`) [#814](https://github.com/motdotla/dotenv/pull/814)
182
+
183
+ ## [16.4.4](https://github.com/motdotla/dotenv/compare/v16.4.3...v16.4.4) (2024-02-13)
184
+
185
+ ### Changed
186
+
187
+ - 🐞 Replaced chaining operator `?.` with old school `&&` (fixing node 12 failures) [#812](https://github.com/motdotla/dotenv/pull/812)
188
+
189
+ ## [16.4.3](https://github.com/motdotla/dotenv/compare/v16.4.2...v16.4.3) (2024-02-12)
190
+
191
+ ### Changed
192
+
193
+ - Fixed processing of multiple files in `options.path` [#805](https://github.com/motdotla/dotenv/pull/805)
194
+
195
+ ## [16.4.2](https://github.com/motdotla/dotenv/compare/v16.4.1...v16.4.2) (2024-02-10)
196
+
197
+ ### Changed
198
+
199
+ - Changed funding link in package.json to [`dotenvx.com`](https://dotenvx.com)
200
+
201
+ ## [16.4.1](https://github.com/motdotla/dotenv/compare/v16.4.0...v16.4.1) (2024-01-24)
202
+
203
+ - Patch support for array as `path` option [#797](https://github.com/motdotla/dotenv/pull/797)
204
+
205
+ ## [16.4.0](https://github.com/motdotla/dotenv/compare/v16.3.2...v16.4.0) (2024-01-23)
206
+
207
+ - Add `error.code` to error messages around `.env.vault` decryption handling [#795](https://github.com/motdotla/dotenv/pull/795)
208
+ - Add ability to find `.env.vault` file when filename(s) passed as an array [#784](https://github.com/motdotla/dotenv/pull/784)
209
+
210
+ ## [16.3.2](https://github.com/motdotla/dotenv/compare/v16.3.1...v16.3.2) (2024-01-18)
211
+
212
+ ### Added
213
+
214
+ - Add debug message when no encoding set [#735](https://github.com/motdotla/dotenv/pull/735)
215
+
216
+ ### Changed
217
+
218
+ - Fix output typing for `populate` [#792](https://github.com/motdotla/dotenv/pull/792)
219
+ - Use subarray instead of slice [#793](https://github.com/motdotla/dotenv/pull/793)
220
+
221
+ ## [16.3.1](https://github.com/motdotla/dotenv/compare/v16.3.0...v16.3.1) (2023-06-17)
222
+
223
+ ### Added
224
+
225
+ - Add missing type definitions for `processEnv` and `DOTENV_KEY` options. [#756](https://github.com/motdotla/dotenv/pull/756)
226
+
227
+ ## [16.3.0](https://github.com/motdotla/dotenv/compare/v16.2.0...v16.3.0) (2023-06-16)
228
+
229
+ ### Added
230
+
231
+ - Optionally pass `DOTENV_KEY` to options rather than relying on `process.env.DOTENV_KEY`. Defaults to `process.env.DOTENV_KEY` [#754](https://github.com/motdotla/dotenv/pull/754)
232
+
233
+ ## [16.2.0](https://github.com/motdotla/dotenv/compare/v16.1.4...v16.2.0) (2023-06-15)
234
+
235
+ ### Added
236
+
237
+ - Optionally write to your own target object rather than `process.env`. Defaults to `process.env`. [#753](https://github.com/motdotla/dotenv/pull/753)
238
+ - Add import type URL to types file [#751](https://github.com/motdotla/dotenv/pull/751)
239
+
240
+ ## [16.1.4](https://github.com/motdotla/dotenv/compare/v16.1.3...v16.1.4) (2023-06-04)
241
+
242
+ ### Added
243
+
244
+ - Added `.github/` to `.npmignore` [#747](https://github.com/motdotla/dotenv/pull/747)
245
+
246
+ ## [16.1.3](https://github.com/motdotla/dotenv/compare/v16.1.2...v16.1.3) (2023-05-31)
247
+
248
+ ### Removed
249
+
250
+ - Removed `browser` keys for `path`, `os`, and `crypto` in package.json. These were set to false incorrectly as of 16.1. Instead, if using dotenv on the front-end make sure to include polyfills for `path`, `os`, and `crypto`. [node-polyfill-webpack-plugin](https://github.com/Richienb/node-polyfill-webpack-plugin) provides these.
251
+
252
+ ## [16.1.2](https://github.com/motdotla/dotenv/compare/v16.1.1...v16.1.2) (2023-05-31)
253
+
254
+ ### Changed
255
+
256
+ - Exposed private function `_configDotenv` as `configDotenv`. [#744](https://github.com/motdotla/dotenv/pull/744)
257
+
258
+ ## [16.1.1](https://github.com/motdotla/dotenv/compare/v16.1.0...v16.1.1) (2023-05-30)
259
+
260
+ ### Added
261
+
262
+ - Added type definition for `decrypt` function
263
+
264
+ ### Changed
265
+
266
+ - Fixed `{crypto: false}` in `packageJson.browser`
267
+
268
+ ## [16.1.0](https://github.com/motdotla/dotenv/compare/v16.0.3...v16.1.0) (2023-05-30)
269
+
270
+ ### Added
271
+
272
+ - Add `populate` convenience method [#733](https://github.com/motdotla/dotenv/pull/733)
273
+ - Accept URL as path option [#720](https://github.com/motdotla/dotenv/pull/720)
274
+ - Add dotenv to `npm fund` command
275
+ - Spanish language README [#698](https://github.com/motdotla/dotenv/pull/698)
276
+ - Add `.env.vault` support. πŸŽ‰ ([#730](https://github.com/motdotla/dotenv/pull/730))
277
+
278
+ ℹ️ `.env.vault` extends the `.env` file format standard with a localized encrypted vault file. Package it securely with your production code deploys. It's cloud agnostic so that you can deploy your secrets anywhere – without [risky third-party integrations](https://techcrunch.com/2023/01/05/circleci-breach/). [read more](https://github.com/motdotla/dotenv#-deploying)
279
+
280
+ ### Changed
281
+
282
+ - Fixed "cannot resolve 'fs'" error on tools like Replit [#693](https://github.com/motdotla/dotenv/pull/693)
283
+
284
+ ## [16.0.3](https://github.com/motdotla/dotenv/compare/v16.0.2...v16.0.3) (2022-09-29)
285
+
286
+ ### Changed
287
+
288
+ - Added library version to debug logs ([#682](https://github.com/motdotla/dotenv/pull/682))
289
+
290
+ ## [16.0.2](https://github.com/motdotla/dotenv/compare/v16.0.1...v16.0.2) (2022-08-30)
291
+
292
+ ### Added
293
+
294
+ - Export `env-options.js` and `cli-options.js` in package.json for use with downstream [dotenv-expand](https://github.com/motdotla/dotenv-expand) module
295
+
296
+ ## [16.0.1](https://github.com/motdotla/dotenv/compare/v16.0.0...v16.0.1) (2022-05-10)
297
+
298
+ ### Changed
299
+
300
+ - Minor README clarifications
301
+ - Development ONLY: updated devDependencies as recommended for development only security risks ([#658](https://github.com/motdotla/dotenv/pull/658))
302
+
303
+ ## [16.0.0](https://github.com/motdotla/dotenv/compare/v15.0.1...v16.0.0) (2022-02-02)
304
+
305
+ ### Added
306
+
307
+ - _Breaking:_ Backtick support πŸŽ‰ ([#615](https://github.com/motdotla/dotenv/pull/615))
308
+
309
+ If you had values containing the backtick character, please quote those values with either single or double quotes.
310
+
311
+ ## [15.0.1](https://github.com/motdotla/dotenv/compare/v15.0.0...v15.0.1) (2022-02-02)
312
+
313
+ ### Changed
314
+
315
+ - Properly parse empty single or double quoted values 🐞 ([#614](https://github.com/motdotla/dotenv/pull/614))
316
+
317
+ ## [15.0.0](https://github.com/motdotla/dotenv/compare/v14.3.2...v15.0.0) (2022-01-31)
318
+
319
+ `v15.0.0` is a major new release with some important breaking changes.
320
+
321
+ ### Added
322
+
323
+ - _Breaking:_ Multiline parsing support (just works. no need for the flag.)
324
+
325
+ ### Changed
326
+
327
+ - _Breaking:_ `#` marks the beginning of a comment (UNLESS the value is wrapped in quotes. Please update your `.env` files to wrap in quotes any values containing `#`. For example: `SECRET_HASH="something-with-a-#-hash"`).
328
+
329
+ ..Understandably, (as some teams have noted) this is tedious to do across the entire team. To make it less tedious, we recommend using [dotenv cli](https://github.com/dotenv-org/cli) going forward. It's an optional plugin that will keep your `.env` files in sync between machines, environments, or team members.
330
+
331
+ ### Removed
332
+
333
+ - _Breaking:_ Remove multiline option (just works out of the box now. no need for the flag.)
334
+
335
+ ## [14.3.2](https://github.com/motdotla/dotenv/compare/v14.3.1...v14.3.2) (2022-01-25)
336
+
337
+ ### Changed
338
+
339
+ - Preserve backwards compatibility on values containing `#` 🐞 ([#603](https://github.com/motdotla/dotenv/pull/603))
340
+
341
+ ## [14.3.1](https://github.com/motdotla/dotenv/compare/v14.3.0...v14.3.1) (2022-01-25)
342
+
343
+ ### Changed
344
+
345
+ - Preserve backwards compatibility on exports by re-introducing the prior in-place exports 🐞 ([#606](https://github.com/motdotla/dotenv/pull/606))
346
+
347
+ ## [14.3.0](https://github.com/motdotla/dotenv/compare/v14.2.0...v14.3.0) (2022-01-24)
348
+
349
+ ### Added
350
+
351
+ - Add `multiline` option πŸŽ‰ ([#486](https://github.com/motdotla/dotenv/pull/486))
352
+
353
+ ## [14.2.0](https://github.com/motdotla/dotenv/compare/v14.1.1...v14.2.0) (2022-01-17)
354
+
355
+ ### Added
356
+
357
+ - Add `dotenv_config_override` cli option
358
+ - Add `DOTENV_CONFIG_OVERRIDE` command line env option
359
+
360
+ ## [14.1.1](https://github.com/motdotla/dotenv/compare/v14.1.0...v14.1.1) (2022-01-17)
361
+
362
+ ### Added
363
+
364
+ - Add React gotcha to FAQ on README
365
+
366
+ ## [14.1.0](https://github.com/motdotla/dotenv/compare/v14.0.1...v14.1.0) (2022-01-17)
367
+
368
+ ### Added
369
+
370
+ - Add `override` option πŸŽ‰ ([#595](https://github.com/motdotla/dotenv/pull/595))
371
+
372
+ ## [14.0.1](https://github.com/motdotla/dotenv/compare/v14.0.0...v14.0.1) (2022-01-16)
373
+
374
+ ### Added
375
+
376
+ - Log error on failure to load `.env` file ([#594](https://github.com/motdotla/dotenv/pull/594))
377
+
378
+ ## [14.0.0](https://github.com/motdotla/dotenv/compare/v13.0.1...v14.0.0) (2022-01-16)
379
+
380
+ ### Added
381
+
382
+ - _Breaking:_ Support inline comments for the parser πŸŽ‰ ([#568](https://github.com/motdotla/dotenv/pull/568))
383
+
384
+ ## [13.0.1](https://github.com/motdotla/dotenv/compare/v13.0.0...v13.0.1) (2022-01-16)
385
+
386
+ ### Changed
387
+
388
+ * Hide comments and newlines from debug output ([#404](https://github.com/motdotla/dotenv/pull/404))
389
+
390
+ ## [13.0.0](https://github.com/motdotla/dotenv/compare/v12.0.4...v13.0.0) (2022-01-16)
391
+
392
+ ### Added
393
+
394
+ * _Breaking:_ Add type file for `config.js` ([#539](https://github.com/motdotla/dotenv/pull/539))
395
+
396
+ ## [12.0.4](https://github.com/motdotla/dotenv/compare/v12.0.3...v12.0.4) (2022-01-16)
397
+
398
+ ### Changed
399
+
400
+ * README updates
401
+ * Minor order adjustment to package json format
402
+
403
+ ## [12.0.3](https://github.com/motdotla/dotenv/compare/v12.0.2...v12.0.3) (2022-01-15)
404
+
405
+ ### Changed
406
+
407
+ * Simplified jsdoc for consistency across editors
408
+
409
+ ## [12.0.2](https://github.com/motdotla/dotenv/compare/v12.0.1...v12.0.2) (2022-01-15)
410
+
411
+ ### Changed
412
+
413
+ * Improve embedded jsdoc type documentation
414
+
415
+ ## [12.0.1](https://github.com/motdotla/dotenv/compare/v12.0.0...v12.0.1) (2022-01-15)
416
+
417
+ ### Changed
418
+
419
+ * README updates and clarifications
420
+
421
+ ## [12.0.0](https://github.com/motdotla/dotenv/compare/v11.0.0...v12.0.0) (2022-01-15)
422
+
423
+ ### Removed
424
+
425
+ - _Breaking:_ drop support for Flow static type checker ([#584](https://github.com/motdotla/dotenv/pull/584))
426
+
427
+ ### Changed
428
+
429
+ - Move types/index.d.ts to lib/main.d.ts ([#585](https://github.com/motdotla/dotenv/pull/585))
430
+ - Typescript cleanup ([#587](https://github.com/motdotla/dotenv/pull/587))
431
+ - Explicit typescript inclusion in package.json ([#566](https://github.com/motdotla/dotenv/pull/566))
432
+
433
+ ## [11.0.0](https://github.com/motdotla/dotenv/compare/v10.0.0...v11.0.0) (2022-01-11)
434
+
435
+ ### Changed
436
+
437
+ - _Breaking:_ drop support for Node v10 ([#558](https://github.com/motdotla/dotenv/pull/558))
438
+ - Patch debug option ([#550](https://github.com/motdotla/dotenv/pull/550))
439
+
440
+ ## [10.0.0](https://github.com/motdotla/dotenv/compare/v9.0.2...v10.0.0) (2021-05-20)
441
+
442
+ ### Added
443
+
444
+ - Add generic support to parse function
445
+ - Allow for import "dotenv/config.js"
446
+ - Add support to resolve home directory in path via ~
447
+
448
+ ## [9.0.2](https://github.com/motdotla/dotenv/compare/v9.0.1...v9.0.2) (2021-05-10)
449
+
450
+ ### Changed
451
+
452
+ - Support windows newlines with debug mode
453
+
454
+ ## [9.0.1](https://github.com/motdotla/dotenv/compare/v9.0.0...v9.0.1) (2021-05-08)
455
+
456
+ ### Changed
457
+
458
+ - Updates to README
459
+
460
+ ## [9.0.0](https://github.com/motdotla/dotenv/compare/v8.6.0...v9.0.0) (2021-05-05)
461
+
462
+ ### Changed
463
+
464
+ - _Breaking:_ drop support for Node v8
465
+
466
+ ## [8.6.0](https://github.com/motdotla/dotenv/compare/v8.5.1...v8.6.0) (2021-05-05)
467
+
468
+ ### Added
469
+
470
+ - define package.json in exports
471
+
472
+ ## [8.5.1](https://github.com/motdotla/dotenv/compare/v8.5.0...v8.5.1) (2021-05-05)
473
+
474
+ ### Changed
475
+
476
+ - updated dev dependencies via npm audit
477
+
478
+ ## [8.5.0](https://github.com/motdotla/dotenv/compare/v8.4.0...v8.5.0) (2021-05-05)
479
+
480
+ ### Added
481
+
482
+ - allow for `import "dotenv/config"`
483
+
484
+ ## [8.4.0](https://github.com/motdotla/dotenv/compare/v8.3.0...v8.4.0) (2021-05-05)
485
+
486
+ ### Changed
487
+
488
+ - point to exact types file to work with VS Code
489
+
490
+ ## [8.3.0](https://github.com/motdotla/dotenv/compare/v8.2.0...v8.3.0) (2021-05-05)
491
+
492
+ ### Changed
493
+
494
+ - _Breaking:_ drop support for Node v8 (mistake to be released as minor bump. later bumped to 9.0.0. see above.)
495
+
496
+ ## [8.2.0](https://github.com/motdotla/dotenv/compare/v8.1.0...v8.2.0) (2019-10-16)
497
+
498
+ ### Added
499
+
500
+ - TypeScript types
501
+
502
+ ## [8.1.0](https://github.com/motdotla/dotenv/compare/v8.0.0...v8.1.0) (2019-08-18)
503
+
504
+ ### Changed
505
+
506
+ - _Breaking:_ drop support for Node v6 ([#392](https://github.com/motdotla/dotenv/issues/392))
507
+
508
+ # [8.0.0](https://github.com/motdotla/dotenv/compare/v7.0.0...v8.0.0) (2019-05-02)
509
+
510
+ ### Changed
511
+
512
+ - _Breaking:_ drop support for Node v6 ([#302](https://github.com/motdotla/dotenv/issues/392))
513
+
514
+ ## [7.0.0] - 2019-03-12
515
+
516
+ ### Fixed
517
+
518
+ - Fix removing unbalanced quotes ([#376](https://github.com/motdotla/dotenv/pull/376))
519
+
520
+ ### Removed
521
+
522
+ - Removed `load` alias for `config` for consistency throughout code and documentation.
523
+
524
+ ## [6.2.0] - 2018-12-03
525
+
526
+ ### Added
527
+
528
+ - Support preload configuration via environment variables ([#351](https://github.com/motdotla/dotenv/issues/351))
529
+
530
+ ## [6.1.0] - 2018-10-08
531
+
532
+ ### Added
533
+
534
+ - `debug` option for `config` and `parse` methods will turn on logging
535
+
536
+ ## [6.0.0] - 2018-06-02
537
+
538
+ ### Changed
539
+
540
+ - _Breaking:_ drop support for Node v4 ([#304](https://github.com/motdotla/dotenv/pull/304))
541
+
542
+ ## [5.0.0] - 2018-01-29
543
+
544
+ ### Added
545
+
546
+ - Testing against Node v8 and v9
547
+ - Documentation on trim behavior of values
548
+ - Documentation on how to use with `import`
549
+
550
+ ### Changed
551
+
552
+ - _Breaking_: default `path` is now `path.resolve(process.cwd(), '.env')`
553
+ - _Breaking_: does not write over keys already in `process.env` if the key has a falsy value
554
+ - using `const` and `let` instead of `var`
555
+
556
+ ### Removed
557
+
558
+ - Testing against Node v7
559
+
560
+ ## [4.0.0] - 2016-12-23
561
+
562
+ ### Changed
563
+
564
+ - Return Object with parsed content or error instead of false ([#165](https://github.com/motdotla/dotenv/pull/165)).
565
+
566
+ ### Removed
567
+
568
+ - `verbose` option removed in favor of returning result.
569
+
570
+ ## [3.0.0] - 2016-12-20
571
+
572
+ ### Added
573
+
574
+ - `verbose` option will log any error messages. Off by default.
575
+ - parses email addresses correctly
576
+ - allow importing config method directly in ES6
577
+
578
+ ### Changed
579
+
580
+ - Suppress error messages by default ([#154](https://github.com/motdotla/dotenv/pull/154))
581
+ - Ignoring more files for NPM to make package download smaller
582
+
583
+ ### Fixed
584
+
585
+ - False positive test due to case-sensitive variable ([#124](https://github.com/motdotla/dotenv/pull/124))
586
+
587
+ ### Removed
588
+
589
+ - `silent` option removed in favor of `verbose`
590
+
591
+ ## [2.0.0] - 2016-01-20
592
+
593
+ ### Added
594
+
595
+ - CHANGELOG to ["make it easier for users and contributors to see precisely what notable changes have been made between each release"](http://keepachangelog.com/). Linked to from README
596
+ - LICENSE to be more explicit about what was defined in `package.json`. Linked to from README
597
+ - Testing nodejs v4 on travis-ci
598
+ - added examples of how to use dotenv in different ways
599
+ - return parsed object on success rather than boolean true
600
+
601
+ ### Changed
602
+
603
+ - README has shorter description not referencing ruby gem since we don't have or want feature parity
604
+
605
+ ### Removed
606
+
607
+ - Variable expansion and escaping so environment variables are encouraged to be fully orthogonal
608
+
609
+ ## [1.2.0] - 2015-06-20
610
+
611
+ ### Added
612
+
613
+ - Preload hook to require dotenv without including it in your code
614
+
615
+ ### Changed
616
+
617
+ - clarified license to be "BSD-2-Clause" in `package.json`
618
+
619
+ ### Fixed
620
+
621
+ - retain spaces in string vars
622
+
623
+ ## [1.1.0] - 2015-03-31
624
+
625
+ ### Added
626
+
627
+ - Silent option to silence `console.log` when `.env` missing
628
+
629
+ ## [1.0.0] - 2015-03-13
630
+
631
+ ### Removed
632
+
633
+ - support for multiple `.env` files. should always use one `.env` file for the current environment
634
+
635
+ [7.0.0]: https://github.com/motdotla/dotenv/compare/v6.2.0...v7.0.0
636
+ [6.2.0]: https://github.com/motdotla/dotenv/compare/v6.1.0...v6.2.0
637
+ [6.1.0]: https://github.com/motdotla/dotenv/compare/v6.0.0...v6.1.0
638
+ [6.0.0]: https://github.com/motdotla/dotenv/compare/v5.0.0...v6.0.0
639
+ [5.0.0]: https://github.com/motdotla/dotenv/compare/v4.0.0...v5.0.0
640
+ [4.0.0]: https://github.com/motdotla/dotenv/compare/v3.0.0...v4.0.0
641
+ [3.0.0]: https://github.com/motdotla/dotenv/compare/v2.0.0...v3.0.0
642
+ [2.0.0]: https://github.com/motdotla/dotenv/compare/v1.2.0...v2.0.0
643
+ [1.2.0]: https://github.com/motdotla/dotenv/compare/v1.1.0...v1.2.0
644
+ [1.1.0]: https://github.com/motdotla/dotenv/compare/v1.0.0...v1.1.0
645
+ [1.0.0]: https://github.com/motdotla/dotenv/compare/v0.4.0...v1.0.0
package/LICENSE ADDED
@@ -0,0 +1,23 @@
1
+ Copyright (c) 2015, Scott Motte
2
+ All rights reserved.
3
+
4
+ Redistribution and use in source and binary forms, with or without
5
+ modification, are permitted provided that the following conditions are met:
6
+
7
+ * Redistributions of source code must retain the above copyright notice, this
8
+ list of conditions and the following disclaimer.
9
+
10
+ * Redistributions in binary form must reproduce the above copyright notice,
11
+ this list of conditions and the following disclaimer in the documentation
12
+ and/or other materials provided with the distribution.
13
+
14
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
15
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
17
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
18
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
20
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
21
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
22
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
23
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.