@trayai/tray-sync-cli 1.0.13 → 1.0.15

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