-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test-dns-ipv6.js is broken #47726
Comments
I'm looking into it. |
It works with Node 18 (Ada v1.0.4)
|
|
I found the bug: |
@tniessen the following diff fixes the issue, although, we need to fix this and release a new version of Ada... diff --git a/lib/internal/idna.js b/lib/internal/idna.js
index 566f8590d8..8591226d10 100644
--- a/lib/internal/idna.js
+++ b/lib/internal/idna.js
@@ -1,4 +1,9 @@
'use strict';
-const { domainToASCII, domainToUnicode } = require('internal/url');
-module.exports = { toASCII: domainToASCII, toUnicode: domainToUnicode };
+if (internalBinding('config').hasIntl) {
+ const { toASCII, toUnicode } = internalBinding('icu');
+ module.exports = { toASCII, toUnicode };
+} else {
+ const { domainToASCII, domainToUnicode } = require('internal/url');
+ module.exports = { toASCII: domainToASCII, toUnicode: domainToUnicode };
+} |
So pretty much reverting ead4079, or at least the |
I think the |
No need to revert, I'll add a new C++ function that directly calls |
Both in GitHub actions and locally, for the last three weeks as far as I can tell:
The text was updated successfully, but these errors were encountered: