Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the repo’s JavaScript/TypeScript toolchain and package dependencies (including JupyterLab and VS Code-related tooling), with follow-up code adjustments for new runtime/platform baselines and updated error-handling behavior.
Changes:
- Bumped multiple dependency versions and refreshed lockfiles (notably under
source/jupyterlab/and the workspace root). - Raised TypeScript/libs and esbuild compilation targets to ES2022 across several packages.
- Updated error creation to preserve underlying errors via
Error({ cause }), plus small JSX/CSS cleanups and snapshot refreshes.
Reviewed changes
Copilot reviewed 48 out of 50 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| package.json | Workspace devDependency updates and new overrides for transitive deps. |
| source/widgets/js/tsconfig.json | Raise TS target/lib baseline to ES2022 for widgets JS. |
| source/vscode/tsconfig.json | Raise TS target/lib baseline to ES2022 for the VS Code extension. |
| source/vscode/build.mjs | Raise esbuild output target to ES2022 for extension bundling. |
| source/vscode/test/buildTests.mjs | Raise esbuild output target to ES2022 for test bundle. |
| source/vscode/src/webview/tsconfig.json | Raise webview TS target/lib baseline to ES2022. |
| source/vscode/src/webviewPanel.ts | Preserve original errors by attaching cause when rethrowing. |
| source/vscode/src/projectSystem.ts | Attach cause to errors thrown on failed GitHub raw fetch parsing. |
| source/vscode/src/estimate.ts | Attach cause to errors thrown from resource estimation failures. |
| source/vscode/src/createProject.ts | Minor refactor of manifest parsing variable initialization. |
| source/vscode/src/circuitEditor.ts | Minor cleanup plus attach cause on circuit expression generation failures. |
| source/vscode/src/azure/treeView.ts | Formatting-only change to class declaration. |
| source/vscode/src/azure/networkRequests.ts | Attach cause to errors thrown from Azure/storage request helpers. |
| source/playground/src/tsconfig.json | Raise TS module/target/lib baseline to ES2022 for playground. |
| source/playground/build.js | Raise esbuild output target to ES2022 for playground bundles. |
| source/playground/src/tabs.tsx | JSX attribute casing fix (readOnly). |
| source/playground/src/main.css | CSS formatting change (multiline font-family). |
| source/npm/qsharp/src/tsconfig.json | Raise TS target/lib baseline to ES2022 for qsharp-lang sources. |
| source/npm/qsharp/src/utils.ts | Minor local variable initialization cleanup. |
| source/npm/qsharp/src/data-structures/legacyCircuitUpdate.ts | Attach cause to conversion errors for better debugging. |
| source/npm/qsharp/generate_katas_content.js | Attach cause to thrown errors; minor variable initialization cleanup. |
| source/npm/qsharp/generate_docs.js | Minor variable initialization cleanup. |
| source/npm/qsharp/ux/tsconfig.json | Add rootDir and raise TS target/lib baseline to ES2022 for UX build. |
| source/npm/qsharp/ux/saveImage.tsx | Minor refactor to const for DOM child collection. |
| source/npm/qsharp/ux/resultsTable.tsx | Replace invalid width/height attrs with a style attribute. |
| source/npm/qsharp/ux/report.ts | Minor variable initialization cleanup in generated report code. |
| source/npm/qsharp/ux/circuit-vis/sqore.ts | Move renderDepth initialization into constructor. |
| source/npm/qsharp/ux/circuit-vis/draggable.ts | Minor variable initialization cleanup (dropzone). |
| source/npm/qsharp/test/circuits.js | Attach cause to JSON parse errors in tests. |
| source/npm/qsharp/test/state-viz-cases/state_viz_snapshot_-_threshold_aggregates_to_Others.snapshot.html | Snapshot refresh (doctype normalization). |
| source/npm/qsharp/test/state-viz-cases/state_viz_snapshot_-_superposition_with_phase.snapshot.html | Snapshot refresh (doctype normalization). |
| source/npm/qsharp/test/state-viz-cases/state_viz_snapshot_-_single_basis_state.snapshot.html | Snapshot refresh (doctype normalization). |
| source/npm/qsharp/test/circuits-cases/two-qubit-gates.qs.snapshot.html | Snapshot refresh (doctype normalization). |
| source/npm/qsharp/test/circuits-cases/qubit-reuse.qs.snapshot.html | Snapshot refresh (doctype normalization). |
| source/npm/qsharp/test/circuits-cases/ops-with-gap-ranges.qs.snapshot.html | Snapshot refresh (doctype normalization). |
| source/npm/qsharp/test/circuits-cases/nested-callables.qs.snapshot.html | Snapshot refresh (doctype normalization). |
| source/npm/qsharp/test/circuits-cases/loops.qs.snapshot.html | Snapshot refresh (doctype normalization). |
| source/npm/qsharp/test/circuits-cases/lambda.qs.snapshot.html | Snapshot refresh (doctype normalization). |
| source/npm/qsharp/test/circuits-cases/intrinsics.qs.snapshot.html | Snapshot refresh (doctype normalization). |
| source/npm/qsharp/test/circuits-cases/intersecting-wires.qs.snapshot.html | Snapshot refresh (doctype normalization). |
| source/npm/qsharp/test/circuits-cases/if-else.qs.snapshot.html | Snapshot refresh (doctype normalization). |
| source/npm/qsharp/test/circuits-cases/gate-and-measure.qsc.snapshot.html | Snapshot refresh (doctype normalization). |
| source/npm/qsharp/test/circuits-cases/functors.qs.snapshot.html | Snapshot refresh (doctype normalization). |
| source/npm/qsharp/test/circuits-cases/empty.qsc.snapshot.html | Snapshot refresh (doctype normalization). |
| source/npm/qsharp/test/circuits-cases/conditionals.qs.snapshot.html | Snapshot refresh (doctype normalization). |
| source/npm/qsharp/test/circuits-cases/bell-pair.qs.snapshot.html | Snapshot refresh (doctype normalization). |
| source/jupyterlab/tsconfig.json | Raise TS emit target to ES2022 for JupyterLab extension build. |
| source/jupyterlab/package.json | JupyterLab dependency updates plus overrides for a transitive vulnerability fix. |
| source/jupyterlab/package-lock.json | Lockfile refresh reflecting updated JupyterLab dependency graph. |
minestarks
reviewed
Apr 10, 2026
minestarks
reviewed
Apr 11, 2026
minestarks
reviewed
Apr 11, 2026
minestarks
approved these changes
Apr 14, 2026
ScottCarda-MS
approved these changes
Apr 14, 2026
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.
Uh oh!
There was an error while loading. Please reload this page.