Skip to content

ci(dependabot): ignore ESM-only majors of p-cancelable and p-retry - #314

Merged
Kikobeats merged 1 commit into
masterfrom
Kikobeats/dependabot-ignore-esm
Nov 6, 2026
Merged

Kikobeats merged 1 commit into
masterfrom
Kikobeats/dependabot-ignore-esm

Conversation

@Kikobeats

@Kikobeats Kikobeats commented Nov 6, 2026 •

Copy link
Copy Markdown
Member

What changed

.github/dependabot.yml: the npm updater now ignores major updates for p-cancelable and p-retry.

Why

Both packages are ESM-only from their next major (p-cancelable 3+, p-retry 5+), and html-get is CommonJS. The @dependabot ignore this dependency comments on #312 and #313 only live in Dependabot's own state. This puts the rule in the repo, where it can be reviewed and changed.

Only majors are ignored, so patch and minor updates within p-cancelable@2 and p-retry@4 still come through.

How it was tested

  • Parsed with yaml@2.5.1 (valid + --json): the ignore list sits under the npm entry, and the github-actions entry is unchanged.
  • Uses the documented ignore[].dependency-name + update-types schema, the same shape the github-actions entry already uses.

Outcome

Dependabot stops opening breaking ESM major bumps for these two packages (like #312 and #313).

🤖 Generated with Claude Code


Note

Low Risk
Only Dependabot configuration changes; no runtime code paths are affected. Risk is low aside from possibly missing future major security fixes for those packages unless handled manually.

Overview
Dependabot is now configured to skip semver-major updates for p-cancelable and p-retry under the npm updater, while still allowing minor/patch bumps within the current major lines.

This codifies the ignore rules in .github/dependabot.yml (rather than only in Dependabot’s own state) to avoid ESM-only majors that are incompatible with the project’s CommonJS setup. The github-actions updater block is unchanged.

Reviewed by Cursor Bugbot for commit d6b2229. Bugbot is set up for automated code reviews on this repo. Configure here.

p-cancelable >=3 and p-retry >=5 are pure ESM, and this package is
CommonJS. Ignoring their major updates in config keeps the rule in the
repo (not only in Dependabot's per-PR state, as with #312 and #313),
while patch and minor updates within the current majors still arrive.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@Kikobeats
Kikobeats merged commit c9a94b8 into master Nov 6, 2026
3 of 4 checks passed
@Kikobeats
Kikobeats deleted the Kikobeats/dependabot-ignore-esm branch November 6, 2026 09:30

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

html-get

Details
Benchmark suite Current: d6b2229 Previous: db53aa2 Ratio
html rewriteUrls off 124.8 ms (119.7-130.6) 126.1 ms (116.8-135.7) 0.99
html rewriteUrls on 189.3 ms (184.8-194.1) 192.4 ms (187.8-196.9) 0.98
pdf extract 76.8 ms (73.7-86.1) 76.6 ms (73.8-83.6) 1.00
cold require 185.5 ms (180.1-201.2) 190.7 ms (186.8-201.8) 0.97

This comment was automatically generated by workflow using github-action-benchmark.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant