@libpdf/core 0.0.1-beta.1 → 0.0.1-beta.10

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,30 +1,41 @@
1
1
  {
2
2
  "name": "@libpdf/core",
3
- "version": "0.0.1-beta.1",
3
+ "version": "0.0.1-beta.10",
4
4
  "description": "A modern PDF library for TypeScript - parsing and generation",
5
- "author": "Lucas Smith",
6
- "license": "MIT",
7
- "homepage": "https://libpdf.documenso.com",
8
- "repository": {
9
- "type": "git",
10
- "url": "https://github.com/libpdf-js/core.git"
11
- },
12
- "bugs": {
13
- "url": "https://github.com/libpdf-js/core/issues"
14
- },
15
5
  "keywords": [
16
- "pdf",
17
- "typescript",
18
- "parser",
6
+ "digital-signature",
7
+ "document",
8
+ "esign",
19
9
  "generator",
10
+ "parser",
11
+ "pdf",
20
12
  "pkcs7",
21
- "esign",
22
- "digital-signature",
23
13
  "signing",
24
- "document"
14
+ "typescript"
15
+ ],
16
+ "homepage": "https://libpdf.documenso.com",
17
+ "bugs": {
18
+ "url": "https://github.com/LibPDF-js/core/issues"
19
+ },
20
+ "license": "MIT",
21
+ "author": "Lucas Smith",
22
+ "repository": {
23
+ "type": "git",
24
+ "url": "git+https://github.com/LibPDF-js/core.git"
25
+ },
26
+ "files": [
27
+ "dist",
28
+ "LICENSE.md",
29
+ "README.md"
25
30
  ],
26
31
  "type": "module",
27
32
  "sideEffects": false,
33
+ "main": "./dist/index.mjs",
34
+ "module": "./dist/index.mjs",
35
+ "types": "./dist/index.d.mts",
36
+ "imports": {
37
+ "#src/*": "./src/*"
38
+ },
28
39
  "exports": {
29
40
  ".": {
30
41
  "types": "./dist/index.d.mts",
@@ -33,26 +44,15 @@
33
44
  },
34
45
  "./package.json": "./package.json"
35
46
  },
36
- "main": "./dist/index.mjs",
37
- "module": "./dist/index.mjs",
38
- "types": "./dist/index.d.mts",
39
- "files": [
40
- "dist",
41
- "LICENSE.md",
42
- "README.md"
43
- ],
44
- "imports": {
45
- "#src/*": "./src/*"
46
- },
47
47
  "scripts": {
48
48
  "build": "tsdown",
49
- "test": "vitest",
50
- "test:run": "vitest run",
51
- "test:coverage": "vitest run --coverage",
49
+ "test": "bun --env-file=.env.local vitest",
50
+ "test:run": "bun --env-file=.env.local vitest run",
51
+ "test:coverage": "bun --env-file=.env.local vitest run --coverage",
52
52
  "typecheck": "tsc --noEmit",
53
- "lint": "biome check .",
54
- "lint:fix": "biome check --write .",
55
- "format": "biome format --write .",
53
+ "lint": "oxlint --type-aware && oxfmt --check",
54
+ "lint:fix": "oxlint --type-aware --fix && oxfmt",
55
+ "format": "oxfmt",
56
56
  "examples": "bun run examples/run-all.ts",
57
57
  "examples:quiet": "bun run examples/run-all.ts --quiet",
58
58
  "docs:dev": "bun run --cwd apps/docs dev",
@@ -61,23 +61,38 @@
61
61
  "prepare": "husky",
62
62
  "release": "./scripts/release.sh"
63
63
  },
64
+ "dependencies": {
65
+ "@noble/ciphers": "^2.1.1",
66
+ "@noble/hashes": "^2.0.1",
67
+ "@scure/base": "^2.0.0",
68
+ "pako": "^2.1.0",
69
+ "pkijs": "^3.3.3"
70
+ },
64
71
  "devDependencies": {
65
- "@biomejs/biome": "^2.3.10",
72
+ "@google-cloud/kms": "^5.0.0",
73
+ "@google-cloud/secret-manager": "^6.0.0",
66
74
  "@types/bun": "^1.3.5",
67
75
  "@types/pako": "^2.0.4",
76
+ "@vitest/coverage-v8": "4.0.16",
68
77
  "husky": "^9.1.7",
69
78
  "lint-staged": "^16.2.7",
79
+ "oxfmt": "^0.24.0",
80
+ "oxlint": "^1.39.0",
81
+ "oxlint-tsgolint": "^0.11.1",
70
82
  "tsdown": "^0.18.4",
71
83
  "vitest": "^4.0.16"
72
84
  },
73
85
  "peerDependencies": {
86
+ "@google-cloud/kms": "^5.0.0",
87
+ "@google-cloud/secret-manager": "^6.0.0",
74
88
  "typescript": "^5"
75
89
  },
76
- "dependencies": {
77
- "@noble/ciphers": "^2.1.1",
78
- "@noble/hashes": "^2.0.1",
79
- "pako": "^2.1.0",
80
- "pkijs": "^3.3.3",
81
- "zod": "4"
90
+ "peerDependenciesMeta": {
91
+ "@google-cloud/kms": {
92
+ "optional": true
93
+ },
94
+ "@google-cloud/secret-manager": {
95
+ "optional": true
96
+ }
82
97
  }
83
98
  }