@neon-rs/cli 0.0.71 → 0.0.72
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/index.js +33 -60
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -10109,12 +10109,12 @@ function wrappy (fn, cb) {
|
|
|
10109
10109
|
/***/ }),
|
|
10110
10110
|
|
|
10111
10111
|
/***/ 1401:
|
|
10112
|
-
/***/ ((__unused_webpack_module, exports
|
|
10112
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
10113
10113
|
|
|
10114
|
+
var __webpack_unused_export__;
|
|
10114
10115
|
|
|
10115
|
-
|
|
10116
|
-
exports.
|
|
10117
|
-
const node_module_1 = __nccwpck_require__(2033);
|
|
10116
|
+
__webpack_unused_export__ = ({ value: true });
|
|
10117
|
+
exports.Vo = __webpack_unused_export__ = __webpack_unused_export__ = void 0;
|
|
10118
10118
|
function currentTarget() {
|
|
10119
10119
|
let os = null;
|
|
10120
10120
|
switch (process.platform) {
|
|
@@ -10171,7 +10171,7 @@ function currentTarget() {
|
|
|
10171
10171
|
}
|
|
10172
10172
|
throw new Error(`Neon: unsupported system: ${process.platform}`);
|
|
10173
10173
|
}
|
|
10174
|
-
|
|
10174
|
+
__webpack_unused_export__ = currentTarget;
|
|
10175
10175
|
function isGlibc() {
|
|
10176
10176
|
// Cast to unknown to work around a bug in the type definition:
|
|
10177
10177
|
// https://github.com/DefinitelyTyped/DefinitelyTyped/issues/40140
|
|
@@ -10191,15 +10191,6 @@ function isGlibc() {
|
|
|
10191
10191
|
// const pathSpec = path.join(...components);
|
|
10192
10192
|
// return fs.existsSync(pathSpec) ? require(pathSpec) : null;
|
|
10193
10193
|
// }
|
|
10194
|
-
const requireAbsolute = (0, node_module_1.createRequire)(process.cwd());
|
|
10195
|
-
function scope(scope) {
|
|
10196
|
-
return requireAbsolute(scope + "/" + currentTarget());
|
|
10197
|
-
}
|
|
10198
|
-
exports.scope = scope;
|
|
10199
|
-
function custom(toRequireSpec) {
|
|
10200
|
-
return requireAbsolute(toRequireSpec(currentTarget()));
|
|
10201
|
-
}
|
|
10202
|
-
exports.custom = custom;
|
|
10203
10194
|
function* interleave(a1, a2) {
|
|
10204
10195
|
const length = Math.max(a1.length, a2.length);
|
|
10205
10196
|
for (let i = 0; i < length; i++) {
|
|
@@ -10214,7 +10205,27 @@ function* interleave(a1, a2) {
|
|
|
10214
10205
|
function bin(scope, ...rest) {
|
|
10215
10206
|
return [...interleave(scope, rest)].join("") + "/" + currentTarget();
|
|
10216
10207
|
}
|
|
10217
|
-
|
|
10208
|
+
__webpack_unused_export__ = bin;
|
|
10209
|
+
function lazy(loaders, exports) {
|
|
10210
|
+
let loaded = null;
|
|
10211
|
+
function load() {
|
|
10212
|
+
if (loaded) {
|
|
10213
|
+
return loaded;
|
|
10214
|
+
}
|
|
10215
|
+
const target = currentTarget();
|
|
10216
|
+
if (!loaders.hasOwnProperty(target)) {
|
|
10217
|
+
throw new Error(`no precompiled module found for ${target}`);
|
|
10218
|
+
}
|
|
10219
|
+
loaded = loaders[target]();
|
|
10220
|
+
return loaded;
|
|
10221
|
+
}
|
|
10222
|
+
let module = {};
|
|
10223
|
+
for (const key of exports) {
|
|
10224
|
+
Object.defineProperty(module, key, { get() { return load()[key]; } });
|
|
10225
|
+
}
|
|
10226
|
+
return module;
|
|
10227
|
+
}
|
|
10228
|
+
exports.Vo = lazy;
|
|
10218
10229
|
|
|
10219
10230
|
|
|
10220
10231
|
/***/ }),
|
|
@@ -10309,13 +10320,6 @@ module.exports = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("fs");
|
|
|
10309
10320
|
|
|
10310
10321
|
/***/ }),
|
|
10311
10322
|
|
|
10312
|
-
/***/ 2033:
|
|
10313
|
-
/***/ ((module) => {
|
|
10314
|
-
|
|
10315
|
-
module.exports = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("node:module");
|
|
10316
|
-
|
|
10317
|
-
/***/ }),
|
|
10318
|
-
|
|
10319
10323
|
/***/ 2037:
|
|
10320
10324
|
/***/ ((module) => {
|
|
10321
10325
|
|
|
@@ -10403,43 +10407,7 @@ module.exports = {
|
|
|
10403
10407
|
/***/ 5268:
|
|
10404
10408
|
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
10405
10409
|
|
|
10406
|
-
|
|
10407
|
-
|
|
10408
|
-
/*
|
|
10409
|
-
function lazy(loaders, exports) {
|
|
10410
|
-
let loaded = null;
|
|
10411
|
-
|
|
10412
|
-
function load() {
|
|
10413
|
-
if (loaded) {
|
|
10414
|
-
return loaded;
|
|
10415
|
-
}
|
|
10416
|
-
const target = currentTarget();
|
|
10417
|
-
if (!loaders.hasOwnProperty(target)) {
|
|
10418
|
-
throw new Error(`no precompiled module found for ${target}`);
|
|
10419
|
-
}
|
|
10420
|
-
loaded = loaders[target]();
|
|
10421
|
-
return loaded;
|
|
10422
|
-
}
|
|
10423
|
-
|
|
10424
|
-
let module = {};
|
|
10425
|
-
|
|
10426
|
-
for (const key of exports) {
|
|
10427
|
-
Object.defineProperty(module, key, { get() { return load()[key]; } });
|
|
10428
|
-
}
|
|
10429
|
-
|
|
10430
|
-
return module;
|
|
10431
|
-
}
|
|
10432
|
-
*/
|
|
10433
|
-
|
|
10434
|
-
function choose(loaders) {
|
|
10435
|
-
const target = currentTarget();
|
|
10436
|
-
if (!loaders.hasOwnProperty(target)) {
|
|
10437
|
-
throw new Error(`no precompiled module found for ${target}`);
|
|
10438
|
-
}
|
|
10439
|
-
return loaders[target]();
|
|
10440
|
-
}
|
|
10441
|
-
|
|
10442
|
-
module.exports = choose({
|
|
10410
|
+
module.exports = (__nccwpck_require__(1401)/* .lazy */ .Vo)({
|
|
10443
10411
|
'darwin-x64': () => __nccwpck_require__(3659),
|
|
10444
10412
|
'win32-x64-msvc': () => __nccwpck_require__(4857),
|
|
10445
10413
|
'aarch64-pc-windows-msvc': () => __nccwpck_require__(4054),
|
|
@@ -10448,7 +10416,12 @@ module.exports = choose({
|
|
|
10448
10416
|
'linux-x64-gnu': () => __nccwpck_require__(1300),
|
|
10449
10417
|
'linux-arm-gnueabihf': () => __nccwpck_require__(4766),
|
|
10450
10418
|
'android-arm-eabi': () => __nccwpck_require__(9441)
|
|
10451
|
-
}
|
|
10419
|
+
}, [
|
|
10420
|
+
'findArtifact',
|
|
10421
|
+
'findFileByCrateType',
|
|
10422
|
+
'fromStdin',
|
|
10423
|
+
'fromFile'
|
|
10424
|
+
]);
|
|
10452
10425
|
|
|
10453
10426
|
|
|
10454
10427
|
/***/ })
|