chore: Prepare for Node 26 upgrade (#34340)

This commit is contained in:
Iván Ovejero
2026-07-17 08:32:34 +02:00
committed by GitHub
parent 77880a3106
commit d1475ada6e
9 changed files with 16 additions and 14 deletions
+1
View File
@@ -201,6 +201,7 @@
"undici@5": "catalog:undici-v6",
"undici@6": "catalog:undici-v6",
"undici@7": "catalog:undici-v7",
"node-gyp>undici": "catalog:undici-v7",
"@babel/traverse": "^7.23.2"
},
"patchedDependencies": {
@@ -1,7 +1,7 @@
import { binaryJudgeResultSchema } from './schemas';
import { runWithOptionalLimiter, withTimeout } from '../../../harness/evaluation-helpers';
import { createEvaluatorChain, invokeEvaluatorChain } from '../../llm-judge/evaluators/base';
import type { BinaryCheck, BinaryCheckContext, SimpleWorkflow } from '../types';
import { binaryJudgeResultSchema } from './schemas';
const REASONING_FIRST_SUFFIX = `
@@ -1,10 +1,10 @@
import WebSocketMock from 'vitest-websocket-mock';
import { CRDTEngine, createCRDTProvider } from '../index';
import { createSyncProvider } from '../sync/base-sync-provider';
import type { CRDTDoc, CRDTMap } from '../types';
import { MessagePortTransport } from './message-port';
import { WebSocketTransport } from './websocket';
import { createSyncProvider } from '../sync/base-sync-provider';
import type { CRDTDoc, CRDTMap } from '../types';
/**
* Test: Does onUpdate fire for applied remote updates?
@@ -3,11 +3,6 @@ import os from 'node:os';
import path from 'node:path';
import picocolors from 'picocolors';
import { createSymlink, ensureFolder } from '../../utils/filesystem';
import { detectPackageManager } from '../../utils/package-manager';
import { getCommandHeader, onCancel } from '../../utils/prompts';
import { validateNodeName } from '../../utils/validation';
import { copyStaticFiles } from '../build';
import {
buildHelpText,
type CommandConfig,
@@ -16,6 +11,11 @@ import {
readPackageName,
runCommands,
} from './utils';
import { createSymlink, ensureFolder } from '../../utils/filesystem';
import { detectPackageManager } from '../../utils/package-manager';
import { getCommandHeader, onCancel } from '../../utils/prompts';
import { validateNodeName } from '../../utils/validation';
import { copyStaticFiles } from '../build';
export default class Dev extends Command {
static override description = 'Run n8n with the node and rebuild on changes for live preview';
@@ -2,9 +2,9 @@ import type { IExecuteData, IRunData, EngineRequest, INodeExecutionData } from '
import { mock } from 'vitest-mock-extended';
import { DirectedGraph } from '../partial-execution-utils';
import { nodeTypes, types } from './mock-node-types';
import { createNodeData } from '../partial-execution-utils/__tests__/helpers';
import { handleRequest } from '../requests-response';
import { nodeTypes, types } from './mock-node-types';
describe('handleRequests', () => {
test('throws if an action mentions a node that does not exist in the workflow', () => {
@@ -25,8 +25,6 @@ vi.mock('node:fs', async (importActual) => ({
}));
import { DirectedGraph } from '../partial-execution-utils';
import { createNodeData, toITaskData } from '../partial-execution-utils/__tests__/helpers';
import { WorkflowExecute } from '../workflow-execute';
import {
types,
nodeTypes,
@@ -34,6 +32,8 @@ import {
nodeTypeArguments,
modifyNode,
} from './mock-node-types';
import { createNodeData, toITaskData } from '../partial-execution-utils/__tests__/helpers';
import { WorkflowExecute } from '../workflow-execute';
describe('processRunExecutionData', () => {
const runHook = vi.fn().mockResolvedValue(undefined);
@@ -8,10 +8,10 @@ import {
} from 'reka-ui';
import { computed, ref, useAttrs, watch } from 'vue';
import type { N8nTooltipProps } from './Tooltip.types';
import { useInjectTooltipAppendTo } from '../../composables/useTooltipAppendTo';
import { n8nHtml as vN8nHtml } from '../../directives';
import N8nButton from '../N8nButton';
import type { N8nTooltipProps } from './Tooltip.types';
defineOptions({
name: 'N8nTooltip',
+2 -1
View File
@@ -776,6 +776,7 @@ overrides:
undici@5: ^6.27.0
undici@6: ^6.27.0
undici@7: ^7.28.0
node-gyp>undici: ^7.28.0
'@babel/traverse': ^7.23.2
patchedDependencies:
@@ -36940,7 +36941,7 @@ snapshots:
semver: 7.7.3
tar: 7.5.17
tinyglobby: 0.2.15
undici: 6.27.0
undici: 7.28.0
which: 6.0.1
node-gyp@8.4.1:
+1 -1
View File
@@ -94,7 +94,7 @@ catalog:
'@types/lodash-es': ^4.17.12
'@types/luxon': 3.2.0
'@types/markdown-it': ^13.0.2
'@types/markdown-it-link-attributes': "^3.0.5"
'@types/markdown-it-link-attributes': '^3.0.5'
'@types/mime-types': 3.0.1
'@types/ms': 2.1.0
'@types/node': 24.10.1