@neon-rs/cli 0.0.59 → 0.0.60
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 +5 -10
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -10189,12 +10189,7 @@ module.exports = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("util");
|
|
|
10189
10189
|
/***/ 430:
|
|
10190
10190
|
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
10191
10191
|
|
|
10192
|
-
const
|
|
10193
|
-
fromFile,
|
|
10194
|
-
fromStdin,
|
|
10195
|
-
findArtifact,
|
|
10196
|
-
findFileByCrateType
|
|
10197
|
-
} = __nccwpck_require__(6604);
|
|
10192
|
+
const addon = __nccwpck_require__(6604);
|
|
10198
10193
|
|
|
10199
10194
|
const PRIVATE = {};
|
|
10200
10195
|
|
|
@@ -10211,7 +10206,7 @@ class CargoArtifact {
|
|
|
10211
10206
|
}
|
|
10212
10207
|
|
|
10213
10208
|
findFileByCrateType(crateType) {
|
|
10214
|
-
return findFileByCrateType(this._kernel, crateType);
|
|
10209
|
+
return addon.findFileByCrateType(this._kernel, crateType);
|
|
10215
10210
|
}
|
|
10216
10211
|
}
|
|
10217
10212
|
|
|
@@ -10221,12 +10216,12 @@ class CargoMessages {
|
|
|
10221
10216
|
this._mount = options.mount || null;
|
|
10222
10217
|
this._manifestPath = options.manifestPath || null;
|
|
10223
10218
|
this._kernel = options.file
|
|
10224
|
-
? fromFile(options.file, this._mount, this._manifestPath)
|
|
10225
|
-
: fromStdin(this._mount, this._manifestPath);
|
|
10219
|
+
? addon.fromFile(options.file, this._mount, this._manifestPath)
|
|
10220
|
+
: addon.fromStdin(this._mount, this._manifestPath);
|
|
10226
10221
|
}
|
|
10227
10222
|
|
|
10228
10223
|
findArtifact(crateName) {
|
|
10229
|
-
const found = findArtifact(this._kernel, crateName);
|
|
10224
|
+
const found = addon.findArtifact(this._kernel, crateName);
|
|
10230
10225
|
return found
|
|
10231
10226
|
? new CargoArtifact(PRIVATE, found)
|
|
10232
10227
|
: null;
|