@tscircuit/cli 0.1.1673 → 0.1.1675
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/build/build.worker.js +1 -1
- package/dist/cli/main.js +366 -259
- package/dist/lib/index.js +259 -165
- package/package.json +3 -3
|
@@ -6180,7 +6180,7 @@ var require_fast_uri = __commonJS((exports, module) => {
|
|
|
6180
6180
|
if (!options.unicodeSupport && (!schemeHandler || !schemeHandler.unicodeSupport)) {
|
|
6181
6181
|
if (parsed.host && (options.domainHost || schemeHandler && schemeHandler.domainHost) && isIP === false && nonSimpleDomain(parsed.host)) {
|
|
6182
6182
|
try {
|
|
6183
|
-
parsed.host = URL
|
|
6183
|
+
parsed.host = new URL("http://" + parsed.host).hostname;
|
|
6184
6184
|
} catch (e) {
|
|
6185
6185
|
parsed.error = parsed.error || "Host's domain name can not be converted to ASCII: " + e;
|
|
6186
6186
|
}
|