Claude
438e27e99c
Refine fix: Only prioritize devDependencies over peerDependencies for workspace packages
...
This commit refines the previous fix to be more targeted. Instead of always
prioritizing devDependencies over peerDependencies, we now only do this when
both behaviors have the workspace flag set.
This ensures that:
- Workspace packages with both dev and peer dependencies use the dev resolution
- Non-workspace packages follow the standard dependency priority rules
- The fix is specifically targeted to the Next.js monorepo isolated install issue
Changes:
- Added special handling in Behavior.cmp() for workspace packages
- Updated tests to reflect workspace-specific behavior
- Maintained backward compatibility for non-workspace packages
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-07-09 13:25:24 +02:00
Claude
1042043d9b
Fix devDependency/peerDependency resolution priority
...
This commit fixes the issue where peerDependencies were overriding devDependencies
in the lockfile during package resolution, causing unnecessary network requests for
packages that should be resolved locally.
Changes:
- Modified Behavior.cmp() to prioritize devDependencies over peerDependencies
- Enhanced peer dependency resolution to prefer existing dev dependency resolutions
- Updated dependency sorting order comments to reflect new priority
- Added comprehensive test suite for dependency behavior comparison
- Added integration tests for Next.js monorepo scenario
The fix ensures that when a package has both devDependencies and peerDependencies
for the same package, the devDependency resolution takes precedence, preventing
unnecessary network requests during isolated installs.
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-07-09 13:01:38 +02:00
Jarred Sumner
454316ffc3
Implement "node:module"'s findSourceMap and SourceMap class ( #20863 )
...
Co-authored-by: Claude <claude@anthropic.ai >
Co-authored-by: Claude <noreply@anthropic.com >
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2025-07-07 23:08:12 -07:00
Kai Tamkun
05e8a6dd4d
Add support for vm.constants.DONT_CONTEXTIFY ( #20088 )
2025-07-07 19:29:53 -07:00
Ciro Spaciari
75902e6a21
fix(s3) fix loading http endpoint from env ( #20876 )
2025-07-07 19:24:32 -07:00
Alistair Smith
19a855e02b
types: Introduce SQL.Helper in Bun.sql ( #20809 )
...
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
2025-07-07 17:47:51 -07:00
Adam
7ba4b1d01e
Fix: deprecated goo.gl links in snapshots raised in issue #20086 ( #20424 )
2025-07-05 00:58:42 -07:00
Michael H
0612dc7bd9
Support process.features.typescript ( #20801 )
2025-07-03 16:26:32 -07:00
Jarred Sumner
27c979129c
Introduce Bun.randomUUIDv5 ( #20782 )
...
Co-authored-by: Cursor Agent <cursoragent@cursor.com >
Co-authored-by: jarred <jarred@bun.sh >
Co-authored-by: Meghan Denny <meghan@bun.sh >
2025-07-02 22:47:14 -07:00
Meghan Denny
01e2cb25e3
test: bump zlib/leak.test.ts for asan
2025-07-02 21:48:24 -07:00
Jarred Sumner
5a7b5ceb33
Fix several missing async context tracking callbacks ( #20759 )
...
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2025-07-02 17:45:00 -07:00
Ciro Spaciari
a04cf04cd5
fix(grpc/http2) fix tonic Rust support ( #20738 )
...
Co-authored-by: cirospaciari <6379399+cirospaciari@users.noreply.github.com >
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
2025-07-02 17:43:38 -07:00
Ben Grant
79284376ca
Delete test-net-bytes-stats.js
...
Mistakenly re-added in #20659 after prior revert in #20693
2025-07-02 17:32:19 -07:00
Alistair Smith
452000a2ce
Node.js test test-fs-watchfile.js ( #20773 )
2025-07-02 15:04:39 -07:00
190n
172aecb02e
[publish images] Upgrade self-reported Node.js version from 22.6.0 to 24.3.0 (v2) ( #20772 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Claude <noreply@anthropic.com >
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Meghan Denny <meghan@bun.sh >
Co-authored-by: Ashcon Partovi <ashcon@partovi.net >
Co-authored-by: pfg <pfg@pfg.pw >
Co-authored-by: pfgithub <6010774+pfgithub@users.noreply.github.com >
Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com >
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
2025-07-02 12:06:08 -07:00
Ben Grant
ea57037567
Revert "Upgrade self-reported Node.js version from 22.6.0 to 24.3.0 ( #20659 ) [publish images]"
...
This reverts commit 80309e4d59 . It breaks the Windows CI.
2025-07-02 09:40:32 -07:00
Jarred Sumner
80309e4d59
Upgrade self-reported Node.js version from 22.6.0 to 24.3.0 ( #20659 ) [publish images]
...
Co-authored-by: Claude <noreply@anthropic.com >
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Meghan Denny <meghan@bun.sh >
Co-authored-by: Ashcon Partovi <ashcon@partovi.net >
Co-authored-by: pfg <pfg@pfg.pw >
Co-authored-by: pfgithub <6010774+pfgithub@users.noreply.github.com >
Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com >
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
Co-authored-by: Ben Grant <ben@bun.sh >
2025-07-02 00:03:05 -07:00
Jarred Sumner
fbe405fb89
Fail the test when no tests match the filter ( #20749 )
...
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2025-07-01 16:03:19 -07:00
Meghan Denny
ca59ed04bd
node: sync updated tests ( #20625 )
2025-06-30 14:52:50 -07:00
Jarred Sumner
034bcf2b57
Deflake
...
These tests should not have been marked as passing.
test/js/node/test/parallel/test-cluster-worker-kill-signal.js
test/js/node/test/parallel/test-child-process-prototype-tampering.mjs
2025-06-28 23:45:34 -07:00
pfg
3223da2734
ReadableStream .text(), .json(), .arrayBuffer(), .bytes() ( #20694 )
...
Co-authored-by: pfgithub <6010774+pfgithub@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-06-28 00:27:57 -07:00
Ciro Spaciari
964f2a8941
fix(fetch/s3) Handle backpressure when upload large bodies ( #20481 )
...
Co-authored-by: cirospaciari <6379399+cirospaciari@users.noreply.github.com >
2025-06-27 20:52:46 -07:00
Jarred Sumner
1d48f91b5e
Enable ReadableStream as stdin for Bun.spawn ( #20582 )
...
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Cursor Agent <cursoragent@cursor.com >
Co-authored-by: jarred <jarred@bun.sh >
Co-authored-by: pfg <pfg@pfg.pw >
2025-06-27 19:42:03 -07:00
Jarred Sumner
386743b508
Revert "node: fix test-net-bytes-stats.js" ( #20693 )
2025-06-27 17:38:18 -07:00
Meghan Denny
1789f92991
node: fix test-net-server-capture-rejection.js ( #20646 )
2025-06-27 14:42:52 -07:00
Meghan Denny
c863341bf4
node: fix test-net-connect-custom-lookup-non-string-address.mjs ( #20648 )
2025-06-27 14:42:25 -07:00
Jarred Sumner
3c1a1b5634
Implement per-message deflate support in WebSocket client ( #20613 )
...
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2025-06-27 00:04:42 -07:00
Meghan Denny
ea7068a531
node: fix test-net-bytes-stats.js ( #20629 )
2025-06-26 01:48:23 -07:00
Meghan Denny
4cf31f6a57
node: sync test-net-connect-options-invalid.js ( #20607 )
2025-06-24 22:46:56 -07:00
Meghan Denny
3f257a2905
node: fix test-timers-invalid-clear.js ( #20624 )
2025-06-24 22:39:20 -07:00
Zack Radisic
61024b2b4a
Fix copying UTF-16 -> UTF-8 sometimes causing invalid UTF-8 bytes ( #20601 )
2025-06-24 19:46:29 -07:00
Jarred Sumner
90e3d6c898
Fix flushHeaders streaming ( #20577 )
...
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: Jarred Sumner <Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com >
2025-06-24 18:48:23 -07:00
Meghan Denny
e8b652a5d9
node: fix test-net-better-error-messages-path.js ( #20609 )
2025-06-24 17:48:06 -07:00
Meghan Denny
354391a263
zig: socket: fix uaf in handleError, onOpen, onWritable ( #20604 )
2025-06-24 17:31:58 -07:00
Ciro Spaciari
17120cefdc
fix(http2) fix remoteSettings not emitting on default settings ( #20622 )
2025-06-24 17:31:19 -07:00
Meghan Denny
7d9dd67586
node: fix test-net-connect-keepalive.js ( #20610 )
2025-06-24 02:56:50 -07:00
Meghan Denny
ccb0ed13c2
node: fix test-net-listen-fd0.js ( #20611 )
2025-06-24 02:56:40 -07:00
Meghan Denny
050a9cecb7
node: sync test-net-connect-no-arg.js ( #20608 )
2025-06-24 01:02:38 -07:00
Zack Radisic
0a3ac50931
Refactor shell to use AllocationScope and fix memory issues ( #20531 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: Jarred Sumner <Jarred-Sumner@users.noreply.github.com >
2025-06-23 22:29:48 -07:00
Meghan Denny
2081e5b656
test: update spawn.test.ts for ci on windows ( #20600 )
2025-06-23 19:40:53 -07:00
Jarred Sumner
4cc61a1b8c
Fix NODE_PATH for bun build ( #20576 )
...
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2025-06-22 20:51:45 -07:00
Jarred Sumner
5416155449
Enable Math.sumPrecise ( #20569 )
2025-06-22 19:23:15 -07:00
Jarred Sumner
c7b1e5c709
Fix fs.watchFile ignoring atime ( #20575 )
...
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2025-06-22 18:22:41 -07:00
Michael H
25dbe5cf3f
fs.glob set onlyFiles: false so it can match folders (#20510 )
2025-06-21 23:45:38 -07:00
Jarred Sumner
37505ad955
Deflake test/js/node/fs/abort-signal-leak-read-write-file-fixture.ts on Windows
2025-06-21 23:43:55 -07:00
Jarred Sumner
633f4f593d
Ahead-of-time frontend bundling support for HTML imports & bun build ( #20511 )
...
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2025-06-20 19:55:52 -07:00
Michael H
770c1c8327
fix test-child-process-fork-exec-argv.js ( #19639 )
...
Co-authored-by: 190n <ben@bun.sh >
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2025-06-20 11:53:36 -07:00
Zack Radisic
41d10ed01e
Refactor shell and fix some bugs ( #20476 )
2025-06-19 18:47:00 -07:00
Meghan Denny
b62f70c23a
inspect-error-leak.test.js: add a slightly higher asan margin
2025-06-19 15:02:38 -07:00
Michael H
3aedf0692c
make options argument not required for fs.promises.glob ( #20480 )
2025-06-19 12:55:32 -07:00