deno/ext/node
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
..
benchmarks chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
ops chore: Rust 1.86.0 (#29435) 2025-05-25 23:40:48 +02:00
polyfills fix(ext/node): fix function error message in invalidArgTypeHelper (#29526) 2025-05-30 12:13:22 +05:30
build.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
Cargo.toml 2.3.4 (#29510) 2025-05-29 20:00:31 +01:00
clippy.toml refactor(ext/fs): deno_fs::FileSystem - conditional Send + Sync (#18993) 2023-05-08 11:02:02 -04:00
global.rs fix: don't unwrap in global interceptor (#29484) 2025-05-28 17:22:18 +02:00
lib.rs fix(ext/node): add "internal/http2/util" module (#29474) 2025-05-28 21:46:36 +09:00
README.md chore(ext/node): correct publishing for ext/node (#15461) 2022-08-11 17:25:41 -04:00
update_node_stream.ts fix(ext/node): upgrade node:stream (#28855) 2025-04-14 21:35:34 +05:30

deno_node

require and other node related functionality for Deno.