bililive-cli 1.8.0 → 1.9.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.
@@ -1,23 +0,0 @@
1
- 'use strict';
2
-
3
- var os = require('node:os');
4
- var chunkedExec = require('./chunked-exec-BWQ1zFn6.cjs');
5
- require('node:util');
6
- require('node:child_process');
7
- require('node:url');
8
-
9
- var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
10
- const isOlderThanMountainLion = Number(os.release().split('.')[0]) < 12;
11
-
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-Bb6zXuPv.cjs', document.baseURI).href)));
14
-
15
- async function macOS(paths) {
16
- if (isOlderThanMountainLion) {
17
- throw new Error('macOS 10.12 or later required');
18
- }
19
-
20
- await chunkedExec.chunkedExec(binary, paths, 1000);
21
- }
22
-
23
- exports.default = macOS;
@@ -1,16 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkedExec = require('./chunked-exec-BWQ1zFn6.cjs');
4
- require('node:util');
5
- require('node:child_process');
6
- require('node:url');
7
-
8
- var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
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-B6jKfaWo.cjs', document.baseURI).href)));
11
-
12
- async function windows(paths) {
13
- await chunkedExec.chunkedExec(binary, paths, 200);
14
- }
15
-
16
- exports.default = windows;