Skip to content

Update npm dependencies#3108

Merged
fedimser merged 12 commits intomainfrom
joaoboechat/update-npm-dependencies
Apr 15, 2026
Merged

Update npm dependencies#3108
fedimser merged 12 commits intomainfrom
joaoboechat/update-npm-dependencies

Conversation

@joao-boechat
Copy link
Copy Markdown
Contributor

@joao-boechat joao-boechat commented Apr 10, 2026

  • Updated npm dependencies to their latest possible versions without introducing bugs
  • Resolved vulnerabilities in the dependencies
  • Fixed breaking changes introduced by the new dependencies

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread package.json Outdated
Comment thread source/jupyterlab/package.json Outdated
Comment thread source/playground/build.js
Comment thread package.json Outdated
Comment thread package.json
Comment thread source/jupyterlab/package.json
Comment thread source/npm/qsharp/ux/circuit-vis/sqore.ts
Comment thread source/playground/build.js
@joao-boechat joao-boechat enabled auto-merge April 14, 2026 21:01
@joao-boechat joao-boechat added this pull request to the merge queue Apr 14, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Apr 14, 2026
@fedimser fedimser enabled auto-merge April 14, 2026 23:23
@fedimser fedimser added this pull request to the merge queue Apr 15, 2026
Merged via the queue into main with commit 2932110 Apr 15, 2026
12 checks passed
@fedimser fedimser deleted the joaoboechat/update-npm-dependencies branch April 15, 2026 02:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants