bililive-cli 3.9.1 → 3.10.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 = "3.9.1";
3718
+ var version = "3.10.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-B4DHRkFJ.cjs'); }).then(function (n) { return n.index; });
3745
- const { serverStart } = await Promise.resolve().then(function () { return require('./index-Cba0EEtx.cjs'); });
3744
+ const { init } = await Promise.resolve().then(function () { return require('./index-CPP-8XuA.cjs'); }).then(function (n) { return n.index; });
3745
+ const { serverStart } = await Promise.resolve().then(function () { return require('./index-BEYQyxJU.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-B4DHRkFJ.cjs');
7
+ var index = require('./index-CPP-8XuA.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');
@@ -44,6 +44,18 @@ require('node:stream/promises');
44
44
  require('fs/promises');
45
45
  require('node:net');
46
46
  require('node:zlib');
47
+ require('node:assert');
48
+ require('node:querystring');
49
+ require('node:diagnostics_channel');
50
+ require('node:tls');
51
+ require('node:buffer');
52
+ require('node:perf_hooks');
53
+ require('node:util/types');
54
+ require('node:sqlite');
55
+ require('node:worker_threads');
56
+ require('node:async_hooks');
57
+ require('node:console');
58
+ require('node:timers');
47
59
 
48
60
  var xdgTrashdir$1 = {exports: {}};
49
61
 
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var os = require('node:os');
4
- var chunkedExec = require('./chunked-exec-wqkoyRnJ.cjs');
4
+ var chunkedExec = require('./chunked-exec-BDg-2e7Y.cjs');
5
5
  require('node:util');
6
6
  require('node:child_process');
7
7
  require('node:url');
@@ -10,7 +10,7 @@ var _documentCurrentScript = typeof document !== 'undefined' ? document.currentS
10
10
  const isOlderThanMountainLion = Number(os.release().split('.')[0]) < 12;
11
11
 
12
12
  // Binary source: https://github.com/sindresorhus/macos-trash
13
- const binary = new URL('macos-trash', (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('macos-Dd90ykMt.cjs', document.baseURI).href)));
13
+ const binary = new URL('macos-trash', (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('macos-BMyL_rNA.cjs', document.baseURI).href)));
14
14
 
15
15
  async function macOS(paths) {
16
16
  if (isOlderThanMountainLion) {
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var chunkedExec = require('./chunked-exec-wqkoyRnJ.cjs');
3
+ var chunkedExec = require('./chunked-exec-BDg-2e7Y.cjs');
4
4
  require('node:util');
5
5
  require('node:child_process');
6
6
  require('node:url');
7
7
 
8
8
  var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
9
9
  // Binary source: https://github.com/sindresorhus/recycle-bin
10
- const binary = new URL('windows-trash.exe', (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('windows-CJCw0QtL.cjs', document.baseURI).href)));
10
+ const binary = new URL('windows-trash.exe', (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('windows-DIBE4d8E.cjs', document.baseURI).href)));
11
11
 
12
12
  async function windows(paths) {
13
13
  await chunkedExec.chunkedExec(binary, paths, 200);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bililive-cli",
3
- "version": "3.9.1",
3
+ "version": "3.10.0",
4
4
  "type": "module",
5
5
  "description": "biliLive-tools的cli程序",
6
6
  "main": "./lib/index.js",
@@ -25,9 +25,9 @@
25
25
  ],
26
26
  "dependencies": {
27
27
  "@napi-rs/canvas": "^0.1.60",
28
- "font-ls": "0.6.2",
28
+ "font-ls": "0.6.4",
29
29
  "ntsuspend": "^1.0.2",
30
- "better-sqlite3": "12.4.6",
30
+ "better-sqlite3": "12.6.2",
31
31
  "shazamio-core": "^1.3.1",
32
32
  "music-segment-detector": "^0.3.1"
33
33
  },
@@ -39,9 +39,9 @@
39
39
  "commander": "^12.1.0",
40
40
  "rimraf": "^6.0.1",
41
41
  "tsx": "^4.19.2",
42
- "@biliLive-tools/http": "3.9.1",
43
- "@biliLive-tools/types": "3.9.1",
44
- "@biliLive-tools/shared": "3.9.1"
42
+ "@biliLive-tools/http": "3.10.0",
43
+ "@biliLive-tools/shared": "3.10.0",
44
+ "@biliLive-tools/types": "3.10.0"
45
45
  },
46
46
  "scripts": {
47
47
  "start": "tsx src/index.ts",