Skip to content

build(deps): bump eslint-plugin-unicorn from 73.0.0 to 74.0.0 in the npm-major-tooling group across 1 directory - #72

Merged
stuffbucket merged 1 commit into
mainfrom
dependabot/npm_and_yarn/npm-major-tooling-73eda01c5d
Sep 7, 2026
Merged

stuffbucket merged 1 commit into
mainfrom
dependabot/npm_and_yarn/npm-major-tooling-73eda01c5d

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 7, 2026 •

Copy link
Copy Markdown
Contributor

Bumps the npm-major-tooling group with 1 update in the / directory: eslint-plugin-unicorn.

Updates eslint-plugin-unicorn from 73.0.0 to 74.0.0

Release notes

Sourced from eslint-plugin-unicorn's releases.

v74.0.0

Improvements

  • Improve rule performance (#3618) 4ff2eab9
  • comment-content: Handle JSDoc syntax (#3616) bf7dca25
  • consistent-arrow-return-style: Fix indentation and in operator handling (#3621) 398606c5
  • consistent-boolean-name: Support possibly async boolean callbacks (#3624) 823bb1fb
  • custom-error-definition: Avoid requiring native ErrorOptions for custom bases (#3617) 96fd3710
  • custom-error-definition: Support TypeScript parameter properties (#3619) 872fd559
  • expiring-todo-comments: Add YAML support (#3625) e437f232
  • name-replacements: Allow ProcessEnv type (#3608) 2e19a940
  • no-array-fill-with-reference-type: Ignore canvas contexts (#3635) d7f5fa12
  • no-empty-file: Add YAML support (#3627) 043a5239
  • no-nonstandard-builtin-properties: Support stage 4 proposals (#3631) 0a24d748
  • no-unnecessary-splice: Fix false positives when the return value is used (#3611) cc58720b
  • no-useless-else: Fix false positive in mutable branch conditions (#3612) 725e535d
  • prefer-default-parameters: Support logical assignment operators (#3629) 8eb08970

sindresorhus/eslint-plugin-unicorn@v73.0.0...v74.0.0

Commits
  • 0570618 74.0.0
  • 06dcad1 Update dependencies (#3636)
  • d7f5fa1 no-array-fill-with-reference-type: Ignore canvas contexts (#3635)
  • 85d775a no-top-level-side-effects: Improve docs (#3634)
  • 0a24d74 no-nonstandard-builtin-properties: Support stage 4 proposals (#3631)
  • 8eb0897 prefer-default-parameters: Support logical assignment operators (#3629)
  • 043a523 no-empty-file: Add YAML support (#3627)
  • 08e1dbb Meta: Replace npm-package-json-lint with eslint-package-json (#3626)
  • e437f23 expiring-todo-comments: Add YAML support (#3625)
  • 823bb1f consistent-boolean-name: Support possibly async boolean callbacks (#3624)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Sep 7, 2026
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.
@stuffbucket

Copy link
Copy Markdown
Owner

@dependabot rebase

Bumps the npm-major-tooling group with 1 update in the / directory: [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn).


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)

---
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
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/npm-major-tooling-73eda01c5d branch from 6df6b31 to a1fade0 Compare September 7, 2026 08:22
@stuffbucket
stuffbucket merged commit be5f3d0 into main Sep 7, 2026
3 checks passed
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/npm-major-tooling-73eda01c5d branch September 7, 2026 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant