1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -05:00
denoland-deno/tests/integration
Nathan Whitaker a77b2987bc
fix(ext/node): Match punycode module behavior to node (#22847)
Fixes #19214.

We were using the `idna` crate to implement our polyfill for
`punycode.toASCII` and `punycode.toUnicode`. The `idna` crate is
correct, and adheres to the IDNA2003/2008 spec, but it turns out
`node`'s implementations don't really follow any spec! Instead, node
splits the domain by `'.'` and punycode encodes/decodes each part. This
means that node's implementations will happily work on codepoints that
are disallowed by the IDNA specs, causing the error in #19214.

While fixing this, I went ahead and matched the node behavior on all of
the punycode functions and enabled node's punycode test in our
`node_compat` suite.
2024-03-11 15:49:43 -07:00
..
bench_tests.rs fix(publish): make include and exclude work (#22720) 2024-03-07 20:16:32 -05:00
bundle_tests.rs chore: fix typos (#22677) 2024-03-04 14:28:57 +00:00
cache_tests.rs chore: continue tests/ re-org (#22396) 2024-02-12 17:13:14 -07:00
cert_tests.rs chore: continue tests/ re-org (#22396) 2024-02-12 17:13:14 -07:00
check_tests.rs fix(unstable): sloppy imports should resolve .d.ts files during types resolution (#22602) 2024-02-27 18:30:21 +00:00
compile_tests.rs fix: respect unstable "temporal" configuration in config file (#22134) 2024-03-08 01:32:11 +01:00
coverage_tests.rs chore: continue tests/ re-org (#22396) 2024-02-12 17:13:14 -07:00
doc_tests.rs chore: continue tests/ re-org (#22396) 2024-02-12 17:13:14 -07:00
eval_tests.rs chore: continue tests/ re-org (#22396) 2024-02-12 17:13:14 -07:00
flags_tests.rs chore: continue tests/ re-org (#22396) 2024-02-12 17:13:14 -07:00
fmt_tests.rs fix(publish): make include and exclude work (#22720) 2024-03-07 20:16:32 -05:00
info_tests.rs perf(jsr): fast check cache and lazy fast check graph (#22485) 2024-02-20 21:29:57 +00:00
init_tests.rs chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
inspector_tests.rs chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
install_tests.rs chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
js_unit_tests.rs chore: continue tests/ re-org (#22396) 2024-02-12 17:13:14 -07:00
jsr_tests.rs test(jsr): add tests for jsx files with and without pragmas (#22634) 2024-02-29 19:35:23 +01:00
jupyter_tests.rs chore: continue tests/ re-org (#22396) 2024-02-12 17:13:14 -07:00
lint_tests.rs fix(publish): make include and exclude work (#22720) 2024-03-07 20:16:32 -05:00
lsp_tests.rs fix(publish): make include and exclude work (#22720) 2024-03-07 20:16:32 -05:00
mod.rs feat(unstable): deno add subcommand (#22520) 2024-02-29 19:12:04 +00:00
node_compat_tests.rs chore(cli): fix part of flaky test (#22515) 2024-02-21 19:10:51 +00:00
node_unit_tests.rs fix(ext/node): Match punycode module behavior to node (#22847) 2024-03-11 15:49:43 -07:00
npm_tests.rs fix(node): require of pkg json imports was broken (#22821) 2024-03-09 10:21:31 -05:00
pm_tests.rs feat(unstable/pm): support npm packages in 'deno add' (#22715) 2024-03-06 13:24:15 +00:00
publish_tests.rs fix(publish): regression - publishing with vendor folder (#22830) 2024-03-09 20:40:53 -05:00
repl_tests.rs chore: bump deno_core (#22596) 2024-02-27 08:05:57 -07:00
run_tests.rs fix: respect unstable "temporal" configuration in config file (#22134) 2024-03-08 01:32:11 +01:00
shared_library_tests.rs chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
task_tests.rs chore: continue tests/ re-org (#22396) 2024-02-12 17:13:14 -07:00
test_tests.rs fix(publish): make include and exclude work (#22720) 2024-03-07 20:16:32 -05:00
upgrade_tests.rs chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
vendor_tests.rs chore: continue tests/ re-org (#22396) 2024-02-12 17:13:14 -07:00
watcher_tests.rs chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
worker_tests.rs chore: continue tests/ re-org (#22396) 2024-02-12 17:13:14 -07:00