dotenv-diff 2.5.0 → 2.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,572 +1,371 @@
1
1
  # Changelog
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
- This project follows [Keep a Changelog](https://keepachangelog.com/) and [Semantic Versioning](https://semver.org/).
5
4
 
6
- ## [Unreleased]
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+
9
+ ## [](https://github.com/Chrilleweb/dotenv-diff/compare/v2.4.11...vnull) (2026-01-26)
10
+
11
+ ### Bug Fixes
12
+
13
+ * modifed release.yml ([cbe3129](https://github.com/Chrilleweb/dotenv-diff/commit/cbe3129942775c8c1b7bf60a5b888399d08de081))
14
+ * removed tests from release-it ([1cc591f](https://github.com/Chrilleweb/dotenv-diff/commit/1cc591f4c34c285035d66dd4dd8c58031ba0ef8b))
15
+ * standardize scan output colors ([6d3348b](https://github.com/Chrilleweb/dotenv-diff/commit/6d3348b9b6ff184c7767a4b2a99917319923efff))
16
+
17
+ ### Changelog
7
18
 
8
- ### Added
19
+ All notable changes to this project will be documented in this file. Dates are displayed in UTC.
20
+
21
+ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
22
+
23
+ #### [2.5.1](https://github.com/Chrilleweb/dotenv-diff/compare/2.5.0...2.5.1)
24
+
25
+ - chore: removed publish fra package manager [`#220`](https://github.com/Chrilleweb/dotenv-diff/pull/220)
26
+ - chore: npm publish false [`#219`](https://github.com/Chrilleweb/dotenv-diff/pull/219)
27
+ - chore: package.json [`#217`](https://github.com/Chrilleweb/dotenv-diff/pull/217)
28
+ - chore: skipChek npm [`#216`](https://github.com/Chrilleweb/dotenv-diff/pull/216)
29
+ - chore: release yml [`#215`](https://github.com/Chrilleweb/dotenv-diff/pull/215)
30
+ - chore: release yml file [`#214`](https://github.com/Chrilleweb/dotenv-diff/pull/214)
31
+ - chore: updated release.yml [`#213`](https://github.com/Chrilleweb/dotenv-diff/pull/213)
32
+ - chore: updated pnpm in workflows [`#212`](https://github.com/Chrilleweb/dotenv-diff/pull/212)
33
+ - chore: pnpm frozen lockfile [`#211`](https://github.com/Chrilleweb/dotenv-diff/pull/211)
34
+ - chore: debug release yml file [`#210`](https://github.com/Chrilleweb/dotenv-diff/pull/210)
35
+ - chore: updated gitignore [`#209`](https://github.com/Chrilleweb/dotenv-diff/pull/209)
36
+ - fix: removed tests from release-it [`#208`](https://github.com/Chrilleweb/dotenv-diff/pull/208)
37
+ - fix: modifed release.yml [`#207`](https://github.com/Chrilleweb/dotenv-diff/pull/207)
38
+ - fix: standardize scan output colors [`#206`](https://github.com/Chrilleweb/dotenv-diff/pull/206)
39
+ - chore: setup release-it [`#204`](https://github.com/Chrilleweb/dotenv-diff/pull/204)
40
+ - ci: release yml [`a1db55f`](https://github.com/Chrilleweb/dotenv-diff/commit/a1db55f7701f3328396359f90154cc3ecab5cb69)
41
+ - chore: release npm outside og release-it [`b685037`](https://github.com/Chrilleweb/dotenv-diff/commit/b685037b8a8f1e5a5fd59d21e7a877d11dc75196)
42
+ - chore: removed pnpm specified v [`08f331c`](https://github.com/Chrilleweb/dotenv-diff/commit/08f331c6f4e044ec0d64c904767885fbaa123b36)
43
+
44
+ #### [2.5.0](https://github.com/Chrilleweb/dotenv-diff/compare/v2.4.11...2.5.0)
45
+
46
+ > 24 January 2026
47
+
48
+ - v2.5.0 [`#203`](https://github.com/Chrilleweb/dotenv-diff/pull/203)
49
+ - codecov in readme [`#202`](https://github.com/Chrilleweb/dotenv-diff/pull/202)
50
+ - added lcov for coverage data [`#201`](https://github.com/Chrilleweb/dotenv-diff/pull/201)
51
+ - coverage token [`#200`](https://github.com/Chrilleweb/dotenv-diff/pull/200)
52
+ - JSDoc for interface [`#199`](https://github.com/Chrilleweb/dotenv-diff/pull/199)
53
+ - JSDoc for diffEnv type [`#198`](https://github.com/Chrilleweb/dotenv-diff/pull/198)
54
+ - Improve documentation [`#197`](https://github.com/Chrilleweb/dotenv-diff/pull/197)
55
+ - added default exclude keys / framework rules / ISSUE templates [`#193`](https://github.com/Chrilleweb/dotenv-diff/pull/193)
56
+ - deter unit tests [`a5135e4`](https://github.com/Chrilleweb/dotenv-diff/commit/a5135e4b029ce86ad63a13593d21d9741e0299f9)
57
+ - calculate stats for compare [`70c8608`](https://github.com/Chrilleweb/dotenv-diff/commit/70c8608467f911c536f4d33864727bea2d8fae4a)
58
+ - updated tests [`6b0d0a2`](https://github.com/Chrilleweb/dotenv-diff/commit/6b0d0a226135b9a2884076f588eb0a8372a6e3b4)
59
+
60
+ #### [v2.4.11](https://github.com/Chrilleweb/dotenv-diff/compare/v2.4.10...v2.4.11)
61
+
62
+ > 20 January 2026
63
+
64
+ - v2.4.11 [`#192`](https://github.com/Chrilleweb/dotenv-diff/pull/192)
65
+ - sveltekit rules update [`#191`](https://github.com/Chrilleweb/dotenv-diff/pull/191)
66
+ - refactor of compareMany [`#190`](https://github.com/Chrilleweb/dotenv-diff/pull/190)
67
+ - scanJsonOutput tests coverage [`#189`](https://github.com/Chrilleweb/dotenv-diff/pull/189)
68
+ - changed image on clean output [`#188`](https://github.com/Chrilleweb/dotenv-diff/pull/188)
69
+ - secretDetectors unit tests [`bc73926`](https://github.com/Chrilleweb/dotenv-diff/commit/bc73926ee3d9ba574b9938daaf7f9af995bb8215)
70
+ - sveltekit rules opdate [`ef2f590`](https://github.com/Chrilleweb/dotenv-diff/commit/ef2f5906eeeaeda90ed79e40e102b8ba4659820c)
71
+ - sveltekit rules improved [`9db94dd`](https://github.com/Chrilleweb/dotenv-diff/commit/9db94dd7ee1bd1c8ea5ffb52583dc9e65bff8e7f)
72
+
73
+ #### [v2.4.10](https://github.com/Chrilleweb/dotenv-diff/compare/v2.4.9...v2.4.10)
9
74
 
10
- - Added default excluded keys to filterIgnoredKeys (e.g. NODE_ENV, VITE_MODE, etc).
11
- - Added Warn if PUBLIC_ or VITE_ contains sensitive keywords in sveltekit framework rules.
75
+ > 19 January 2026
12
76
 
13
- ### Changed
77
+ - Updated dependencies + v2.4.10 [`#187`](https://github.com/Chrilleweb/dotenv-diff/pull/187)
78
+ - Fixed prompt bug [`#186`](https://github.com/Chrilleweb/dotenv-diff/pull/186)
79
+ - Compare tests and json fix [`#185`](https://github.com/Chrilleweb/dotenv-diff/pull/185)
80
+ - envPairing tests and rename [`#183`](https://github.com/Chrilleweb/dotenv-diff/pull/183)
81
+ - envDiscovery tests and moved to service folder [`#182`](https://github.com/Chrilleweb/dotenv-diff/pull/182)
82
+ - detectEnvExp [`#181`](https://github.com/Chrilleweb/dotenv-diff/pull/181)
83
+ - compareScan unit tests [`#180`](https://github.com/Chrilleweb/dotenv-diff/pull/180)
84
+ - scanCodebase tests + optinal files [`#179`](https://github.com/Chrilleweb/dotenv-diff/pull/179)
85
+ - frameworkValidator 100% test coverage [`#178`](https://github.com/Chrilleweb/dotenv-diff/pull/178)
86
+ - frameworkDetector unit tests [`#177`](https://github.com/Chrilleweb/dotenv-diff/pull/177)
87
+ - Secret detector unit tests [`#176`](https://github.com/Chrilleweb/dotenv-diff/pull/176)
88
+ - code of conduct [`#174`](https://github.com/Chrilleweb/dotenv-diff/pull/174)
89
+ - added test for scanFile + fixed regex for .env matches [`#173`](https://github.com/Chrilleweb/dotenv-diff/pull/173)
90
+ - Test coverage [`#172`](https://github.com/Chrilleweb/dotenv-diff/pull/172)
91
+ - compare unit tests [`4631d29`](https://github.com/Chrilleweb/dotenv-diff/commit/4631d29c368151ba6e50d18f4e2f05a27a3fd772)
92
+ - filwalker test coverage [`9a2a20d`](https://github.com/Chrilleweb/dotenv-diff/commit/9a2a20d4a5f6f48215ec703fa903a77888f30bce)
93
+ - updated dependencies + v2.4.10 [`251ebad`](https://github.com/Chrilleweb/dotenv-diff/commit/251ebad56acc34cecf3a5b1eb2472c1b930c8ddb)
94
+
95
+ #### [v2.4.9](https://github.com/Chrilleweb/dotenv-diff/compare/v2.4.8...v2.4.9)
96
+
97
+ > 13 January 2026
14
98
 
15
- - Changed text to 'Scanning environment variable usage against:' in scan usage header.
99
+ - fixed repo url in package json [`#171`](https://github.com/Chrilleweb/dotenv-diff/pull/171)
100
+ - fixed sveltekit bug [`#170`](https://github.com/Chrilleweb/dotenv-diff/pull/170)
101
+ - updated dev depen [`12fc9b4`](https://github.com/Chrilleweb/dotenv-diff/commit/12fc9b4818fe66ca97f6bdb1a58d7a6151095162)
16
102
 
17
- ### Fixed
103
+ #### [v2.4.8](https://github.com/Chrilleweb/dotenv-diff/compare/v2.4.7...v2.4.8)
104
+
105
+ > 13 January 2026
106
+
107
+ - Fixed test [`#169`](https://github.com/Chrilleweb/dotenv-diff/pull/169)
108
+ - Fixed Sveltekit rules [`#168`](https://github.com/Chrilleweb/dotenv-diff/pull/168)
109
+ - Renamed function [`#166`](https://github.com/Chrilleweb/dotenv-diff/pull/166)
110
+ - moved framework core files to framework folder [`#165`](https://github.com/Chrilleweb/dotenv-diff/pull/165)
111
+ - test coverage [`3bd5312`](https://github.com/Chrilleweb/dotenv-diff/commit/3bd53126617e9d58b08e1cc79412f3450199b79d)
112
+ - updated sveltekit rules [`3db16fe`](https://github.com/Chrilleweb/dotenv-diff/commit/3db16fee1a05fc1f6dcbc3cbf4152e5cfbd22c36)
113
+ - parseEnv error handling [`14dc4f7`](https://github.com/Chrilleweb/dotenv-diff/commit/14dc4f7daa65c18945fc1c92a4905d63c802cba8)
114
+
115
+ #### [v2.4.7](https://github.com/Chrilleweb/dotenv-diff/compare/v2.4.6...v2.4.7)
116
+
117
+ > 11 January 2026
118
+
119
+ - v2.4.7 [`#164`](https://github.com/Chrilleweb/dotenv-diff/pull/164)
120
+ - Updated README [`#163`](https://github.com/Chrilleweb/dotenv-diff/pull/163)
121
+ - Added Progressbar for scan mode [`#162`](https://github.com/Chrilleweb/dotenv-diff/pull/162)
122
+ - Moved constants to constants file [`#161`](https://github.com/Chrilleweb/dotenv-diff/pull/161)
123
+ - exitresult + type + exit decision [`#160`](https://github.com/Chrilleweb/dotenv-diff/pull/160)
124
+ - interfaces, types and documentation + constants [`#159`](https://github.com/Chrilleweb/dotenv-diff/pull/159)
125
+ - Fixed path normalization issue [`#158`](https://github.com/Chrilleweb/dotenv-diff/pull/158)
126
+ - Added PR template [`#156`](https://github.com/Chrilleweb/dotenv-diff/pull/156)
127
+ - moved scanjson output out of types [`e0d80c0`](https://github.com/Chrilleweb/dotenv-diff/commit/e0d80c09c1d6d8d3a62a1e606cad4bf5ae22bd1b)
128
+ - Moved types arround for better readability [`e9d6424`](https://github.com/Chrilleweb/dotenv-diff/commit/e9d6424477a702798182efee46f7634996310471)
129
+ - framework rules cross-platform consistency. [`4939788`](https://github.com/Chrilleweb/dotenv-diff/commit/4939788e120fb17fcb0d807ade599bf9f7af88ad)
130
+
131
+ #### [v2.4.6](https://github.com/Chrilleweb/dotenv-diff/compare/v2.4.5...v2.4.6)
132
+
133
+ > 6 January 2026
134
+
135
+ - added BOM hadnling [`#155`](https://github.com/Chrilleweb/dotenv-diff/pull/155)
136
+ - removed unused await + added comment for documentation [`#153`](https://github.com/Chrilleweb/dotenv-diff/pull/153)
137
+ - bump(deps-dev): bump the dev-dependencies group with 2 updates [`#154`](https://github.com/Chrilleweb/dotenv-diff/pull/154)
138
+ - scan output to json modified [`#152`](https://github.com/Chrilleweb/dotenv-diff/pull/152)
139
+ - scanFile [`#151`](https://github.com/Chrilleweb/dotenv-diff/pull/151)
140
+ - Maintiance code [`#150`](https://github.com/Chrilleweb/dotenv-diff/pull/150)
141
+ - refactor [`#149`](https://github.com/Chrilleweb/dotenv-diff/pull/149)
142
+ - README update [`#148`](https://github.com/Chrilleweb/dotenv-diff/pull/148)
143
+ - updated vitest timeout + Set array + maintaince [`c117cb2`](https://github.com/Chrilleweb/dotenv-diff/commit/c117cb27a1df7736a97e40bdab4994fd7c833338)
144
+ - updated readme [`2f8abb8`](https://github.com/Chrilleweb/dotenv-diff/commit/2f8abb84084d129414456e2cf47f6a8297625fcd)
145
+ - Discovery type into types file [`32ff023`](https://github.com/Chrilleweb/dotenv-diff/commit/32ff02364e54e8b63e9fece82c2bd955eb68ef89)
146
+
147
+ #### [v2.4.5](https://github.com/Chrilleweb/dotenv-diff/compare/v2.4.4...v2.4.5)
148
+
149
+ > 29 December 2025
150
+
151
+ - bump(deps-dev): bump the dev-dependencies group with 2 updates [`#146`](https://github.com/Chrilleweb/dotenv-diff/pull/146)
152
+ - v2.4.5 [`#147`](https://github.com/Chrilleweb/dotenv-diff/pull/147)
153
+ - Update framework rules. [`#145`](https://github.com/Chrilleweb/dotenv-diff/pull/145)
154
+ - Changed UI for framework warnings [`#144`](https://github.com/Chrilleweb/dotenv-diff/pull/144)
155
+ - updated next js rules reason text [`ce91701`](https://github.com/Chrilleweb/dotenv-diff/commit/ce9170122a59779d5811cd0f4f463a52fb258e9e)
156
+ - updated sveltekit framework warnings [`ffaa28b`](https://github.com/Chrilleweb/dotenv-diff/commit/ffaa28bcbcf8fa3e910baa3d5eb20abfd757314b)
157
+ - updated changelog [`0af3bce`](https://github.com/Chrilleweb/dotenv-diff/commit/0af3bced6f5783b73bb9139efe313b9c91a0262b)
158
+
159
+ #### [v2.4.4](https://github.com/Chrilleweb/dotenv-diff/compare/v2.4.3...v2.4.4)
160
+
161
+ > 27 December 2025
162
+
163
+ - Fixed bug in next js framework rules [`#143`](https://github.com/Chrilleweb/dotenv-diff/pull/143)
164
+ - fixed nextjs warnings bug [`53df709`](https://github.com/Chrilleweb/dotenv-diff/commit/53df709714f99359061bb9b99a02e30e7c0c3c62)
165
+
166
+ #### [v2.4.3](https://github.com/Chrilleweb/dotenv-diff/compare/v2.4.1...v2.4.3)
167
+
168
+ > 27 December 2025
169
+
170
+ - removed t3-env integration [`#142`](https://github.com/Chrilleweb/dotenv-diff/pull/142)
171
+ - fixed t3env bugs [`#141`](https://github.com/Chrilleweb/dotenv-diff/pull/141)
18
172
 
19
- - Fixed `.env.example` creation prompt not appearing for variant `.env` files (e.g. `.env.local`).
173
+ #### [v2.4.1](https://github.com/Chrilleweb/dotenv-diff/compare/v2.4.0...v2.4.1)
20
174
 
21
- ## [2.5.0] - 2026-01-24
175
+ > 27 December 2025
176
+
177
+ - v2.4.1 [`#140`](https://github.com/Chrilleweb/dotenv-diff/pull/140)
178
+ - T3-env bug fix pƄ false positive in secret detection [`#139`](https://github.com/Chrilleweb/dotenv-diff/pull/139)
179
+ - Scan stats [`#138`](https://github.com/Chrilleweb/dotenv-diff/pull/138)
180
+ - fixed t3env mutible bug + secret detection false potitive warning [`01f0c13`](https://github.com/Chrilleweb/dotenv-diff/commit/01f0c1313b8449d33e6f91ddfd738f614df5856d)
181
+ - changed scan stats name [`c821d85`](https://github.com/Chrilleweb/dotenv-diff/commit/c821d8564bfef9c6826c7d00a357022b507cc745)
22
182
 
23
- ### Added
183
+ #### [v2.4.0](https://github.com/Chrilleweb/dotenv-diff/compare/v2.3.12...v2.4.0)
24
184
 
25
- - Added default excluded keys to filterIgnoredKeys (e.g. NODE_ENV, VITE_MODE, etc).
26
- - Added Warn if PUBLIC_ or VITE_ contains sensitive keywords in sveltekit framework rules.
185
+ > 27 December 2025
27
186
 
28
- ### Changed
187
+ - Example warnings to json [`#137`](https://github.com/Chrilleweb/dotenv-diff/pull/137)
188
+ - fixed bug where it would give double warnings on framework specific w… [`#136`](https://github.com/Chrilleweb/dotenv-diff/pull/136)
189
+ - v2.4.0 [`#135`](https://github.com/Chrilleweb/dotenv-diff/pull/135)
190
+ - Fixed compare mode value mismatch count [`#134`](https://github.com/Chrilleweb/dotenv-diff/pull/134)
191
+ - fixed CLI UI bug [`#133`](https://github.com/Chrilleweb/dotenv-diff/pull/133)
192
+ - nextjs and t3env rules fixed [`3678e4d`](https://github.com/Chrilleweb/dotenv-diff/commit/3678e4d83ab97c25ac4bc9e44dfdaad9e14196a6)
193
+ - fixed bug where it would give double warnings on framework specific warnings [`21c5d73`](https://github.com/Chrilleweb/dotenv-diff/commit/21c5d7367de064d4a2ff1c7f3d777ea2dd142db9)
194
+ - also added test for sveltekit for double warnings [`4d311ff`](https://github.com/Chrilleweb/dotenv-diff/commit/4d311ff28763b056dcfc671b1ebc43d668d9d389)
29
195
 
30
- - Changed text to 'Scanning environment variable usage against:' in scan usage header.
196
+ #### [v2.3.12](https://github.com/Chrilleweb/dotenv-diff/compare/v2.3.11...v2.3.12)
31
197
 
32
- ### Fixed
198
+ > 18 December 2025
33
199
 
34
- - Fixed `.env.example` creation prompt not appearing for variant `.env` files (e.g. `.env.local`).
200
+ - v2.3.12 [`#131`](https://github.com/Chrilleweb/dotenv-diff/pull/131)
201
+ - bump(deps-dev): bump @types/node from 24.10.4 to 25.0.2 in the dev-dependencies group across 1 directory [`#119`](https://github.com/Chrilleweb/dotenv-diff/pull/119)
202
+ - Updated README [`#130`](https://github.com/Chrilleweb/dotenv-diff/pull/130)
203
+ - Changelog + Fixed false positive secret detection [`#129`](https://github.com/Chrilleweb/dotenv-diff/pull/129)
204
+ - Removed used variables output from scan usage to reduce noise. [`#128`](https://github.com/Chrilleweb/dotenv-diff/pull/128)
205
+ - Added warnings to scan stats. [`#126`](https://github.com/Chrilleweb/dotenv-diff/pull/126)
206
+ - Shortened config file path in CLI output to show only the filename. [`#127`](https://github.com/Chrilleweb/dotenv-diff/pull/127)
207
+ - Moved healthscore down on output [`#125`](https://github.com/Chrilleweb/dotenv-diff/pull/125)
208
+ - docs: shorten resolveFromCwd JSDoc [`#123`](https://github.com/Chrilleweb/dotenv-diff/pull/123)
209
+ - Updated dependencies [`#118`](https://github.com/Chrilleweb/dotenv-diff/pull/118)
210
+ - Format code for tests --format flag [`#115`](https://github.com/Chrilleweb/dotenv-diff/pull/115)
211
+ - small fix for runScanMode function [`#111`](https://github.com/Chrilleweb/dotenv-diff/pull/111)
212
+ - test(sveltekit): allow private env vars in +page.server.ts [`#112`](https://github.com/Chrilleweb/dotenv-diff/pull/112)
213
+ - docs: improve README wording and clarity [`#109`](https://github.com/Chrilleweb/dotenv-diff/pull/109)
214
+ - added contribution.md [`#106`](https://github.com/Chrilleweb/dotenv-diff/pull/106)
215
+ - Codebase + readme update + security.md [`#104`](https://github.com/Chrilleweb/dotenv-diff/pull/104)
216
+ - code maintaince [`#102`](https://github.com/Chrilleweb/dotenv-diff/pull/102)
217
+ - format code for tests --format flag [`48a9b55`](https://github.com/Chrilleweb/dotenv-diff/commit/48a9b55b9b063649dc3f2693bfd53d47c1643567)
218
+ - Fixed false positive secret detection [`0591e7e`](https://github.com/Chrilleweb/dotenv-diff/commit/0591e7ef8584380bd0cc501778fc5c047c244758)
219
+ - bump(deps-dev): bump @types/node [`09abdb8`](https://github.com/Chrilleweb/dotenv-diff/commit/09abdb8857b818a2c7c8641a0e65976ffe0bfcf8)
35
220
 
36
- ## [2.4.11] - 2026-01-20
221
+ #### [v2.3.11](https://github.com/Chrilleweb/dotenv-diff/compare/v2.3.10...v2.3.11)
37
222
 
38
- ### Added
223
+ > 13 December 2025
39
224
 
40
- - SvelteKit framework rule (PUBLIC_ env vars cant be accessed through $env/dynamic/private).
225
+ - Removed low severity secrets from codebase scanner results, because i… [`#101`](https://github.com/Chrilleweb/dotenv-diff/pull/101)
226
+ - Removed low severity secrets from codebase scanner results, because it made too much noise. [`8ccbe16`](https://github.com/Chrilleweb/dotenv-diff/commit/8ccbe16a1942065a6b187fe48e0c14426aa7e312)
41
227
 
42
- ### Fixed
228
+ #### [v2.3.10](https://github.com/Chrilleweb/dotenv-diff/compare/v2.3.9...v2.3.10)
43
229
 
44
- - Fixed sveltekit framework rules - $env imports were not being detected correctly in some edge cases.
230
+ > 11 December 2025
45
231
 
46
- ## [2.4.10] - 2026-01-19
47
-
48
- ### Changed
49
-
50
- - Changed total variables to total variable references in scan statistics output.
51
-
52
- ### Fixed
53
-
54
- - Fixed compare mode json output missing stats
55
- - Fixed compare mode issue where it would warn about .env.example not being gitignored in edgde cases.
56
- - Fixed create example file prompt bug.
57
-
58
- ## [2.4.9] - 2026-01-13
59
-
60
- ### Fixed
61
-
62
- - Fixed sveltekit framework bug where process.env usage in +server.ts files were given a false warning.
63
-
64
- ## [2.4.8] - 2026-01-13
65
-
66
- ### Added
67
-
68
- - Added duplicated warnings to decrease health score.
69
-
70
- ### Fixed
71
-
72
- - Fixed rules for sveltekit framework to correctly identify environment variable usage in $env/static/private and $env/dynamic/private imports.
73
- - Fixed secret detection to ignore environment variable usage in HTML tag content.
74
- - Fixed duplicate warnings on nextjs framework rules and logged env vars in console warnings.
75
- - Fixed nextjs framework rules to follow the documentation more closely.
76
-
77
- ## [2.4.7] - 2026-01-11
78
-
79
- ### Added
80
-
81
- - Added progress bar to codebase scanner.
82
-
83
- ### Fixed
84
-
85
- - Fixed path normalization issue where file paths were not consistently displayed across different operating systems.
86
-
87
- ## [2.4.6] - 2026-01-06
88
-
89
- ### Fixed
90
-
91
- - Modified JSON output for scan usage.
92
-
93
- ## [2.4.5] - 2025-12-29
94
-
95
- ### Changed
96
-
97
- - Changed UI for framework warnings to include framework name + better formatting.
98
- - Updated nextjs framework rules.
99
- - Updated sveltekit framework rules.
100
-
101
- ## [2.4.4] - 2025-12-27
102
-
103
- ### Fixed
104
-
105
- - Fixed bug in next js framework rules
106
-
107
- ## [2.4.3] - 2025-12-27
108
-
109
- ### Changed
110
-
111
- - Removed T3-env specific warnings and related code from the codebase scanner.
112
-
113
- ## [2.4.2] - 2025-12-27
114
-
115
- ### Fixed
116
-
117
- - Fixed bug where t3-env schema was not loaded correctly in some edge cases.
118
- - Fixed duplicate t3-env warnings being shown for the same variable.
119
-
120
- ## [2.4.1] - 2025-12-26
121
-
122
- ### Changed
123
-
124
- - Added Example warings to JSON output of scan usage.
125
- - Changed scan statistics name from "Total usages found" to "Total variables".
126
-
127
- ### Fixed
128
-
129
- - Fixed nextjs framework rules bug where multiple warnings could be generated for the same usage.
130
- - Fixed t3-env framework rules bug where multiple warnings could be generated for the same usage.
131
- - Fixed false positive secret detection for certain harmless attribute keys in codebase scanner.
132
-
133
- ## [2.4.0] - 2025-12-26
134
-
135
- ### Changed
136
-
137
- - Added spacing before missing example file message in scan usage output.
138
- - Changed path display for print missing example file message to show only filename instead of full path.
139
-
140
- ### Fixed
141
-
142
- - Fixed compare mode value mismatch count not showing in stats output if --check-values flag isn't used.
143
- - Fixed t3-env integration not working as expected in some edge cases.
144
- - Fixed nextjs framework validator not working as expected in some edge cases.
145
-
146
- ## [2.3.12] - 2025-12-18
147
-
148
- ### Added
149
-
150
- - Added warnings count to scan usage stats.
151
-
152
- ### Changed
153
-
154
- - Updated dependencies to latest versions.
155
- - Moved `healthScore` further down on the console output for better visibility of issues.
156
- - Removed used variables output from scan usage to reduce noise.
157
- - Removed header output from scan usage to reduce noise.
158
- - Shortened config file path in CLI output to show only the filename.
159
- - Updated README documentation for better clarity.
160
-
161
- ### Fixed
162
-
163
- - Fixed false positive secret detection for certain harmless attribute keys in codebase scanner.
164
- - Fixed print fix bug
165
-
166
- ## [2.3.11] - 2025-12-13
167
-
168
- ### Changed
169
-
170
- - Removed low severity secrets from codebase scanner results, because it made too much noise.
171
-
172
- ## [2.3.10] - 2025-12-11
173
-
174
- ### Added
175
-
176
- - More jsDocs for better code documentation.
177
- - t3-env integration to validate environment variable usage against T3 stack schema.
178
-
179
- ### Fixed
180
-
181
- - Removed unused code for old --no-compare option.
182
-
183
- ## [2.3.9] - 2025-12-09
184
-
185
- ### Added
186
-
187
- - Added expiration date warnings for environment variables in codebase scanner.
188
- - Added inconsistent naming warnings for environment variables in codebase scanner.
189
-
190
- ### Changed
191
-
192
- - Changed health score calculation weights for better accuracy.
193
- - Removed CSP detection from codebase scanner, as it was causing false positives in some cases for backend frameworks.
194
-
195
- ## [2.3.8] - 2025-12-08
196
-
197
- ### Added
198
-
199
- - Added variables not using uppercase letters warning to codebase scanner.
200
- - Added health score feature to codebase scanner.
201
-
202
- ### Changed
203
-
204
- - Removed --no-compare option from CLI and config file.
205
- - Updated dependencies to latest versions.
206
-
207
- ### Fixed
208
-
209
- - Fixed issue where show-stats and show-unused options were not working as expected in config file.
210
-
211
- ## [2.3.7] - 2025-12-03
212
-
213
- ### Added
214
-
215
- - Added warning for environment variables logged to console in codebase scanner.
216
-
217
- ### Changed
218
-
219
- - Updated dependencies to latest versions.
220
-
221
- ### Fixed
222
-
223
- - Updated jsDocs for better code documentation.
224
- - Updated some functions for better type safety.
225
-
226
- ## [2.3.6] - 2025-12-02
227
-
228
- ### Added
229
-
230
- - Added strict mode handling for framework specific warnings.
231
- - Added Next.js specific warnings to framework validator.
232
-
233
- ### Fixed
234
-
235
- - Nameing convention fix in frameworkValidator.ts
236
-
237
- ## [2.3.5] - 2025-12-01
238
-
239
- ### Added
240
-
241
- - Added more sveltekit specific warnings to codebase scanner.
242
- - Added warning for potential secrets in .env.example file.
243
-
244
- ### Fixed
245
-
246
- - Duration refactored for better code maintainability.
247
-
248
- ## [2.3.4] - 2025-11-05
249
-
250
- ### Fixed
251
-
252
- - Fixed issue where CSP detection was not working as expected in some file types.
253
-
254
- ## [2.3.3] - 2025-11-30
255
-
256
- ### Added
257
-
258
- - Added Content-Security-Policy (CSP) detection to codebase scanner.
259
- - Warns if no CSP is found in HTML/JS/TS files.
260
-
261
- ### Changed
262
-
263
- - No breaking changes.
264
-
265
- ## [2.3.2] - 2025-11-01
266
-
267
- ### Added
268
-
269
- - Added duration output to scan statistics.
270
- - Severity levels for secret findings: high, medium, low.
271
-
272
- ### Changed
273
-
274
- - Updated dependencies to latest versions.
275
- - Improved README documentation for clarity.
276
- - No breaking changes.
277
-
278
- ## [2.3.1] - 2025-10-08
279
-
280
- ### Fixed
281
-
282
- - Fixed dotenv-diff.config.json not found in monorepo root when running from apps.
283
-
284
- ## [2.3.0] - 2025-10-07
285
-
286
- ### Fixed
287
-
288
- - Fixed issue where .env.example would be ignored by git when using --fix flag.
289
-
290
- ### Added
291
-
292
- - HTML comments to ignore secret detection in HTML lines (e.g. `<!-- dotenv-diff-ignore -->`).
293
- - Also ignore html sections with `<!-- dotenv-diff-ignore-start -->` and `<!-- dotenv-diff-ignore-end -->`.
294
- - Added option to have a dotenv-diff.config.json file for configuration.
295
- - ignoreUrls option to ignore specific URLs in secret detection. (e.g. `https://nomistake.com`).
296
- - Added `--init` flag to create a sample config file.
297
- - --no-compare flag to disable comparison mode in scan usage. and noCompare option in config file.
298
-
299
- ## [2.2.8] - 2025-09-30
300
-
301
- ### Added
302
-
303
- - Fix .env is not ignored by git when using --fix flag.
304
-
305
- ### Changed
306
-
307
- - No breaking changes.
308
-
309
- ### Fixed
310
-
311
- - Refactored codebase for better maintainability.
312
-
313
- ## [2.2.7] - 2025-09-28
314
-
315
- ### Added
316
-
317
- - Added warning on .env not ignored by .gitignore on default.
318
- - added `dotenv-diff-ignore` comment to ignore lines from secret detection.
319
-
320
- ### Fixed
321
-
322
- - Fixed `--strict` error output to console when no warnings are found.
323
-
324
- ### Changed
325
-
326
- - No breaking changes.
327
- - Updated dependencies to latest versions.
328
-
329
- ## [2.2.6] - 2025-09-25
330
-
331
- ### Added
332
-
333
- - Added `placeholder`, `127.0.0.1`, and `example` to `looksHarmless` secret detection rule.
334
- - Added `HTTP URL detected` message to potential secrets output.
335
-
336
- ### Fixed
337
-
338
- - Removed `All used environment variables are defined in {.env}` when there are no used variables found.
339
-
340
- ### Changed
341
-
342
- - No breaking changes.
343
-
344
- ## [2.2.5] - 2025-09-18
345
-
346
- ### Added
347
-
348
- - Updated README with `--strict` flag documentation.
349
-
350
- ### Fixed
351
-
352
- - Fixed false positives for HTTPS URLs in SVG files and SVG namespace URLs.
353
-
354
- ### Changed
355
-
356
- - No breaking changes.
357
-
358
- ## [2.2.4] - 2025-09-13
359
-
360
- ### Fixed
361
-
362
- - Fixed found variable count did not show when there were missing variables in .env
363
- - Will now not says "Found 2 unique environment variables in use" if there are found in commented out code.
364
- - Fixed bug where it would say "no unused variables" if there where no found variables at all.
365
-
366
- ### Changed
367
-
368
- - No breaking changes.
369
-
370
- ## [2.2.3] - 2025-09-08
371
-
372
- ### Added
373
-
374
- - Warning for HTTPS URLs detected in codebase.
375
- - Added duplicate key detection to codebase scanner.
376
- - added `--strict` flag to enable strict mode (treat warnings as errors).
377
- - duplicate key detection for `.env.example` files.
378
-
379
- ### Fixed
380
-
381
- - Fixed issue with false warnings on secrets in certain edge cases.
382
- - Updated README
383
-
384
- ### Changed
385
-
386
- - No breaking changes.
387
- - `--compare` feature coloring improved for better readability.
388
- - added `duplicate` warnings to scan results.
389
-
390
- ## [2.2.2] - 2025-09-07
391
-
392
- ### Fixed
393
-
394
- - Fixed issue where it would give a false warning on secrets with process.env
395
- - Code cleanup.
396
- - exclude `.svelte-kit` from codebase scan by default.
397
- - Updated README
398
-
399
- ### Changed
400
-
401
- - No breaking changes.
402
-
403
- ## [2.2.1] - 2025-09-06
404
-
405
- ### Changed
406
-
407
- - tsconfig updates for improved type checking.
408
- - Updated codebase for new tsconfig rules
409
- - No breaking changes.
410
-
411
- ### Added
412
-
413
- - Improved jsDocs for better code documentation.
414
-
415
- ## [2.2.0] - 2025-08-30
416
-
417
- ### Added
418
-
419
- - `--compare` flag to enable comparison mode.
420
- - `dotenv-diff` will now detect potential secrets in your codebase.
421
-
422
- ### Changed
423
-
424
- - Default behavior is now **scan-usage** (you no longer need `--scan-usage`), but you can still use it for clarity.
425
- - `--compare` flag is now required for all comparison operations.
426
-
427
- ## [2.1.7] - 2025-08-28
428
-
429
- ### Added
430
-
431
- - gif to README file.
432
-
433
- ### Changed
434
-
435
- - No breaking changes. Existing functionality remains intact.
436
-
437
- ## [2.1.6] - 2025-08-26
438
-
439
- ### fixed
440
-
441
- - Fixed issue where prompts were disabled when using `--env` and `--example` flags.
442
-
443
- ## Changed
444
-
445
- - No breaking changes. Existing functionality remains intact.
446
-
447
- ## [2.1.5] - 2025-08-25
448
-
449
- ### Added
450
-
451
- - Added `--no-color` option to disable colored output.
452
-
453
- ### Changed
454
-
455
- - No breaking changes. Existing functionality remains intact.
456
-
457
- ## [2.1.4] - 2025-08-19
458
-
459
- ### Added
460
-
461
- - the `--fix` flag to automatically fix common issues:
462
- - Remove duplicate keys (keeping the last occurrence).
463
- - Add missing keys from the example file with empty values.
464
-
465
- ### Changed
466
-
467
- - No breaking changes. Existing functionality remains intact.
468
-
469
- ## [2.1.3] - 2025-08-19
470
-
471
- ### Added
472
-
473
- - Added `.sveltekit` and `_actions` to default exclude patterns in codebase scanner.
474
-
475
- ### Changed
476
-
477
- - No breaking changes. Existing functionality remains intact.
478
-
479
- ### Fixed
480
-
481
- - Fixed issue where `--include-files` and `--exclude-files` were not properly documented in README.
482
-
483
- ## [2.1.2] - 2025-08-16
484
-
485
- ### Changed
486
-
487
- - Updated README with Turborepo usage example.
488
-
489
- ## [2.1.1] - 2025-08-16
490
-
491
- ### Added
492
-
493
- - `--files` option to **completely override** the default file patterns.
494
- Useful for including files that are normally excluded (e.g. `*.test.js`).
495
-
496
- ### Changed
497
-
498
- - Clarified behavior of `--include-files`: now explicitly extends the default patterns instead of replacing them.
499
- - Updated README with usage examples for `--files`, `--include-files`, and `--exclude-files`.
500
-
501
- ## [2.1.0] - 2025-08-15
502
-
503
- ### Added
504
-
505
- - `--ci` option for non-interactive mode in CI environments.
506
-
507
- ### Changed
508
-
509
- - No breaking changes. Existing functionality remains intact.
510
-
511
- ## [2.0.0] - 2025-08-14
512
-
513
- ### Added
514
-
515
- - `--scan-usage` option to scan codebase for environment variable usage.
516
- - `--include-files` and `--exclude-files` options to specify which files to include or exclude from the scan.
517
- - `--show-unused` option to display variables defined in `.env` but not used in code.
518
- - `--show-stats` option to display scan statistics.
519
-
520
- ### Changed
521
-
522
- - No breaking changes. Existing functionality remains intact.
523
-
524
- ## [1.6.5] - 2025-08-13
525
-
526
- ### Added
527
-
528
- - `--only` flag to restrict output to specific categories (e.g., `missing`, `extra`, `empty`, `mismatches`, `duplicates`, `gitignore`).
529
-
530
- ## [1.6.4] - 2025-08-12
531
-
532
- ### Added
533
-
534
- - `--ignore` and `--ignore-regex` options to specify files or directories to ignore during comparison.
535
-
536
- ## [1.6.3] - 2025-08-11
537
-
538
- ### Added
539
-
540
- - `--json` option to output results in JSON format. (Non-breaking)
541
-
542
- ## [1.6.2] - 2025-08-10
543
-
544
- ### Added
545
-
546
- - Duplicate key detection for `.env*` files.
547
- - Prints warnings listing duplicate keys (last occurrence wins).
548
- - Suppress via `--allow-duplicates`.
549
-
550
- ### Changed
551
-
552
- - No breaking changes. Exit codes and diff behavior unchanged.
553
-
554
- ## [1.6.1] - 2025-08-09
555
-
556
- ### Build
557
-
558
- - Updated TypeScript configuration to include `bin` directory.
559
- - Switched CLI path to `bin/dotenv-diff.js` for consistency.
560
- - Refactored folder structure for better organization.
561
-
562
- ## [1.6.0] - 2025-08-08
563
-
564
- ### Added
565
-
566
- - `--env` and `--example` for direct file comparison; autoscan overridden when both are provided.
567
-
568
- ## [1.5.0] - 2025-08-07
569
-
570
- ### Added
571
-
572
- - Non-interactive modes: `--ci` and `--yes`.
232
+ - fix spelling mistake [`#100`](https://github.com/Chrilleweb/dotenv-diff/pull/100)
233
+ - t3-env integration [`#99`](https://github.com/Chrilleweb/dotenv-diff/pull/99)
234
+ - small refactor for old noCompare option [`484de37`](https://github.com/Chrilleweb/dotenv-diff/commit/484de37f3e8c18835e2aee3190a569f8d5de38b1)
235
+ - format [`f834df6`](https://github.com/Chrilleweb/dotenv-diff/commit/f834df67edea193812aabeb2343f15f48e7731c5)
236
+ - detect also with pacakge.json [`bc06522`](https://github.com/Chrilleweb/dotenv-diff/commit/bc0652207e0fe4d6b1d5c35e838a5b4b81278ee1)
237
+
238
+ #### [v2.3.9](https://github.com/Chrilleweb/dotenv-diff/compare/v2.3.8...v2.3.9)
239
+
240
+ > 9 December 2025
241
+
242
+ - v2.3.9 [`#98`](https://github.com/Chrilleweb/dotenv-diff/pull/98)
243
+ - Added dotenv-diff to ci + more tests [`#97`](https://github.com/Chrilleweb/dotenv-diff/pull/97)
244
+ - added CHANGELOG.md to package.json files [`#96`](https://github.com/Chrilleweb/dotenv-diff/pull/96)
245
+ - added inconsistent naming warning for env codebase scanner [`f5acae0`](https://github.com/Chrilleweb/dotenv-diff/commit/f5acae000c80c5e33765e090ac944c9171af857b)
246
+ - expiration date warnings for .env files [`7a3727e`](https://github.com/Chrilleweb/dotenv-diff/commit/7a3727e237e0dd41ce36944145b8e160f3bc937f)
247
+ - removed csp because of backend frameworks [`592b8a2`](https://github.com/Chrilleweb/dotenv-diff/commit/592b8a268c1c6f609b7dc55c6f98e5d268e46abf)
248
+
249
+ #### [v2.3.8](https://github.com/Chrilleweb/dotenv-diff/compare/v2.3.7...v2.3.8)
250
+
251
+ > 8 December 2025
252
+
253
+ - updated dependencies [`#95`](https://github.com/Chrilleweb/dotenv-diff/pull/95)
254
+ - healthscore 2.3.8 [`#94`](https://github.com/Chrilleweb/dotenv-diff/pull/94)
255
+ - caps warning [`#93`](https://github.com/Chrilleweb/dotenv-diff/pull/93)
256
+ - warning on env var that are not uppercase + config fix [`41278d0`](https://github.com/Chrilleweb/dotenv-diff/commit/41278d0a8d6b362e112e72520eaa2b6999eefee2)
257
+ - new ui for potential secret detected [`68f1a9a`](https://github.com/Chrilleweb/dotenv-diff/commit/68f1a9a4a1089ee90cff671bffd155d62003d3cb)
258
+ - changed ui for missing keys [`23f4a15`](https://github.com/Chrilleweb/dotenv-diff/commit/23f4a1520970beba8274a5a99c04855ab87da554)
259
+
260
+ #### [v2.3.7](https://github.com/Chrilleweb/dotenv-diff/compare/v2.3.6...v2.3.7)
261
+
262
+ > 4 December 2025
263
+
264
+ - v2.3.7 [`#92`](https://github.com/Chrilleweb/dotenv-diff/pull/92)
265
+ - format code + better type safety [`#91`](https://github.com/Chrilleweb/dotenv-diff/pull/91)
266
+ - updated dependencies [`01b1097`](https://github.com/Chrilleweb/dotenv-diff/commit/01b1097b0425905a575dd692476b581f33900611)
267
+ - console log warnings [`55227ba`](https://github.com/Chrilleweb/dotenv-diff/commit/55227ba8dc58e2981593ddfdaaec88bcabc957c4)
268
+ - updated dependencies [`938298c`](https://github.com/Chrilleweb/dotenv-diff/commit/938298c30b2418675d9f5c6884d59643d9a3040a)
269
+
270
+ #### [v2.3.6](https://github.com/Chrilleweb/dotenv-diff/compare/v2.3.5...v2.3.6)
271
+
272
+ > 2 December 2025
273
+
274
+ - modifed changelog [`#90`](https://github.com/Chrilleweb/dotenv-diff/pull/90)
275
+ - Framework for sveltekit and next.js [`#89`](https://github.com/Chrilleweb/dotenv-diff/pull/89)
276
+ - framework for sveltekit and angular [`db202a3`](https://github.com/Chrilleweb/dotenv-diff/commit/db202a315fe4c9c9cd125685a9e6aaa3af99634c)
277
+ - switched to next insted of angular [`15f6fff`](https://github.com/Chrilleweb/dotenv-diff/commit/15f6fffd914f0b8a3836093c750ae10a1aa9a20a)
278
+ - fixed strixt mode framework validator [`c2a0b83`](https://github.com/Chrilleweb/dotenv-diff/commit/c2a0b837e9fbbeb9b7620231e91eea359ed85dd1)
279
+
280
+ #### [v2.3.5](https://github.com/Chrilleweb/dotenv-diff/compare/v2.3.4...v2.3.5)
281
+
282
+ > 1 December 2025
283
+
284
+ - bump(deps-dev): bump the dev-dependencies group with 4 updates [`#87`](https://github.com/Chrilleweb/dotenv-diff/pull/87)
285
+ - Cmn/dev [`#88`](https://github.com/Chrilleweb/dotenv-diff/pull/88)
286
+ - warning on potential secrets in .env.example file [`8ccf9fa`](https://github.com/Chrilleweb/dotenv-diff/commit/8ccf9fa04b6c68e5ea677fc8d0d55760384026c2)
287
+ - sveltekit warnings [`3fa3d57`](https://github.com/Chrilleweb/dotenv-diff/commit/3fa3d5722f67608dda59b259ca28b25239d00944)
288
+ - more sveltekit rules [`40d7cda`](https://github.com/Chrilleweb/dotenv-diff/commit/40d7cda46e208611e7a31d29e560c986e613b60f)
289
+
290
+ #### [v2.3.4](https://github.com/Chrilleweb/dotenv-diff/compare/v2.3.2...v2.3.4)
291
+
292
+ > 30 November 2025
293
+
294
+ - updated version [`#86`](https://github.com/Chrilleweb/dotenv-diff/pull/86)
295
+ - fixed csp [`#85`](https://github.com/Chrilleweb/dotenv-diff/pull/85)
296
+ - csp detector [`#84`](https://github.com/Chrilleweb/dotenv-diff/pull/84)
297
+ - bump(deps): bump actions/checkout from 5 to 6 [`#83`](https://github.com/Chrilleweb/dotenv-diff/pull/83)
298
+ - bump(deps-dev): bump the dev-dependencies group across 1 directory with 5 updates [`#82`](https://github.com/Chrilleweb/dotenv-diff/pull/82)
299
+ - updated version to 2.3.3 [`90d5afb`](https://github.com/Chrilleweb/dotenv-diff/commit/90d5afba613b5357638eb81ef02e434c7871df9b)
300
+
301
+ #### [v2.3.2](https://github.com/Chrilleweb/dotenv-diff/compare/v2.3.1...v2.3.2)
302
+
303
+ > 6 November 2025
304
+
305
+ - bump(deps-dev): bump the dev-dependencies group with 3 updates [`#80`](https://github.com/Chrilleweb/dotenv-diff/pull/80)
306
+ - added duration + serverity levels [`#79`](https://github.com/Chrilleweb/dotenv-diff/pull/79)
307
+ - bump(deps): bump commander from 14.0.1 to 14.0.2 in the production-dependencies group [`#78`](https://github.com/Chrilleweb/dotenv-diff/pull/78)
308
+ - bump(deps-dev): bump the dev-dependencies group with 4 updates [`#77`](https://github.com/Chrilleweb/dotenv-diff/pull/77)
309
+ - bump(deps-dev): bump the dev-dependencies group with 4 updates [`#76`](https://github.com/Chrilleweb/dotenv-diff/pull/76)
310
+ - bump(deps): bump actions/setup-node from 5 to 6 [`#75`](https://github.com/Chrilleweb/dotenv-diff/pull/75)
311
+ - severity for secrets findings: high, medium, low. [`74dfc86`](https://github.com/Chrilleweb/dotenv-diff/commit/74dfc86d5384ebdca6c229769a85855ac334e4ba)
312
+ - added duration [`3b45599`](https://github.com/Chrilleweb/dotenv-diff/commit/3b45599c1c2db1385b5f62b1c017a547410bee4c)
313
+ - bump(deps): bump commander in the production-dependencies group [`b6a53eb`](https://github.com/Chrilleweb/dotenv-diff/commit/b6a53ebc92aa30394e66f08519ff5802d36a1068)
314
+
315
+ #### v2.3.1
316
+
317
+ > 16 October 2025
318
+
319
+ - bump(deps-dev): bump the dev-dependencies group with 3 updates [`#74`](https://github.com/Chrilleweb/dotenv-diff/pull/74)
320
+ - fixed issue where config not found in monorepo [`#73`](https://github.com/Chrilleweb/dotenv-diff/pull/73)
321
+ - bump(deps-dev): bump the dev-dependencies group with 5 updates [`#72`](https://github.com/Chrilleweb/dotenv-diff/pull/72)
322
+ - small fixes [`#71`](https://github.com/Chrilleweb/dotenv-diff/pull/71)
323
+ - moved to shared folder [`#70`](https://github.com/Chrilleweb/dotenv-diff/pull/70)
324
+ - hook timeout increased [`#69`](https://github.com/Chrilleweb/dotenv-diff/pull/69)
325
+ - fix flag for .env not ignored pƄ .gitignore [`#68`](https://github.com/Chrilleweb/dotenv-diff/pull/68)
326
+ - refactor code [`#67`](https://github.com/Chrilleweb/dotenv-diff/pull/67)
327
+ - dotenv-diff-ignore [`#66`](https://github.com/Chrilleweb/dotenv-diff/pull/66)
328
+ - added warning on .env missing on gitignore [`#65`](https://github.com/Chrilleweb/dotenv-diff/pull/65)
329
+ - bump(deps): bump actions/setup-node from 4 to 5 [`#54`](https://github.com/Chrilleweb/dotenv-diff/pull/54)
330
+ - bump(deps): bump pnpm/action-setup from 2 to 4 [`#53`](https://github.com/Chrilleweb/dotenv-diff/pull/53)
331
+ - fixed --strict output [`#64`](https://github.com/Chrilleweb/dotenv-diff/pull/64)
332
+ - bump(deps-dev): bump the dev-dependencies group with 3 updates [`#63`](https://github.com/Chrilleweb/dotenv-diff/pull/63)
333
+ - bump(deps): bump the production-dependencies group with 2 updates [`#62`](https://github.com/Chrilleweb/dotenv-diff/pull/62)
334
+ - dependabot update [`#61`](https://github.com/Chrilleweb/dotenv-diff/pull/61)
335
+ - bump(deps): bump actions/checkout from 4 to 5 [`#55`](https://github.com/Chrilleweb/dotenv-diff/pull/55)
336
+ - bump(deps-dev): bump eslint from 9.32.0 to 9.36.0 [`#58`](https://github.com/Chrilleweb/dotenv-diff/pull/58)
337
+ - dependabot [`#52`](https://github.com/Chrilleweb/dotenv-diff/pull/52)
338
+ - Cmn/dev [`#51`](https://github.com/Chrilleweb/dotenv-diff/pull/51)
339
+ - Refactor [`#50`](https://github.com/Chrilleweb/dotenv-diff/pull/50)
340
+ - Cmn/dev [`#49`](https://github.com/Chrilleweb/dotenv-diff/pull/49)
341
+ - Cmn/dev [`#48`](https://github.com/Chrilleweb/dotenv-diff/pull/48)
342
+ - Cmn/dev [`#47`](https://github.com/Chrilleweb/dotenv-diff/pull/47)
343
+ - fixed .svelte-kit + false warning [`#46`](https://github.com/Chrilleweb/dotenv-diff/pull/46)
344
+ - updated tsconfig [`#45`](https://github.com/Chrilleweb/dotenv-diff/pull/45)
345
+ - default behavior is now scan usage [`#44`](https://github.com/Chrilleweb/dotenv-diff/pull/44)
346
+ - updated readme with gif [`#39`](https://github.com/Chrilleweb/dotenv-diff/pull/39)
347
+ - fixed --env and --example to create file if not exist [`#38`](https://github.com/Chrilleweb/dotenv-diff/pull/38)
348
+ - added --no-color flag [`#36`](https://github.com/Chrilleweb/dotenv-diff/pull/36)
349
+ - --fix flag [`#34`](https://github.com/Chrilleweb/dotenv-diff/pull/34)
350
+ - Small fixes - version 2.1.3 [`#33`](https://github.com/Chrilleweb/dotenv-diff/pull/33)
351
+ - readme update [`#32`](https://github.com/Chrilleweb/dotenv-diff/pull/32)
352
+ - --files and changed --include-files behavior [`#31`](https://github.com/Chrilleweb/dotenv-diff/pull/31)
353
+ - --ci flag [`#30`](https://github.com/Chrilleweb/dotenv-diff/pull/30)
354
+ - Version 2 scan usage [`#26`](https://github.com/Chrilleweb/dotenv-diff/pull/26)
355
+ - -- only flag [`#25`](https://github.com/Chrilleweb/dotenv-diff/pull/25)
356
+ - Cmn/dev [`#24`](https://github.com/Chrilleweb/dotenv-diff/pull/24)
357
+ - feat: allow ignoring env keys [`#23`](https://github.com/Chrilleweb/dotenv-diff/pull/23)
358
+ - test: reorganize and expand test suite [`#22`](https://github.com/Chrilleweb/dotenv-diff/pull/22)
359
+ - json flag [`#20`](https://github.com/Chrilleweb/dotenv-diff/pull/20)
360
+ - Cmn/dev [`#19`](https://github.com/Chrilleweb/dotenv-diff/pull/19)
361
+ - feat: warn on duplicate env keys [`#18`](https://github.com/Chrilleweb/dotenv-diff/pull/18)
362
+ - Refactor: reorganize CLI entry [`#17`](https://github.com/Chrilleweb/dotenv-diff/pull/17)
363
+ - feat: add env/example flags for targeted comparisons [`#16`](https://github.com/Chrilleweb/dotenv-diff/pull/16)
364
+ - CI-mode (--ci / --yes) [`#15`](https://github.com/Chrilleweb/dotenv-diff/pull/15)
365
+ - Add CI and yes non-interactive modes to dotenv-diff CLI [`#14`](https://github.com/Chrilleweb/dotenv-diff/pull/14)
366
+ - added issue 8 feature [`#10`](https://github.com/Chrilleweb/dotenv-diff/pull/10)
367
+ - check gitIgnore feature [`#9`](https://github.com/Chrilleweb/dotenv-diff/pull/9)
368
+ - eslint + new feature [`#6`](https://github.com/Chrilleweb/dotenv-diff/pull/6)
369
+ - initial commit [`e827a13`](https://github.com/Chrilleweb/dotenv-diff/commit/e827a136c13eaae64c744b9db0b3f2dcacf009a4)
370
+ - scan-usage [`e947336`](https://github.com/Chrilleweb/dotenv-diff/commit/e947336e28f1b5856ad63df41a256c9025c6b3c9)
371
+ - src + chalk [`1f867d7`](https://github.com/Chrilleweb/dotenv-diff/commit/1f867d7f750d1bcab217d7acf139cf36304d3955)
@@ -7,7 +7,7 @@ import chalk from 'chalk';
7
7
  export function printHeader(comparedAgainst) {
8
8
  if (comparedAgainst) {
9
9
  console.log();
10
- console.log(chalk.magenta(`šŸ“‹ Scanning environment variable usage against: ${comparedAgainst}`));
10
+ console.log(chalk.cyan(`šŸ“‹ Scanning environment variable usage against: ${comparedAgainst}`));
11
11
  }
12
12
  }
13
13
  //# sourceMappingURL=printHeader.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"printHeader.js","sourceRoot":"","sources":["../../../../src/ui/scan/printHeader.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B;;;;GAIG;AACH,MAAM,UAAU,WAAW,CAAC,eAAwB;IAClD,IAAI,eAAe,EAAE,CAAC;QACpB,OAAO,CAAC,GAAG,EAAE,CAAC;QACd,OAAO,CAAC,GAAG,CACT,KAAK,CAAC,OAAO,CAAC,mDAAmD,eAAe,EAAE,CAAC,CACpF,CAAC;IACJ,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"printHeader.js","sourceRoot":"","sources":["../../../../src/ui/scan/printHeader.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B;;;;GAIG;AACH,MAAM,UAAU,WAAW,CAAC,eAAwB;IAClD,IAAI,eAAe,EAAE,CAAC;QACpB,OAAO,CAAC,GAAG,EAAE,CAAC;QACd,OAAO,CAAC,GAAG,CACT,KAAK,CAAC,IAAI,CAAC,mDAAmD,eAAe,EAAE,CAAC,CACjF,CAAC;IACJ,CAAC;AACH,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dotenv-diff",
3
- "version": "2.5.0",
3
+ "version": "2.5.1",
4
4
  "type": "module",
5
5
  "description": "Detects environment variable issues, usage, and potential security risks.",
6
6
  "bin": {
@@ -29,6 +29,8 @@
29
29
  "coverage": "vitest run --coverage",
30
30
  "test:unit": "vitest run test/unit",
31
31
  "test:e2e": "vitest run test/e2e",
32
+ "release": "release-it",
33
+ "release:dry": "release-it --dry-run",
32
34
  "lint": "eslint ./src --ext .ts",
33
35
  "format": "prettier --write \"**/*.{ts,js,json,md,yml}\"",
34
36
  "start": "node dist/bin/dotenv-diff.js",
@@ -70,12 +72,14 @@
70
72
  "prompts": "^2.4.2"
71
73
  },
72
74
  "devDependencies": {
75
+ "@release-it/conventional-changelog": "^10.0.4",
73
76
  "@types/node": "^25.0.9",
74
77
  "@typescript-eslint/eslint-plugin": "^8.53.1",
75
78
  "@typescript-eslint/parser": "^8.53.1",
76
79
  "@vitest/coverage-istanbul": "^4.0.17",
77
80
  "eslint": "^9.39.2",
78
81
  "prettier": "^3.8.0",
82
+ "release-it": "^19.2.4",
79
83
  "typescript": "^5.9.3",
80
84
  "vitest": "^4.0.17"
81
85
  }