bits-to-dead-trees 2.26.0 → 2.27.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/.dockerignore +0 -1
- package/.github/workflows/check-json-schema.yml +3 -1
- package/.node-version +1 -1
- package/CHANGELOG.md +12 -0
- package/Dockerfile +1 -1
- package/README.md +1 -1
- package/package.json +8 -9
- package/pdf_request_body.json +1 -1
- package/.github/bin/check-for-schema-changes +0 -16
package/.dockerignore
CHANGED
package/.node-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
22.
|
|
1
|
+
22.18.0
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# bits-to-dead-trees
|
|
2
2
|
|
|
3
|
+
## 2.27.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`b5ef495`](https://github.com/rmehner/bits-to-dead-trees/commit/b5ef49539f981df4cc68b62c8574fc2870dc9bfc) Thanks [@rmehner](https://github.com/rmehner)! - Update to Playwright 1.55.0
|
|
8
|
+
|
|
9
|
+
## 2.26.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`28f39f9`](https://github.com/rmehner/bits-to-dead-trees/commit/28f39f97fcb62ee3c139118db34bfe22f2bd6c60) Thanks [@rmehner](https://github.com/rmehner)! - Update to Playwright 1.54.2
|
|
14
|
+
|
|
3
15
|
## 2.26.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/Dockerfile
CHANGED
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bits-to-dead-trees",
|
|
3
3
|
"author": "Robin Mehner <robin@coding-robin.de>",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.27.0",
|
|
5
5
|
"description": "Turn HTML into PDF files",
|
|
6
6
|
"repository": "github:rmehner/bits-to-dead-trees",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"lint": "eslint *.js",
|
|
21
21
|
"format": "prettier --write '**/*.{js,ts,cjs,mjs,json,md}'",
|
|
22
22
|
"start": "node server.js",
|
|
23
|
-
"start:dev": "
|
|
23
|
+
"start:dev": "node --watch --inspect server.js",
|
|
24
24
|
"dump-schemas": "typescript-json-schema --noExtraProps --required --strictNullChecks types/schemas.ts PdfRequestBody --out pdf_request_body.json",
|
|
25
25
|
"update-schemas": "npm run dump-schemas && npm run format",
|
|
26
26
|
"postinstall": "npx playwright-core install chromium --only-shell",
|
|
@@ -30,23 +30,22 @@
|
|
|
30
30
|
"ts-check": "npx tsc --noEmit"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"fastify": "^5.
|
|
34
|
-
"playwright-core": "^1.
|
|
33
|
+
"fastify": "^5.5.0",
|
|
34
|
+
"playwright-core": "^1.55.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@changesets/changelog-github": "^0.5.1",
|
|
38
|
-
"@changesets/cli": "^2.29.
|
|
39
|
-
"@eslint/js": "^9.
|
|
38
|
+
"@changesets/cli": "^2.29.6",
|
|
39
|
+
"@eslint/js": "^9.33.0",
|
|
40
40
|
"@tsconfig/node20": "^20.1.6",
|
|
41
41
|
"@types/lodash": "^4.17.20",
|
|
42
42
|
"@types/node": "22.16.5",
|
|
43
|
-
"eslint": "^9.
|
|
43
|
+
"eslint": "^9.33.0",
|
|
44
44
|
"eslint-config-prettier": "^10.1.8",
|
|
45
45
|
"eslint-plugin-n": "^17.21.3",
|
|
46
46
|
"eslint-plugin-promise": "^7.2.1",
|
|
47
47
|
"globals": "^16.3.0",
|
|
48
|
-
"
|
|
49
|
-
"pino-pretty": "^13.0.0",
|
|
48
|
+
"pino-pretty": "^13.1.1",
|
|
50
49
|
"prettier": "^3.6.2",
|
|
51
50
|
"typescript-json-schema": "^0.65.1",
|
|
52
51
|
"vitest": "^3.2.4"
|
package/pdf_request_body.json
CHANGED
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"type": "boolean"
|
|
42
42
|
},
|
|
43
43
|
"clientCertificates": {
|
|
44
|
-
"description": "TLS Client Authentication allows the server to request a client certificate and verify it.\n\n**Details**\n\nAn array of client certificates to be used. Each certificate object must have either both `certPath` and `keyPath`,\na single `pfxPath`, or their corresponding direct value equivalents (`cert` and `key`, or `pfx`). Optionally,\n`passphrase` property should be provided if the certificate is encrypted. The `origin` property should be provided\nwith an exact match to the request origin that the certificate is valid for.\n\n**NOTE** When using WebKit on macOS, accessing `localhost` will not pick up client certificates. You can make it\nwork by replacing `localhost` with `local.playwright`.",
|
|
44
|
+
"description": "TLS Client Authentication allows the server to request a client certificate and verify it.\n\n**Details**\n\nAn array of client certificates to be used. Each certificate object must have either both `certPath` and `keyPath`,\na single `pfxPath`, or their corresponding direct value equivalents (`cert` and `key`, or `pfx`). Optionally,\n`passphrase` property should be provided if the certificate is encrypted. The `origin` property should be provided\nwith an exact match to the request origin that the certificate is valid for.\n\nClient certificate authentication is only active when at least one client certificate is provided. If you want to\nreject all client certificates sent by the server, you need to provide a client certificate with an `origin` that\ndoes not match any of the domains you plan to visit.\n\n**NOTE** When using WebKit on macOS, accessing `localhost` will not pick up client certificates. You can make it\nwork by replacing `localhost` with `local.playwright`.",
|
|
45
45
|
"items": {
|
|
46
46
|
"additionalProperties": false,
|
|
47
47
|
"properties": {
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env bash
|
|
2
|
-
|
|
3
|
-
set -o nounset
|
|
4
|
-
|
|
5
|
-
PATH_TO_SCRIPT=$(dirname $(realpath $0))
|
|
6
|
-
|
|
7
|
-
cd "${PATH_TO_SCRIPT}/../.." || exit 1
|
|
8
|
-
|
|
9
|
-
if [[ $(git status --porcelain | grep pdf_request_body.json) ]]; then
|
|
10
|
-
echo "🚨 Detected schema changes that haven't been committed, please run 'npm run update-schemas' and commit the changes."
|
|
11
|
-
git status
|
|
12
|
-
git diff
|
|
13
|
-
exit 2
|
|
14
|
-
else
|
|
15
|
-
echo "All good, no schema changes detected. 🏝"
|
|
16
|
-
fi
|