rn-pdf-decrypt 1.0.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 ADDED
@@ -0,0 +1,68 @@
1
+ {
2
+ "name": "rn-pdf-decrypt",
3
+ "version": "1.0.0",
4
+ "description": "React Native compatible PDF decryption with AES-256 (V=5, R=5/6) and RC4 support. Fork of @pdfsmaller/pdf-decrypt with @noble/hashes + @noble/ciphers instead of Web Crypto API.",
5
+ "type": "commonjs",
6
+ "main": "dist/index.js",
7
+ "module": "dist/index.mjs",
8
+ "types": "dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "import": "./dist/index.mjs",
12
+ "require": "./dist/index.js",
13
+ "types": "./dist/index.d.ts"
14
+ }
15
+ },
16
+ "files": [
17
+ "dist",
18
+ "README.md",
19
+ "LICENSE"
20
+ ],
21
+ "scripts": {
22
+ "build": "node build.js",
23
+ "test": "node test.js",
24
+ "prepublishOnly": "npm run build"
25
+ },
26
+ "keywords": [
27
+ "pdf",
28
+ "decryption",
29
+ "pdf-decryption",
30
+ "pdf-decrypt",
31
+ "pdf-unlock",
32
+ "AES-256",
33
+ "AES",
34
+ "RC4",
35
+ "128-bit",
36
+ "256-bit",
37
+ "password-removal",
38
+ "pdf-security",
39
+ "react-native",
40
+ "hermes",
41
+ "browser",
42
+ "pdf-lib"
43
+ ],
44
+ "author": "imdewan",
45
+ "homepage": "https://github.com/imdewan/rn-pdf-decrypt",
46
+ "repository": {
47
+ "type": "git",
48
+ "url": "git+https://github.com/imdewan/rn-pdf-decrypt.git"
49
+ },
50
+ "bugs": {
51
+ "url": "https://github.com/imdewan/rn-pdf-decrypt/issues"
52
+ },
53
+ "license": "MIT",
54
+ "engines": {
55
+ "node": ">=18.0.0"
56
+ },
57
+ "peerDependencies": {
58
+ "pdf-lib": "^1.17.1"
59
+ },
60
+ "devDependencies": {
61
+ "@pdfsmaller/pdf-encrypt": "^1.0.0",
62
+ "pdf-lib": "^1.17.1"
63
+ },
64
+ "dependencies": {
65
+ "@noble/ciphers": "^2.1.1",
66
+ "@noble/hashes": "^2.0.1"
67
+ }
68
+ }