pdfkit 0.12.0 → 0.13.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 +69 -48
- package/LICENSE +7 -7
- package/README.md +182 -182
- package/js/data/Courier-Bold.afm +342 -342
- package/js/data/Courier-BoldOblique.afm +342 -342
- package/js/data/Courier-Oblique.afm +342 -342
- package/js/data/Courier.afm +342 -342
- package/js/data/Helvetica-Bold.afm +2827 -2827
- package/js/data/Helvetica-BoldOblique.afm +2827 -2827
- package/js/data/Helvetica-Oblique.afm +3051 -3051
- package/js/data/Helvetica.afm +3051 -3051
- package/js/data/Symbol.afm +213 -213
- package/js/data/Times-Bold.afm +2588 -2588
- package/js/data/Times-BoldItalic.afm +2384 -2384
- package/js/data/Times-Italic.afm +2667 -2667
- package/js/data/Times-Roman.afm +2419 -2419
- package/js/data/ZapfDingbats.afm +225 -225
- package/js/pdfkit.es5.js +416 -262
- package/js/pdfkit.es5.js.map +1 -1
- package/js/pdfkit.esnext.js +335 -205
- package/js/pdfkit.esnext.js.map +1 -1
- package/js/pdfkit.js +328 -201
- package/js/pdfkit.js.map +1 -1
- package/js/pdfkit.standalone.js +3438 -1990
- package/package.json +93 -94
- package/.prettierignore +0 -1
package/package.json
CHANGED
|
@@ -1,95 +1,94 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "pdfkit",
|
|
3
|
-
"description": "A PDF generation library for Node.js",
|
|
4
|
-
"keywords": [
|
|
5
|
-
"pdf",
|
|
6
|
-
"pdf writer",
|
|
7
|
-
"pdf generator",
|
|
8
|
-
"graphics",
|
|
9
|
-
"document",
|
|
10
|
-
"vector"
|
|
11
|
-
],
|
|
12
|
-
"version": "0.
|
|
13
|
-
"homepage": "http://pdfkit.org/",
|
|
14
|
-
"author": {
|
|
15
|
-
"name": "Devon Govett",
|
|
16
|
-
"email": "devongovett@gmail.com",
|
|
17
|
-
"url": "http://badassjs.com/"
|
|
18
|
-
},
|
|
19
|
-
"license": "MIT",
|
|
20
|
-
"repository": {
|
|
21
|
-
"type": "git",
|
|
22
|
-
"url": "https://github.com/foliojs/pdfkit.git"
|
|
23
|
-
},
|
|
24
|
-
"bugs": "https://github.com/foliojs/pdfkit/issues",
|
|
25
|
-
"devDependencies": {
|
|
26
|
-
"@babel/core": "^7.11.6",
|
|
27
|
-
"@babel/plugin-external-helpers": "^7.10.4",
|
|
28
|
-
"@babel/preset-env": "^7.11.5",
|
|
29
|
-
"babel-jest": "^26.3.0",
|
|
30
|
-
"blob-stream": "^0.1.2",
|
|
31
|
-
"brace": "^0.11.1",
|
|
32
|
-
"brfs": "~2.0.2",
|
|
33
|
-
"browserify": "^16.5.0",
|
|
34
|
-
"canvas": "^2.6.1",
|
|
35
|
-
"codemirror": "~5.49.2",
|
|
36
|
-
"eslint": "^7.8.1",
|
|
37
|
-
"gh-pages": "^3.1.0",
|
|
38
|
-
"iconv-lite": "^0.5.0",
|
|
39
|
-
"jest": "^26.4.2",
|
|
40
|
-
"jest-screenshot": "^0.3.1",
|
|
41
|
-
"markdown": "~0.5.0",
|
|
42
|
-
"pdfjs-dist": "^2.4.456",
|
|
43
|
-
"prettier": "1.19.1",
|
|
44
|
-
"pug": "^2.0.4",
|
|
45
|
-
"rollup": "^1.27.0",
|
|
46
|
-
"rollup-plugin-babel": "^4.3.3",
|
|
47
|
-
"rollup-plugin-cpy": "^2.0.1"
|
|
48
|
-
},
|
|
49
|
-
"dependencies": {
|
|
50
|
-
"crypto-js": "^
|
|
51
|
-
"fontkit": "^1.8.
|
|
52
|
-
"linebreak": "^1.0.2",
|
|
53
|
-
"png-js": "^1.0.0"
|
|
54
|
-
},
|
|
55
|
-
"scripts": {
|
|
56
|
-
"prepublishOnly": "npm run build",
|
|
57
|
-
"build": "rollup -c && browserify --standalone PDFDocument --ignore iconv-lite js/pdfkit.js > js/pdfkit.standalone.js",
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"website": "node docs/
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"test": "jest -i",
|
|
67
|
-
"test:
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
"/
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
"
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
"
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "pdfkit",
|
|
3
|
+
"description": "A PDF generation library for Node.js",
|
|
4
|
+
"keywords": [
|
|
5
|
+
"pdf",
|
|
6
|
+
"pdf writer",
|
|
7
|
+
"pdf generator",
|
|
8
|
+
"graphics",
|
|
9
|
+
"document",
|
|
10
|
+
"vector"
|
|
11
|
+
],
|
|
12
|
+
"version": "0.13.0",
|
|
13
|
+
"homepage": "http://pdfkit.org/",
|
|
14
|
+
"author": {
|
|
15
|
+
"name": "Devon Govett",
|
|
16
|
+
"email": "devongovett@gmail.com",
|
|
17
|
+
"url": "http://badassjs.com/"
|
|
18
|
+
},
|
|
19
|
+
"license": "MIT",
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "https://github.com/foliojs/pdfkit.git"
|
|
23
|
+
},
|
|
24
|
+
"bugs": "https://github.com/foliojs/pdfkit/issues",
|
|
25
|
+
"devDependencies": {
|
|
26
|
+
"@babel/core": "^7.11.6",
|
|
27
|
+
"@babel/plugin-external-helpers": "^7.10.4",
|
|
28
|
+
"@babel/preset-env": "^7.11.5",
|
|
29
|
+
"babel-jest": "^26.3.0",
|
|
30
|
+
"blob-stream": "^0.1.2",
|
|
31
|
+
"brace": "^0.11.1",
|
|
32
|
+
"brfs": "~2.0.2",
|
|
33
|
+
"browserify": "^16.5.0",
|
|
34
|
+
"canvas": "^2.6.1",
|
|
35
|
+
"codemirror": "~5.49.2",
|
|
36
|
+
"eslint": "^7.8.1",
|
|
37
|
+
"gh-pages": "^3.1.0",
|
|
38
|
+
"iconv-lite": "^0.5.0",
|
|
39
|
+
"jest": "^26.4.2",
|
|
40
|
+
"jest-screenshot": "^0.3.1",
|
|
41
|
+
"markdown": "~0.5.0",
|
|
42
|
+
"pdfjs-dist": "^2.4.456",
|
|
43
|
+
"prettier": "1.19.1",
|
|
44
|
+
"pug": "^2.0.4",
|
|
45
|
+
"rollup": "^1.27.0",
|
|
46
|
+
"rollup-plugin-babel": "^4.3.3",
|
|
47
|
+
"rollup-plugin-cpy": "^2.0.1"
|
|
48
|
+
},
|
|
49
|
+
"dependencies": {
|
|
50
|
+
"crypto-js": "^4.0.0",
|
|
51
|
+
"fontkit": "^1.8.1",
|
|
52
|
+
"linebreak": "^1.0.2",
|
|
53
|
+
"png-js": "^1.0.0"
|
|
54
|
+
},
|
|
55
|
+
"scripts": {
|
|
56
|
+
"prepublishOnly": "npm run build",
|
|
57
|
+
"build": "rollup -c && browserify --standalone PDFDocument --ignore crypto --ignore iconv-lite js/pdfkit.js > js/pdfkit.standalone.js",
|
|
58
|
+
"browserify-example": "browserify examples/browserify/browser.js > examples/browserify/bundle.js",
|
|
59
|
+
"pdf-guide": "node docs/generate.js",
|
|
60
|
+
"website": "node docs/generate_website.js",
|
|
61
|
+
"publish-website": "node docs/publish_website.js",
|
|
62
|
+
"docs": "npm run pdf-guide && npm run website && npm run browserify-example",
|
|
63
|
+
"lint": "eslint {lib,tests}/**/*.js",
|
|
64
|
+
"prettier": "prettier {lib,tests,examples,docs}/**/*.js",
|
|
65
|
+
"test": "jest -i",
|
|
66
|
+
"test:visual": "jest visual/ -i",
|
|
67
|
+
"test:unit": "jest unit/"
|
|
68
|
+
},
|
|
69
|
+
"main": "js/pdfkit.js",
|
|
70
|
+
"module": "js/pdfkit.es5.js",
|
|
71
|
+
"esnext": "js/pdfkit.esnext.js",
|
|
72
|
+
"browserify": {
|
|
73
|
+
"transform": [
|
|
74
|
+
"brfs"
|
|
75
|
+
]
|
|
76
|
+
},
|
|
77
|
+
"engine": [
|
|
78
|
+
"node >= v6.0.0"
|
|
79
|
+
],
|
|
80
|
+
"jest": {
|
|
81
|
+
"testPathIgnorePatterns": [
|
|
82
|
+
"/node_modules/",
|
|
83
|
+
"<rootDir>/examples/"
|
|
84
|
+
],
|
|
85
|
+
"testURL": "http://localhost/",
|
|
86
|
+
"setupFilesAfterEnv": [
|
|
87
|
+
"<rootDir>/tests/unit/setupTests.js"
|
|
88
|
+
],
|
|
89
|
+
"reporters": [
|
|
90
|
+
"default",
|
|
91
|
+
"jest-screenshot/reporter"
|
|
92
|
+
]
|
|
93
|
+
}
|
|
95
94
|
}
|
package/.prettierignore
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
demo/bundle.js
|