@bytecodealliance/jco 1.18.0 → 1.18.1
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/package.json +1 -1
- package/src/cmd/componentize.js +3 -0
- package/src/jco.js +1 -1
package/package.json
CHANGED
package/src/cmd/componentize.js
CHANGED
|
@@ -66,6 +66,9 @@ export async function componentize(jsSource, opts) {
|
|
|
66
66
|
// NOTE: if we were to use a version of componentize-js 0.20.0 or newer here,
|
|
67
67
|
// the build would fail, as newer versions do not support wasi:http < 0.2.10
|
|
68
68
|
// for fetch.
|
|
69
|
+
console.error(
|
|
70
|
+
`${styleText(["yellow", "bold"], "warning")} Falling back to componentize-js 0.19.3 because this component requests Preview 2 WASI packages older than 0.2.10. See https://bytecodealliance.github.io/jco/troubleshooting/common-issues.html#componentize-js-0193-fallback for details and upgrade steps.`,
|
|
71
|
+
);
|
|
69
72
|
componentizeJSModule = await eval('import("@bytecodealliance/componentize-js-0-19-3")');
|
|
70
73
|
} else {
|
|
71
74
|
componentizeJSModule = await eval('import("@bytecodealliance/componentize-js")');
|