@neon-rs/cli 0.0.74 → 0.0.76

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.
Files changed (2) hide show
  1. package/index.js +7 -0
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -15421,10 +15421,17 @@ function printError(e) {
15421
15421
  console.error(chalk_source.bold.red("error:") + " " + ((e instanceof Error) ? e.message : String(e)));
15422
15422
  }
15423
15423
 
15424
+ ;// CONCATENATED MODULE: external "node:module"
15425
+ const external_node_module_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("node:module");
15424
15426
  ;// CONCATENATED MODULE: ./src/index.ts
15425
15427
 
15426
15428
 
15427
15429
 
15430
+
15431
+ const absoluteRequire = (0,external_node_module_namespaceObject.createRequire)(import.meta.url);
15432
+ global['require'] = function (spec) {
15433
+ return absoluteRequire(spec);
15434
+ };
15428
15435
  class Cli {
15429
15436
  parse() {
15430
15437
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neon-rs/cli",
3
- "version": "0.0.74",
3
+ "version": "0.0.76",
4
4
  "description": "Command-line build tool for Neon modules.",
5
5
  "type": "module",
6
6
  "exports": "./index.js",
@@ -26,7 +26,7 @@
26
26
  "url": "https://github.com/dherman/neon-rs/issues"
27
27
  },
28
28
  "homepage": "https://github.com/dherman/neon-rs#readme",
29
- "optionalDependences": {
29
+ "optionalDependencies": {
30
30
  "@cargo-messages/android-arm-eabi": "0.0.31",
31
31
  "@cargo-messages/darwin-arm64": "0.0.31",
32
32
  "@cargo-messages/darwin-x64": "0.0.31",