Skip to content

Commit a246890

Browse files
fix(deps): update dependency esbuild to v0.25.9 (#388)
This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [esbuild](https://redirect.github.com/evanw/esbuild) | [`0.25.8` -> `0.25.9`](https://renovatebot.com/diffs/npm/esbuild/0.25.8/0.25.9) | [![age](https://developer.mend.io/api/mc/badges/age/npm/esbuild/0.25.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/esbuild/0.25.8/0.25.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>evanw/esbuild (esbuild)</summary> ### [`v0.25.9`](https://redirect.github.com/evanw/esbuild/blob/HEAD/CHANGELOG.md#0259) [Compare Source](https://redirect.github.com/evanw/esbuild/compare/v0.25.8...v0.25.9) - Better support building projects that use Yarn on Windows ([#&#8203;3131](https://redirect.github.com/evanw/esbuild/issues/3131), [#&#8203;3663](https://redirect.github.com/evanw/esbuild/issues/3663)) With this release, you can now use esbuild to bundle projects that use Yarn Plug'n'Play on Windows on drives other than the `C:` drive. The problem was as follows: 1. Yarn in Plug'n'Play mode on Windows stores its global module cache on the `C:` drive 2. Some developers put their projects on the `D:` drive 3. Yarn generates relative paths that use `../..` to get from the project directory to the cache directory 4. Windows-style paths don't support directory traversal between drives via `..` (so `D:\..` is just `D:`) 5. I didn't have access to a Windows machine for testing this edge case Yarn works around this edge case by pretending Windows-style paths beginning with `C:\` are actually Unix-style paths beginning with `/C:/`, so the `../..` path segments are able to navigate across drives inside Yarn's implementation. This was broken for a long time in esbuild but I finally got access to a Windows machine and was able to debug and fix this edge case. So you should now be able to bundle these projects with esbuild. - Preserve parentheses around function expressions ([#&#8203;4252](https://redirect.github.com/evanw/esbuild/issues/4252)) The V8 JavaScript VM uses parentheses around function expressions as an optimization hint to immediately compile the function. Otherwise the function would be lazily-compiled, which has additional overhead if that function is always called immediately as lazy compilation involves parsing the function twice. You can read [V8's blog post about this](https://v8.dev/blog/preparser) for more details. Previously esbuild did not represent parentheses around functions in the AST so they were lost during compilation. With this change, esbuild will now preserve parentheses around function expressions when they are present in the original source code. This means these optimization hints will not be lost when bundling with esbuild. In addition, esbuild will now automatically add this optimization hint to immediately-invoked function expressions. Here's an example: ```js // Original code const fn0 = () => 0 const fn1 = (() => 1) console.log(fn0, function() { return fn1() }()) // Old output const fn0 = () => 0; const fn1 = () => 1; console.log(fn0, function() { return fn1(); }()); // New output const fn0 = () => 0; const fn1 = (() => 1); console.log(fn0, (function() { return fn1(); })()); ``` Note that you do not want to wrap all function expressions in parentheses. This optimization hint should only be used for functions that are called on initial load. Using this hint for functions that are not called on initial load will unnecessarily delay the initial load. Again, see V8's blog post linked above for details. - Update Go from 1.23.10 to 1.23.12 ([#&#8203;4257](https://redirect.github.com/evanw/esbuild/issues/4257), [#&#8203;4258](https://redirect.github.com/evanw/esbuild/pull/4258)) This should have no effect on existing code as this version change does not change Go's operating system support. It may remove certain false positive reports (specifically CVE-2025-4674 and CVE-2025-47907) from vulnerability scanners that only detect which version of the Go compiler esbuild uses. </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/cedarjs/cedar). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS43MS4xIiwidXBkYXRlZEluVmVyIjoiNDEuNzEuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiY2hhbmdlc2V0cy1vayIsInJlbGVhc2U6ZGVwZW5kZW5jeSJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 0485e92 commit a246890

File tree

9 files changed

+232
-232
lines changed

9 files changed

+232
-232
lines changed

packages/cookie-jar/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
},
2525
"dependencies": {
2626
"cookie": "1.0.2",
27-
"esbuild": "0.25.8",
27+
"esbuild": "0.25.9",
2828
"fast-glob": "3.3.3",
2929
"fs-extra": "11.2.0"
3030
},

packages/create-cedar-rsc-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"@types/which": "3.0.4",
4545
"@types/yauzl-promise": "4.0.1",
4646
"concurrently": "^8.2.2",
47-
"esbuild": "0.25.8",
47+
"esbuild": "0.25.9",
4848
"eslint": "^9.7.0",
4949
"eslint-plugin-jsdoc": "^48.7.0",
5050
"eslint-plugin-jsonc": "^2.16.0",

packages/create-cedar-rsc-app/yarn.lock

Lines changed: 110 additions & 110 deletions
Original file line numberDiff line numberDiff line change
@@ -145,184 +145,184 @@ __metadata:
145145
languageName: node
146146
linkType: hard
147147

148-
"@esbuild/aix-ppc64@npm:0.25.8":
149-
version: 0.25.8
150-
resolution: "@esbuild/aix-ppc64@npm:0.25.8"
148+
"@esbuild/aix-ppc64@npm:0.25.9":
149+
version: 0.25.9
150+
resolution: "@esbuild/aix-ppc64@npm:0.25.9"
151151
conditions: os=aix & cpu=ppc64
152152
languageName: node
153153
linkType: hard
154154

155-
"@esbuild/android-arm64@npm:0.25.8":
156-
version: 0.25.8
157-
resolution: "@esbuild/android-arm64@npm:0.25.8"
155+
"@esbuild/android-arm64@npm:0.25.9":
156+
version: 0.25.9
157+
resolution: "@esbuild/android-arm64@npm:0.25.9"
158158
conditions: os=android & cpu=arm64
159159
languageName: node
160160
linkType: hard
161161

162-
"@esbuild/android-arm@npm:0.25.8":
163-
version: 0.25.8
164-
resolution: "@esbuild/android-arm@npm:0.25.8"
162+
"@esbuild/android-arm@npm:0.25.9":
163+
version: 0.25.9
164+
resolution: "@esbuild/android-arm@npm:0.25.9"
165165
conditions: os=android & cpu=arm
166166
languageName: node
167167
linkType: hard
168168

169-
"@esbuild/android-x64@npm:0.25.8":
170-
version: 0.25.8
171-
resolution: "@esbuild/android-x64@npm:0.25.8"
169+
"@esbuild/android-x64@npm:0.25.9":
170+
version: 0.25.9
171+
resolution: "@esbuild/android-x64@npm:0.25.9"
172172
conditions: os=android & cpu=x64
173173
languageName: node
174174
linkType: hard
175175

176-
"@esbuild/darwin-arm64@npm:0.25.8":
177-
version: 0.25.8
178-
resolution: "@esbuild/darwin-arm64@npm:0.25.8"
176+
"@esbuild/darwin-arm64@npm:0.25.9":
177+
version: 0.25.9
178+
resolution: "@esbuild/darwin-arm64@npm:0.25.9"
179179
conditions: os=darwin & cpu=arm64
180180
languageName: node
181181
linkType: hard
182182

183-
"@esbuild/darwin-x64@npm:0.25.8":
184-
version: 0.25.8
185-
resolution: "@esbuild/darwin-x64@npm:0.25.8"
183+
"@esbuild/darwin-x64@npm:0.25.9":
184+
version: 0.25.9
185+
resolution: "@esbuild/darwin-x64@npm:0.25.9"
186186
conditions: os=darwin & cpu=x64
187187
languageName: node
188188
linkType: hard
189189

190-
"@esbuild/freebsd-arm64@npm:0.25.8":
191-
version: 0.25.8
192-
resolution: "@esbuild/freebsd-arm64@npm:0.25.8"
190+
"@esbuild/freebsd-arm64@npm:0.25.9":
191+
version: 0.25.9
192+
resolution: "@esbuild/freebsd-arm64@npm:0.25.9"
193193
conditions: os=freebsd & cpu=arm64
194194
languageName: node
195195
linkType: hard
196196

197-
"@esbuild/freebsd-x64@npm:0.25.8":
198-
version: 0.25.8
199-
resolution: "@esbuild/freebsd-x64@npm:0.25.8"
197+
"@esbuild/freebsd-x64@npm:0.25.9":
198+
version: 0.25.9
199+
resolution: "@esbuild/freebsd-x64@npm:0.25.9"
200200
conditions: os=freebsd & cpu=x64
201201
languageName: node
202202
linkType: hard
203203

204-
"@esbuild/linux-arm64@npm:0.25.8":
205-
version: 0.25.8
206-
resolution: "@esbuild/linux-arm64@npm:0.25.8"
204+
"@esbuild/linux-arm64@npm:0.25.9":
205+
version: 0.25.9
206+
resolution: "@esbuild/linux-arm64@npm:0.25.9"
207207
conditions: os=linux & cpu=arm64
208208
languageName: node
209209
linkType: hard
210210

211-
"@esbuild/linux-arm@npm:0.25.8":
212-
version: 0.25.8
213-
resolution: "@esbuild/linux-arm@npm:0.25.8"
211+
"@esbuild/linux-arm@npm:0.25.9":
212+
version: 0.25.9
213+
resolution: "@esbuild/linux-arm@npm:0.25.9"
214214
conditions: os=linux & cpu=arm
215215
languageName: node
216216
linkType: hard
217217

218-
"@esbuild/linux-ia32@npm:0.25.8":
219-
version: 0.25.8
220-
resolution: "@esbuild/linux-ia32@npm:0.25.8"
218+
"@esbuild/linux-ia32@npm:0.25.9":
219+
version: 0.25.9
220+
resolution: "@esbuild/linux-ia32@npm:0.25.9"
221221
conditions: os=linux & cpu=ia32
222222
languageName: node
223223
linkType: hard
224224

225-
"@esbuild/linux-loong64@npm:0.25.8":
226-
version: 0.25.8
227-
resolution: "@esbuild/linux-loong64@npm:0.25.8"
225+
"@esbuild/linux-loong64@npm:0.25.9":
226+
version: 0.25.9
227+
resolution: "@esbuild/linux-loong64@npm:0.25.9"
228228
conditions: os=linux & cpu=loong64
229229
languageName: node
230230
linkType: hard
231231

232-
"@esbuild/linux-mips64el@npm:0.25.8":
233-
version: 0.25.8
234-
resolution: "@esbuild/linux-mips64el@npm:0.25.8"
232+
"@esbuild/linux-mips64el@npm:0.25.9":
233+
version: 0.25.9
234+
resolution: "@esbuild/linux-mips64el@npm:0.25.9"
235235
conditions: os=linux & cpu=mips64el
236236
languageName: node
237237
linkType: hard
238238

239-
"@esbuild/linux-ppc64@npm:0.25.8":
240-
version: 0.25.8
241-
resolution: "@esbuild/linux-ppc64@npm:0.25.8"
239+
"@esbuild/linux-ppc64@npm:0.25.9":
240+
version: 0.25.9
241+
resolution: "@esbuild/linux-ppc64@npm:0.25.9"
242242
conditions: os=linux & cpu=ppc64
243243
languageName: node
244244
linkType: hard
245245

246-
"@esbuild/linux-riscv64@npm:0.25.8":
247-
version: 0.25.8
248-
resolution: "@esbuild/linux-riscv64@npm:0.25.8"
246+
"@esbuild/linux-riscv64@npm:0.25.9":
247+
version: 0.25.9
248+
resolution: "@esbuild/linux-riscv64@npm:0.25.9"
249249
conditions: os=linux & cpu=riscv64
250250
languageName: node
251251
linkType: hard
252252

253-
"@esbuild/linux-s390x@npm:0.25.8":
254-
version: 0.25.8
255-
resolution: "@esbuild/linux-s390x@npm:0.25.8"
253+
"@esbuild/linux-s390x@npm:0.25.9":
254+
version: 0.25.9
255+
resolution: "@esbuild/linux-s390x@npm:0.25.9"
256256
conditions: os=linux & cpu=s390x
257257
languageName: node
258258
linkType: hard
259259

260-
"@esbuild/linux-x64@npm:0.25.8":
261-
version: 0.25.8
262-
resolution: "@esbuild/linux-x64@npm:0.25.8"
260+
"@esbuild/linux-x64@npm:0.25.9":
261+
version: 0.25.9
262+
resolution: "@esbuild/linux-x64@npm:0.25.9"
263263
conditions: os=linux & cpu=x64
264264
languageName: node
265265
linkType: hard
266266

267-
"@esbuild/netbsd-arm64@npm:0.25.8":
268-
version: 0.25.8
269-
resolution: "@esbuild/netbsd-arm64@npm:0.25.8"
267+
"@esbuild/netbsd-arm64@npm:0.25.9":
268+
version: 0.25.9
269+
resolution: "@esbuild/netbsd-arm64@npm:0.25.9"
270270
conditions: os=netbsd & cpu=arm64
271271
languageName: node
272272
linkType: hard
273273

274-
"@esbuild/netbsd-x64@npm:0.25.8":
275-
version: 0.25.8
276-
resolution: "@esbuild/netbsd-x64@npm:0.25.8"
274+
"@esbuild/netbsd-x64@npm:0.25.9":
275+
version: 0.25.9
276+
resolution: "@esbuild/netbsd-x64@npm:0.25.9"
277277
conditions: os=netbsd & cpu=x64
278278
languageName: node
279279
linkType: hard
280280

281-
"@esbuild/openbsd-arm64@npm:0.25.8":
282-
version: 0.25.8
283-
resolution: "@esbuild/openbsd-arm64@npm:0.25.8"
281+
"@esbuild/openbsd-arm64@npm:0.25.9":
282+
version: 0.25.9
283+
resolution: "@esbuild/openbsd-arm64@npm:0.25.9"
284284
conditions: os=openbsd & cpu=arm64
285285
languageName: node
286286
linkType: hard
287287

288-
"@esbuild/openbsd-x64@npm:0.25.8":
289-
version: 0.25.8
290-
resolution: "@esbuild/openbsd-x64@npm:0.25.8"
288+
"@esbuild/openbsd-x64@npm:0.25.9":
289+
version: 0.25.9
290+
resolution: "@esbuild/openbsd-x64@npm:0.25.9"
291291
conditions: os=openbsd & cpu=x64
292292
languageName: node
293293
linkType: hard
294294

295-
"@esbuild/openharmony-arm64@npm:0.25.8":
296-
version: 0.25.8
297-
resolution: "@esbuild/openharmony-arm64@npm:0.25.8"
295+
"@esbuild/openharmony-arm64@npm:0.25.9":
296+
version: 0.25.9
297+
resolution: "@esbuild/openharmony-arm64@npm:0.25.9"
298298
conditions: os=openharmony & cpu=arm64
299299
languageName: node
300300
linkType: hard
301301

302-
"@esbuild/sunos-x64@npm:0.25.8":
303-
version: 0.25.8
304-
resolution: "@esbuild/sunos-x64@npm:0.25.8"
302+
"@esbuild/sunos-x64@npm:0.25.9":
303+
version: 0.25.9
304+
resolution: "@esbuild/sunos-x64@npm:0.25.9"
305305
conditions: os=sunos & cpu=x64
306306
languageName: node
307307
linkType: hard
308308

309-
"@esbuild/win32-arm64@npm:0.25.8":
310-
version: 0.25.8
311-
resolution: "@esbuild/win32-arm64@npm:0.25.8"
309+
"@esbuild/win32-arm64@npm:0.25.9":
310+
version: 0.25.9
311+
resolution: "@esbuild/win32-arm64@npm:0.25.9"
312312
conditions: os=win32 & cpu=arm64
313313
languageName: node
314314
linkType: hard
315315

316-
"@esbuild/win32-ia32@npm:0.25.8":
317-
version: 0.25.8
318-
resolution: "@esbuild/win32-ia32@npm:0.25.8"
316+
"@esbuild/win32-ia32@npm:0.25.9":
317+
version: 0.25.9
318+
resolution: "@esbuild/win32-ia32@npm:0.25.9"
319319
conditions: os=win32 & cpu=ia32
320320
languageName: node
321321
linkType: hard
322322

323-
"@esbuild/win32-x64@npm:0.25.8":
324-
version: 0.25.8
325-
resolution: "@esbuild/win32-x64@npm:0.25.8"
323+
"@esbuild/win32-x64@npm:0.25.9":
324+
version: 0.25.9
325+
resolution: "@esbuild/win32-x64@npm:0.25.9"
326326
conditions: os=win32 & cpu=x64
327327
languageName: node
328328
linkType: hard
@@ -1278,7 +1278,7 @@ __metadata:
12781278
ci-info: "npm:4.0.0"
12791279
concurrently: "npm:^8.2.2"
12801280
enquirer: "npm:2.4.1"
1281-
esbuild: "npm:0.25.8"
1281+
esbuild: "npm:0.25.9"
12821282
eslint: "npm:^9.7.0"
12831283
eslint-plugin-jsdoc: "npm:^48.7.0"
12841284
eslint-plugin-jsonc: "npm:^2.16.0"
@@ -1517,36 +1517,36 @@ __metadata:
15171517
languageName: node
15181518
linkType: hard
15191519

1520-
"esbuild@npm:0.25.8, esbuild@npm:~0.25.0":
1521-
version: 0.25.8
1522-
resolution: "esbuild@npm:0.25.8"
1523-
dependencies:
1524-
"@esbuild/aix-ppc64": "npm:0.25.8"
1525-
"@esbuild/android-arm": "npm:0.25.8"
1526-
"@esbuild/android-arm64": "npm:0.25.8"
1527-
"@esbuild/android-x64": "npm:0.25.8"
1528-
"@esbuild/darwin-arm64": "npm:0.25.8"
1529-
"@esbuild/darwin-x64": "npm:0.25.8"
1530-
"@esbuild/freebsd-arm64": "npm:0.25.8"
1531-
"@esbuild/freebsd-x64": "npm:0.25.8"
1532-
"@esbuild/linux-arm": "npm:0.25.8"
1533-
"@esbuild/linux-arm64": "npm:0.25.8"
1534-
"@esbuild/linux-ia32": "npm:0.25.8"
1535-
"@esbuild/linux-loong64": "npm:0.25.8"
1536-
"@esbuild/linux-mips64el": "npm:0.25.8"
1537-
"@esbuild/linux-ppc64": "npm:0.25.8"
1538-
"@esbuild/linux-riscv64": "npm:0.25.8"
1539-
"@esbuild/linux-s390x": "npm:0.25.8"
1540-
"@esbuild/linux-x64": "npm:0.25.8"
1541-
"@esbuild/netbsd-arm64": "npm:0.25.8"
1542-
"@esbuild/netbsd-x64": "npm:0.25.8"
1543-
"@esbuild/openbsd-arm64": "npm:0.25.8"
1544-
"@esbuild/openbsd-x64": "npm:0.25.8"
1545-
"@esbuild/openharmony-arm64": "npm:0.25.8"
1546-
"@esbuild/sunos-x64": "npm:0.25.8"
1547-
"@esbuild/win32-arm64": "npm:0.25.8"
1548-
"@esbuild/win32-ia32": "npm:0.25.8"
1549-
"@esbuild/win32-x64": "npm:0.25.8"
1520+
"esbuild@npm:0.25.9, esbuild@npm:~0.25.0":
1521+
version: 0.25.9
1522+
resolution: "esbuild@npm:0.25.9"
1523+
dependencies:
1524+
"@esbuild/aix-ppc64": "npm:0.25.9"
1525+
"@esbuild/android-arm": "npm:0.25.9"
1526+
"@esbuild/android-arm64": "npm:0.25.9"
1527+
"@esbuild/android-x64": "npm:0.25.9"
1528+
"@esbuild/darwin-arm64": "npm:0.25.9"
1529+
"@esbuild/darwin-x64": "npm:0.25.9"
1530+
"@esbuild/freebsd-arm64": "npm:0.25.9"
1531+
"@esbuild/freebsd-x64": "npm:0.25.9"
1532+
"@esbuild/linux-arm": "npm:0.25.9"
1533+
"@esbuild/linux-arm64": "npm:0.25.9"
1534+
"@esbuild/linux-ia32": "npm:0.25.9"
1535+
"@esbuild/linux-loong64": "npm:0.25.9"
1536+
"@esbuild/linux-mips64el": "npm:0.25.9"
1537+
"@esbuild/linux-ppc64": "npm:0.25.9"
1538+
"@esbuild/linux-riscv64": "npm:0.25.9"
1539+
"@esbuild/linux-s390x": "npm:0.25.9"
1540+
"@esbuild/linux-x64": "npm:0.25.9"
1541+
"@esbuild/netbsd-arm64": "npm:0.25.9"
1542+
"@esbuild/netbsd-x64": "npm:0.25.9"
1543+
"@esbuild/openbsd-arm64": "npm:0.25.9"
1544+
"@esbuild/openbsd-x64": "npm:0.25.9"
1545+
"@esbuild/openharmony-arm64": "npm:0.25.9"
1546+
"@esbuild/sunos-x64": "npm:0.25.9"
1547+
"@esbuild/win32-arm64": "npm:0.25.9"
1548+
"@esbuild/win32-ia32": "npm:0.25.9"
1549+
"@esbuild/win32-x64": "npm:0.25.9"
15501550
dependenciesMeta:
15511551
"@esbuild/aix-ppc64":
15521552
optional: true
@@ -1602,7 +1602,7 @@ __metadata:
16021602
optional: true
16031603
bin:
16041604
esbuild: bin/esbuild
1605-
checksum: 10c0/43747a25e120d5dd9ce75c82f57306580d715647c8db4f4a0a84e73b04cf16c27572d3937d3cfb95d5ac3266a4d1bbd3913e3d76ae719693516289fc86f8a5fd
1605+
checksum: 10c0/aaa1284c75fcf45c82f9a1a117fe8dc5c45628e3386bda7d64916ae27730910b51c5aec7dd45a6ba19256be30ba2935e64a8f011a3f0539833071e06bf76d5b3
16061606
languageName: node
16071607
linkType: hard
16081608

packages/framework-tools/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
},
3333
"dependencies": {
3434
"@arethetypeswrong/cli": "0.18.2",
35-
"esbuild": "0.25.8",
35+
"esbuild": "0.25.9",
3636
"fast-glob": "3.3.3",
3737
"fs-extra": "11.2.0",
3838
"zx": "8.7.1"

packages/internal/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@
160160
"ansis": "4.1.0",
161161
"core-js": "3.42.0",
162162
"deepmerge": "4.3.1",
163-
"esbuild": "0.25.8",
163+
"esbuild": "0.25.9",
164164
"fast-glob": "3.3.3",
165165
"fs-extra": "11.2.0",
166166
"graphql": "16.9.0",

packages/record/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"devDependencies": {
3838
"@cedarjs/framework-tools": "workspace:*",
3939
"@prisma/internals": "5.20.0",
40-
"esbuild": "0.25.8",
40+
"esbuild": "0.25.9",
4141
"publint": "0.3.12",
4242
"tsx": "4.20.4",
4343
"vitest": "3.2.4"

0 commit comments

Comments
 (0)