eva-md 0.3.2 → 0.3.3

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 (3) hide show
  1. package/README.md +3 -3
  2. package/eva.js +2 -2
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -10,7 +10,7 @@ EVA.md is a terminal media downloader built with Node.js and yt-dlp.
10
10
  ## Install
11
11
 
12
12
  ```cmd
13
- npm install --global eva-md
13
+ npm install --global --allow-scripts=ffmpeg-static,youtube-dl-exec eva-md
14
14
  ```
15
15
 
16
16
  The package installs the `eva` command and downloads platform-specific yt-dlp and ffmpeg binaries through its dependencies.
@@ -26,7 +26,7 @@ The update command installs the latest published `eva-md` package globally. Rest
26
26
 
27
27
  ## Publish a release
28
28
 
29
- Sign in to npm, increment the version in `package.json`, then publish:
29
+ Sign in to npm, increment the version in `package.json` and `package-lock.json`, then publish:
30
30
 
31
31
  ```cmd
32
32
  npm login
@@ -36,5 +36,5 @@ npm publish --access public
36
36
  The package name `eva-md` must be available to your npm account. Users can install or upgrade it with:
37
37
 
38
38
  ```cmd
39
- npm install --global eva-md
39
+ npm install --global --allow-scripts=ffmpeg-static,youtube-dl-exec eva-md
40
40
  ```
package/eva.js CHANGED
@@ -1658,8 +1658,8 @@ class EvaNodeTUI {
1658
1658
  function updatePackage() {
1659
1659
  console.log('Обновление EVA.md...');
1660
1660
  const result = process.platform === 'win32'
1661
- ? spawnSync(process.env.ComSpec || 'cmd.exe', ['/d', '/s', '/c', 'npm install --global eva-md@latest'], { stdio: 'inherit' })
1662
- : spawnSync('npm', ['install', '--global', 'eva-md@latest'], { stdio: 'inherit' });
1661
+ ? spawnSync(process.env.ComSpec || 'cmd.exe', ['/d', '/s', '/c', 'npm install --global --allow-scripts=ffmpeg-static,youtube-dl-exec eva-md@latest'], { stdio: 'inherit' })
1662
+ : spawnSync('npm', ['install', '--global', '--allow-scripts=ffmpeg-static,youtube-dl-exec', 'eva-md@latest'], { stdio: 'inherit' });
1663
1663
 
1664
1664
  if (result.error) {
1665
1665
  console.error(`Не удалось запустить npm: ${result.error.message}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eva-md",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "EVA Media Downloader CLI",
5
5
  "main": "eva.js",
6
6
  "bin": {