From 3e83377a2ec0ce08839af896def62a7d507cfbcd Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9my=20Lal?= Date: Mon, 8 Dec 2025 00:23:49 +0100 Subject: [PATCH] Use system paths for builtins Last-Update: 2025-03-15 Forwarded: not-needed Gbp-Pq: Topic build Gbp-Pq: Name system_builtins.patch --- test/parallel/test-inspector-network-fetch.js | 2 +- test/parallel/test-process-versions.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/parallel/test-inspector-network-fetch.js b/test/parallel/test-inspector-network-fetch.js index e2f816b51..95b0794f8 100644 --- a/test/parallel/test-inspector-network-fetch.js +++ b/test/parallel/test-inspector-network-fetch.js @@ -12,7 +12,7 @@ const https = require('node:https'); const inspector = require('node:inspector/promises'); // Disable certificate validation for the global fetch. -const undici = require('internal/deps/undici/undici'); +const undici = require('/usr/share/nodejs/undici'); undici.setGlobalDispatcher(new undici.EnvHttpProxyAgent({ connect: { rejectUnauthorized: false, diff --git a/test/parallel/test-process-versions.js b/test/parallel/test-process-versions.js index 82b085679..ffbafffd1 100644 --- a/test/parallel/test-process-versions.js +++ b/test/parallel/test-process-versions.js @@ -3,8 +3,8 @@ const common = require('../common'); const assert = require('assert'); // Import of pure js (non-shared) deps for comparison -const acorn = require('../../deps/acorn/acorn/package.json'); -const cjs_module_lexer = require('../../deps/cjs-module-lexer/src/package.json'); +const acorn = require('/usr/share/nodejs/acorn/package.json'); +const cjs_module_lexer = require('/usr/share/nodejs/cjs-module-lexer/package.json'); const expected_keys = [ 'ares', @@ -116,7 +116,7 @@ assert.strictEqual(process.config.variables.napi_build_version, process.versions.napi); if (hasUndici) { - const undici = require('../../deps/undici/src/package.json'); + const undici = require('/usr/share/nodejs/undici/package.json'); const expectedUndiciVersion = undici.version; assert.strictEqual(process.versions.undici, expectedUndiciVersion); } -- 2.30.2