Skip to content

chore(deps-dev): bump dev dependencies and clear oxlint 1.94 - #16

Draft
danfry1 wants to merge 1 commit into
mainfrom
cursor/oxlint-1-94-dev-deps-8d91
Draft

danfry1 wants to merge 1 commit into
mainfrom
cursor/oxlint-1-94-dev-deps-8d91

Conversation

@danfry1

@danfry1 danfry1 commented Dec 2, 2026

Copy link
Copy Markdown
Owner

Supersedes #15.

Dependabot's dev-dependencies group bump in #15 updates oxlint to 1.94, which fails lint on two existing call sites. This branch applies that same bump and fixes both findings without disabling rules or changing runtime behaviour.

  • src/canonicalize.ts: let out = undefined trips unicorn/no-useless-undefined, and dropping the initializer trips eslint/init-declarations. Root serialization now goes through serializeRoot, which still returns string | undefined and still maps a call-stack RangeError to depth_exceeded.
  • src/hash.ts: the base64url padding strip /=+$/ is written as /[=]+$/, matching the same trailing = characters.

No changeset: canonicalization and hash output are unchanged.

Test plan

  • bun run fmt and bun run fmt:check
  • bun run lint
  • bun run typecheck
  • bun run build
  • bun run test (141 passed)
  • bun run test:coverage
Open in Web Open in Cursor 

Apply the same dev-dependency group bump as #15. oxlint 1.94 flags a
redundant undefined initializer and a regex that looks like /=; both
are rewritten without changing canonicalization or hashing.

Co-authored-by: Daniel Fry <danfry1@users.noreply.github.com>

This branch has not been deployed

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

2 participants