Repository navigation
chore(deps): clear the happy-dom, glob 7.2.3 and minimatch 11.0.9 Dependabot alerts - #39753
Draft
objectstack-fleet[bot] wants to merge 2 commits into
Draft
objectstack-fleet[bot] wants to merge 2 commits into
objectstack-fleet[bot] wants to merge 2 commits into
Conversation
…anifests + overrides) Claude-Session: https://claude.ai/code/session_01ASNY8XNef4ywkQio6S9ju4 Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ASNY8XNef4ywkQio6S9ju4 Co-authored-by: Claude <noreply@anthropic.com>
This branch has not been deployed
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.
Fixes #39747
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
Three Dependabot alerts on
main, all three cleared in the lockfile this PR carries:ui/package.jsonandui/apps/console/package.jsondeclared^20.11.2, a range whose every version is inside the alert; both now declare^21.0.4. The lockfile already resolved 21.0.4 through the existing floor override, so nothing installed moves. The override stays (see Acceptance notes); its comment is rewritten to say it no longer moves anything.exceljs@4.4.0, still exceljs's latest release. Two parent-scoped overrides inpnpm-workspace.yaml:exceljs>unzipper: ^0.12.3(resolves 0.12.5): unzipper 0.12 dropsfstream, and with itrimraf@2.7.1, the holder that calls glob 7's callback formglob(p, opts, cb), which glob 9 and up no longer export. Moving rimraf's glob instead would have broken rimraf.archiver-utils>glob: ^14.0.7: archiver-utils 2.1.0 and 3.0.4 call glob in one place,glob.sync(pattern, options)infile.expand; glob 14 still exportssync. The target dedupes onto the 14.0.7 copy the tree already holds.@microsoft/api-extractor>minimatchmoves^11.0.9to^11.0.10as the card asks, and the generic 11.x floor (minimatch@11.0.0 to 12.0.0 selector) moves^11.0.8to^11.0.10. The second lift is required: seven snapshots held 11.0.9 (eslint,@eslint/config-array,@oclif/core,@ts-morph/common, typescript-estree, glob 14 and api-extractor), so lifting only the api-extractor entry would have left 11.0.9 in the lockfile and the alert open.Lockfile delta: +5 / -20 packages. Gone:
glob@7.2.3,minimatch@11.0.9,minimatch@3.1.5,rimraf@2.7.1,fstream,unzipper@0.10.14and their private deps. New:unzipper@0.12.5,fs-extra@11.3.1(unzipper 0.12.5 pins it exactly),bluebird@3.7.2,node-int64@0.4.0,minimatch@11.0.10. OSV reads none of the new versions as affected.First read
pnpm-workspace.yaml, the new glob block under the api-extractor entry: the only place behaviour can move (a holder now runs on a different major of its dependency).pnpm-lock.yaml, theexceljs@4.4.0snapshot and the removedglob@7.2.3/rimraf@2.7.1entries.pnpm-workspace.yaml, the happy-dom comment block: the claim that the override moves nothing.Tests
All local readings at head
6666a997c23(objectstack-ai/objectstack), on a shared box.pnpm install --frozen-lockfile: exit 0, "Lockfile is up to date, resolution step is skipped".@objectstack/restwhole suite (the exceljs export and import paths:export-integration,export-xlsx-refusal-envelope,import-integration,import-business-timezone,import-date-cell-iso-real-day,xlsx-moduleand the rest): 452 files passed, 9386 tests passed, 351 skipped, exit 0.@object-ui/plugin-gridand@object-ui/plugin-reportexceljs-adjacent tests (9 files): 9 passed, 68 tests, exit 0.exceljs@4.4.0install with unzipper 0.10.14 and glob 7.2.3):stream.xlsx.WorkbookWriter(archiver path) writes 501 rows; read back throughstream.xlsx.WorkbookReader(the one unzipper call,Parse({ forceStream: true })) twice and throughWorkbook.xlsx.load: the same three reads hash to the same digest,545aa42c5a697f91, on unzipper 0.10.14 and on 0.12.5.file.expand(plain, negated,filter: isFile,dot) returns identical results on glob 7.2.3 and on glob 14.0.7, for both 2.1.0 and 3.0.4.Verification
Two-minute check:
grep -nE "^ (glob@7|minimatch@11.0.9|minimatch@3|rimraf@2|happy-dom@)" pnpm-lock.yamlprints onlyhappy-dom@21.0.4(twice: packages and snapshots).Gates derived by
dispatch-gates.mjs --commandsfor this diff: 43 families; 42 ran locally, all exit 0 except as noted; reconciled with--ran("43 derived famil(ies) accounted for").Gate readings
pnpm check:dual-build-cjs-loads: NOT MEASURED locally, PREREQUISITE NOT MET (exit 3): it reads every package's dist and this worktree built only the rest and client closures. CI's Lint and Repo Gates runs it.pnpm --dir ui exec vitest run scripts/: first run 1 failed of 174 files, a 15 s test timeout while a TypeScript program built under load (js-comment-mask-returns-interpolation-9424.test.ts); that file re-run alone: 8 of 8 passed, exit 0.pnpm check:override-consistency: exit 0; it reports the three parent-scoped entries as zero published-manifest consumers, which is its reading for every parent-scoped entry (the api-extractor one read the same before).Acceptance notes
skip-changeset. The overrides and the lockfile publish nothing. The one published manifest touched is@object-ui/console, and only itsdevDependencies(happy-dom is a test environment); itsfileslist (dist, plugin entry, README) builds the same bytes, and the installed happy-dom stays 21.0.4.happy-domfloor removed, the lockfile still resolves 21.0.4 and only the overrides header and vitest's optional-peer text change. It is kept as the floor a future 17.x to 21.0.3 declaration lands on, as it was before the ui import; the comment now says so.glob@7.2.3,archiver-utils@2.1.0/3.0.4andrimraf@2.7.1; its diff refreshes unrelated packages (inquirer, graphql, isbot and others) and addsminimatch@11.0.10beside 11.0.9. This PR supersedes it.src/ignore.tsin the TypeScript rewrite (glob 9 and up) pasting the root path into a pattern string. glob 7.2.3 resolvesrootwithpath.resolveand compiles ignore patterns from the caller's pattern alone, and no holder here passesignore. The GitHub range (up to 14.0.5) covers 7.x anyway, so the alert could only close by removing the copy.@objectstack/restfrom npm still resolves exceljs's ownarchiver ^5andunzipper ^0.10, so glob 7.2.3, until exceljs releases or the scaffold's npm overrides gain the same two entries.Generated by Claude Code