bililive-cli 1.7.2 → 1.8.0

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/lib/index.cjs CHANGED
@@ -3715,7 +3715,7 @@ const {
3715
3715
  Help,
3716
3716
  } = commander;
3717
3717
 
3718
- var version = "1.7.2";
3718
+ var version = "1.8.0";
3719
3719
 
3720
3720
  process.on("uncaughtException", function (error) {
3721
3721
  console.error(`${new Date().toISOString()} uncaughtException`, error);
@@ -3741,8 +3741,8 @@ program
3741
3741
  throw new Error(`${c.configFolder}参数不存在,请先重新运行 config gen 命令`);
3742
3742
  }
3743
3743
  // 下面两行顺序不能换(
3744
- const { init } = await Promise.resolve().then(function () { return require('./index-YWKX2VuK.cjs'); }).then(function (n) { return n.index; });
3745
- const { serverStart } = await Promise.resolve().then(function () { return require('./index-D0TIaB9a.cjs'); });
3744
+ const { init } = await Promise.resolve().then(function () { return require('./index-CEo5tP7w.cjs'); }).then(function (n) { return n.index; });
3745
+ const { serverStart } = await Promise.resolve().then(function () { return require('./index-nT_yCbCf.cjs'); });
3746
3746
  const globalConfig = {
3747
3747
  ffmpegPresetPath: path$1.join(c.configFolder, "ffmpeg_presets.json"),
3748
3748
  videoPresetPath: path$1.join(c.configFolder, "presets.json"),
@@ -4,7 +4,7 @@ var os$3 = require('node:os');
4
4
  var path$5 = require('node:path');
5
5
  var fs$3 = require('node:fs');
6
6
  var crypto = require('node:crypto');
7
- var index = require('./index-YWKX2VuK.cjs');
7
+ var index = require('./index-CEo5tP7w.cjs');
8
8
  var require$$0$1 = require('fs');
9
9
  var require$$0 = require('path');
10
10
  var require$$0$2 = require('child_process');
@@ -15,11 +15,13 @@ var require$$0$3 = require('events');
15
15
  var require$$0$5 = require('buffer');
16
16
  var require$$0$4 = require('stream');
17
17
  var process$2 = require('node:process');
18
- require('url');
19
18
  require('constants');
19
+ require('url');
20
+ require('node:child_process');
21
+ require('node:fs/promises');
22
+ require('node:util');
20
23
  require('node:events');
21
24
  require('ntsuspend');
22
- require('node:child_process');
23
25
  require('node:readline');
24
26
  require('http');
25
27
  require('https');
@@ -31,6 +33,7 @@ require('tls');
31
33
  require('punycode');
32
34
  require('tty');
33
35
  require('node:url');
36
+ require('@napi-rs/canvas');
34
37
  require('node:stream');
35
38
  require('node:stream/promises');
36
39
  require('vm');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bililive-cli",
3
- "version": "1.7.2",
3
+ "version": "1.8.0",
4
4
  "type": "module",
5
5
  "description": "biliLive-tools的cli程序",
6
6
  "main": "./lib/index.js",
@@ -37,9 +37,9 @@
37
37
  "commander": "^12.1.0",
38
38
  "rimraf": "^6.0.1",
39
39
  "tsx": "^4.19.2",
40
- "@biliLive-tools/http": "1.7.2",
41
- "@biliLive-tools/shared": "1.7.2",
42
- "@biliLive-tools/types": "1.7.2"
40
+ "@biliLive-tools/http": "1.8.0",
41
+ "@biliLive-tools/shared": "1.8.0",
42
+ "@biliLive-tools/types": "1.8.0"
43
43
  },
44
44
  "scripts": {
45
45
  "start": "tsx src/index.ts",