Skip to content

buffer: add Buffer.fromHex() and Buffer.fromBase64() #2092

buffer: add Buffer.fromHex() and Buffer.fromBase64()

buffer: add Buffer.fromHex() and Buffer.fromBase64() #2092

Triggered via pull request January 6, 2026 16:30
Status Failure
Total duration 3h 20m 32s
Artifacts 1

test-shared.yml

on: pull_request
Build slim tarball
1m 38s
Build slim tarball
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

8 errors
aarch64-linux: with shared libraries
Process completed with exit code 2.
aarch64-linux: with shared libraries: test/parallel/test-buffer-fromhex-frombase64.js#L6
--- stderr --- node:internal/assert/utils:146 throw error; ^ AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected + Uint8Array(4) [ - Buffer(4) [Uint8Array] [ 240, 13, 202, 254 ] at Object.<anonymous> (/home/runner/work/_temp/node-v26.0.0-nightly2026-01-063b1081bacc-slim/test/parallel/test-buffer-fromhex-frombase64.js:6:8) at Module._compile (node:internal/modules/cjs/loader:1803:14) at Object..js (node:internal/modules/cjs/loader:1934:10) at Module.load (node:internal/modules/cjs/loader:1524:32) at Module._load (node:internal/modules/cjs/loader:1326:12) at TracingChannel.traceSync (node:diagnostics_channel:328:14) at wrapModuleLoad (node:internal/modules/cjs/loader:245:24) at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5) at node:internal/main/run_main_module:33:47 { generatedMessage: true, code: 'ERR_ASSERTION', actual: Uint8Array(4) [ 240, 13, 202, 254 ], expected: Buffer(4) [Uint8Array] [ 240, 13, 202, 254 ], operator: 'deepStrictEqual', diff: 'simple' } Node.js v26.0.0-pre Command: out/Release/node /home/runner/work/_temp/node-v26.0.0-nightly2026-01-063b1081bacc-slim/test/parallel/test-buffer-fromhex-frombase64.js
x86_64-linux: with shared libraries
Process completed with exit code 2.
x86_64-linux: with shared libraries: test/parallel/test-buffer-fromhex-frombase64.js#L6
--- stderr --- node:internal/assert/utils:146 throw error; ^ AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected + Uint8Array(4) [ - Buffer(4) [Uint8Array] [ 240, 13, 202, 254 ] at Object.<anonymous> (/home/runner/work/_temp/node-v26.0.0-nightly2026-01-063b1081bacc-slim/test/parallel/test-buffer-fromhex-frombase64.js:6:8) at Module._compile (node:internal/modules/cjs/loader:1803:14) at Object..js (node:internal/modules/cjs/loader:1934:10) at Module.load (node:internal/modules/cjs/loader:1524:32) at Module._load (node:internal/modules/cjs/loader:1326:12) at TracingChannel.traceSync (node:diagnostics_channel:328:14) at wrapModuleLoad (node:internal/modules/cjs/loader:245:24) at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5) at node:internal/main/run_main_module:33:47 { generatedMessage: true, code: 'ERR_ASSERTION', actual: Uint8Array(4) [ 240, 13, 202, 254 ], expected: Buffer(4) [Uint8Array] [ 240, 13, 202, 254 ], operator: 'deepStrictEqual', diff: 'simple' } Node.js v26.0.0-pre Command: out/Release/node /home/runner/work/_temp/node-v26.0.0-nightly2026-01-063b1081bacc-slim/test/parallel/test-buffer-fromhex-frombase64.js
aarch64-darwin: with shared libraries
Process completed with exit code 2.
aarch64-darwin: with shared libraries: test/parallel/test-buffer-fromhex-frombase64.js#L6
--- stderr --- node:internal/assert/utils:146 throw error; ^ AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected + Uint8Array(4) [ - Buffer(4) [Uint8Array] [ 240, 13, 202, 254 ] at Object.<anonymous> (/Users/runner/work/_temp/node-v26.0.0-nightly2026-01-063b1081bacc-slim/test/parallel/test-buffer-fromhex-frombase64.js:6:8) at Module._compile (node:internal/modules/cjs/loader:1803:14) at Object..js (node:internal/modules/cjs/loader:1934:10) at Module.load (node:internal/modules/cjs/loader:1524:32) at Module._load (node:internal/modules/cjs/loader:1326:12) at TracingChannel.traceSync (node:diagnostics_channel:328:14) at wrapModuleLoad (node:internal/modules/cjs/loader:245:24) at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5) at node:internal/main/run_main_module:33:47 { generatedMessage: true, code: 'ERR_ASSERTION', actual: Uint8Array(4) [ 240, 13, 202, 254 ], expected: Buffer(4) [Uint8Array] [ 240, 13, 202, 254 ], operator: 'deepStrictEqual', diff: 'simple' } Node.js v26.0.0-pre Command: out/Release/node /Users/runner/work/_temp/node-v26.0.0-nightly2026-01-063b1081bacc-slim/test/parallel/test-buffer-fromhex-frombase64.js
x86_64-darwin: with shared libraries
Process completed with exit code 2.
x86_64-darwin: with shared libraries: test/parallel/test-buffer-fromhex-frombase64.js#L6
--- stderr --- node:internal/assert/utils:146 throw error; ^ AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected + Uint8Array(4) [ - Buffer(4) [Uint8Array] [ 240, 13, 202, 254 ] at Object.<anonymous> (/Users/runner/work/_temp/node-v26.0.0-nightly2026-01-063b1081bacc-slim/test/parallel/test-buffer-fromhex-frombase64.js:6:8) at Module._compile (node:internal/modules/cjs/loader:1803:14) at Object..js (node:internal/modules/cjs/loader:1934:10) at Module.load (node:internal/modules/cjs/loader:1524:32) at Module._load (node:internal/modules/cjs/loader:1326:12) at TracingChannel.traceSync (node:diagnostics_channel:328:14) at wrapModuleLoad (node:internal/modules/cjs/loader:245:24) at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5) at node:internal/main/run_main_module:33:47 { generatedMessage: true, code: 'ERR_ASSERTION', actual: Uint8Array(4) [ 240, 13, 202, 254 ], expected: Buffer(4) [Uint8Array] [ 240, 13, 202, 254 ], operator: 'deepStrictEqual', diff: 'simple' } Node.js v26.0.0-pre Command: out/Release/node /Users/runner/work/_temp/node-v26.0.0-nightly2026-01-063b1081bacc-slim/test/parallel/test-buffer-fromhex-frombase64.js

Artifacts

Produced during runtime
Name Size Digest
tarballs
47.9 MB
sha256:61c1288dd58129bc6f048b2026504d296ca857ca9ea6b666027362c71816b519