Skip to content

build(deps): bump the dependencies group with 5 updates - #7427

Merged
leaf-agent merged 2 commits into
mainfrom
dependabot/npm_and_yarn/dependencies-c2efd78b3a
Nov 27, 2026
Merged

leaf-agent merged 2 commits into
mainfrom
dependabot/npm_and_yarn/dependencies-c2efd78b3a

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps five of the dependencies group's seven updates and holds back two whose new versions break the build or the diff widget. With those two held, pnpm run build:browser and pnpm run check pass locally. The SnapDOM capture tests pass in a sandboxed sample and on the page, and so does the diff word-mark test.

Package From To
@openai/codex 0.171.0 0.172.0
@openai/codex-sdk 0.171.0 0.172.0
@cloudflare/workers-types 5.20261123.1 5.20261124.1
@zumer/snapdom 3.8.2 3.8.3
wrangler 4.167.0 4.168.0

Held back:

SnapDOM 3.8.3 now fetches with credentials: "same-origin", which the browser judges against the document's origin. A live sample's opaque-origin child therefore sends no credentials and can read Leaf's Access-Control-Allow-Origin: *. Leaf's self.origin adaptation in build/vendor.mjs did the same thing and no longer matches the source, so this removes it and rebuilds the SnapDOM bundle.

Bumps the dependencies group with 7 updates:

| Package | From | To |
| --- | --- | --- |
| [@openai/codex](https://github.com/openai/codex/tree/HEAD/codex-cli) | `0.171.0` | `0.172.0` |
| [@cloudflare/workers-types](https://github.com/cloudflare/workerd) | `5.20261123.1` | `5.20261124.1` |
| [@openai/codex-sdk](https://github.com/openai/codex/tree/HEAD/sdk/typescript) | `0.171.0` | `0.172.0` |
| @pierre/diffs | `1.6.1` | `1.7.1` |
| [@zumer/snapdom](https://github.com/zumerlab/snapdom) | `3.8.2` | `3.8.3` |
| [lit-html](https://github.com/lit/lit/tree/HEAD/packages/lit-html) | `3.3.0` | `3.3.3` |
| [wrangler](https://github.com/cloudflare/workers-sdk/tree/HEAD/packages/wrangler) | `4.167.0` | `4.168.0` |


Updates `@openai/codex` from 0.171.0 to 0.172.0

Updates `@cloudflare/workers-types` from 5.20261123.1 to 5.20261124.1
- [Release notes](https://github.com/cloudflare/workerd/releases)
- [Changelog](https://github.com/cloudflare/workerd/blob/main/RELEASE.md)
- [Commits](https://github.com/cloudflare/workerd/commits)

Updates `@openai/codex-sdk` from 0.171.0 to 0.172.0

Updates `@pierre/diffs` from 1.6.1 to 1.7.1

Updates `@zumer/snapdom` from 3.8.2 to 3.8.3
- [Release notes](https://github.com/zumerlab/snapdom/releases)
- [Changelog](https://github.com/zumerlab/snapdom/blob/main/CHANGELOG.md)
- [Commits](zumerlab/snapdom@v3.8.2...v3.8.3)

Updates `lit-html` from 3.3.0 to 3.3.3
- [Release notes](https://github.com/lit/lit/releases)
- [Changelog](https://github.com/lit/lit/blob/main/packages/lit-html/CHANGELOG.md)
- [Commits](https://github.com/lit/lit/commits/[email protected]/packages/lit-html)

Updates `wrangler` from 4.167.0 to 4.168.0
- [Release notes](https://github.com/cloudflare/workers-sdk/releases)
- [Commits](https://github.com/cloudflare/workers-sdk/commits/[email protected]/packages/wrangler)

---
updated-dependencies:
- dependency-name: "@openai/codex"
  dependency-version: 0.172.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: "@cloudflare/workers-types"
  dependency-version: 5.20261124.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: "@openai/codex-sdk"
  dependency-version: 0.172.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: "@pierre/diffs"
  dependency-version: 1.7.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: "@zumer/snapdom"
  dependency-version: 3.8.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: lit-html
  dependency-version: 3.3.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: wrangler
  dependency-version: 4.168.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 27, 2026

@leaf-agent leaf-agent left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@pierre/diffs 1.7.1 changes two signatures that packages/diff/widgets/lf-diff.js relies on, which is what turns build and test red (tsc --project browser/types/tsconfig.json, three errors):

  • parsePatchFiles(data, options?) now takes ParsePatchOptions ({ throwOnError?, disableLineMatching?, cacheKeyPrefix? }) instead of (data, cacheKeyPrefix, throwOnError). The two calls parsePatchFiles(…, undefined, true) (in the rename-metadata check and in parsedFiles) would, at runtime, drop the true silently and parse with throwOnError: false, so a malformed patch would log to the console and come back best-effort instead of being refused. The widget's refusals for invalid diffs (tests/diff_patch_cases.json) depend on that throw. Write them as parsePatchFiles(…, { throwOnError: true }).
  • ParseDiffOptions now extends @pierre/patches' CreatePatchOptions, which has no comparator. At runtime the default preferredDiffLib is still "jsdiff" and parseDiffFromFile forwards the remaining options to jsdiff's createTwoFilesPatch, so { comparator: () => false } still takes effect. Only its type is gone. The repair has to keep that file-type-change meaning (every line consumed and produced) while satisfying the type, for example by pinning preferredDiffLib: "jsdiff" and casting the options to jsdiff's own type, so a later default switch to @pierre/patches can't drop the comparator unnoticed.

The bundles aren't rebuilt yet, because the build stops at the type check.

@pierre/diffs 1.7.1 replaces DiffHunksRenderer's `unifiedContentAST` with
row specs in `columns`, and drops `comparator` and the positional
`throwOnError` from its parse options. lf-diff renders from that AST, so every
diff failed to draw. Porting lf-diff to the row model is its own change, so
this keeps 1.6.1.

lit-html 3.3.3 no longer matches the move and ref seams litModule adapts, and
the pin holds 3.3.0 until a release carries lit/lit#5299, which this bump
doesn't establish. Keep 3.3.0.

SnapDOM 3.8.3 now fetches with `credentials: "same-origin"`, which the browser
judges against the document's origin, so a sample's opaque-origin child sends
no credentials and reads Leaf's `Access-Control-Allow-Origin: *`. Leaf's
`self.origin` adaptation did the same and no longer matches the source, so it
goes.
@leaf-agent leaf-agent changed the title build(deps): bump the dependencies group with 7 updates build(deps): bump the dependencies group with 5 updates Nov 27, 2026
@leaf-agent
leaf-agent merged commit 3286aa4 into main Nov 27, 2026
9 checks passed
@leaf-agent
leaf-agent deleted the dependabot/npm_and_yarn/dependencies-c2efd78b3a branch November 27, 2026 19:45
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