@neon-rs/cli 0.0.45 → 0.0.46

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 +8 -21
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -10212,27 +10212,12 @@ exports.bin = bin;
10212
10212
 
10213
10213
  /***/ }),
10214
10214
 
10215
- /***/ 3659:
10215
+ /***/ 5818:
10216
10216
  /***/ ((module) => {
10217
10217
 
10218
- module.exports = eval("require")("@cargo-messages/darwin-x64");
10218
+ module.exports = eval("require")("@cargo-messages/darwin-64");
10219
10219
 
10220
10220
 
10221
- /***/ }),
10222
-
10223
- /***/ 3079:
10224
- /***/ ((module) => {
10225
-
10226
- function webpackEmptyContext(req) {
10227
- var e = new Error("Cannot find module '" + req + "'");
10228
- e.code = 'MODULE_NOT_FOUND';
10229
- throw e;
10230
- }
10231
- webpackEmptyContext.keys = () => ([]);
10232
- webpackEmptyContext.resolve = webpackEmptyContext;
10233
- webpackEmptyContext.id = 3079;
10234
- module.exports = webpackEmptyContext;
10235
-
10236
10221
  /***/ }),
10237
10222
 
10238
10223
  /***/ 9491:
@@ -10322,10 +10307,12 @@ module.exports = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("util");
10322
10307
  /***/ 430:
10323
10308
  /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
10324
10309
 
10325
- const { bin } = __nccwpck_require__(1401);
10310
+ const { currentTarget } = __nccwpck_require__(1401);
10326
10311
 
10327
- if (!process) {
10328
- __nccwpck_require__(3659);
10312
+ let addon;
10313
+ switch (currentTarget()) {
10314
+ case 'darwin-x64': addon = __nccwpck_require__(5818); break;
10315
+ default: throw new Error(`no binary @cargo-messages module found for ${currentTarget()}`);
10329
10316
  }
10330
10317
 
10331
10318
  const {
@@ -10333,7 +10320,7 @@ const {
10333
10320
  fromFile,
10334
10321
  findArtifact,
10335
10322
  findFileByCrateType
10336
- } = __nccwpck_require__(3079)(bin`@cargo-messages`);
10323
+ } = addon;
10337
10324
 
10338
10325
  const PRIVATE = {};
10339
10326
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neon-rs/cli",
3
- "version": "0.0.45",
3
+ "version": "0.0.46",
4
4
  "description": "Command-line build tool for Neon modules.",
5
5
  "type": "module",
6
6
  "exports": "./index.js",