@neon-rs/cli 0.0.55 → 0.0.56

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 +6 -4
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -10336,12 +10336,14 @@ function addon() {
10336
10336
  return addon();
10337
10337
  }
10338
10338
 
10339
+ /*
10339
10340
  const {
10340
10341
  findArtifact,
10341
10342
  findFileByCrateType,
10342
10343
  fromFile,
10343
10344
  fromStdin
10344
10345
  } = addon();
10346
+ */
10345
10347
 
10346
10348
  const PRIVATE = {};
10347
10349
 
@@ -10358,7 +10360,7 @@ class CargoArtifact {
10358
10360
  }
10359
10361
 
10360
10362
  findFileByCrateType(crateType) {
10361
- return findFileByCrateType(this._kernel, crateType);
10363
+ return addon().findFileByCrateType(this._kernel, crateType);
10362
10364
  }
10363
10365
  }
10364
10366
 
@@ -10368,12 +10370,12 @@ class CargoMessages {
10368
10370
  this._mount = options.mount || null;
10369
10371
  this._manifestPath = options.manifestPath || null;
10370
10372
  this._kernel = options.file
10371
- ? fromFile(options.file, this._mount, this._manifestPath)
10372
- : fromStdin(this._mount, this._manifestPath);
10373
+ ? addon().fromFile(options.file, this._mount, this._manifestPath)
10374
+ : addon().fromStdin(this._mount, this._manifestPath);
10373
10375
  }
10374
10376
 
10375
10377
  findArtifact(crateName) {
10376
- const found = findArtifact(this._kernel, crateName);
10378
+ const found = addon().findArtifact(this._kernel, crateName);
10377
10379
  return found
10378
10380
  ? new CargoArtifact(PRIVATE, found)
10379
10381
  : null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neon-rs/cli",
3
- "version": "0.0.55",
3
+ "version": "0.0.56",
4
4
  "description": "Command-line build tool for Neon modules.",
5
5
  "type": "module",
6
6
  "exports": "./index.js",