mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2025-12-27 07:04:04 -05:00
main
712 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
f1a3a25dd0 |
Bump systeminformation and cypress (#8353)
Bumps [systeminformation](https://github.com/sebhildebrandt/systeminformation) to 5.27.15 and updates ancestor dependency [cypress](https://github.com/cypress-io/cypress). These dependencies need to be updated together. Updates `systeminformation` from 5.27.7 to 5.27.15 <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/sebhildebrandt/systeminformation/blob/master/CHANGELOG.md">systeminformation's changelog</a>.</em></p> <blockquote> <h1>Changelog</h1> <h2>Major Changes - Version 5</h2> <h4>New Functions</h4> <ul> <li><code>audio()</code> detailed audio information</li> <li><code>bluetoothDevices()</code> detailed information detected bluetooth devices</li> <li><code>dockerImages()</code> detailed information docker images</li> <li><code>dockerVolumes()</code> detailed information docker volumes</li> <li><code>printers()</code> detailed printer information</li> <li><code>usb()</code> detailed USB information</li> <li><code>wifiInterfaces()</code> detected Wi-Fi interfaces</li> <li><code>wifiConnections()</code> active Wi-Fi connections</li> </ul> <h4>Breaking Changes</h4> <p><strong>Be aware</strong>, that the new version 5.x <strong>is NOT fully backward compatible</strong> to version 4.x ...</p> <p>We had to make <strong>several interface changes</strong> to keep systeminformation as consistent as possible. We highly <a href="https://systeminformation.io/changes.html">recommend to go through the complete list</a> and adapt your own code to be again compatible to the new version 5.</p> <table> <thead> <tr> <th>Function</th> <th>Old</th> <th>New (V5)</th> <th>Comments</th> </tr> </thead> <tbody> <tr> <td>unsupported values</td> <td>-1</td> <td>null</td> <td>values which are unknown or<!-- raw HTML omitted -->unsupported on platform</td> </tr> <tr> <td><code>battery()</code></td> <td>hasbattery<!-- raw HTML omitted -->cyclecount<!-- raw HTML omitted -->ischarging<!-- raw HTML omitted -->designedcapacity<!-- raw HTML omitted -->maxcapacity<!-- raw HTML omitted -->acconnected<!-- raw HTML omitted -->timeremaining</td> <td>hasBattery<!-- raw HTML omitted -->cycleCount<!-- raw HTML omitted -->isCharging<!-- raw HTML omitted -->designedCapacity<!-- raw HTML omitted -->maxCapacity<!-- raw HTML omitted -->acConnected<!-- raw HTML omitted -->timeRemaining</td> <td>pascalCase conformity</td> </tr> <tr> <td><code>blockDevices()</code></td> <td>fstype</td> <td>fsType</td> <td>pascalCase conformity</td> </tr> <tr> <td><code>cpu()</code></td> <td>speedmin<!-- raw HTML omitted -->speedmax</td> <td>speedMin<!-- raw HTML omitted -->speedMax</td> <td>pascalCase conformity</td> </tr> <tr> <td><code>cpu().speed</code><!-- raw HTML omitted --><code>cpu().speedMin</code><!-- raw HTML omitted --><code>cpu().speedMax</code></td> <td>string values</td> <td>now returning<!-- raw HTML omitted -->numerical values</td> <td>better value handling</td> </tr> <tr> <td><code>cpuCurrentspeed()</code></td> <td></td> <td>cpuCurrentSpeed()</td> <td>function name changed<!-- raw HTML omitted -->pascalCase conformity</td> </tr> <tr> <td><code>currentLoad()</code></td> <td>avgload<!-- raw HTML omitted -->currentload<!-- raw HTML omitted -->currentload_user<!-- raw HTML omitted -->currentload_system<!-- raw HTML omitted -->currentload_nice<!-- raw HTML omitted -->currentload_idle<!-- raw HTML omitted -->currentload_irq<!-- raw HTML omitted -->raw_currentload</td> <td>avgLoad<!-- raw HTML omitted -->currentLoad<!-- raw HTML omitted -->currentLoadUser<!-- raw HTML omitted -->currentLoadSystem<!-- raw HTML omitted -->currentLoadNice<!-- raw HTML omitted -->currentLoadIdle<!-- raw HTML omitted -->currentLoadIrq<!-- raw HTML omitted -->rawCurrentLoad</td> <td>pascalCase conformity</td> </tr> <tr> <td><code>dockerContainerStats()</code></td> <td>mem_usage<!-- raw HTML omitted -->mem_limit<!-- raw HTML omitted -->mem_percent<!-- raw HTML omitted -->cpu_percent<!-- raw HTML omitted -->cpu_stats<!-- raw HTML omitted -->precpu_stats<!-- raw HTML omitted -->memory_stats</td> <td>memUsage<!-- raw HTML omitted -->memLimit<!-- raw HTML omitted -->memPercent<!-- raw HTML omitted -->cpuPercent<!-- raw HTML omitted -->cpuStats<!-- raw HTML omitted -->precpuStats<!-- raw HTML omitted -->memoryStats</td> <td>pascalCase conformity</td> </tr> <tr> <td><code>dockerContainerProcesses()</code></td> <td>pid_host</td> <td>pidHost</td> <td>pascalCase conformity</td> </tr> <tr> <td><code>graphics().display</code></td> <td>pixeldepth<!-- raw HTML omitted -->resolutionx<!-- raw HTML omitted -->resolutiony<!-- raw HTML omitted -->sizex<!-- raw HTML omitted -->sizey</td> <td>pixelDepth<!-- raw HTML omitted -->resolutionX<!-- raw HTML omitted -->resolutionY<!-- raw HTML omitted -->sizeX<!-- raw HTML omitted -->sizeY</td> <td>pascalCase conformity</td> </tr> <tr> <td><code>networkConnections()</code></td> <td>localaddress<!-- raw HTML omitted -->localport<!-- raw HTML omitted -->peeraddress<!-- raw HTML omitted -->peerport</td> <td>localAddress<!-- raw HTML omitted -->localPort<!-- raw HTML omitted -->peerAddress<!-- raw HTML omitted -->peerPort</td> <td>pascalCase conformity</td> </tr> <tr> <td><code>networkInterfaces()</code></td> <td>carrier_changes</td> <td>carrierChanges</td> <td>pascalCase conformity</td> </tr> <tr> <td><code>processes()</code></td> <td>mem_vsz<!-- raw HTML omitted -->mem_rss<!-- raw HTML omitted -->pcpu<!-- raw HTML omitted -->pcpuu<!-- raw HTML omitted -->pcpus<!-- raw HTML omitted -->pmem</td> <td>memVsz<!-- raw HTML omitted -->memRss<!-- raw HTML omitted -->cpu<!-- raw HTML omitted -->cpuu<!-- raw HTML omitted -->cpus<!-- raw HTML omitted -->mem</td> <td>pascalCase conformity<!-- raw HTML omitted -->renamed attributes</td> </tr> <tr> <td><code>processLoad()</code></td> <td>result as object</td> <td>result as array of objects</td> <td>function now allows to provide more than<!-- raw HTML omitted -->one process (as a comma separated list)</td> </tr> <tr> <td><code>services()</code></td> <td>pcpu<!-- raw HTML omitted -->pmem</td> <td>cpu<!-- raw HTML omitted -->mem</td> <td>renamed attributes</td> </tr> <tr> <td><code>vbox()</code></td> <td>HPET<!-- raw HTML omitted -->PAE<!-- raw HTML omitted -->APIC<!-- raw HTML omitted -->X2APIC<!-- raw HTML omitted -->ACPI<!-- raw HTML omitted -->IOAPIC<!-- raw HTML omitted -->biosAPICmode<!-- raw HTML omitted -->TRC</td> <td>hpet<!-- raw HTML omitted -->pae<!-- raw HTML omitted -->apic<!-- raw HTML omitted -->x2Apic<!-- raw HTML omitted -->acpi<!-- raw HTML omitted -->ioApic<!-- raw HTML omitted -->biosApicMode<!-- raw HTML omitted -->rtc</td> <td>pascalCase conformity</td> </tr> </tbody> </table> <h4>Other Improvements and Changes</h4> <ul> <li><code>baseboard()</code>: added memMax, memSlots</li> <li><code>bios()</code>: added language and features (linux)</li> <li><code>blockDevices()</code> added raid group member (linux)</li> <li><code>cpu()</code>: extended AMD processor list</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
da91cc9b58 |
Update dependencies (Dec 2025) (#8341)
## Summary - Update minor/patch dependencies (AWS SDK, Sentry, sass, vitest, webpack, cypress, etc.) - Update major versions: `@flatten-js/interval-tree` 1→2, `marked` 16→17, `webpack-manifest-plugin` 5→6, `which` 5→6 - Pin Biome to exclude 2.3.9 which has a bug (#8473) causing panics with TypeScript constructor signatures in type literals **Not updated** (intentionally): monaco-editor, monaco-editor-webpack-plugin, golden-layout ## Test plan - [x] `npm run ts-check` passes - [x] `npm run lint-check` passes - [x] `npm run test-min` passes - [x] Manual CFG graph rendering tested locally 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com> Co-authored-by: Partouf <partouf@gmail.com> |
||
|
|
d2cc7118aa | Minor updates and lint and format fixes (#8327) | ||
|
|
62a12e574b |
Bump express from 5.1.0 to 5.2.0 (#8309)
Bumps [express](https://github.com/expressjs/express) from 5.1.0 to 5.2.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/expressjs/express/releases">express's releases</a>.</em></p> <blockquote> <h2>v5.2.0</h2> <h2>Important: Security</h2> <ul> <li>Security fix for <a href="https://www.cve.org/CVERecord?id=CVE-2024-51999">CVE-2024-51999</a> (<a href="https://github.com/expressjs/express/security/advisories/GHSA-pj86-cfqh-vqx6">GHSA-pj86-cfqh-vqx6</a>)</li> </ul> <h2>What's Changed</h2> <ul> <li>build(deps): bump github/codeql-action from 3.28.11 to 3.28.13 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/expressjs/express/pull/6429">expressjs/express#6429</a></li> <li>Refactor: simplify <code>acceptsLanguages</code> implementation using spread operator by <a href="https://github.com/Ayoub-Mabrouk"><code>@Ayoub-Mabrouk</code></a> in <a href="https://redirect.github.com/expressjs/express/pull/6137">expressjs/express#6137</a></li> <li>increased code coverage of utils.js file by <a href="https://github.com/ashish3011"><code>@ashish3011</code></a> in <a href="https://redirect.github.com/expressjs/express/pull/6386">expressjs/express#6386</a></li> <li>chore: remove duplicate word by <a href="https://github.com/dufucun"><code>@dufucun</code></a> in <a href="https://redirect.github.com/expressjs/express/pull/6456">expressjs/express#6456</a></li> <li>build(deps): bump github/codeql-action from 3.28.13 to 3.28.16 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/expressjs/express/pull/6498">expressjs/express#6498</a></li> <li>build(deps): bump actions/setup-node from 4.3.0 to 4.4.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/expressjs/express/pull/6497">expressjs/express#6497</a></li> <li>build(deps): bump actions/download-artifact from 4.2.1 to 4.3.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/expressjs/express/pull/6496">expressjs/express#6496</a></li> <li>ci: add node.js 24 to test matrix by <a href="https://github.com/Phillip9587"><code>@Phillip9587</code></a> in <a href="https://redirect.github.com/expressjs/express/pull/6504">expressjs/express#6504</a></li> <li>ci: update codeql config by <a href="https://github.com/Phillip9587"><code>@Phillip9587</code></a> in <a href="https://redirect.github.com/expressjs/express/pull/6488">expressjs/express#6488</a></li> <li>chore: wider range for query test skip by <a href="https://github.com/jonchurch"><code>@jonchurch</code></a> in <a href="https://redirect.github.com/expressjs/express/pull/6512">expressjs/express#6512</a></li> <li>chore: fix typos in test by <a href="https://github.com/noritaka1166"><code>@noritaka1166</code></a> in <a href="https://redirect.github.com/expressjs/express/pull/6535">expressjs/express#6535</a></li> <li>ci: disable credential persistence for checkout actions by <a href="https://github.com/mertssmnoglu"><code>@mertssmnoglu</code></a> in <a href="https://redirect.github.com/expressjs/express/pull/6522">expressjs/express#6522</a></li> <li>ci: allow manual triggering of workflow by <a href="https://github.com/shivarm"><code>@shivarm</code></a> in <a href="https://redirect.github.com/expressjs/express/pull/6515">expressjs/express#6515</a></li> <li>test: add coverage for app.listen() variants by <a href="https://github.com/kgarg1"><code>@kgarg1</code></a> in <a href="https://redirect.github.com/expressjs/express/pull/6476">expressjs/express#6476</a></li> <li>docs: move documentation and charters to the discussions and .github … by <a href="https://github.com/bjohansebas"><code>@bjohansebas</code></a> in <a href="https://redirect.github.com/expressjs/express/pull/6427">expressjs/express#6427</a></li> <li>build(deps): bump github/codeql-action from 3.28.16 to 3.28.18 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/expressjs/express/pull/6549">expressjs/express#6549</a></li> <li>build(deps): bump ossf/scorecard-action from 2.4.1 to 2.4.2 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/expressjs/express/pull/6548">expressjs/express#6548</a></li> <li>chore: enforce explicit <code>Buffer</code> import and add lint rule by <a href="https://github.com/shivarm"><code>@shivarm</code></a> in <a href="https://redirect.github.com/expressjs/express/pull/6525">expressjs/express#6525</a></li> <li>chore: use node protocol for querystring by <a href="https://github.com/shivarm"><code>@shivarm</code></a> in <a href="https://redirect.github.com/expressjs/express/pull/6520">expressjs/express#6520</a></li> <li>chore: fix typo by <a href="https://github.com/mountdisk"><code>@mountdisk</code></a> in <a href="https://redirect.github.com/expressjs/express/pull/6609">expressjs/express#6609</a></li> <li>build(deps): bump github/codeql-action from 3.28.18 to 3.29.2 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/expressjs/express/pull/6618">expressjs/express#6618</a></li> <li>add deprecation warnings for redirect arguments undefined by <a href="https://github.com/bjohansebas"><code>@bjohansebas</code></a> in <a href="https://redirect.github.com/expressjs/express/pull/6405">expressjs/express#6405</a></li> <li>ci: run CI when the markdown changes by <a href="https://github.com/bjohansebas"><code>@bjohansebas</code></a> in <a href="https://redirect.github.com/expressjs/express/pull/6632">expressjs/express#6632</a></li> <li>doc: fix CONTRIBUTING link by <a href="https://github.com/jonchurch"><code>@jonchurch</code></a> in <a href="https://redirect.github.com/expressjs/express/pull/6653">expressjs/express#6653</a></li> <li>doc: update contributing guidelines and code of conduct links by <a href="https://github.com/ShubhamOulkar"><code>@ShubhamOulkar</code></a> in <a href="https://redirect.github.com/expressjs/express/pull/6601">expressjs/express#6601</a></li> <li>build(deps-dev): bump morgan from 1.10.0 to 1.10.1 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/expressjs/express/pull/6679">expressjs/express#6679</a></li> <li>build(deps-dev): bump cookie-session from 2.1.0 to 2.1.1 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/expressjs/express/pull/6678">expressjs/express#6678</a></li> <li>lint: add --fix flag to automatic fix linting issue by <a href="https://github.com/shivarm"><code>@shivarm</code></a> in <a href="https://redirect.github.com/expressjs/express/pull/6644">expressjs/express#6644</a></li> <li>chore: ignore yarn.lock file and update example by <a href="https://github.com/shivarm"><code>@shivarm</code></a> in <a href="https://redirect.github.com/expressjs/express/pull/6588">expressjs/express#6588</a></li> <li>lib: use req.socket over deprecated req.connection by <a href="https://github.com/bjohansebas"><code>@bjohansebas</code></a> in <a href="https://redirect.github.com/expressjs/express/pull/6705">expressjs/express#6705</a></li> <li>doc: update express app example by <a href="https://github.com/shivarm"><code>@shivarm</code></a> in <a href="https://redirect.github.com/expressjs/express/pull/6718">expressjs/express#6718</a></li> <li>build(deps): bump github/codeql-action from 3.29.2 to 3.29.5 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/expressjs/express/pull/6675">expressjs/express#6675</a></li> <li>Remove history.md from being packaged on publish by <a href="https://github.com/sheplu"><code>@sheplu</code></a> in <a href="https://redirect.github.com/expressjs/express/pull/6780">expressjs/express#6780</a></li> <li>build(deps): bump actions/checkout from 4.2.2 to 5.0.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/expressjs/express/pull/6797">expressjs/express#6797</a></li> <li>build(deps): bump github/codeql-action from 3.29.7 to 3.30.5 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/expressjs/express/pull/6796">expressjs/express#6796</a></li> <li>build(deps): bump ossf/scorecard-action from 2.4.2 to 2.4.3 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/expressjs/express/pull/6795">expressjs/express#6795</a></li> <li>build(deps): bump actions/setup-node from 4.4.0 to 5.0.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/expressjs/express/pull/6794">expressjs/express#6794</a></li> <li>build(deps): bump actions/download-artifact from 4.3.0 to 5.0.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/expressjs/express/pull/6793">expressjs/express#6793</a></li> <li>ci: add node.js 25 to test matrix by <a href="https://github.com/Phillip9587"><code>@Phillip9587</code></a> in <a href="https://redirect.github.com/expressjs/express/pull/6843">expressjs/express#6843</a></li> <li>build(deps): bump actions/download-artifact from 5.0.0 to 6.0.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/expressjs/express/pull/6871">expressjs/express#6871</a></li> <li>build(deps): bump actions/setup-node from 5.0.0 to 6.0.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/expressjs/express/pull/6870">expressjs/express#6870</a></li> <li>build(deps): bump github/codeql-action from 3.30.5 to 4.31.2 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/expressjs/express/pull/6869">expressjs/express#6869</a></li> <li>build(deps): bump actions/upload-artifact from 4.6.2 to 5.0.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/expressjs/express/pull/6868">expressjs/express#6868</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/expressjs/express/blob/master/History.md">express's changelog</a>.</em></p> <blockquote> <h1>5.2.0 / 2025-12-01</h1> <ul> <li>Security fix for <a href="https://www.cve.org/CVERecord?id=CVE-2024-51999">CVE-2024-51999</a> (<a href="https://github.com/expressjs/express/security/advisories/GHSA-pj86-cfqh-vqx6">GHSA-pj86-cfqh-vqx6</a>)</li> <li>deps: <code>body-parser@^2.2.1</code></li> <li>A deprecation warning was added when using <code>res.redirect</code> with undefined arguments, Express now emits a warning to help detect calls that pass undefined as the status or URL and make them easier to fix.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
9b76c60701 |
Update vitest to 4.0.1 and fix test mocking for constructor support (#8213)
## Summary - Updates vitest and @vitest/coverage-v8 from 2.1.8 to 4.0.1 - Fixes test mocks to work with vitest 4.0's constructor support requirements ## Changes Vitest 4.0 now supports `vi.fn()` being used as constructors, which means arrow functions can no longer be used in mock implementations that will be called as constructors. ### Key refactorings: - **Class-based mocks in vi.mock()**: Defined mock classes directly in `vi.mock()` factories instead of using `.mockImplementation()` with arrow functions - **Shared mock implementations**: Created shared `vi.fn()` instances that can be configured per-test, avoiding the need for `.mockImplementation()` - **Biome linter compatibility**: The approach avoids `.mockImplementation()` entirely, preventing biome from converting `function` keywords back to arrow functions ### Files changed: - `package.json`, `package-lock.json`: vitest version updates - `test/app/config-tests.ts`: Refactored CompilerProps mocks with shared cePropsImpl - `test/app/main-tests.ts`: Refactored all constructor mocks (CompilerFinder, FormattingService, CompileHandler, etc.) ## Test plan - [x] All tests pass with `npm run test-min` - [x] Linter passes with `npm run lint` - [x] Type checking passes with `npm run ts-check` - [x] Pre-commit hooks pass 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude <noreply@anthropic.com> |
||
|
|
75ba5bc308 |
Downgrade monaco-editor-webpack-plugin to 7.1.0 to fix CDN worker loading
Version 7.1.1 (released Oct 10, 2025) breaks Monaco editor when static
assets are served from a CDN (cross-origin). Workers fail to load with
"Cannot use import statement outside a module" errors.
Root Cause:
-----------
When workers are loaded cross-origin, the webpack plugin creates a blob
worker to work around browser security restrictions. In 7.1.1, the blob
generation code (lines 178-184 in webpack-plugin/src/index.ts) checks:
if (typeof import.meta !== 'undefined') {
js += 'import "' + workerUrl + '";'; // ES6 module syntax
} else {
js += 'importScripts("' + workerUrl + '");'; // Classic syntax
}
This check runs at BUILD TIME (in the webpack runtime context), not in
the worker context. If import.meta is defined in the build environment,
it generates ES6 import syntax. However, the blob is still created as a
CLASSIC worker (not {type: 'module'}), causing the syntax error.
Why It Works Locally:
---------------------
When serving from the same origin (localhost), the plugin returns the
worker URL directly without creating a blob, bypassing this buggy code.
CDN deployments always trigger the cross-origin blob worker path.
Symptoms:
---------
- Browser console: "Could not create web worker(s). Falling back to..."
- No worker.js files requested from CDN (falls back before trying)
- Monaco editor loads but with degraded functionality
- Console errors: "Uncaught SyntaxError: Cannot use import statement
outside a module" from blob URLs
The bug was introduced in commit ae5cab7 (PR #4742) which attempted to
add module worker support but broke the cross-origin blob worker path.
Upgrade Path:
-------------
Can upgrade when either:
1. monaco-editor-webpack-plugin releases a fix (watch PR #4742 discussion)
2. We switch to same-origin worker delivery (not using CDN for workers)
Pinning to exact version 7.1.0 (no caret) to prevent auto-upgrade until
this is resolved upstream.
Related upstream issues:
- https://github.com/microsoft/monaco-editor/issues/4741
- https://github.com/microsoft/monaco-editor/pull/4742
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
||
|
|
4080457f2c |
Minor library updates (#8209)
Co-authored-by: Claude <noreply@anthropic.com> |
||
|
|
a86291f83b | Bump happy-dom from 20.0.0 to 20.0.2 (#8202) | ||
|
|
fb57aa7b54 | Bump happy-dom from 19.0.2 to 20.0.0 (#8185) | ||
|
|
8dc0cb6c94 |
Major update: (#8158)
- bump pQueue: https://github.com/sindresorhus/p-queue/releases/tag/v9.0.0 - throwOnTimeout is removed (and is always `true`) - 0 is not a valid timeout, so, updated tests to pass a big number (no normal code path assumes 0) - happy dom: breaking changes: removed commonjs, new jest; nothing affects us |
||
|
|
69cd083301 |
Minor package updates (#8157)
- fixes static asset handler cast - adds now required lessThan to graph layout (cc @jeremy-rifkin I think) |
||
|
|
5eb5262c64 | Various type improvements, mostly in tests (#8144) | ||
|
|
8f65000db8 |
Major package updates (#8100)
* Update sentry from 9.x to 10.x * Upgrade Cypress * Update marked to latest; was a node version drop only Sentry: Nothing breaking in the limited functionality we use. Mostly an OpenTelemetry upgrade. See https://docs.sentry.io/platforms/javascript/migration/v9-to-v10/ Cypress: 14->15; nothing big that affects us: https://docs.cypress.io/app/references/migration-guide Marked: was a node version drop only |
||
|
|
f824efe73e |
Library updates and lint fixes (#8099)
* Minor updates only * Added explicit radix parameter (10) to all Number.parseInt() calls throughout the codebase (new lint rule) * Updated several @ts-ignore comments to @ts-expect-error for better TypeScript practices (new lint rule) * Removed unnecessary @ts-ignore comments in some mode files (ditto) * Used "none return" based arrow functions for some map stuff * Replaced a `map()` call that didn't return anything to a for() loop * Fixed up some cypress stuff, noting work for the future |
||
|
|
c29ad46f3a |
[Not Live; disabled by default] Add Claude Explain feature for AI-powered assembly explanations (#7749)
Add Claude Explain feature for AI-powered code explanations This PR introduces Claude Explain, a new feature that provides AI-powered explanations of compiler output directly within Compiler Explorer. Key features: Claude Explain functionality: - New explain view pane - Explains compiler output with full context of source code and compilation output - Configurable audience level and explanation type - Response caching to improve performance and reduce API calls - Usage statistics display showing requests used and token counts User experience: - Consent flow on first use explaining data handling and privacy - AI disclaimer banner warning about potential LLM inaccuracies - Respects "no-ai" directive in source code for users who don't want AI processing Privacy and security: - Data sent to Anthropic's Claude API as documented in privacy policy - No data used for model training - Clear consent required before first use - Support for opting out via "no-ai" directive The feature is marked as beta and can be enabled via configuration. Co-authored-by: Claude <noreply@anthropic.com> |
||
|
|
f6ca992da0 |
Upgrade to FA 7 (#7958)
Carefully read the upgrade guide and nothing affects us. Also ran and looked at all the icons I could thing of, in panes and dropdowns. All looks good. |
||
|
|
8734c3e492 |
Update biome (#7956)
- latest biome, and fix its configuration - fixes "static" content to be globally configured too (instead of per-line) - fixes issues: - imports fixed up - `Date.now()` vs `+new Date()` - some unused things `_` prefixed After discussion with the team, turned off the unused parameter warning. |
||
|
|
ba77b3ea97 |
Bump all the minor packages (#7955)
Picks up fix sinonjs/samsam#253 (yay) |
||
|
|
963bb8159a |
Bump on-headers, compression, morgan and response-time (#7924)
Bumps [on-headers](https://github.com/jshttp/on-headers) to 1.1.0 and updates ancestor dependencies [on-headers](https://github.com/jshttp/on-headers), [compression](https://github.com/expressjs/compression), [morgan](https://github.com/expressjs/morgan) and [response-time](https://github.com/expressjs/response-time). These dependencies need to be updated together. Updates `on-headers` from 1.0.2 to 1.1.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/jshttp/on-headers/releases">on-headers's releases</a>.</em></p> <blockquote> <h2>1.1.0</h2> <h2>Important</h2> <ul> <li>Fix <a href="https://www.cve.org/CVERecord?id=CVE-2025-7339">CVE-2025-7339</a> (<a href="https://github.com/jshttp/on-headers/security/advisories/GHSA-76c9-3jph-rj3q">GHSA-76c9-3jph-rj3q</a>)</li> </ul> <h2>What's Changed</h2> <ul> <li>Migrate CI pipeline to GitHub actions by <a href="https://github.com/carpasse"><code>@carpasse</code></a> in <a href="https://redirect.github.com/jshttp/on-headers/pull/12">jshttp/on-headers#12</a></li> <li>fix README.md badges by <a href="https://github.com/carpasse"><code>@carpasse</code></a> in <a href="https://redirect.github.com/jshttp/on-headers/pull/13">jshttp/on-headers#13</a></li> <li>add OSSF scorecard action by <a href="https://github.com/carpasse"><code>@carpasse</code></a> in <a href="https://redirect.github.com/jshttp/on-headers/pull/14">jshttp/on-headers#14</a></li> <li>fix: use <code>ubuntu-latest</code> as ci runner by <a href="https://github.com/UlisesGascon"><code>@UlisesGascon</code></a> in <a href="https://redirect.github.com/jshttp/on-headers/pull/19">jshttp/on-headers#19</a></li> <li>ci: apply OSSF Scorecard security best practices by <a href="https://github.com/UlisesGascon"><code>@UlisesGascon</code></a> in <a href="https://redirect.github.com/jshttp/on-headers/pull/20">jshttp/on-headers#20</a></li> <li>👷 add upstream change detection by <a href="https://github.com/ctcpip"><code>@ctcpip</code></a> in <a href="https://redirect.github.com/jshttp/on-headers/pull/31">jshttp/on-headers#31</a></li> <li>✨ add script to update known hashes by <a href="https://github.com/ctcpip"><code>@ctcpip</code></a> in <a href="https://redirect.github.com/jshttp/on-headers/pull/32">jshttp/on-headers#32</a></li> <li>💚 update CI - add newer node versions by <a href="https://github.com/ctcpip"><code>@ctcpip</code></a> in <a href="https://redirect.github.com/jshttp/on-headers/pull/33">jshttp/on-headers#33</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/carpasse"><code>@carpasse</code></a> made their first contribution in <a href="https://redirect.github.com/jshttp/on-headers/pull/12">jshttp/on-headers#12</a></li> <li><a href="https://github.com/UlisesGascon"><code>@UlisesGascon</code></a> made their first contribution in <a href="https://redirect.github.com/jshttp/on-headers/pull/19">jshttp/on-headers#19</a></li> <li><a href="https://github.com/ctcpip"><code>@ctcpip</code></a> made their first contribution in <a href="https://redirect.github.com/jshttp/on-headers/pull/31">jshttp/on-headers#31</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/jshttp/on-headers/compare/v1.0.2...v1.1.0">https://github.com/jshttp/on-headers/compare/v1.0.2...v1.1.0</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/jshttp/on-headers/blob/master/HISTORY.md">on-headers's changelog</a>.</em></p> <blockquote> <h1>1.1.0 / 2025-07-17</h1> <ul> <li>Fix <a href="https://www.cve.org/CVERecord?id=CVE-2025-7339">CVE-2025-7339</a> (<a href="https://github.com/jshttp/on-headers/security/advisories/GHSA-76c9-3jph-rj3q">GHSA-76c9-3jph-rj3q</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
d147341663 | Serve all static asset files over the CDN (#7795) | ||
|
|
577094cf11 |
Add vitest related to pre-commit with expensive test skipping (#7854)
## Summary This PR improves the pre-commit hook performance by: - Using `vitest related` to run only tests affected by changed files - Adding ability to skip expensive tests (filter tests) during pre-commit - Providing a consistent mechanism for skipping expensive tests ## Changes - Modified `lint-staged.config.mjs` to run `vitest related` with `SKIP_EXPENSIVE_TESTS=true` - Updated `test/filter-tests.ts` to use idiomatic `describe.skipIf()` for conditional test execution - Changed `test-min` script to use `SKIP_EXPENSIVE_TESTS` environment variable instead of `--exclude` - Updated `CLAUDE.md` with documentation about the new test workflow ## Impact - Pre-commit hooks are now much faster as they: - Only run tests related to changed files - Skip 688 expensive filter tests - Use the same skipping mechanism as `npm run test-min` ## Testing - ✅ Verified `vitest related` correctly identifies and runs related tests - ✅ Confirmed filter tests are skipped when `SKIP_EXPENSIVE_TESTS=true` - ✅ Tested that full test suite still runs all tests when env var is not set - ✅ Pre-commit hooks work correctly with the new setup 🤖 Generated with [Claude Code](https://claude.ai/code) --------- Co-authored-by: Claude <noreply@anthropic.com> |
||
|
|
23fad10939 |
Unit testing the frontend (#7829)
This adds some unit tests for the front end. - configures "frontend tests" as a unit tests in `static/tests`, removing the old cypress-requiring "unit" tests - hack enough of a DOM to get things working - port motd and id tests - *adds* a golden layout checks (see #7807) - Updates READMEs etc --------- Co-authored-by: Claude <noreply@anthropic.com> |
||
|
|
9e9e035b28 |
Rephrase frontend imports (#7824)
- Removes `rootDirs` so all imports will be relative in the frontend - Updates (and unifies) imports to be `../types/...` etc instead of relying on "types" being in the rootDir for the frontend. - Fixes one type that was being picked up from `lib` in the frontend. - Adds a precommit hook to check in future Paves the way to writing _unit_ tests for the frontend for the subset of the frontend code we can import from `node` (which might be a lot of it!) |
||
|
|
e2a834bcc8 |
Various package updates (#7799)
Updated all packages with npm update -S. Removed deprecated @types/url-join Fixed TypeScript error caused by package updates: - The `at()` method is ES2022, but frontend code targets ES5 for compatibility - Changed `this.compilerPickers.at(-1)` to `this.compilerPickers[this.compilerPickers.length - 1]` Co-authored-by: Claude <noreply@anthropic.com> |
||
|
|
917c7f9dca |
Monthly upgrade of all the things (#7758)
Tested with a local run and a poke in the UI |
||
|
|
74e5f237eb |
Update all the things (#7699)
All minor updates, commander was one major update but only to support node 20 (which we're already past). Tests pass, everything loaded up locally. |
||
|
|
ad8b991a0c |
Fix npm run check (not that I think anyone uses it?)
|
||
|
|
54c942ba76 |
Replace nopt with commander.js for argument parsing (#7673)
- Replace nopt with commander.js for better command-line argument parsing - Add automatic help generation with detailed descriptions - Maintain backward compatibility with existing arguments - Remove unused nopt dependency from package.json 🤖 Generated with [Claude Code](https://claude.ai/code) --------- Co-authored-by: Claude <noreply@anthropic.com> |
||
|
|
04bcf21900 |
Bump to latest sentry; preload etc (#7617)
New node sentry prefers some node.js "preload" nonsense. I use this "hack" to avoid having to make a lock-step change to the runner: tested locally and then deployed to staging and tested there with both server-side and client-side errors. |
||
|
|
cf7ef2aa3b | Minor updates 20240424 (#7609) | ||
|
|
c79e41f77a |
Remove dependency on request and replace it with node's builtin fetch (#6800)
resolves #5289 |
||
|
|
637564f389 |
Migrate to Bootstrap 5 (#7582)
This PR completes the migration from Bootstrap 4 to Bootstrap 5.3.5 following the plan outlined in [docs/Bootstrap5Migration.md](https://github.com/compiler-explorer/compiler-explorer/blob/mg/bootstrap5/docs/Bootstrap5Migration.md). ## Migration Process We followed a phased approach as documented in the migration plan: 1. **Phase 1: Dependency Updates and Basic Setup** - Updated Bootstrap from 4.6.2 to 5.3.5 - Added @popperjs/core dependency (replacing Popper.js) - Updated Tom Select theme from bootstrap4 to bootstrap5 2. **Phase 2: Global CSS Class Migration** - Updated directional utility classes (ml/mr → ms/me) - Updated floating utility classes (float-left/right → float-start/end) - Updated text alignment classes (text-left/right → text-start/end) 3. **Phase 3: HTML Attribute Updates** - Updated data attributes to use Bootstrap 5 prefixes (data-bs-toggle, data-bs-target, etc.) - Fixed tab navigation issues 4. **Phase 4: JavaScript API Compatibility Layer** - Created bootstrap-utils.ts compatibility layer - Updated component initialization for modals, dropdowns, popovers, etc. 5. **Phase 5: Component Migration** - Updated and tested specific components (modals, dropdowns, toasts, etc.) - Fixed styling issues in cards and button groups 6. **Phase 6: Form System Updates** - Updated form control classes to Bootstrap 5 standards - Updated checkbox/radio markup patterns - Simplified input groups 7. **Phase 7: Navbar Structure Updates** - Updated navbar structure with container-fluid - Fixed responsive behavior 8. **Phase 8: SCSS Variables and Theming** - Added custom CSS fixes for navbar alignment - Verified theme compatibility 9. **Phase 9: Accessibility Improvements** - Updated sr-only to visually-hidden - Added proper ARIA attributes - Enhanced screen reader support ## Key Changes - No more jQuery dependency in Bootstrap 5 - New prefix for data attributes (data-bs-*) - Improved accessibility with ARIA attributes - Updated positioning classes (start/end instead of left/right) - Simplified input group structure ## Test Plan 1. **Navigation Testing** - Verify all dropdown menus open and close properly - Test mobile menu responsiveness - Check tab navigation in settings dialog 2. **Component Testing** - Verify all modals open and close correctly (settings, share, load/save) - Test tooltips and popovers - Check form controls in different dialogs 3. **Layout Testing** - Test responsiveness on different screen sizes - Verify proper alignment of elements - Check dark mode compatibility 4. **Specific Features to Test** - Compiler selection and options - Share dialog functionality - Settings dialog - Tree view (IDE mode) - Font selection dropdown 5. **Browser Testing** - Test in Chrome, Firefox, Safari - Test in mobile browsers ## Note on Further Improvements After this migration is stable, we could consider Phase 12: removing jQuery dependency entirely, as Bootstrap 5 no longer requires it. This would be a separate effort. --------- Co-authored-by: Claude <noreply@anthropic.com> |
||
|
|
20048616da |
Migrate to express 5 (#7572)
Main changes:
- type checker cares about the return value (`void`) of handlers, so no
more `return res.send("...")` as that returns `express` type.
- regexes on slugs no longer supported, but we weren't really using them
in any meaningful way. The two places that had to be updated:
- `/clientstate/:clientstate64` - now uses a regex directly and tests added (thanks @partouf for spotting #4844)
- `/bits/:bits.html` - was some `\w+` but I believe that's unnecessary
for the same reasons
- actually call the Sentry handler. I don't know if this actually worked
before but the API checks suggest not.
|
||
|
|
3b7599d817 |
Update chart and copy webpack (#7570)
Very uncontentious bumps... |
||
|
|
5e2937fdf9 | Configure packageManager field to enable corepack compatability (#7534) | ||
|
|
6801d7b9a9 | Update latest everything (minor only) (#7564) | ||
|
|
a4995a9c1c |
Move to using async file reads (#7433)
Remove most, if not all, of the synchronous file reads. Hopefully this will help a little with performance and "event loop lag". Mostly, it's "try not to use third party packages when builtins now do the work". Local testing seems OK - but needs a good poke around on staging to exercise all the paths. |
||
|
|
619e4bd2e4 |
New temp directory tracker (#7452)
Replaces aging `temp` with a simple, bespoke solution. Reduces the number of deprecated/out-of-date dependencies we pick up. Closes #7445. |
||
|
|
669abcb70d |
February major updates (#7443)
- vitest and all test types etc (test pass). Needed a few minor changes to match new behaviour of `expect().toMatchSnapshot` (trailing whitespace is now important) - `which` - read the changes and spot-checked it. They dropped <v18 - `webpack-cli` - changes don't affect our usage. Checked with a local `webpack` build and a "prod" run (`make` no dev) - `enhanced-ms` - checked and updated to use new functionality - `typescript` - all tests pass, no warnings. Tested the site locally too. |
||
|
|
349a1631db | Minor package updates (#7442) | ||
|
|
7d4f77d84a |
Misc fixes for unbuffering (#7404)
- Wrap the executable in `stdbuf` higher up than in `executeDirect` which means we run `stdbuf` _inside_ the jail instead of outside it when running. This fixes jail/stdbuf interactions. - Install `which` types to avoid a `no-ts` - Ensure `stdbuf` et al is mapped in compilers-and-tools - As a fly-by also unify the configuration of NVidia devices between execution and compilation. |
||
|
|
cfcbcd7423 |
Minor bump all packages (npm update -S) (#7401)
|
||
|
|
3aeed42066 |
Upgrade to node 20 minimum, target node 22 (#7343)
Co-authored-by: Mats Jun Larsen <mats@jun.codes> |
||
|
|
086443d67e |
Bump vitest and @vitest/coverage-v8 (#7393)
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) and [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8). These dependencies needed to be updated together. Updates `vitest` from 2.1.4 to 2.1.9 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/vitest-dev/vitest/releases">vitest's releases</a>.</em></p> <blockquote> <h2>v2.1.9</h2> <p>This release includes security patches for:</p> <ul> <li><a href="https://github.com/vitest-dev/vitest/security/advisories/GHSA-8gvc-j273-4wm5">Browser mode serves arbitrary files | CVE-2025-24963</a></li> <li><a href="https://github.com/vitest-dev/vitest/security/advisories/GHSA-9crc-q9x8-hgqq">Remote Code Execution when accessing a malicious website while Vitest API server is listening | CVE-2025-24964</a></li> </ul> <h3> 🐞 Bug Fixes</h3> <ul> <li>backport <a href="https://redirect.github.com/vitest-dev/vitest/issues/7317">vitest-dev/vitest#7317</a> to v2 - by <a href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/pull/7318">vitest-dev/vitest#7318</a></li> <li>(backport <a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/7340">#7340</a> to v2) restrict served files from <code>/__screenshot-error</code> - by <a href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/pull/7343">vitest-dev/vitest#7343</a></li> </ul> <h5> <a href="https://github.com/vitest-dev/vitest/compare/v2.1.8...v2.1.9">View changes on GitHub</a></h5> <h2>v2.1.8</h2> <h3> 🐞 Bug Fixes</h3> <ul> <li>Support Node 21 - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> <a href="https://github.com/vitest-dev/vitest/commit/92f7a2ad"><!-- raw HTML omitted -->(92f7a)<!-- raw HTML omitted --></a></li> </ul> <h5> <a href="https://github.com/vitest-dev/vitest/compare/v2.1.7...v2.1.8">View changes on GitHub</a></h5> <h2>v2.1.7</h2> <h3> 🐞 Bug Fixes</h3> <ul> <li>Revert support for Vite 6 - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> <a href="https://github.com/vitest-dev/vitest/commit/fbe5c39d"><!-- raw HTML omitted -->(fbe5c)<!-- raw HTML omitted --></a> <ul> <li>This introduced some breaking changes (<a href="https://redirect.github.com/vitest-dev/vitest/issues/6992">vitest-dev/vitest#6992</a>). We will enable support for it later. In the meantime, you can still use <code>pnpm.overrides</code> or yarn resolutions to override the <code>vite</code> version in the <code>vitest</code> package - the APIs are compatible.</li> </ul> </li> </ul> <h5> <a href="https://github.com/vitest-dev/vitest/compare/v2.1.6...v2.1.7">View changes on GitHub</a></h5> <h2>v2.1.6</h2> <h2>🚀 Features</h2> <ul> <li>Support Vite 6</li> </ul> <h5> <a href="https://github.com/vitest-dev/vitest/compare/v2.1.5...v2.1.6">View changes on GitHub</a></h5> <h2>v2.1.5</h2> <h3> 🐞 Bug Fixes</h3> <ul> <li><code>dangerouslyIgnoreUnhandledErrors</code> without base reporter - by <a href="https://github.com/AriPerkkio"><code>@AriPerkkio</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/6808">vitest-dev/vitest#6808</a> <a href="https://github.com/vitest-dev/vitest/commit/0bf0ab00"><!-- raw HTML omitted -->(0bf0a)<!-- raw HTML omitted --></a></li> <li>Capture <code>unhandledRejection</code> even when base reporter is not used - by <a href="https://github.com/AriPerkkio"><code>@AriPerkkio</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/6812">vitest-dev/vitest#6812</a> <a href="https://github.com/vitest-dev/vitest/commit/8878b04d"><!-- raw HTML omitted -->(8878b)<!-- raw HTML omitted --></a></li> <li>Don't change the working directory when loading workspace projects - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/6811">vitest-dev/vitest#6811</a> <a href="https://github.com/vitest-dev/vitest/commit/f0aeaca8"><!-- raw HTML omitted -->(f0aea)<!-- raw HTML omitted --></a></li> <li>Remove <code>sequence.concurrent</code> from the <code>RuntimeConfig</code> type - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/6880">vitest-dev/vitest#6880</a> <a href="https://github.com/vitest-dev/vitest/commit/6af73d93"><!-- raw HTML omitted -->(6af73)<!-- raw HTML omitted --></a></li> <li>Stop the runner before restarting, restart on workspace config change - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/6859">vitest-dev/vitest#6859</a> <a href="https://github.com/vitest-dev/vitest/commit/b01df47d"><!-- raw HTML omitted -->(b01df)<!-- raw HTML omitted --></a></li> <li>Don't rerun on Esc or Ctrl-C during watch filter - by <a href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/6895">vitest-dev/vitest#6895</a> <a href="https://github.com/vitest-dev/vitest/commit/98f76ea7"><!-- raw HTML omitted -->(98f76)<!-- raw HTML omitted --></a></li> <li>Print ssrTransform error - by <a href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/6885">vitest-dev/vitest#6885</a> <a href="https://github.com/vitest-dev/vitest/commit/4c96cce7"><!-- raw HTML omitted -->(4c96c)<!-- raw HTML omitted --></a></li> <li>Throw an error and a warning if <code>.poll</code>, <code>.element</code>, <code>.rejects</code>/<code>.resolves</code>, and <code>locator.*</code> weren't awaited - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/6877">vitest-dev/vitest#6877</a> <a href="https://github.com/vitest-dev/vitest/commit/93b67c24"><!-- raw HTML omitted -->(93b67)<!-- raw HTML omitted --></a></li> <li><strong>browser</strong>: <ul> <li>Don't process the default css styles - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/6861">vitest-dev/vitest#6861</a> <a href="https://github.com/vitest-dev/vitest/commit/0d67f04b"><!-- raw HTML omitted -->(0d67f)<!-- raw HTML omitted --></a></li> <li>Support non US key input - by <a href="https://github.com/hi-ogawa"><code>@hi-ogawa</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/6873">vitest-dev/vitest#6873</a> <a href="https://github.com/vitest-dev/vitest/commit/5969d8da"><!-- raw HTML omitted -->(5969d)<!-- raw HTML omitted --></a></li> </ul> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
7a78ecaeaa |
Remove dependency on prettier (#7390)
I must've missed this in the biome PR somehow :) |
||
|
|
dc5f3cf43b |
Deduplicate npm scripts used for CI (#7356)
There's nothing special with these anymore. They are the same both locally and in CI now, because our Vitest and Biome setups don't behave differently there |
||
|
|
5eea63328f | Migrate to Biome for linting and formatting (#7033) | ||
|
|
fb7b592025 |
Replace supervisor with tsx --watch (#7212)
Works just like before with reloading of properties. See demo GIF  |
||
|
|
d9093faf18 |
Replace ts-node with tsx (#7205)
Migrates tooling to TSX (as advised by nodejs) until we are on Node 22 where we can `--watch --experimental-strip-types` |
||
|
|
63c2ce7808 |
Reimplement shell splitting (#7202)
Takes the bones of shell-split and makes it handle lots of situations
without throwing exceptions, and using modern-ish typescript/javascript
stuff.
Adds lots more tests too.
Removes unneeded package dependencies.
Changes from before: escaping a pipe character `moo \\# hello` would
drop the `# hello` part (?) that is, I updated the test that did:
```ts
expect(splitArguments('hello \\#veryfancy etc')).toEqual(['hello', '\\']);
```
to be the more sane expectation of `['hello', '\\#veryfancy']`.
Everything else I could think of (unterminated strings, escapes etc) I
kept the same. And added tests for.
Hopefully addresses #7201 without breaking any reasonable use of the
code (though @partouf raises fair concerns about this.)
|