@neon-rs/cli 0.0.30 → 0.0.32
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 +22 -39
- package/package.json +8 -8
package/index.js
CHANGED
|
@@ -10102,36 +10102,12 @@ function wrappy (fn, cb) {
|
|
|
10102
10102
|
/***/ }),
|
|
10103
10103
|
|
|
10104
10104
|
/***/ 1401:
|
|
10105
|
-
/***/ (
|
|
10106
|
-
|
|
10107
|
-
|
|
10108
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
10109
|
-
if (k2 === undefined) k2 = k;
|
|
10110
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
10111
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
10112
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10113
|
-
}
|
|
10114
|
-
Object.defineProperty(o, k2, desc);
|
|
10115
|
-
}) : (function(o, m, k, k2) {
|
|
10116
|
-
if (k2 === undefined) k2 = k;
|
|
10117
|
-
o[k2] = m[k];
|
|
10118
|
-
}));
|
|
10119
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
10120
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
10121
|
-
}) : function(o, v) {
|
|
10122
|
-
o["default"] = v;
|
|
10123
|
-
});
|
|
10124
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
10125
|
-
if (mod && mod.__esModule) return mod;
|
|
10126
|
-
var result = {};
|
|
10127
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
10128
|
-
__setModuleDefault(result, mod);
|
|
10129
|
-
return result;
|
|
10130
|
-
};
|
|
10105
|
+
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
10106
|
+
|
|
10107
|
+
|
|
10131
10108
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
10132
|
-
exports.custom = exports.scope = exports.
|
|
10133
|
-
const
|
|
10134
|
-
const fs = __importStar(__nccwpck_require__(7147));
|
|
10109
|
+
exports.custom = exports.scope = exports.currentTarget = void 0;
|
|
10110
|
+
const node_module_1 = __nccwpck_require__(2033);
|
|
10135
10111
|
function currentTarget() {
|
|
10136
10112
|
let os = null;
|
|
10137
10113
|
switch (process.platform) {
|
|
@@ -10201,20 +10177,20 @@ function isGlibc() {
|
|
|
10201
10177
|
!!header &&
|
|
10202
10178
|
('glibcVersionRuntime' in header);
|
|
10203
10179
|
}
|
|
10204
|
-
function debug(...components) {
|
|
10205
|
-
|
|
10206
|
-
|
|
10207
|
-
|
|
10208
|
-
|
|
10209
|
-
|
|
10210
|
-
}
|
|
10211
|
-
|
|
10180
|
+
// export function debug(...components: string[]) {
|
|
10181
|
+
// if (components.length === 0 || !components[components.length - 1].endsWith(".node")) {
|
|
10182
|
+
// components.push("index.node");
|
|
10183
|
+
// }
|
|
10184
|
+
// const pathSpec = path.join(...components);
|
|
10185
|
+
// return fs.existsSync(pathSpec) ? require(pathSpec) : null;
|
|
10186
|
+
// }
|
|
10187
|
+
const requireAbsolute = (0, node_module_1.createRequire)(process.cwd());
|
|
10212
10188
|
function scope(scope) {
|
|
10213
|
-
return
|
|
10189
|
+
return requireAbsolute(scope + "/" + currentTarget());
|
|
10214
10190
|
}
|
|
10215
10191
|
exports.scope = scope;
|
|
10216
10192
|
function custom(toRequireSpec) {
|
|
10217
|
-
return
|
|
10193
|
+
return requireAbsolute(toRequireSpec(currentTarget()));
|
|
10218
10194
|
}
|
|
10219
10195
|
exports.custom = custom;
|
|
10220
10196
|
|
|
@@ -10263,6 +10239,13 @@ module.exports = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("fs");
|
|
|
10263
10239
|
|
|
10264
10240
|
/***/ }),
|
|
10265
10241
|
|
|
10242
|
+
/***/ 2033:
|
|
10243
|
+
/***/ ((module) => {
|
|
10244
|
+
|
|
10245
|
+
module.exports = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("node:module");
|
|
10246
|
+
|
|
10247
|
+
/***/ }),
|
|
10248
|
+
|
|
10266
10249
|
/***/ 2037:
|
|
10267
10250
|
/***/ ((module) => {
|
|
10268
10251
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neon-rs/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.32",
|
|
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
|
-
"@cargo-messages/win32-arm64-msvc": "0.0.
|
|
32
|
-
"@cargo-messages/darwin-x64": "0.0.
|
|
33
|
-
"@cargo-messages/darwin-arm64": "0.0.
|
|
34
|
-
"@cargo-messages/linux-x64-gnu": "0.0.
|
|
35
|
-
"@cargo-messages/linux-arm-gnueabihf": "0.0.
|
|
36
|
-
"@cargo-messages/android-arm-eabi": "0.0.
|
|
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",
|
|
33
|
+
"@cargo-messages/darwin-arm64": "0.0.31",
|
|
34
|
+
"@cargo-messages/linux-x64-gnu": "0.0.31",
|
|
35
|
+
"@cargo-messages/linux-arm-gnueabihf": "0.0.31",
|
|
36
|
+
"@cargo-messages/android-arm-eabi": "0.0.31"
|
|
37
37
|
}
|
|
38
38
|
}
|