@mrgibson/dotenv-buffer 17.2.3

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,586 @@
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.2.1...master)
6
+
7
+ ## [17.2.1](https://github.com/motdotla/dotenv/compare/v17.2.0...v17.2.1) (2025-07-24)
8
+
9
+ ### Changed
10
+
11
+ * Fix clickable tip links by removing parentheses ([#897](https://github.com/motdotla/dotenv/pull/897))
12
+
13
+ ## [17.2.0](https://github.com/motdotla/dotenv/compare/v17.1.0...v17.2.0) (2025-07-09)
14
+
15
+ ### Added
16
+
17
+ * 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))
18
+ * Just like dotenv any `DOTENV_CONFIG_` environment variables take precedence over any code set options like `({quiet: false})`
19
+
20
+ ```ini
21
+ # .env
22
+ DOTENV_CONFIG_QUIET=true
23
+ HELLO="World"
24
+ ```
25
+ ```js
26
+ // index.js
27
+ require('dotenv').config()
28
+ console.log(`Hello ${process.env.HELLO}`)
29
+ ```
30
+ ```sh
31
+ $ node index.js
32
+ Hello World
33
+
34
+ or
35
+
36
+ $ DOTENV_CONFIG_QUIET=true node index.js
37
+ ```
38
+
39
+ ## [17.1.0](https://github.com/motdotla/dotenv/compare/v17.0.1...v17.1.0) (2025-07-07)
40
+
41
+ ### Added
42
+
43
+ * Add additional security and configuration tips to the runtime log ([#884](https://github.com/motdotla/dotenv/pull/884))
44
+ * Dim the tips text from the main injection information text
45
+
46
+ ```js
47
+ const TIPS = [
48
+ '🔐 encrypt with dotenvx: https://dotenvx.com',
49
+ '🔐 prevent committing .env to code: https://dotenvx.com/precommit',
50
+ '🔐 prevent building .env in docker: https://dotenvx.com/prebuild',
51
+ '🛠️ run anywhere with `dotenvx run -- yourcommand`',
52
+ '⚙️ specify custom .env file path with { path: \'/custom/path/.env\' }',
53
+ '⚙️ enable debug logging with { debug: true }',
54
+ '⚙️ override existing env vars with { override: true }',
55
+ '⚙️ suppress all logs with { quiet: true }',
56
+ '⚙️ write to custom object with { processEnv: myObject }',
57
+ '⚙️ load multiple .env files with { path: [\'.env.local\', \'.env\'] }'
58
+ ]
59
+ ```
60
+
61
+ ## [17.0.1](https://github.com/motdotla/dotenv/compare/v17.0.0...v17.0.1) (2025-07-01)
62
+
63
+ ### Changed
64
+
65
+ * Patched injected log to count only populated/set keys to process.env ([#879](https://github.com/motdotla/dotenv/pull/879))
66
+
67
+ ## [17.0.0](https://github.com/motdotla/dotenv/compare/v16.6.1...v17.0.0) (2025-06-27)
68
+
69
+ ### Changed
70
+
71
+ - Default `quiet` to false - informational (file and keys count) runtime log message shows by default ([#875](https://github.com/motdotla/dotenv/pull/875))
72
+
73
+ ## [16.6.1](https://github.com/motdotla/dotenv/compare/v16.6.0...v16.6.1) (2025-06-27)
74
+
75
+ ### Changed
76
+
77
+ - Default `quiet` to true – hiding the runtime log message ([#874](https://github.com/motdotla/dotenv/pull/874))
78
+ - NOTICE: 17.0.0 will be released with quiet defaulting to false. Use `config({ quiet: true })` to suppress.
79
+ - 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()`.
80
+
81
+ ## [16.6.0](https://github.com/motdotla/dotenv/compare/v16.5.0...v16.6.0) (2025-06-26)
82
+
83
+ ### Added
84
+
85
+ - Default log helpful message `[dotenv@16.6.0] injecting env (1) from .env` ([#870](https://github.com/motdotla/dotenv/pull/870))
86
+ - Use `{ quiet: true }` to suppress
87
+ - Aligns dotenv more closely with [dotenvx](https://github.com/dotenvx/dotenvx).
88
+
89
+ ## [16.5.0](https://github.com/motdotla/dotenv/compare/v16.4.7...v16.5.0) (2025-04-07)
90
+
91
+ ### Added
92
+
93
+ - 🎉 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*.
94
+
95
+ > [!TIP]
96
+ > **[Become a sponsor](https://github.com/sponsors/motdotla)**
97
+ >
98
+ > The dotenvx README is viewed thousands of times DAILY on GitHub and NPM.
99
+ > Sponsoring dotenv is a great way to get in front of developers and give back to the developer community at the same time.
100
+
101
+ ### Changed
102
+
103
+ - Remove `_log` method. Use `_debug` [#862](https://github.com/motdotla/dotenv/pull/862)
104
+
105
+ ## [16.4.7](https://github.com/motdotla/dotenv/compare/v16.4.6...v16.4.7) (2024-12-03)
106
+
107
+ ### Changed
108
+
109
+ - Ignore `.tap` folder when publishing. (oops, sorry about that everyone. - @motdotla) [#848](https://github.com/motdotla/dotenv/pull/848)
110
+
111
+ ## [16.4.6](https://github.com/motdotla/dotenv/compare/v16.4.5...v16.4.6) (2024-12-02)
112
+
113
+ ### Changed
114
+
115
+ - Clean up stale dev dependencies [#847](https://github.com/motdotla/dotenv/pull/847)
116
+ - Various README updates clarifying usage and alternative solutions using [dotenvx](https://github.com/dotenvx/dotenvx)
117
+
118
+ ## [16.4.5](https://github.com/motdotla/dotenv/compare/v16.4.4...v16.4.5) (2024-02-19)
119
+
120
+ ### Changed
121
+
122
+ - 🐞 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)
123
+
124
+ ## [16.4.4](https://github.com/motdotla/dotenv/compare/v16.4.3...v16.4.4) (2024-02-13)
125
+
126
+ ### Changed
127
+
128
+ - 🐞 Replaced chaining operator `?.` with old school `&&` (fixing node 12 failures) [#812](https://github.com/motdotla/dotenv/pull/812)
129
+
130
+ ## [16.4.3](https://github.com/motdotla/dotenv/compare/v16.4.2...v16.4.3) (2024-02-12)
131
+
132
+ ### Changed
133
+
134
+ - Fixed processing of multiple files in `options.path` [#805](https://github.com/motdotla/dotenv/pull/805)
135
+
136
+ ## [16.4.2](https://github.com/motdotla/dotenv/compare/v16.4.1...v16.4.2) (2024-02-10)
137
+
138
+ ### Changed
139
+
140
+ - Changed funding link in package.json to [`dotenvx.com`](https://dotenvx.com)
141
+
142
+ ## [16.4.1](https://github.com/motdotla/dotenv/compare/v16.4.0...v16.4.1) (2024-01-24)
143
+
144
+ - Patch support for array as `path` option [#797](https://github.com/motdotla/dotenv/pull/797)
145
+
146
+ ## [16.4.0](https://github.com/motdotla/dotenv/compare/v16.3.2...v16.4.0) (2024-01-23)
147
+
148
+ - Add `error.code` to error messages around `.env.vault` decryption handling [#795](https://github.com/motdotla/dotenv/pull/795)
149
+ - Add ability to find `.env.vault` file when filename(s) passed as an array [#784](https://github.com/motdotla/dotenv/pull/784)
150
+
151
+ ## [16.3.2](https://github.com/motdotla/dotenv/compare/v16.3.1...v16.3.2) (2024-01-18)
152
+
153
+ ### Added
154
+
155
+ - Add debug message when no encoding set [#735](https://github.com/motdotla/dotenv/pull/735)
156
+
157
+ ### Changed
158
+
159
+ - Fix output typing for `populate` [#792](https://github.com/motdotla/dotenv/pull/792)
160
+ - Use subarray instead of slice [#793](https://github.com/motdotla/dotenv/pull/793)
161
+
162
+ ## [16.3.1](https://github.com/motdotla/dotenv/compare/v16.3.0...v16.3.1) (2023-06-17)
163
+
164
+ ### Added
165
+
166
+ - Add missing type definitions for `processEnv` and `DOTENV_KEY` options. [#756](https://github.com/motdotla/dotenv/pull/756)
167
+
168
+ ## [16.3.0](https://github.com/motdotla/dotenv/compare/v16.2.0...v16.3.0) (2023-06-16)
169
+
170
+ ### Added
171
+
172
+ - 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)
173
+
174
+ ## [16.2.0](https://github.com/motdotla/dotenv/compare/v16.1.4...v16.2.0) (2023-06-15)
175
+
176
+ ### Added
177
+
178
+ - Optionally write to your own target object rather than `process.env`. Defaults to `process.env`. [#753](https://github.com/motdotla/dotenv/pull/753)
179
+ - Add import type URL to types file [#751](https://github.com/motdotla/dotenv/pull/751)
180
+
181
+ ## [16.1.4](https://github.com/motdotla/dotenv/compare/v16.1.3...v16.1.4) (2023-06-04)
182
+
183
+ ### Added
184
+
185
+ - Added `.github/` to `.npmignore` [#747](https://github.com/motdotla/dotenv/pull/747)
186
+
187
+ ## [16.1.3](https://github.com/motdotla/dotenv/compare/v16.1.2...v16.1.3) (2023-05-31)
188
+
189
+ ### Removed
190
+
191
+ - 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.
192
+
193
+ ## [16.1.2](https://github.com/motdotla/dotenv/compare/v16.1.1...v16.1.2) (2023-05-31)
194
+
195
+ ### Changed
196
+
197
+ - Exposed private function `_configDotenv` as `configDotenv`. [#744](https://github.com/motdotla/dotenv/pull/744)
198
+
199
+ ## [16.1.1](https://github.com/motdotla/dotenv/compare/v16.1.0...v16.1.1) (2023-05-30)
200
+
201
+ ### Added
202
+
203
+ - Added type definition for `decrypt` function
204
+
205
+ ### Changed
206
+
207
+ - Fixed `{crypto: false}` in `packageJson.browser`
208
+
209
+ ## [16.1.0](https://github.com/motdotla/dotenv/compare/v16.0.3...v16.1.0) (2023-05-30)
210
+
211
+ ### Added
212
+
213
+ - Add `populate` convenience method [#733](https://github.com/motdotla/dotenv/pull/733)
214
+ - Accept URL as path option [#720](https://github.com/motdotla/dotenv/pull/720)
215
+ - Add dotenv to `npm fund` command
216
+ - Spanish language README [#698](https://github.com/motdotla/dotenv/pull/698)
217
+ - Add `.env.vault` support. 🎉 ([#730](https://github.com/motdotla/dotenv/pull/730))
218
+
219
+ ℹ️ `.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)
220
+
221
+ ### Changed
222
+
223
+ - Fixed "cannot resolve 'fs'" error on tools like Replit [#693](https://github.com/motdotla/dotenv/pull/693)
224
+
225
+ ## [16.0.3](https://github.com/motdotla/dotenv/compare/v16.0.2...v16.0.3) (2022-09-29)
226
+
227
+ ### Changed
228
+
229
+ - Added library version to debug logs ([#682](https://github.com/motdotla/dotenv/pull/682))
230
+
231
+ ## [16.0.2](https://github.com/motdotla/dotenv/compare/v16.0.1...v16.0.2) (2022-08-30)
232
+
233
+ ### Added
234
+
235
+ - Export `env-options.js` and `cli-options.js` in package.json for use with downstream [dotenv-expand](https://github.com/motdotla/dotenv-expand) module
236
+
237
+ ## [16.0.1](https://github.com/motdotla/dotenv/compare/v16.0.0...v16.0.1) (2022-05-10)
238
+
239
+ ### Changed
240
+
241
+ - Minor README clarifications
242
+ - Development ONLY: updated devDependencies as recommended for development only security risks ([#658](https://github.com/motdotla/dotenv/pull/658))
243
+
244
+ ## [16.0.0](https://github.com/motdotla/dotenv/compare/v15.0.1...v16.0.0) (2022-02-02)
245
+
246
+ ### Added
247
+
248
+ - _Breaking:_ Backtick support 🎉 ([#615](https://github.com/motdotla/dotenv/pull/615))
249
+
250
+ If you had values containing the backtick character, please quote those values with either single or double quotes.
251
+
252
+ ## [15.0.1](https://github.com/motdotla/dotenv/compare/v15.0.0...v15.0.1) (2022-02-02)
253
+
254
+ ### Changed
255
+
256
+ - Properly parse empty single or double quoted values 🐞 ([#614](https://github.com/motdotla/dotenv/pull/614))
257
+
258
+ ## [15.0.0](https://github.com/motdotla/dotenv/compare/v14.3.2...v15.0.0) (2022-01-31)
259
+
260
+ `v15.0.0` is a major new release with some important breaking changes.
261
+
262
+ ### Added
263
+
264
+ - _Breaking:_ Multiline parsing support (just works. no need for the flag.)
265
+
266
+ ### Changed
267
+
268
+ - _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"`).
269
+
270
+ ..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.
271
+
272
+ ### Removed
273
+
274
+ - _Breaking:_ Remove multiline option (just works out of the box now. no need for the flag.)
275
+
276
+ ## [14.3.2](https://github.com/motdotla/dotenv/compare/v14.3.1...v14.3.2) (2022-01-25)
277
+
278
+ ### Changed
279
+
280
+ - Preserve backwards compatibility on values containing `#` 🐞 ([#603](https://github.com/motdotla/dotenv/pull/603))
281
+
282
+ ## [14.3.1](https://github.com/motdotla/dotenv/compare/v14.3.0...v14.3.1) (2022-01-25)
283
+
284
+ ### Changed
285
+
286
+ - Preserve backwards compatibility on exports by re-introducing the prior in-place exports 🐞 ([#606](https://github.com/motdotla/dotenv/pull/606))
287
+
288
+ ## [14.3.0](https://github.com/motdotla/dotenv/compare/v14.2.0...v14.3.0) (2022-01-24)
289
+
290
+ ### Added
291
+
292
+ - Add `multiline` option 🎉 ([#486](https://github.com/motdotla/dotenv/pull/486))
293
+
294
+ ## [14.2.0](https://github.com/motdotla/dotenv/compare/v14.1.1...v14.2.0) (2022-01-17)
295
+
296
+ ### Added
297
+
298
+ - Add `dotenv_config_override` cli option
299
+ - Add `DOTENV_CONFIG_OVERRIDE` command line env option
300
+
301
+ ## [14.1.1](https://github.com/motdotla/dotenv/compare/v14.1.0...v14.1.1) (2022-01-17)
302
+
303
+ ### Added
304
+
305
+ - Add React gotcha to FAQ on README
306
+
307
+ ## [14.1.0](https://github.com/motdotla/dotenv/compare/v14.0.1...v14.1.0) (2022-01-17)
308
+
309
+ ### Added
310
+
311
+ - Add `override` option 🎉 ([#595](https://github.com/motdotla/dotenv/pull/595))
312
+
313
+ ## [14.0.1](https://github.com/motdotla/dotenv/compare/v14.0.0...v14.0.1) (2022-01-16)
314
+
315
+ ### Added
316
+
317
+ - Log error on failure to load `.env` file ([#594](https://github.com/motdotla/dotenv/pull/594))
318
+
319
+ ## [14.0.0](https://github.com/motdotla/dotenv/compare/v13.0.1...v14.0.0) (2022-01-16)
320
+
321
+ ### Added
322
+
323
+ - _Breaking:_ Support inline comments for the parser 🎉 ([#568](https://github.com/motdotla/dotenv/pull/568))
324
+
325
+ ## [13.0.1](https://github.com/motdotla/dotenv/compare/v13.0.0...v13.0.1) (2022-01-16)
326
+
327
+ ### Changed
328
+
329
+ * Hide comments and newlines from debug output ([#404](https://github.com/motdotla/dotenv/pull/404))
330
+
331
+ ## [13.0.0](https://github.com/motdotla/dotenv/compare/v12.0.4...v13.0.0) (2022-01-16)
332
+
333
+ ### Added
334
+
335
+ * _Breaking:_ Add type file for `config.js` ([#539](https://github.com/motdotla/dotenv/pull/539))
336
+
337
+ ## [12.0.4](https://github.com/motdotla/dotenv/compare/v12.0.3...v12.0.4) (2022-01-16)
338
+
339
+ ### Changed
340
+
341
+ * README updates
342
+ * Minor order adjustment to package json format
343
+
344
+ ## [12.0.3](https://github.com/motdotla/dotenv/compare/v12.0.2...v12.0.3) (2022-01-15)
345
+
346
+ ### Changed
347
+
348
+ * Simplified jsdoc for consistency across editors
349
+
350
+ ## [12.0.2](https://github.com/motdotla/dotenv/compare/v12.0.1...v12.0.2) (2022-01-15)
351
+
352
+ ### Changed
353
+
354
+ * Improve embedded jsdoc type documentation
355
+
356
+ ## [12.0.1](https://github.com/motdotla/dotenv/compare/v12.0.0...v12.0.1) (2022-01-15)
357
+
358
+ ### Changed
359
+
360
+ * README updates and clarifications
361
+
362
+ ## [12.0.0](https://github.com/motdotla/dotenv/compare/v11.0.0...v12.0.0) (2022-01-15)
363
+
364
+ ### Removed
365
+
366
+ - _Breaking:_ drop support for Flow static type checker ([#584](https://github.com/motdotla/dotenv/pull/584))
367
+
368
+ ### Changed
369
+
370
+ - Move types/index.d.ts to lib/main.d.ts ([#585](https://github.com/motdotla/dotenv/pull/585))
371
+ - Typescript cleanup ([#587](https://github.com/motdotla/dotenv/pull/587))
372
+ - Explicit typescript inclusion in package.json ([#566](https://github.com/motdotla/dotenv/pull/566))
373
+
374
+ ## [11.0.0](https://github.com/motdotla/dotenv/compare/v10.0.0...v11.0.0) (2022-01-11)
375
+
376
+ ### Changed
377
+
378
+ - _Breaking:_ drop support for Node v10 ([#558](https://github.com/motdotla/dotenv/pull/558))
379
+ - Patch debug option ([#550](https://github.com/motdotla/dotenv/pull/550))
380
+
381
+ ## [10.0.0](https://github.com/motdotla/dotenv/compare/v9.0.2...v10.0.0) (2021-05-20)
382
+
383
+ ### Added
384
+
385
+ - Add generic support to parse function
386
+ - Allow for import "dotenv/config.js"
387
+ - Add support to resolve home directory in path via ~
388
+
389
+ ## [9.0.2](https://github.com/motdotla/dotenv/compare/v9.0.1...v9.0.2) (2021-05-10)
390
+
391
+ ### Changed
392
+
393
+ - Support windows newlines with debug mode
394
+
395
+ ## [9.0.1](https://github.com/motdotla/dotenv/compare/v9.0.0...v9.0.1) (2021-05-08)
396
+
397
+ ### Changed
398
+
399
+ - Updates to README
400
+
401
+ ## [9.0.0](https://github.com/motdotla/dotenv/compare/v8.6.0...v9.0.0) (2021-05-05)
402
+
403
+ ### Changed
404
+
405
+ - _Breaking:_ drop support for Node v8
406
+
407
+ ## [8.6.0](https://github.com/motdotla/dotenv/compare/v8.5.1...v8.6.0) (2021-05-05)
408
+
409
+ ### Added
410
+
411
+ - define package.json in exports
412
+
413
+ ## [8.5.1](https://github.com/motdotla/dotenv/compare/v8.5.0...v8.5.1) (2021-05-05)
414
+
415
+ ### Changed
416
+
417
+ - updated dev dependencies via npm audit
418
+
419
+ ## [8.5.0](https://github.com/motdotla/dotenv/compare/v8.4.0...v8.5.0) (2021-05-05)
420
+
421
+ ### Added
422
+
423
+ - allow for `import "dotenv/config"`
424
+
425
+ ## [8.4.0](https://github.com/motdotla/dotenv/compare/v8.3.0...v8.4.0) (2021-05-05)
426
+
427
+ ### Changed
428
+
429
+ - point to exact types file to work with VS Code
430
+
431
+ ## [8.3.0](https://github.com/motdotla/dotenv/compare/v8.2.0...v8.3.0) (2021-05-05)
432
+
433
+ ### Changed
434
+
435
+ - _Breaking:_ drop support for Node v8 (mistake to be released as minor bump. later bumped to 9.0.0. see above.)
436
+
437
+ ## [8.2.0](https://github.com/motdotla/dotenv/compare/v8.1.0...v8.2.0) (2019-10-16)
438
+
439
+ ### Added
440
+
441
+ - TypeScript types
442
+
443
+ ## [8.1.0](https://github.com/motdotla/dotenv/compare/v8.0.0...v8.1.0) (2019-08-18)
444
+
445
+ ### Changed
446
+
447
+ - _Breaking:_ drop support for Node v6 ([#392](https://github.com/motdotla/dotenv/issues/392))
448
+
449
+ # [8.0.0](https://github.com/motdotla/dotenv/compare/v7.0.0...v8.0.0) (2019-05-02)
450
+
451
+ ### Changed
452
+
453
+ - _Breaking:_ drop support for Node v6 ([#302](https://github.com/motdotla/dotenv/issues/392))
454
+
455
+ ## [7.0.0] - 2019-03-12
456
+
457
+ ### Fixed
458
+
459
+ - Fix removing unbalanced quotes ([#376](https://github.com/motdotla/dotenv/pull/376))
460
+
461
+ ### Removed
462
+
463
+ - Removed `load` alias for `config` for consistency throughout code and documentation.
464
+
465
+ ## [6.2.0] - 2018-12-03
466
+
467
+ ### Added
468
+
469
+ - Support preload configuration via environment variables ([#351](https://github.com/motdotla/dotenv/issues/351))
470
+
471
+ ## [6.1.0] - 2018-10-08
472
+
473
+ ### Added
474
+
475
+ - `debug` option for `config` and `parse` methods will turn on logging
476
+
477
+ ## [6.0.0] - 2018-06-02
478
+
479
+ ### Changed
480
+
481
+ - _Breaking:_ drop support for Node v4 ([#304](https://github.com/motdotla/dotenv/pull/304))
482
+
483
+ ## [5.0.0] - 2018-01-29
484
+
485
+ ### Added
486
+
487
+ - Testing against Node v8 and v9
488
+ - Documentation on trim behavior of values
489
+ - Documentation on how to use with `import`
490
+
491
+ ### Changed
492
+
493
+ - _Breaking_: default `path` is now `path.resolve(process.cwd(), '.env')`
494
+ - _Breaking_: does not write over keys already in `process.env` if the key has a falsy value
495
+ - using `const` and `let` instead of `var`
496
+
497
+ ### Removed
498
+
499
+ - Testing against Node v7
500
+
501
+ ## [4.0.0] - 2016-12-23
502
+
503
+ ### Changed
504
+
505
+ - Return Object with parsed content or error instead of false ([#165](https://github.com/motdotla/dotenv/pull/165)).
506
+
507
+ ### Removed
508
+
509
+ - `verbose` option removed in favor of returning result.
510
+
511
+ ## [3.0.0] - 2016-12-20
512
+
513
+ ### Added
514
+
515
+ - `verbose` option will log any error messages. Off by default.
516
+ - parses email addresses correctly
517
+ - allow importing config method directly in ES6
518
+
519
+ ### Changed
520
+
521
+ - Suppress error messages by default ([#154](https://github.com/motdotla/dotenv/pull/154))
522
+ - Ignoring more files for NPM to make package download smaller
523
+
524
+ ### Fixed
525
+
526
+ - False positive test due to case-sensitive variable ([#124](https://github.com/motdotla/dotenv/pull/124))
527
+
528
+ ### Removed
529
+
530
+ - `silent` option removed in favor of `verbose`
531
+
532
+ ## [2.0.0] - 2016-01-20
533
+
534
+ ### Added
535
+
536
+ - 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
537
+ - LICENSE to be more explicit about what was defined in `package.json`. Linked to from README
538
+ - Testing nodejs v4 on travis-ci
539
+ - added examples of how to use dotenv in different ways
540
+ - return parsed object on success rather than boolean true
541
+
542
+ ### Changed
543
+
544
+ - README has shorter description not referencing ruby gem since we don't have or want feature parity
545
+
546
+ ### Removed
547
+
548
+ - Variable expansion and escaping so environment variables are encouraged to be fully orthogonal
549
+
550
+ ## [1.2.0] - 2015-06-20
551
+
552
+ ### Added
553
+
554
+ - Preload hook to require dotenv without including it in your code
555
+
556
+ ### Changed
557
+
558
+ - clarified license to be "BSD-2-Clause" in `package.json`
559
+
560
+ ### Fixed
561
+
562
+ - retain spaces in string vars
563
+
564
+ ## [1.1.0] - 2015-03-31
565
+
566
+ ### Added
567
+
568
+ - Silent option to silence `console.log` when `.env` missing
569
+
570
+ ## [1.0.0] - 2015-03-13
571
+
572
+ ### Removed
573
+
574
+ - support for multiple `.env` files. should always use one `.env` file for the current environment
575
+
576
+ [7.0.0]: https://github.com/motdotla/dotenv/compare/v6.2.0...v7.0.0
577
+ [6.2.0]: https://github.com/motdotla/dotenv/compare/v6.1.0...v6.2.0
578
+ [6.1.0]: https://github.com/motdotla/dotenv/compare/v6.0.0...v6.1.0
579
+ [6.0.0]: https://github.com/motdotla/dotenv/compare/v5.0.0...v6.0.0
580
+ [5.0.0]: https://github.com/motdotla/dotenv/compare/v4.0.0...v5.0.0
581
+ [4.0.0]: https://github.com/motdotla/dotenv/compare/v3.0.0...v4.0.0
582
+ [3.0.0]: https://github.com/motdotla/dotenv/compare/v2.0.0...v3.0.0
583
+ [2.0.0]: https://github.com/motdotla/dotenv/compare/v1.2.0...v2.0.0
584
+ [1.2.0]: https://github.com/motdotla/dotenv/compare/v1.1.0...v1.2.0
585
+ [1.1.0]: https://github.com/motdotla/dotenv/compare/v1.0.0...v1.1.0
586
+ [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.