deno/ext/node/polyfills/internal
Divy Srivastava ba9c80eda8
Some checks are pending
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
ci / build wasm32 (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
fix(ext/node): fix function error message in invalidArgTypeHelper (#29526)
Fixes `parallel/test-buffer-from.js` in daily Node compat tests runs.
The test was already enabled in CI but that used a different helper than
the daily Node compat tests runners - updated now.

```
divy@divy-macbook deno % deno -A ./tools/node_compat_tests.js -f parallel/test-buffer-from
Found 0 sequential tests and 1 parallel tests
Running 1 tests
   1 FAIL parallel/test-buffer-from.js
    FAIL parallel/test-buffer-from.js
    exit code: 1
    error: Uncaught (in promise) AssertionError: Values are not equal:


    [Diff] Actual / Expected


-   The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received type function ([Function (anonymous)])
+   The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received function


    at new AssertionError (ext:deno_node/assertion_error.ts:412:11)
    at toNode (node:assert:48:15)
    at deepStrictEqual (node:assert:267:3)
    at validateThrownError (node:assert:622:9)
    at throws (node:assert:104:9)
    at file:///Users/divy/gh/deno/tests/node_compat/runner/suite/test/parallel/test-buffer-from.js:59:3
    at Array.forEach (<anonymous>)
    at Object.<anonymous> (file:///Users/divy/gh/deno/tests/node_compat/runner/suite/test/parallel/test-buffer-from.js:51:3)
    at Object.<anonymous> (file:///Users/divy/gh/deno/tests/node_compat/runner/suite/test/parallel/test-buffer-from.js:146:4)
    at Module._compile (node:module:745:34)

Filtered tests: 0/1 (0.00%)
Elapsed time: 0.20s
divy@divy-macbook deno % target/debug/deno -A ./tools/node_compat_tests.js -f parallel/test-buffer-from
Found 0 sequential tests and 1 parallel tests
Running 1 tests
   1 PASS parallel/test-buffer-from.js
    PASS parallel/test-buffer-from.js
Filtered tests: 1/1 (100.00%)
Elapsed time: 0.40s
```
2025-05-30 12:13:22 +05:30
..
assert fix(ext/node): add assert.CallTracker (#29226) 2025-05-09 14:55:28 +00:00
console chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
crypto fix(ext/node): add AES CTR to supported ciphers list (#29273) 2025-05-13 09:45:36 +05:30
dns fix(ext/node): better dns.lookup compatibility (#27936) 2025-04-02 11:38:07 +09:00
events fix(ext/node): upgrade node:stream (#28855) 2025-04-14 21:35:34 +05:30
fs fix(ext/node): use primordials in ext/node/polyfills/internal/fs/handle.ts (#29239) 2025-05-11 13:38:53 +02:00
http2 fix(ext/node): add "internal/http2/util" module (#29474) 2025-05-28 21:46:36 +09:00
process chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
readline fix(ext/node): upgrade node:stream (#28855) 2025-04-14 21:35:34 +05:30
streams fix(ext/node): upgrade node:stream (#28855) 2025-04-14 21:35:34 +05:30
test chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
util fix(ext/node): add support for --no- prefix (allowNegative option) in parseArgs() (#28811) 2025-04-09 12:24:02 +09:00
webstreams fix(ext/node): Fix Writable.toWeb() (#28914) 2025-04-15 20:10:48 +02:00
assert.mjs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
async_hooks.ts fix(ext/node): use primordials in ext/node/polyfills/internal/async_hooks.ts (#29191) 2025-05-07 14:19:26 +02:00
blocklist.mjs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
buffer.d.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
buffer.mjs fix(ext/node): Buffer write OOB checks (#29524) 2025-05-30 11:28:22 +05:30
child_process.ts fix(ext/node): ignore some Node.js specific flags (#29461) 2025-05-28 12:02:26 +09:00
cli_table.ts fix(ext/node): use primordials in ext/node/polyfills/internal/cli_table.ts (#29257) 2025-05-12 02:47:28 +02:00
constants.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
dgram.ts fix(ext/node): use primordials in ext/node/polyfills/internal/dgram.ts (#29204) 2025-05-08 16:03:55 +02:00
dtrace.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
error_codes.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
errors.ts fix(ext/node): fix function error message in invalidArgTypeHelper (#29526) 2025-05-30 12:13:22 +05:30
event_target.mjs fix(ext/node): upgrade node:stream (#28855) 2025-04-14 21:35:34 +05:30
fixed_queue.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
hide_stack_frames.ts fix(ext/node): use primordials in ext/node/polyfills/internal/hide_stack_frames.ts (#29067) 2025-04-28 16:00:54 +09:00
http.ts fix(ext/node): use primordials in ext/node/polyfills/internal/http.ts (#29082) 2025-04-29 18:34:22 +02:00
idna.ts fix(ext/node): use primordials in ext/node/polyfills/internal/idna.ts (#29085) 2025-05-07 16:01:03 +02:00
net.ts fix(ext/node): use primordials in ext/node/polyfills/internal/net.ts (#29297) 2025-05-15 09:01:50 +02:00
normalize_encoding.mjs fix(ext/node): use primordials in ext/node/polyfills/internal/normalize_encoding.mjs (#29283) 2025-05-14 00:03:04 +02:00
options.ts fix(ext/node): use primordials in ext/node/polyfills/internal/options.ts (#29119) 2025-05-02 10:08:43 +02:00
primordials.mjs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
querystring.ts fix(ext/node): use primordials in ext/node/polyfills/internal/querystring.ts (#29264) 2025-05-13 11:06:25 +09:00
stream_base_commons.ts fix(ext/node): use primordials in ext/node/polyfills/internal/stream_base_commons.ts (#29290) 2025-05-14 11:54:23 +02:00
timers.mjs fix(ext/node): use primordials in ext/node/polyfills/internal/timers.mjs (#29269) 2025-05-13 02:09:51 +02:00
url.ts fix(ext/node): use primordials in ext/node/polyfills/internal/url.ts (#29146) 2025-05-13 23:30:44 +00:00
util.mjs fix(ext/node): use primordials in ext/node/polyfills/internal/util.mjs (#29430) 2025-05-25 22:30:31 +00:00
validators.mjs fix(ext/node): use primordials in ext/node/polyfills/internal/validators.mjs (#29302) 2025-05-15 09:01:14 +02:00