Skip to content

chore(deps): bump @types/n3 from 1.26.1 to 1.26.6 in the production-dependencies group across 1 directory - #590

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/production-dependencies-f1a8e9821a
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/production-dependencies-f1a8e9821a

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

Bumps the production-dependencies group with 1 update in the / directory: @types/n3.

Updates @types/n3 from 1.26.1 to 1.26.6

Commits

@dependabot
dependabot Bot requested a review from davidwkeith as a code owner November 21, 2026 23:52
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 21, 2026

@davidwkeith davidwkeith left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Review: changes requested

Blocking: @dwk/rdf no longer typechecks or builds. @types/n3 1.26.6 changes the Writer#end callback's result to string | undefined, which breaks src/turtle.ts:53. The inline comment has the error and a one-line fix. I reproduced it locally: typecheck and build fail on this head and pass on main. Tests still pass (68/68), so only the typecheck and build CI gates will catch it.

CONTRIBUTING.md / PR-convention gaps (Dependabot generated this PR, so whoever pushes the fix should handle these too):

  1. No changeset. @types/n3 is a runtime dependency of the publishable @dwk/rdf, and with the turtle.ts fix above this becomes a source change as well. CONTRIBUTING §5 asks for a changeset on user-visible changes to a publishable package. Add a patch changeset for @dwk/rdf (pnpm changeset).
  2. PR title scope. CONTRIBUTING §6 says the scope is the package name minus @dwk/. deps is not a package. The repo squash-merges, so the title is what lands in git log. Suggested title: chore(rdf): bump @types/n3 from 1.26.1 to 1.26.6. Earlier Dependabot merges such as #567 kept chore(deps), so if that's an accepted exception, ignore this.
  3. PR body doesn't use the template. .github/PULL_REQUEST_TEMPLATE.md requires the headings Summary, Packages affected (@dwk/rdf) and Checklist. The Dependabot body has none of them. Please add them, leaving checklist items that don't apply unchecked with a one-line reason.

Non-blocking: unrelated transitive lockfile churn (rolldown, postcss, a @napi-rs/wasm-runtime downgrade). Details in the file comment.


Generated by Claude Code

Comment thread packages/rdf/package.json
},
"dependencies": {
"@types/n3": "1.26.1",
"@types/n3": "1.26.6",

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Blocking: this bump breaks @dwk/rdf typecheck and build. In @types/n3 1.26.6, the Writer#end callback types result as string | undefined, so packages/rdf/src/turtle.ts:53 stops compiling:

src/turtle.ts(53,68): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string | PromiseLike<string>'.

I reproduced it locally: pnpm --filter @dwk/rdf typecheck and build both fail on this head, and both pass on main. The 68 rdf tests still pass, so only the typecheck and build CI gates catch this.

Suggested fix in turtle.ts (n3 always passes a string on success, so the fallback never changes behaviour):

writer.end((error, result) =>
  error ? reject(error) : resolve(result ?? ""),
);

Because @types/n3 is a runtime dependency here, consumers who install @dwk/rdf get the new types too. The fix belongs in the same PR.


Generated by Claude Code

Comment thread pnpm-lock.yaml

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Non-blocking: the lockfile changes more than the one package being bumped. It also moves transitive packages that have nothing to do with @types/n3: rolldown 1.1.5 → 1.1.8 (plus all of its platform bindings), @rolldown/pluginutils 1.0.1 → 1.1.1, postcss 8.5.31 → 8.5.33, source-map-js 1.2.2 → 1.2.3, tslib 2.8.1 → 2.9.1, and @napi-rs/wasm-runtime goes down 1.2.5 → 1.1.6 (pulled in by rolldown 1.1.8's wasm binding). pnpm install --frozen-lockfile succeeds and these are build-tool deps, so this probably doesn't matter. Still, check that the build CI job is green before merging, since a toolchain change is mixed into what reads as a types-only bump.


Generated by Claude Code

Bumps the production-dependencies group with 1 update in the / directory: [@types/n3](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/n3).


Updates `@types/n3` from 1.26.1 to 1.26.6
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/n3)

---
updated-dependencies:
- dependency-name: "@types/n3"
  dependency-version: 1.26.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: production-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/production-dependencies-f1a8e9821a branch from aa4724e to 4b09ef5 Compare November 28, 2026 23:53

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

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