deps: update fast-xml-parser and markdown-it#52541
Conversation
Greptile SummaryThis PR aims to apply a targeted security fix by bumping the However, the diff against the specified base branch reveals two blocking concerns:
Confidence Score: 2/5
Prompt To Fix All With AIThis is a comment left during a code review.
Path: pnpm-lock.yaml
Line: 13
Comment:
**Lockfile/package.json mismatch for `file-type`**
`pnpm-lock.yaml` still pins `file-type` to `21.3.4` in the overrides section (and in the importers specifier on line 102), but `package.json` now specifies `"file-type": "21.3.3"` in both `dependencies` (line 722) and `pnpm.overrides` (line 791). This mismatch will cause `pnpm install --frozen-lockfile` to fail in CI.
The same inconsistency exists for `tar`: the lockfile overrides section (line 19) still shows `tar: 7.5.12` while `package.json` specifies `"tar": "7.5.11"` in both `dependencies` (line 739) and `pnpm.overrides` (line 797).
Running `pnpm install` again after the `package.json` edits should regenerate the lockfile to bring it in sync.
How can I resolve this? If you propose a fix, please make it concise.
---
This is a comment left during a code review.
Path: package.json
Line: 1-6
Comment:
**PR scope far exceeds stated changes — possible stale base**
The PR description states the scope is limited to bumping `fast-xml-parser` (5.5.6 → 5.5.7) and `markdown-it` (already at 14.1.1 in the diff base, so effectively a no-op). However, the diff against `main` includes many additional unrelated changes:
- **Version regression**: `package.json` and `extensions/matrix/package.json` versions roll back from `2026.3.22` → `2026.3.14`/`2026.3.11`, which strongly suggests this branch was created from an older commit of `main`.
- **uuid major downgrade**: `^13.0.0` → `^11.1.0` (two major versions back).
- **matrix-js-sdk downgrade**: `41.2.0-rc.0` → `^40.1.0` (back to a previous major stable).
- **Removed plugin-SDK exports**: `./plugin-sdk/outbound-runtime`, `./plugin-sdk/param-readers`, `./plugin-sdk/channel-status`, `./plugin-sdk/slack-targets` are removed — a breaking API surface change.
- **Weakened CI checks**: `check:base-config-schema`, `check:bundled-plugin-metadata`, and `check:no-conflict-markers` are dropped from the `check` script.
- **Removed scripts**: `plugin-sdk:api:check`, `plugin-sdk:api:gen`, `config:schema:check`, `config:schema:gen`.
If this branch was created from an older commit and `main` has moved forward, a rebase/merge against current `main` is needed before merging to avoid inadvertently reverting several weeks of accepted changes.
How can I resolve this? If you propose a fix, please make it concise.Reviews (1): Last reviewed commit: "Merge branch 'main' into vincentkoc-code..." | Re-trigger Greptile |
| fast-xml-parser: 5.5.7 | ||
| request: npm:@cypress/[email protected] | ||
| request-promise: npm:@cypress/[email protected] | ||
| file-type: 21.3.4 |
There was a problem hiding this comment.
Lockfile/package.json mismatch for
file-type
pnpm-lock.yaml still pins file-type to 21.3.4 in the overrides section (and in the importers specifier on line 102), but package.json now specifies "file-type": "21.3.3" in both dependencies (line 722) and pnpm.overrides (line 791). This mismatch will cause pnpm install --frozen-lockfile to fail in CI.
The same inconsistency exists for tar: the lockfile overrides section (line 19) still shows tar: 7.5.12 while package.json specifies "tar": "7.5.11" in both dependencies (line 739) and pnpm.overrides (line 797).
Running pnpm install again after the package.json edits should regenerate the lockfile to bring it in sync.
Prompt To Fix With AI
This is a comment left during a code review.
Path: pnpm-lock.yaml
Line: 13
Comment:
**Lockfile/package.json mismatch for `file-type`**
`pnpm-lock.yaml` still pins `file-type` to `21.3.4` in the overrides section (and in the importers specifier on line 102), but `package.json` now specifies `"file-type": "21.3.3"` in both `dependencies` (line 722) and `pnpm.overrides` (line 791). This mismatch will cause `pnpm install --frozen-lockfile` to fail in CI.
The same inconsistency exists for `tar`: the lockfile overrides section (line 19) still shows `tar: 7.5.12` while `package.json` specifies `"tar": "7.5.11"` in both `dependencies` (line 739) and `pnpm.overrides` (line 797).
Running `pnpm install` again after the `package.json` edits should regenerate the lockfile to bring it in sync.
How can I resolve this? If you propose a fix, please make it concise.| { | ||
| "name": "openclaw", | ||
| "version": "2026.3.22", | ||
| "version": "2026.3.14", | ||
| "description": "Multi-channel AI gateway with extensible messaging integrations", | ||
| "keywords": [], | ||
| "homepage": "https://github.com/openclaw/openclaw#readme", |
There was a problem hiding this comment.
PR scope far exceeds stated changes — possible stale base
The PR description states the scope is limited to bumping fast-xml-parser (5.5.6 → 5.5.7) and markdown-it (already at 14.1.1 in the diff base, so effectively a no-op). However, the diff against main includes many additional unrelated changes:
- Version regression:
package.jsonandextensions/matrix/package.jsonversions roll back from2026.3.22→2026.3.14/2026.3.11, which strongly suggests this branch was created from an older commit ofmain. - uuid major downgrade:
^13.0.0→^11.1.0(two major versions back). - matrix-js-sdk downgrade:
41.2.0-rc.0→^40.1.0(back to a previous major stable). - Removed plugin-SDK exports:
./plugin-sdk/outbound-runtime,./plugin-sdk/param-readers,./plugin-sdk/channel-status,./plugin-sdk/slack-targetsare removed — a breaking API surface change. - Weakened CI checks:
check:base-config-schema,check:bundled-plugin-metadata, andcheck:no-conflict-markersare dropped from thecheckscript. - Removed scripts:
plugin-sdk:api:check,plugin-sdk:api:gen,config:schema:check,config:schema:gen.
If this branch was created from an older commit and main has moved forward, a rebase/merge against current main is needed before merging to avoid inadvertently reverting several weeks of accepted changes.
Prompt To Fix With AI
This is a comment left during a code review.
Path: package.json
Line: 1-6
Comment:
**PR scope far exceeds stated changes — possible stale base**
The PR description states the scope is limited to bumping `fast-xml-parser` (5.5.6 → 5.5.7) and `markdown-it` (already at 14.1.1 in the diff base, so effectively a no-op). However, the diff against `main` includes many additional unrelated changes:
- **Version regression**: `package.json` and `extensions/matrix/package.json` versions roll back from `2026.3.22` → `2026.3.14`/`2026.3.11`, which strongly suggests this branch was created from an older commit of `main`.
- **uuid major downgrade**: `^13.0.0` → `^11.1.0` (two major versions back).
- **matrix-js-sdk downgrade**: `41.2.0-rc.0` → `^40.1.0` (back to a previous major stable).
- **Removed plugin-SDK exports**: `./plugin-sdk/outbound-runtime`, `./plugin-sdk/param-readers`, `./plugin-sdk/channel-status`, `./plugin-sdk/slack-targets` are removed — a breaking API surface change.
- **Weakened CI checks**: `check:base-config-schema`, `check:bundled-plugin-metadata`, and `check:no-conflict-markers` are dropped from the `check` script.
- **Removed scripts**: `plugin-sdk:api:check`, `plugin-sdk:api:gen`, `config:schema:check`, `config:schema:gen`.
If this branch was created from an older commit and `main` has moved forward, a rebase/merge against current `main` is needed before merging to avoid inadvertently reverting several weeks of accepted changes.
How can I resolve this? If you propose a fix, please make it concise.There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a32140ca65
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
package.json
Outdated
| "request": "npm:@cypress/[email protected]", | ||
| "request-promise": "npm:@cypress/[email protected]", | ||
| "file-type": "21.3.4", | ||
| "file-type": "21.3.3", |
There was a problem hiding this comment.
Sync lockfile overrides with package overrides
This change updates pnpm.overrides in package.json (for example file-type and tar) without updating the corresponding overrides values in pnpm-lock.yaml, so the manifest and lockfile no longer describe the same dependency graph. In this state, fresh installs with the default CI behavior (pnpm install --frozen-lockfile) fail with ERR_PNPM_LOCKFILE_CONFIG_MISMATCH, which blocks clean CI and reproducible installs.
Useful? React with 👍 / 👎.
| "types": "./dist/plugin-sdk/interactive-runtime.d.ts", | ||
| "default": "./dist/plugin-sdk/interactive-runtime.js" | ||
| }, | ||
| "./plugin-sdk/outbound-runtime": { | ||
| "types": "./dist/plugin-sdk/outbound-runtime.d.ts", | ||
| "default": "./dist/plugin-sdk/outbound-runtime.js" | ||
| }, | ||
| "./plugin-sdk/infra-runtime": { |
There was a problem hiding this comment.
Restore removed plugin-sdk subpath exports
The exports map drops ./plugin-sdk/outbound-runtime, ./plugin-sdk/param-readers, ./plugin-sdk/channel-status, and ./plugin-sdk/slack-targets even though these entrypoints still exist and are imported by bundled extensions (for example Slack, Matrix, and Discord code paths). That causes ERR_PACKAGE_PATH_NOT_EXPORTED for consumers of published packages and also puts package.json out of sync with the plugin SDK entrypoint list used by pnpm plugin-sdk:check-exports.
Useful? React with 👍 / 👎.
package.json
Outdated
| "protocol:gen": "node --import tsx scripts/protocol-gen.ts", | ||
| "protocol:gen:swift": "node --import tsx scripts/protocol-gen-swift.ts", | ||
| "release:check": "pnpm config:docs:check && pnpm plugin-sdk:api:check && node scripts/stage-bundled-plugin-runtime-deps.mjs && node --import tsx scripts/release-check.ts", | ||
| "release:check": "pnpm config:docs:check && node scripts/stage-bundled-plugin-runtime-deps.mjs && node --import tsx scripts/release-check.ts", |
There was a problem hiding this comment.
Keep Plugin SDK API drift gate in release check
Removing pnpm plugin-sdk:api:check from release:check weakens the release gate by no longer verifying Plugin SDK API baseline drift before release packaging. This repo still has CI workflow steps dedicated to that drift check, so dropping it here creates inconsistent gating and increases the chance of shipping unreviewed SDK surface changes when release:check is run as the release preflight.
Useful? React with 👍 / 👎.
a32140c to
44a1a06
Compare
* style: format test files * deps: bump fast-xml-parser override
* style: format test files * deps: bump fast-xml-parser override
* style: format test files * deps: bump fast-xml-parser override
* style: format test files * deps: bump fast-xml-parser override (cherry picked from commit a61e5d1) # Conflicts: # extensions/discord/src/monitor/monitor.threading-utils.test.ts # extensions/mattermost/src/mattermost/target-resolution.test.ts # extensions/microsoft/speech-provider.test.ts # extensions/nextcloud-talk/src/room-info.test.ts # extensions/tavily/src/tavily-client.test.ts # package.json # pnpm-lock.yaml # src/tts/provider-registry.test.ts
* style: format test files * deps: bump fast-xml-parser override (cherry picked from commit a61e5d1) # Conflicts: # extensions/discord/src/monitor/monitor.threading-utils.test.ts # extensions/mattermost/src/mattermost/target-resolution.test.ts # extensions/nextcloud-talk/src/room-info.test.ts # extensions/tavily/src/tavily-client.test.ts # src/tts/provider-registry.test.ts
Summary
Describe the problem and fix in 2–5 bullets:
Change Type (select all)
Scope (select all touched areas)
Linked Issue/PR
User-visible / Behavior Changes
None.
Security Impact (required)
Repro + Verification
Environment
Steps
pnpm checkon commit.Expected
Actual
Evidence
Attach at least one:
Human Verification (required)
What you personally verified (not just CI), and how:
pnpm check(format/lint/tsgo + repo script checks).pnpm test, runtime behavior.Review Conversations
Compatibility / Migration
Failure Recovery (if this breaks)
Risks and Mitigations
List only real risks for this PR. Add/remove entries as needed. If none, write
None.AI Assistance
pnpm check; no tests)codex review --base origin/main(failed: local MCP client connection refused)