shifro 1.1.1 → 1.1.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.
package/README.md CHANGED
@@ -8,13 +8,17 @@ This tool is a small wrapper around the [Mediabunny](https://github.com/Vanilagy
8
8
 
9
9
  ### CLI
10
10
 
11
- Run `npm install -g shifro` to install the command-line tool globally ([Node.js](https://nodejs.org/en/download) required).
11
+ > [Node.js](https://nodejs.org/en/download) is required (or any other runtime that has compatibility with Node.js API, like [Bun](https://bun.com/)).
12
+
13
+ Run `npm install -g shifro` to install the command-line tool globally.
12
14
 
13
15
  ```bash
14
16
  shifro --key eb676abbcb345e96bbcf616630f1a3da:100b6c20940f779a4589152b57d2dacb ./input.mp4 ./output.mp4
15
17
  ```
16
18
 
17
- This can be used as an alternative to the [mp4decrypt](https://www.bento4.com/documentation/mp4decrypt/) or [shaka-packager](https://shaka-project.github.io/shaka-packager/html/documentation.html#raw-key-encryption-options).
19
+ >You can also use `npx shifro ...` to run the CLI tool without installing it globally
20
+
21
+ This CLI can be used as an alternative to the [mp4decrypt](https://www.bento4.com/documentation/mp4decrypt/) or [shaka-packager](https://shaka-project.github.io/shaka-packager/html/documentation.html#raw-key-encryption-options).
18
22
 
19
23
  ### Library
20
24
 
package/dist/cli.mjs CHANGED
@@ -3,7 +3,7 @@ import { parseArgs } from "node:util";
3
3
  import { ALL_FORMATS, Conversion, FilePathSource, FilePathTarget, Input, Mp4OutputFormat, Output } from "mediabunny";
4
4
  //#region package.json
5
5
  var name = "shifro";
6
- var version = "1.1.1";
6
+ var version = "1.1.3";
7
7
  var author = "Vitaly Gashkov <vitalygashkov@vk.com>";
8
8
  //#endregion
9
9
  //#region src/index.ts
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "shifro",
3
- "version": "1.1.1",
4
- "description": "A lightweight library for decrypting MP4 files, directly in the browser",
3
+ "version": "1.1.3",
4
+ "description": "A lightweight library and command-line tool for decrypting MP4 files",
5
5
  "files": [
6
6
  "dist"
7
7
  ],
@@ -52,10 +52,10 @@
52
52
  }
53
53
  ],
54
54
  "engines": {
55
- "node": ">=22"
55
+ "node": ">=22.18"
56
56
  },
57
- "dependencies": {
58
- "mediabunny": "^1.42.0-beta.7"
57
+ "peerDependencies": {
58
+ "mediabunny": ">=1.43.1"
59
59
  },
60
60
  "devDependencies": {
61
61
  "@types/node": "^24.5.2",