@pdfkiln/pdfkiln 1.0.3 → 1.1.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/README.md CHANGED
@@ -2,12 +2,14 @@
2
2
 
3
3
  Drop-in replacement for wkhtmltopdf, powered by Chromium.
4
4
 
5
+ Documentation and migration guides: https://pdfkiln.org
6
+
5
7
  `npx @pdfkiln/pdfkiln wkhtmltopdf page.html page.pdf`, or `npm install -g @pdfkiln/pdfkiln` for the three commands:
6
8
 
7
9
  - `wkhtmltopdf` and `wkhtmltoimage` accept the command lines of wkhtmltopdf and wkhtmltoimage 0.12.6, with the same options, defaults, messages and exit codes;
8
10
  - `pdfkiln` offers its own interface, with modern print defaults (`pdfkiln --help`).
9
11
 
10
- The first conversion downloads chrome-headless-shell 156.0.8078.73 (Chrome for Testing, linux64, linux-arm64, mac-arm64, mac-x64, win32, win64), checks its SHA-256, and keeps it in the user's cache: `~/.cache/pdfkiln` (or `$XDG_CACHE_HOME`), `~/Library/Caches/pdfkiln`, `%LOCALAPPDATA%\pdfkiln`. `PDFKILN_CACHE_DIR` changes that folder; `PDFKILN_CHROMIUM` points to a chrome-headless-shell of your own.
12
+ The first conversion downloads chrome-headless-shell 156.0.8078.80 (Chrome for Testing, linux64, linux-arm64, mac-arm64, mac-x64, win32, win64), checks its SHA-256, and keeps it in the user's cache: `~/.cache/pdfkiln` (or `$XDG_CACHE_HOME`), `~/Library/Caches/pdfkiln`, `%LOCALAPPDATA%\pdfkiln`. `PDFKILN_CACHE_DIR` changes that folder; `PDFKILN_CHROMIUM` points to a chrome-headless-shell of your own.
11
13
 
12
14
  Chromium's sandbox stays on: run as an unprivileged user. On Ubuntu 23.10 and later, AppArmor restricts the user namespaces it needs; an AppArmor profile for the downloaded binary allows them.
13
15
 
package/chromium.json CHANGED
@@ -1,38 +1,38 @@
1
1
  {
2
2
  "product": "chrome-headless-shell",
3
3
  "channel": "Stable",
4
- "version": "156.0.8078.73",
4
+ "version": "156.0.8078.80",
5
5
  "source": "https://storage.googleapis.com/chrome-for-testing-public",
6
6
  "archives": {
7
7
  "linux64": {
8
8
  "file": "chrome-headless-shell-linux64.zip",
9
- "size": 126938225,
10
- "sha256": "77eb8d52798efc7a857ab61abcc62a456d8ea9635b02341d06dffee2761768c8"
9
+ "size": 126922702,
10
+ "sha256": "547dcd374e02961bf998f6046a267644f8502225c36bb78ca307dab32a0b3eb4"
11
11
  },
12
12
  "linux-arm64": {
13
13
  "file": "chrome-headless-shell-linux-arm64.zip",
14
- "size": 126713821,
15
- "sha256": "98c084708f0f1fa4ed589ad601cc79b437f0cebe60ffc9794af78a085c01a2a7"
14
+ "size": 126679292,
15
+ "sha256": "5bb6a00a4285c13303d3f72c5afdb70f144ea7a93eed462365a52b69631c9607"
16
16
  },
17
17
  "mac-arm64": {
18
18
  "file": "chrome-headless-shell-mac-arm64.zip",
19
- "size": 103949688,
20
- "sha256": "512c7d34cd5b65d617a39a48915b490eed4208a63e9d47b0fd7893e83be85765"
19
+ "size": 103982159,
20
+ "sha256": "ea615baa2e9caf0d02d1898a6562b5f8fa9c35239707dae0f592178df5b986ac"
21
21
  },
22
22
  "mac-x64": {
23
23
  "file": "chrome-headless-shell-mac-x64.zip",
24
- "size": 109508986,
25
- "sha256": "be798095cd693357a7a6a0e7a0c4ebd81563e16f51225eb98aacc906d6326519"
24
+ "size": 109493298,
25
+ "sha256": "535d417d9034cbd11e7dacd1a71aa3d6e1b525e6d5dcd2671eb2532f01481228"
26
26
  },
27
27
  "win32": {
28
28
  "file": "chrome-headless-shell-win32.zip",
29
- "size": 119029046,
30
- "sha256": "64f657a50e287c856d2337a19d92ca7383255bd1d0f962bbb9f61874c7e3b5be"
29
+ "size": 119036038,
30
+ "sha256": "8d7472c5c60215a24c42e31d0e9567f1fbf41365e46c8d36c59b2a8b8b2b3a65"
31
31
  },
32
32
  "win64": {
33
33
  "file": "chrome-headless-shell-win64.zip",
34
- "size": 125506562,
35
- "sha256": "e6d26810df71efd0a3dfd0f7246d75d279ebdf8a8ec153d1ac44069657298628"
34
+ "size": 125772546,
35
+ "sha256": "10a77466005e7f64e00f1a75fd1ea81f4a38a60093c65fea6895843b26e60a9a"
36
36
  }
37
37
  }
38
38
  }