koffi 0.9.36 → 0.9.37

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/package.json +2 -2
  2. package/test/test.js +3 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "koffi",
3
- "version": "0.9.36",
3
+ "version": "0.9.37",
4
4
  "description": "Fast and simple FFI (foreign function interface) for Node.js",
5
5
  "keywords": [
6
6
  "foreign",
@@ -23,7 +23,7 @@
23
23
  },
24
24
  "license": "AGPL-3.0",
25
25
  "dependencies": {
26
- "cnoke": "^1.0.2"
26
+ "cnoke": "^1.0.4"
27
27
  },
28
28
  "devDependencies": {
29
29
  "chalk": "^4.1.2",
package/test/test.js CHANGED
@@ -57,7 +57,7 @@ async function main() {
57
57
 
58
58
  if (process.argv.length >= 3 && process.argv[2][0] != '-') {
59
59
  switch (process.argv[2]) {
60
- case 'build': { command = build; i++ } break;
60
+ case 'pack': { command = pack; i++ } break;
61
61
  case 'test': { command = test; i++; } break;
62
62
  case 'start': { command = start; i++; } break;
63
63
  case 'stop': { command = stop; i++; } break;
@@ -191,6 +191,7 @@ function print_usage() {
191
191
 
192
192
  Commands:
193
193
  test Run the machines and perform the tests (default)
194
+ pack Use machines to package prebuilt Koffi binaries
194
195
  start Start the machines but don't run anythingh
195
196
  stop Stop running machines
196
197
  info Print basic information about machine
@@ -263,7 +264,7 @@ async function start(detach = true) {
263
264
  return success;
264
265
  }
265
266
 
266
- async function build() {
267
+ async function pack() {
267
268
  let success = true;
268
269
 
269
270
  success &= await start(false);