summaryrefslogtreecommitdiff
path: root/tests/specs/npm/future_node_modules_dir_setting
diff options
context:
space:
mode:
authorNathan Whitaker <17734409+nathanwhit@users.noreply.github.com>2024-04-02 16:20:48 -0700
committerGitHub <noreply@github.com>2024-04-02 16:20:48 -0700
commit219a27dde51bf4c04af2d905f71d1cec021ee98e (patch)
tree80a889c2f97dc7f5aa991a169310bfa5ff0f5d22 /tests/specs/npm/future_node_modules_dir_setting
parent8eb2b6c61f9fdac12f8bab23ad3e9ef71c7c59b1 (diff)
fix(ext/node): Support returning tokens and option defaults in `node:util.parseArgs` (#23192)
Fixes #23179. Fixes #22454. Enables passing `{tokens: true}` to `parseArgs` and setting default values for options. With this PR, the observable framework works with deno out of the box (no unstable flags needed). The existing code was basically copied straight from node, so this PR mostly just updates that (out of date) vendored code. Also fixes some issues with error exports (before this PR, in certain error cases we were attempting to construct error classes that weren't actually in scope). The last change (in the second commit) adds a small hack so that we actually exercise the `test-parse-args.js` node_compat test, previously it was reported as passing though it should have failed. That test now passes. --------- Co-authored-by: Bartek IwaƄczuk <biwanczuk@gmail.com>
Diffstat (limited to 'tests/specs/npm/future_node_modules_dir_setting')
0 files changed, 0 insertions, 0 deletions