@bytecodealliance/jco 0.5.1 → 0.5.2
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/cli.mjs +2 -12
- package/package.json +1 -1
package/cli.mjs
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import * as __WEBPACK_EXTERNAL_MODULE__bytecodealliance_componentize_js_a7e85369__ from "@bytecodealliance/componentize-js";
|
|
3
2
|
import { createRequire as __WEBPACK_EXTERNAL_createRequire } from "module";
|
|
4
3
|
/******/ var __webpack_modules__ = ({
|
|
5
4
|
|
|
@@ -6550,15 +6549,6 @@ function bisearch(ucs) {
|
|
|
6550
6549
|
}
|
|
6551
6550
|
|
|
6552
6551
|
|
|
6553
|
-
/***/ }),
|
|
6554
|
-
|
|
6555
|
-
/***/ 9291:
|
|
6556
|
-
/***/ ((module) => {
|
|
6557
|
-
|
|
6558
|
-
var x = y => { var x = {}; __nccwpck_require__.d(x, y); return x; }
|
|
6559
|
-
var y = x => () => x
|
|
6560
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__bytecodealliance_componentize_js_a7e85369__;
|
|
6561
|
-
|
|
6562
6552
|
/***/ }),
|
|
6563
6553
|
|
|
6564
6554
|
/***/ 9491:
|
|
@@ -44255,7 +44245,7 @@ __webpack_async_result__();
|
|
|
44255
44245
|
async function componentize (jsSource, opts) {
|
|
44256
44246
|
let componentizeFn;
|
|
44257
44247
|
try {
|
|
44258
|
-
({ componentize: componentizeFn } = await
|
|
44248
|
+
({ componentize: componentizeFn } = await eval('import("@bytecodealliance/componentize-js")'));
|
|
44259
44249
|
} catch (e) {
|
|
44260
44250
|
throw new Error(`componentize-js must first be installed separately via "npm install @bytecodealliance/componentize-js".`);
|
|
44261
44251
|
}
|
|
@@ -45131,7 +45121,7 @@ var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([_cmd
|
|
|
45131
45121
|
commander__WEBPACK_IMPORTED_MODULE_0__/* .program.name */ .Nx.name('jco')
|
|
45132
45122
|
.description(chalk_template__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z`{bold jco - WebAssembly JS Component Tools}\n JS Component Transpilation Bindgen & Wasm Tools for JS`)
|
|
45133
45123
|
.usage('<command> [options]')
|
|
45134
|
-
.version('0.5.
|
|
45124
|
+
.version('0.5.2');
|
|
45135
45125
|
|
|
45136
45126
|
function myParseInt(value) {
|
|
45137
45127
|
return parseInt(value, 10);
|