mirror of
https://github.com/oven-sh/bun
synced 2026-02-19 07:12:24 +00:00
fix: require.extensions uses Strong instead of being clever (#19231)
This commit is contained in:
@@ -338,7 +338,7 @@ pub const SNativeZlib = struct {
|
||||
stream: ZlibContext = .{},
|
||||
write_result: ?[*]u32 = null,
|
||||
poll_ref: CountedKeepAlive = .{},
|
||||
this_value: JSC.Strong = .empty,
|
||||
this_value: JSC.Strong.Optional = .empty,
|
||||
write_in_progress: bool = false,
|
||||
pending_close: bool = false,
|
||||
closed: bool = false,
|
||||
@@ -720,7 +720,7 @@ pub const SNativeBrotli = struct {
|
||||
stream: BrotliContext = .{},
|
||||
write_result: ?[*]u32 = null,
|
||||
poll_ref: CountedKeepAlive = .{},
|
||||
this_value: JSC.Strong = .empty,
|
||||
this_value: JSC.Strong.Optional = .empty,
|
||||
write_in_progress: bool = false,
|
||||
pending_close: bool = false,
|
||||
closed: bool = false,
|
||||
|
||||
Reference in New Issue
Block a user