@neon-rs/cli 0.0.37 → 0.0.38

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 +33 -3
  2. package/package.json +6 -6
package/index.js CHANGED
@@ -10106,7 +10106,7 @@ function wrappy (fn, cb) {
10106
10106
 
10107
10107
 
10108
10108
  Object.defineProperty(exports, "__esModule", ({ value: true }));
10109
- exports.custom = exports.scope = exports.currentTarget = void 0;
10109
+ exports.bin = exports.custom = exports.scope = exports.currentTarget = void 0;
10110
10110
  const node_module_1 = __nccwpck_require__(2033);
10111
10111
  function currentTarget() {
10112
10112
  let os = null;
@@ -10193,7 +10193,37 @@ function custom(toRequireSpec) {
10193
10193
  return requireAbsolute(toRequireSpec(currentTarget()));
10194
10194
  }
10195
10195
  exports.custom = custom;
10196
+ function* interleave(a1, a2) {
10197
+ const length = Math.max(a1.length, a2.length);
10198
+ for (let i = 0; i < length; i++) {
10199
+ if (i < a1.length) {
10200
+ yield a1[i];
10201
+ }
10202
+ if (i < a2.length) {
10203
+ yield a2[i];
10204
+ }
10205
+ }
10206
+ }
10207
+ function bin(scope, ...rest) {
10208
+ return [...interleave(scope, rest)].join("") + "/" + currentTarget();
10209
+ }
10210
+ exports.bin = bin;
10211
+
10196
10212
 
10213
+ /***/ }),
10214
+
10215
+ /***/ 3079:
10216
+ /***/ ((module) => {
10217
+
10218
+ function webpackEmptyContext(req) {
10219
+ var e = new Error("Cannot find module '" + req + "'");
10220
+ e.code = 'MODULE_NOT_FOUND';
10221
+ throw e;
10222
+ }
10223
+ webpackEmptyContext.keys = () => ([]);
10224
+ webpackEmptyContext.resolve = webpackEmptyContext;
10225
+ webpackEmptyContext.id = 3079;
10226
+ module.exports = webpackEmptyContext;
10197
10227
 
10198
10228
  /***/ }),
10199
10229
 
@@ -10284,14 +10314,14 @@ module.exports = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("util");
10284
10314
  /***/ 430:
10285
10315
  /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
10286
10316
 
10287
- const load = __nccwpck_require__(1401);
10317
+ const { bin } = __nccwpck_require__(1401);
10288
10318
 
10289
10319
  const {
10290
10320
  fromStdin,
10291
10321
  fromFile,
10292
10322
  findArtifact,
10293
10323
  findFileByCrateType
10294
- } = load.scope("@cargo-messages");
10324
+ } = __nccwpck_require__(3079)(bin`@cargo-messages`);
10295
10325
 
10296
10326
  const PRIVATE = {};
10297
10327
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neon-rs/cli",
3
- "version": "0.0.37",
3
+ "version": "0.0.38",
4
4
  "description": "Command-line build tool for Neon modules.",
5
5
  "type": "module",
6
6
  "exports": "./index.js",
@@ -27,12 +27,12 @@
27
27
  },
28
28
  "homepage": "https://github.com/dherman/neon-rs#readme",
29
29
  "optionalDependences": {
30
- "@cargo-messages/win32-x64-msvc": "0.0.31",
31
- "@cargo-messages/win32-arm64-msvc": "0.0.31",
32
- "@cargo-messages/darwin-x64": "0.0.31",
30
+ "@cargo-messages/android-arm-eabi": "0.0.31",
33
31
  "@cargo-messages/darwin-arm64": "0.0.31",
34
- "@cargo-messages/linux-x64-gnu": "0.0.31",
32
+ "@cargo-messages/darwin-x64": "0.0.31",
35
33
  "@cargo-messages/linux-arm-gnueabihf": "0.0.31",
36
- "@cargo-messages/android-arm-eabi": "0.0.31"
34
+ "@cargo-messages/linux-x64-gnu": "0.0.31",
35
+ "@cargo-messages/win32-arm64-msvc": "0.0.31",
36
+ "@cargo-messages/win32-x64-msvc": "0.0.31"
37
37
  }
38
38
  }