pdfkit 0.15.1 → 0.16.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/CHANGELOG.md +21 -0
- package/README.md +2 -2
- package/js/pdfkit.es.js +148 -60
- package/js/pdfkit.es.js.map +1 -1
- package/js/pdfkit.js +146 -58
- package/js/pdfkit.js.map +1 -1
- package/js/pdfkit.standalone.js +35915 -39326
- package/package.json +29 -28
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"document",
|
|
10
10
|
"vector"
|
|
11
11
|
],
|
|
12
|
-
"version": "0.
|
|
12
|
+
"version": "0.16.0",
|
|
13
13
|
"homepage": "http://pdfkit.org/",
|
|
14
14
|
"author": {
|
|
15
15
|
"name": "Devon Govett",
|
|
@@ -23,41 +23,42 @@
|
|
|
23
23
|
},
|
|
24
24
|
"bugs": "https://github.com/foliojs/pdfkit/issues",
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@babel/core": "^7.
|
|
27
|
-
"@babel/plugin-external-helpers": "^7.
|
|
28
|
-
"@babel/preset-env": "^7.
|
|
29
|
-
"
|
|
30
|
-
"
|
|
26
|
+
"@babel/core": "^7.26.0",
|
|
27
|
+
"@babel/plugin-external-helpers": "^7.25.9",
|
|
28
|
+
"@babel/preset-env": "^7.26.0",
|
|
29
|
+
"@eslint/js": "^9.17.0",
|
|
30
|
+
"@rollup/plugin-babel": "^6.0.4",
|
|
31
|
+
"babel-jest": "^29.7.0",
|
|
32
|
+
"blob-stream": "^0.1.3",
|
|
31
33
|
"brace": "^0.11.1",
|
|
32
34
|
"brfs": "~2.0.2",
|
|
33
|
-
"browserify": "^
|
|
34
|
-
"canvas": "^
|
|
35
|
-
"codemirror": "~5.
|
|
36
|
-
"eslint": "^
|
|
37
|
-
"gh-pages": "^
|
|
38
|
-
"
|
|
39
|
-
"jest": "^29.
|
|
40
|
-
"jest-environment-jsdom": "^29.
|
|
41
|
-
"jest-image-snapshot": "^6.
|
|
35
|
+
"browserify": "^17.0.1",
|
|
36
|
+
"canvas": "^3.0.0",
|
|
37
|
+
"codemirror": "~5.65.18",
|
|
38
|
+
"eslint": "^9.17.0",
|
|
39
|
+
"gh-pages": "^6.2.0",
|
|
40
|
+
"globals": "^15.14.0",
|
|
41
|
+
"jest": "^29.7.0",
|
|
42
|
+
"jest-environment-jsdom": "^29.7.0",
|
|
43
|
+
"jest-image-snapshot": "^6.4.0",
|
|
42
44
|
"markdown": "~0.5.0",
|
|
43
|
-
"pdfjs-dist": "^2.
|
|
44
|
-
"prettier": "
|
|
45
|
-
"pug": "^
|
|
46
|
-
"rollup": "^
|
|
47
|
-
"rollup-plugin-
|
|
48
|
-
"rollup-plugin-cpy": "^2.0.1"
|
|
45
|
+
"pdfjs-dist": "^2.14.305",
|
|
46
|
+
"prettier": "3.4.2",
|
|
47
|
+
"pug": "^3.0.3",
|
|
48
|
+
"rollup": "^2.79.2",
|
|
49
|
+
"rollup-plugin-copy": "^3.5.0"
|
|
49
50
|
},
|
|
50
51
|
"dependencies": {
|
|
51
52
|
"crypto-js": "^4.2.0",
|
|
52
|
-
"fontkit": "^
|
|
53
|
+
"fontkit": "^2.0.4",
|
|
53
54
|
"jpeg-exif": "^1.1.4",
|
|
54
|
-
"linebreak": "^1.0
|
|
55
|
+
"linebreak": "^1.1.0",
|
|
55
56
|
"png-js": "^1.0.0"
|
|
56
57
|
},
|
|
57
58
|
"scripts": {
|
|
58
59
|
"prepublishOnly": "npm run build",
|
|
59
60
|
"build": "rollup -c && npm run build-standalone",
|
|
60
|
-
"build-standalone": "browserify --standalone PDFDocument --ignore crypto
|
|
61
|
+
"build-standalone": "browserify --standalone PDFDocument --ignore crypto js/pdfkit.js > js/pdfkit.standalone.js",
|
|
61
62
|
"browserify-example": "browserify examples/browserify/browser.js > examples/browserify/bundle.js",
|
|
62
63
|
"pdf-guide": "node docs/generate.js",
|
|
63
64
|
"website": "node docs/generate_website.js",
|
|
@@ -65,9 +66,9 @@
|
|
|
65
66
|
"docs": "npm run pdf-guide && npm run website && npm run browserify-example",
|
|
66
67
|
"lint": "eslint {lib,tests}/**/*.js",
|
|
67
68
|
"prettier": "prettier {lib,tests,examples,docs}/**/*.js",
|
|
68
|
-
"test": "jest -i",
|
|
69
|
-
"test:visual": "jest visual/ -i",
|
|
70
|
-
"test:unit": "jest unit/"
|
|
69
|
+
"test": "jest -i --env=node",
|
|
70
|
+
"test:visual": "jest visual/ -i --env=node",
|
|
71
|
+
"test:unit": "jest unit/ --env=node"
|
|
71
72
|
},
|
|
72
73
|
"main": "js/pdfkit.js",
|
|
73
74
|
"module": "js/pdfkit.es.js",
|
|
@@ -89,4 +90,4 @@
|
|
|
89
90
|
"<rootDir>/tests/unit/setupTests.js"
|
|
90
91
|
]
|
|
91
92
|
}
|
|
92
|
-
}
|
|
93
|
+
}
|