@peculiar/pdf-core 1.17.0 → 2.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 CHANGED
@@ -1,7 +1,27 @@
1
1
  {
2
2
  "name": "@peculiar/pdf-core",
3
- "version": "1.17.0",
3
+ "version": "2.0.0",
4
4
  "description": "Core functionality library for PDF document processing and manipulation",
5
+ "type": "module",
6
+ "sideEffects": true,
7
+ "main": "./build/index.js",
8
+ "module": "./build/index.js",
9
+ "types": "./build/index.d.ts",
10
+ "exports": {
11
+ ".": "./build/index.js",
12
+ "./package.json": "./package.json"
13
+ },
14
+ "files": [
15
+ "build/",
16
+ "README.md",
17
+ "LICENSE"
18
+ ],
19
+ "publishConfig": {
20
+ "access": "public"
21
+ },
22
+ "engines": {
23
+ "node": "^20.19.0 || >=22.12.0"
24
+ },
5
25
  "keywords": [
6
26
  "pdf",
7
27
  "pdf-library",
@@ -15,44 +35,28 @@
15
35
  "pdf-objects"
16
36
  ],
17
37
  "author": "microshine <microshine@mail.ru>",
18
- "homepage": "https://github.com/PeculiarVentures/pdf/tree/master/packages/pdf-ll#readme",
19
38
  "license": "AGPL",
20
- "main": "build/peculiar.pdf.core.js",
21
- "module": "build/peculiar.pdf.core.es.js",
22
- "types": "build/index.d.ts",
23
- "publishConfig": {
24
- "access": "public",
25
- "registry": "https://registry.npmjs.org/"
26
- },
27
- "files": [
28
- "build",
29
- "LICENSE",
30
- "README.md"
31
- ],
32
39
  "repository": {
33
40
  "type": "git",
34
- "url": "git+https://github.com/PeculiarVentures/pdf.git"
35
- },
36
- "scripts": {
37
- "test": "echo \"Error: run tests from root\" && exit 1",
38
- "clear": "rimraf build/*",
39
- "build": "rollup -c",
40
- "rebuild": "yarn run clear && yarn run build",
41
- "prepack": "npm run rebuild"
41
+ "url": "https://github.com/PeculiarVentures/pdf",
42
+ "directory": "packages/core"
42
43
  },
43
44
  "bugs": {
44
45
  "url": "https://github.com/PeculiarVentures/pdf/issues"
45
46
  },
47
+ "homepage": "https://github.com/PeculiarVentures/pdf/tree/main/packages/core#readme",
46
48
  "dependencies": {
47
- "@peculiar/x509": "^1.12.3",
49
+ "@peculiar/utils": "^4.1.0",
48
50
  "@types/events": "^3.0.0",
49
- "asn1js": "^3.0.5",
50
- "events": "3.3.0",
51
- "pako": "^2.1.0",
52
- "pkijs": "^3.2.4",
53
- "pvtsutils": "^1.3.6",
54
- "pvutils": "^1.1.3",
55
- "tslib": "^2.8.1"
51
+ "events": "^3.3.0",
52
+ "pako": "^2.2.0"
53
+ },
54
+ "peerDependencies": {
55
+ "@peculiar/x509": "^3.1.0",
56
+ "pkijs": "^4.0.0"
56
57
  },
57
- "gitHead": "00443469bff7e573273636f54f34930180672859"
58
+ "devDependencies": {
59
+ "@peculiar/x509": "^3.1.0",
60
+ "pkijs": "^4.0.0"
61
+ }
58
62
  }