馃敀 Harden dependency intake and monitoring - #16
Merged
Merged
Conversation
Apply a seven-day npm release-age gate, configure reviewed monthly Dependabot updates, add required dependency review and scheduled high-severity auditing, and document release authority and emergency exceptions.
State that browser and test environments must provide ResizeObserver because the package does not bundle a polyfill.
Align documented cooldowns with the seven-day npm gate, describe ResizeObserver fallback behavior accurately, and distinguish planned release controls from configured machinery while documenting emergency recovery.
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.
Summary
npm auditResizeObserverfallback behaviorGitHub settings
The repository already had Dependabot alerts, private vulnerability reporting, secret scanning, push protection, protected
main, least-privilege CI, and rebase-only merging. Dependabot security updates were enabled during this work. Repository auto-merge remains disabled.GitHub initially reported dependency review as unsupported despite alerts being active. Reapplying the documented vulnerability-alerts endpoint explicitly enabled/refreshed the dependency graph; the rerun passed, and
Dependency reviewis now a requiredmaincheck bound to the GitHub Actions app.Enabling alerts surfaced stale findings for deleted
examples/**/package-lock.jsonmanifests. None reference the current root or maintained fixture lockfiles; the next default-branch graph refresh will be checked before any alert is dismissed.npm age-gate evidence
Pinned npm 12.0.2 was tested against
release-it@21.0.1, published three days earlier:min-release-age=7failed as expectedmin-release-age-exclude[]=release-itresolution succeedednpm cisucceeded without the exclusionDependabot Core v0.379.0 reads npm's age setting for routine updates and explicitly overrides it for security updates: https://github.com/dependabot/dependabot-core/releases/tag/v0.379.0
Verification
npm ci: zero vulnerabilitiesnpm run security:audit: zero vulnerabilitiesnpm run format:checknpm run lintnpm run typechecknpm test: 63 testsnpm run test:types: all 12 compiler, React type, and resolution combinationsnpm run test:consumernpm run package:checknpm run test:browser:container: 23 testsThe first browser run had one intermittent Ctrl-click popup timeout with 22 other tests passing. An immediate unchanged rerun passed all 23; this branch does not modify browser code or fixtures.
The release guide explicitly describes pre-release target controls:
release-it, the permanent workflow, the GitHub environment, and npm trusted publishing remain assigned to the next release-tooling steps.