shifro 0.1.2 → 0.2.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "shifro",
3
- "version": "0.1.2",
4
- "description": "A lightweight, dependency-free MP4 decrypter",
3
+ "version": "0.2.0",
4
+ "description": "A lightweight library for decrypting MP4 files, directly in the browser",
5
5
  "files": [
6
6
  "dist"
7
7
  ],
@@ -10,7 +10,7 @@
10
10
  "web": "vite",
11
11
  "build": "npm run build:lib && npm run build:cli",
12
12
  "build:cli": "tsdown ./lib/node/cli.ts --format cjs --dts --minify --no-clean",
13
- "build:lib": "tsdown shifro.ts --format cjs --format esm --dts --minify",
13
+ "build:lib": "tsdown shifro.ts --format cjs --format esm --dts --platform neutral",
14
14
  "typecheck": "tsc --noEmit",
15
15
  "test": "vitest",
16
16
  "prepublishOnly": "npm run build"
@@ -63,20 +63,19 @@
63
63
  "funding": [
64
64
  {
65
65
  "type": "individual",
66
- "url": "https://boosty.to/vitalygashkov"
67
- },
68
- {
69
- "type": "patreon",
70
- "url": "https://www.patreon.com/vitalygashkov"
66
+ "url": "https://t.me/tribute/app?startapp=dqW2"
71
67
  }
72
68
  ],
73
69
  "engines": {
74
- "node": "20 || 21 || 22 || 23"
70
+ "node": ">=20"
75
71
  },
76
72
  "devDependencies": {
77
- "@types/node": "^22.15.3",
78
- "tsdown": "^0.11.0-beta.3",
79
- "typescript": "^5.8.3",
80
- "vitest": "^3.1.2"
73
+ "@types/node": "^24.5.2",
74
+ "tsdown": "^0.15.5",
75
+ "typescript": "^5.9.2",
76
+ "vitest": "^3.2.4"
77
+ },
78
+ "dependencies": {
79
+ "mp4box": "^2.1.1"
81
80
  }
82
81
  }