Description
Problem
package-lock.json contains incorrect os restrictions for three pure JavaScript dependencies:
pretty-format@29.7.0 → ["aix"]
resolve.exports@2.0.3 → ["linux"]
semver@6.3.1 → ["linux"]
These restrictions cause npm install and npm ci to fail on unsupported platforms and also break the benchmark workflow when it checks out main and installs dependencies.
Additionally, .github/workflows/benchmarks.yml only provides a fallback for npm run bench, while a failed npm ci causes the benchmark job to fail before the fallback is reached.
Solution
Regenerate package-lock.json from the current package manifest to remove the incorrect platform metadata.
Update the benchmark workflow so failures while installing the main baseline are handled as non-blocking, consistent with the workflow's manual comparison purpose.
Acceptance Criteria
Note for Contributors
Regenerate the lockfile using the repository's supported Node.js and npm versions. Do not manually edit integrity hashes or dependency metadata.
Description
Problem
package-lock.jsoncontains incorrectosrestrictions for three pure JavaScript dependencies:pretty-format@29.7.0→["aix"]resolve.exports@2.0.3→["linux"]semver@6.3.1→["linux"]These restrictions cause
npm installandnpm cito fail on unsupported platforms and also break the benchmark workflow when it checks outmainand installs dependencies.Additionally,
.github/workflows/benchmarks.ymlonly provides a fallback fornpm run bench, while a failednpm cicauses the benchmark job to fail before the fallback is reached.Solution
Regenerate
package-lock.jsonfrom the current package manifest to remove the incorrect platform metadata.Update the benchmark workflow so failures while installing the
mainbaseline are handled as non-blocking, consistent with the workflow's manual comparison purpose.Acceptance Criteria
package-lock.jsonno longer contains incorrectosrestrictions.npm cisucceeds on Linux, macOS, and Windows.Note for Contributors
Regenerate the lockfile using the repository's supported Node.js and npm versions. Do not manually edit integrity hashes or dependency metadata.