Skip to content

n8n bundling uses patched esbuild and package-manager versions - #755

Merged
zlareb1 merged 3 commits into
mainfrom
dependabot/npm_and_yarn/integrations/n8n/esbuild-0.28.1
Nov 18, 2026
Merged

zlareb1 merged 3 commits into
mainfrom
dependabot/npm_and_yarn/integrations/n8n/esbuild-0.28.1

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Related: #855
Related: #856

Changelog category (leave one):

  • Build/Testing/Packaging Improvement

Changelog entry (one or two sentences a user of Loom can read without the diff; the release pull request collects these into the release notes):

The n8n package builds use patched esbuild and package-manager versions.

Why

esbuild 0.28.1 fixes development-server path traversal on Windows. The n8n package resolves that version and uses pnpm 10.34.9, above the fixed 10.34.5 release for tarball path traversal and store-linker path traversal.

Scope and risk

Only the n8n manifest and generated lockfile differ from the incorporated main snapshot. The original dependency update remains in the branch history; normal forward merges incorporate the main snapshot with the shared request-work fixture repair and format the lockfile for repository checks.

The lockfile replaces the esbuild core and its 26 platform-package versions and integrity records. Its other dependency graph is unchanged, apart from a normalized peer-instance key that resolves to the same dependency. The package-manager pin agrees with the related security updates and avoids selecting the vulnerable older manager. The n8n integration continues targeting Node.js 24.

This update validates bundling against the patched package; it does not claim a local reproduction of the upstream Windows development-server issue. Other dependency and workflow fixes remain in the linked pull requests.

Compatibility, rollout and rollback

  • Wire: no operation, field or default changes.
  • Operator steps: none. Frozen installs select the updated dependency and package-manager versions.
  • Rollback: reverting the manifest and lockfile restores the prior build dependencies; no stored data changes.

Tests

  • A Node.js 24 frozen install with pnpm 10.34.9 succeeds and the n8n build passes against esbuild 0.28.1.
  • Parsed lockfile comparison verifies the esbuild version changes and equivalent peer-key normalization without unrelated dependency updates.
  • Prettier checks the lockfile, Biome checks the manifest, and git diff --check passes.
  • The focused results cover the unchanged authored n8n files. The forward composition also includes the merged shared request-work test-isolation repair.
  • The earlier head failed lockfile formatting and an unrelated plugin-platform job. Those failures remain recorded; all checks must pass on this updated head. No unrelated local test suite or service is run.

AI assistance in the code (leave one; writing this description with AI is fine):

  • AI-generated: the dependency bot authored the esbuild update; Codex incorporated current main, formatted the lockfile, aligned the package-manager pin and checked the resulting dependency graph and build.

  • I can explain every authored line and its relation to the incorporated source.

Checklist

  • Full checks pass in CI on this exact head.
  • The lockfile retains generated integrity records and is formatted for repository checks.
  • No migrations, wire fields, plugin behavior or frontend source change.
  • Repository text follows the public-copy rules.
  • The human follow-up commit is signed off.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 17, 2026
Preserve the original dependency update, format its generated lockfile and select the patched package manager for frozen installs.

Signed-off-by: zlareb1 <[email protected]>
@zlareb1 zlareb1 changed the title Bump esbuild from 0.27.4 to 0.28.1 in /integrations/n8n n8n bundling uses patched esbuild and package-manager versions Nov 18, 2026
Preserve the dependency update and formatted lock while incorporating the published request-work isolation fix from main.

Signed-off-by: zlareb1 <[email protected]>
@zlareb1 zlareb1 self-assigned this Nov 18, 2026

@zlareb1 zlareb1 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

No findings. The manifest and lockfile agree on esbuild 0.28.1; the remaining dependency change preserves the same peer resolution. All 52 checks pass, and every matching parent workflow has completed successfully. Changes merged into main since this run do not touch the package or its build workflow.

@zlareb1
zlareb1 merged commit 2f3781b into main Nov 18, 2026
52 checks passed
@zlareb1 zlareb1 mentioned this pull request Nov 18, 2026
6 tasks done
zlareb1 added a commit that referenced this pull request Nov 18, 2026
Related: #755, #934

