Repository navigation
Comparing changes
Open a pull request
base repository: PassiveLogic/JavaScriptKit
base: main
head repository: swiftwasm/JavaScriptKit
compare: main
- 14 commits
- 155 files changed
- 7 contributors
Commits on Nov 3, 2026
-
Configuration menu - View commit details
-
Copy full SHA for f1d5c94 - Browse repository at this point
Copy the full SHA f1d5c94View commit details -
PackageToJS: Import only the UWASI features Swift needs
The UWASI platform wrappers imported `useAll` and `MemoryFileSystem`, so bundles always carried UWASI's in-memory file system and came out larger than the browser_wasi_shim default. Import `useStdio`, `useArgs`, `useEnviron`, `useClock`, `usePoll`, `useProc` and `useRandom` instead. File syscalls now return ENOSYS. With `--enable-code-coverage`, the Node wrapper adds `useMemoryFS`, because the test runner reads the coverage profile through `extractFile`. The browser wrapper never imports a file system.
Configuration menu - View commit details
-
Copy full SHA for 817304f - Browse repository at this point
Copy the full SHA 817304fView commit details
Commits on Nov 4, 2026
-
Merge pull request swiftwasm#826 from PassiveLogic/kr/bridgejs-jsvalu…
…e-return-lifetime
Configuration menu - View commit details
-
Copy full SHA for baaa759 - Browse repository at this point
Copy the full SHA baaa759View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f1087c - Browse repository at this point
Copy the full SHA 3f1087cView commit details
Commits on Nov 7, 2026
-
Runtime: Copy only the view's window in swjs_load_typed_array (swiftw…
…asm#810) * Runtime: Copy only the view's window in swjs_load_typed_array `new Uint8Array(typedArray.buffer)` views the whole backing `ArrayBuffer`, ignoring the `byteOffset` and `byteLength` of the view it was handed. A view with a non-zero offset (anything from `subarray`, or `new Uint8Array(buffer, offset, length)`) therefore arrives in the guest shifted by that offset, silently wrong rather than failing. It is also a memory-safety bug: `JSTypedArray.copyMemory(to:)` sizes the destination from the view's own `length`, so whenever the view is smaller than its backing buffer the runtime writes past the end of the destination and corrupts whatever follows it in linear memory. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> * Tests: Use Int32(bitPattern:) for the 0xDEADBEEF sentinel Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for 0cd2df4 - Browse repository at this point
Copy the full SHA 0cd2df4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a1c5a8 - Browse repository at this point
Copy the full SHA 0a1c5a8View commit details
Commits on Nov 25, 2026
-
Configuration menu - View commit details
-
Copy full SHA for ee05433 - Browse repository at this point
Copy the full SHA ee05433View commit details -
Merge pull request swiftwasm#834 from PassiveLogic/kr/ci-swift-6.3
CI: Move CI, package manifests and docs to Swift 6.3
Configuration menu - View commit details
-
Copy full SHA for 1db1901 - Browse repository at this point
Copy the full SHA 1db1901View commit details
Commits on Nov 27, 2026
-
Runtime: Stop deduplicating JSObject references in the object heap (s…
…wiftwasm#835) JSObject.== now compares with JS `===`, and the Hashable conformance that relied on deduplicated ids is removed.
Configuration menu - View commit details
-
Copy full SHA for 0628da7 - Browse repository at this point
Copy the full SHA 0628da7View commit details
Commits on Nov 28, 2026
-
Add noncopyable
JSUniqueRefwith heap references skipping deduplica……tion (swiftwasm#830) Add noncopyable `JSUniqueRef` and make `JSObject` own one `JSUniqueRef` owns one JavaScript object reference and releases it in its `deinit`. Since the object heap no longer deduplicates references (swiftwasm#835), it needs no runtime support: it holds a reference exactly like `JSObject` does, without a Swift heap allocation. `JSObject` now stores a `JSUniqueRef`, and `init(_ ref: consuming JSUniqueRef)` is its only designated initializer. Releasing, including routing the release to the owner thread, happens in one place, `JSUniqueRef.deinit`, and `JSObject.deinit` is gone. `init(id:)` remains as a convenience initializer that adopts `id`. `JSClosure` and `JSOneshotClosure` still key their host functions by `ObjectIdentifier(self)`, so they still start from a placeholder reference of 0. They now hand the real reference over with `_replacePlaceholderRef(with:)`, which swaps it in and takes the placeholder out without releasing it. Co-authored-by: Yuta Saito <kateinoigakukun@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 1edf6b3 - Browse repository at this point
Copy the full SHA 1edf6b3View commit details
Commits on Dec 1, 2026
-
BridgeJS: Fix building the BridgeJS and PackageToJS plugins on Windows (
swiftwasm#838) Claude-Session: https://claude.ai/code/session_01PTxV5VQUn7st6eUgooE127 Co-authored-by: Sebastian Godelet <2624915+sebgod@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for 0dd53fb - Browse repository at this point
Copy the full SHA 0dd53fbView commit details
Commits on Dec 2, 2026
-
Configuration menu - View commit details
-
Copy full SHA for b383830 - Browse repository at this point
Copy the full SHA b383830View commit details -
Merge pull request swiftwasm#839 from PassiveLogic/kr/bridgejs-option…
…al-bool-import BridgeJS: Fix optional Bool returns from imported JS functions
Configuration menu - View commit details
-
Copy full SHA for 29dd909 - Browse repository at this point
Copy the full SHA 29dd909View commit details -
Configuration menu - View commit details
-
Copy full SHA for 33655d3 - Browse repository at this point
Copy the full SHA 33655d3View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff main...main