diff --git a/cmake/tools/SetupWebKit.cmake b/cmake/tools/SetupWebKit.cmake index 5a701ad821987c..6767ccdabc177c 100644 --- a/cmake/tools/SetupWebKit.cmake +++ b/cmake/tools/SetupWebKit.cmake @@ -2,7 +2,7 @@ option(WEBKIT_VERSION "The version of WebKit to use") option(WEBKIT_LOCAL "If a local version of WebKit should be used instead of downloading") if(NOT WEBKIT_VERSION) - set(WEBKIT_VERSION 543cca2140eafdba845f6689024abaac0d9924f5) + set(WEBKIT_VERSION 9b84f43643eff64ab46daec9b860de262c80f5e2) endif() if(WEBKIT_LOCAL) diff --git a/src/bun.js/bindings/DoubleFormatter.cpp b/src/bun.js/bindings/DoubleFormatter.cpp index c1a94d55bfa54d..82266076a267b2 100644 --- a/src/bun.js/bindings/DoubleFormatter.cpp +++ b/src/bun.js/bindings/DoubleFormatter.cpp @@ -4,12 +4,14 @@ #include "JavaScriptCore/JSGlobalObjectFunctions.h" #include +using namespace WTF; + /// Must be called with a buffer of exactly 124 /// Find the length by scanning for the 0 extern "C" size_t WTF__dtoa(char* buf_124_bytes, double number) { NumberToStringBuffer& buf = *reinterpret_cast(buf_124_bytes); - return WTF::numberToStringAndSize(number, buf); + return WTF::numberToStringAndSize(number, buf).size(); } /// This is the equivalent of the unary '+' operator on a JS string diff --git a/src/bun.js/bindings/ProcessIdentifier.h b/src/bun.js/bindings/ProcessIdentifier.h index 1950d8cf0eb79a..f96e26c5aee2d5 100644 --- a/src/bun.js/bindings/ProcessIdentifier.h +++ b/src/bun.js/bindings/ProcessIdentifier.h @@ -30,7 +30,7 @@ namespace WebCore { enum class ProcessIdentifierType {}; -using ProcessIdentifier = LegacyNullableObjectIdentifier; +using ProcessIdentifier = ObjectIdentifier; namespace Process { diff --git a/src/bun.js/bindings/bindings.zig b/src/bun.js/bindings/bindings.zig index 4e709b0394ad4c..d13e3256aa45a3 100644 --- a/src/bun.js/bindings/bindings.zig +++ b/src/bun.js/bindings/bindings.zig @@ -3734,17 +3734,18 @@ pub const JSValue = enum(JSValueReprInt) { StringIterator = 70, WrapForValidIterator = 71, RegExpStringIterator = 72, - JSPromise = 73, - Map = 74, - Set = 75, - WeakMap = 76, - WeakSet = 77, - WebAssemblyModule = 78, - WebAssemblyInstance = 79, - WebAssemblyGCObject = 80, - StringObject = 81, - DerivedStringObject = 82, - InternalFieldTuple = 83, + AsyncFromSyncIterator = 73, + JSPromise = 74, + Map = 75, + Set = 76, + WeakMap = 77, + WeakSet = 78, + WebAssemblyModule = 79, + WebAssemblyInstance = 80, + WebAssemblyGCObject = 81, + StringObject = 82, + DerivedStringObject = 83, + InternalFieldTuple = 84, MaxJS = 0b11111111, Event = 0b11101111,