### Changelog category (leave one):

- Build/Testing/Packaging Improvement

### Changelog entry (one or two sentences a user of Loom can read without the diff; the release pull request collects these into the release notes):

The n8n package builds resolve patched glob matching, query serialization and UUID dependencies. A pinned assembler backport prevents prototype injection while retaining the toolchain's CommonJS API.

### Why

The n8n dependency graph includes vulnerable minimatch, qs and uuid versions. The package-manager pin uses 10.34.9, above the fixed 10.34.5 release for [pnpm tarball path traversal](GHSA-vq4v-j7r6-jq4m) and [pnpm store-linker path traversal](GHSA-c59q-g84q-2gj5). Scoped package-manager overrides select the patched versions while retaining the existing direct toolchain and application dependencies.

### Scope and risk

The n8n manifest, generated lockfile, dependency patch, patch provenance and regression tests change. The overrides select minimatch 11.0.8 for vulnerable versions from 7 through 11.0.0, qs 6.16.1 for the affected 6.x range and uuid 11.1.1 for uuid 10.0.0. They address [minimatch preprocessing amplification](GHSA-g3hv-75wg-m249), [qs comma-array serialization](GHSA-6pq8-jhm2-2vcw) and [UUID buffer bounds](GHSA-w5hq-g745-h8pq).

The minimatch and uuid selections cross a major version because their callers pin an affected major. Both selected versions retain CommonJS and ESM entry points. The n8n package requires Node.js 24; minimatch 11 supports that runtime. The matching APIs used by the toolchain and the no-options UUID generation APIs used by the consumers remain available. The recorded build and lint checks exercise the security overrides; CI checks their composition with the merged dependency update. Existing minimatch 3 remains outside the override.

The stream-json 1.9.1 assembler receives a minimal backport of [the upstream prototype-injection fix](uhop/stream-json@2f2d35b). Both ordinary and reviver writes define `__proto__` as an own data property. The package manager binds the patch SHA256 in the frozen lockfile. This is a local mitigation on 1.9.1, not an upstream fixed-version claim. Upstream 3.6 changes the assembler API and cannot replace the current toolchain import directly.

The manifest and lockfile retain the esbuild update merged by the linked pull request. This change does not claim to resolve other dependency advisories.

### Compatibility, rollout and rollback

- Wire: no operation, field or default changes.
- Operator steps: none. Frozen installs use the regenerated lockfile and its scoped overrides.
- Rollback: reverting the manifest and lockfile restores the prior dependency graph; no stored data changes.

### Tests

The [hosted n8n package job on this head](https://github.com/ClickHouse/loom/actions/runs/44414855365/job/135192339222) passes frozen installation with pnpm 10.34.9, build, lint, both dependency-security regressions, package creation and loading without development dependencies: 11 passes and one existing live-test skip.

- The same assembler regression fails against the original unpatched dependency while its ordinary-value control passes. The patch and both tests remain unchanged.
- Earlier dependency API smoke checks pass for UUID generation and bounds rejection, query serialization and glob matching. No blanket dependency-audit clearance is claimed.
- Whitespace and source-union checks pass. All 54 checks are terminal: 53 pass and the release-only publish check is skipped. All five applicable workflows pass, including full unit, integration, Postgres-authority, coverage and offline benchmark checks.
- No live n8n deployment is qualified. No broad local suite, service or dependency installation was started for this composition.

### AI assistance in the code (leave one; writing this description with AI is fine):

- AI-generated: Codex traced the dependency consumers, checked upstream advisories, backported the assembler fix, wrote its regression controls and checked the dependency API controls.

- [x] I can explain every line of this diff and how it interacts with the rest of Loom.

### Checklist

- [x] Full checks pass in CI on this head.
- [x] The package manager regenerates the lockfile; it is formatted for repository checks.
- [x] No migrations, wire fields, plugin behavior or frontend source change.
- [x] Repository text follows the public-copy rules.
- [x] Commits are signed off.
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