Repository navigation
build(deps): bump the npm-major-tooling group across 1 directory with 2 updates - #64
Closed
dependabot[bot] wants to merge 1 commit into
Closed
dependabot[bot] wants to merge 1 commit into
dependabot[bot] wants to merge 1 commit into
Conversation
… 2 updates Bumps the npm-major-tooling group with 2 updates in the / directory: [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) and [knip](https://github.com/webpro-nl/knip/tree/HEAD/packages/knip). Updates `eslint-plugin-unicorn` from 73.0.0 to 74.0.0 - [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases) - [Commits](sindresorhus/eslint-plugin-unicorn@v73.0.0...v74.0.0) Updates `knip` from 5.88.1 to 6.33.0 - [Release notes](https://github.com/webpro-nl/knip/releases) - [Commits](https://github.com/webpro-nl/knip/commits/[email protected]/packages/knip) --- updated-dependencies: - dependency-name: eslint-plugin-unicorn dependency-version: 74.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: npm-major-tooling - dependency-name: knip dependency-version: 6.33.0 dependency-type: direct:development update-type: version-update:semver-major dependency-group: npm-major-tooling ... Signed-off-by: dependabot[bot] <[email protected]>
dependabot
Bot
force-pushed
the
dependabot/npm_and_yarn/npm-major-tooling-78d7e9801f
branch
from
September 7, 2026 04:35
89f8eb0 to
0ade28c
Compare
Contributor
Author
|
Looks like these dependencies are updatable in another way, so this is no longer needed. |
dependabot
Bot
deleted the
dependabot/npm_and_yarn/npm-major-tooling-78d7e9801f
branch
September 7, 2026 04:53
stuffbucket
added a commit
that referenced
this pull request
Sep 7, 2026
## The problem this fixes **Every Dependabot PR arrives broken.** Measured on the six open right now: | PR | host-pinned entries | |---|---| | #61 | 1724 | | #64 | 1720 | | #65 | 1718 | | #66 | 1720 | | #71 | 1723 | | #72 | 1719 | All six fail CI at `verify:workspace`: ``` pnpm-lock.yaml: 1723 pinned of 1723 entr(ies), 1723 rotating shard-host URL(s) Repair with: node scripts/strip-lockfile-hosts.mjs ``` Dependabot cannot run the repair, so the only remedy was a human checking out each branch, stripping, and pushing. That is the recurring tax — bigger than the local-poisoning one #73 fixes. And it is unavoidable: there is **no pnpm configuration that stops the URLs being written**. Tested — shard host as the registry with an isolated cache and store still records them; `lockfileIncludeTarballUrl` only drops *reconstructible* URLs; `registries`/`serverType` explicitly excludes divergent hosts; `trustLockfile` keeps the URLs *and* drops the anti-tamper binding. ## What changes CI **normalises** the lockfile before installing — the order [SOURCES.md](../blob/main/SOURCES.md#lockfile-integrity) already requires, since pnpm's check runs before lifecycle scripts. Both installing jobs do it. A dependency PR is now built and tested rather than rejected before it gets that far. That removes the only signal, so the signal **moves** rather than disappearing. The step after the install compares the repaired tree against what was committed: - **pull request** → warning annotation naming the fix, PR proceeds - **main** (`push` only ever runs there) → error Main is the one that matters: a host recorded there sits quietly until the shard it names rotates away, and then breaks the next install for everyone. ## The trade, stated plainly **A host-pinned lockfile can now reach main, and main goes red once when it does.** That is the cost of letting dependency PRs through. It is a red *assertion* rather than a broken build — CI still repairs the tree before using it — and the fix is one command. The alternative (auto-commit the repair back to the PR branch) needs `pull_request_target` or a PAT; not taken here. ## Verification Against a genuinely committed host-pinned lockfile, not a simulated one — my first attempt injected into the working tree and stripped it back, which proved nothing: | state | event | result | |---|---|---| | 1721 hosts committed | `pull_request` | `::warning::` exit 0 | | 1721 hosts committed | `push` | `::error::` exit 1 | | clean | either | exit 0 | Also confirmed `pnpm install --frozen-lockfile` accepts a just-stripped lockfile, and that the repair is **lossless** — the stripped file is byte-identical to the clean committed one. ## Still not automated Humans. There is no root pre-commit hook (`maximal-core` has `simple-git-hooks` + `lint-staged`; the root has neither), so a local `pnpm install` still needs the strip run by hand. Adding two devDependencies to the root felt like the wrong thing to bundle into a CI fix — happy to do it separately if wanted.
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.
Bumps the npm-major-tooling group with 2 updates in the / directory: eslint-plugin-unicorn and knip.
Updates
eslint-plugin-unicornfrom 73.0.0 to 74.0.0Release notes
Sourced from eslint-plugin-unicorn's releases.
Commits
057061874.0.006dcad1Update dependencies (#3636)d7f5fa1no-array-fill-with-reference-type: Ignore canvas contexts (#3635)85d775ano-top-level-side-effects: Improve docs (#3634)0a24d74no-nonstandard-builtin-properties: Support stage 4 proposals (#3631)8eb0897prefer-default-parameters: Support logical assignment operators (#3629)043a523no-empty-file: Add YAML support (#3627)08e1dbbMeta: Replace npm-package-json-lint with eslint-package-json (#3626)e437f23expiring-todo-comments: Add YAML support (#3625)823bb1fconsistent-boolean-name: Support possibly async boolean callbacks (#3624)Updates
knipfrom 5.88.1 to 6.33.0Release notes
Sourced from knip's releases.
... (truncated)
Commits
fb25eceRelease [email protected]74954c2Report unused exports behind Vitest module promise mocks (resolve #1966)db13615Resolve nuxt layer sources from allextendsentry shapes9fe2b2bNormalize line endings in nuxt-config-string fixture2ac1fbcResolve named string-key access on namespace-qualified enums347967dResolveObject.*enum enumeration through import aliasesbcbac3aKeep element access precise for number-like enum member names505decdWrap up webpack entry resolution4a5d706fix(nuxt): resolve string extends configs (#1984)c1165b7Resolve oxlint/vite-plus import resolvers fromsettings(#1983)