Repository navigation
Bump @vscode/diff to 0.0.2-145 - #348519
Merged
Merged
Conversation
The wasm backend now produces exactly the TS backend's diffs and computes moved lines itself (microsoft/vscode-packages#446, microsoft/vscode-packages#447), and loads in Electron windows with node integration (microsoft/vscode-packages#445). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Federico Brancasi (federicobrancasi)
approved these changes
Nov 16, 2026
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The cited tests do not exercise WASM move computation, leaving incorrect move offsets or inner edits undetected before reaching the adapter.
1 open issue
2 files not reviewed
pnpm-lock.yaml: Generated fileremote/pnpm-lock.yaml: Generated file
What changed in this PR
Updates @vscode/diff from 0.0.2-128 to 0.0.2-145 across VS Code’s root, remote, and web dependencies. The release improves the external diff backends without changing the default advanced algorithm.
Changes:
- Incorporates WASM diff parity, native moved-line computation, and Electron loading fixes.
- Synchronizes all three manifests and both lockfiles; lockfile changes are limited to
@vscode/diff.
| File | Description |
|---|---|
remote/web/package.json |
Updates the remote web dependency. |
remote/pnpm-lock.yaml |
Locks the updated remote and web dependency. |
remote/package.json |
Updates the remote dependency. |
pnpm-lock.yaml |
Records the updated root version and integrity hash. |
package.json |
Updates the root dependency. |
Review effort: Balanced
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Bumps
@vscode/difffrom 0.0.2-128 to 0.0.2-145 in the root,remoteandremote/webmanifests and lockfiles. Only the@vscode/difflockfile entries change.What changes for
advanced-wasm/advanced-external:The default
advancedalgorithm is unchanged.Validation:
pnpm install --lockfile-only --frozen-lockfilein the root and inremote: passed.scripts\test.bat --run src/vs/editor/test/node/diffing/fixtures.test.ts --run src/vs/editor/test/common/services/editorWebWorker.test.ts: 150 passing (includes the check that the package's TS engine matches the built-in algorithm on all fixtures).pnpm run typecheck-client: passed.