bits-to-dead-trees 2.28.0 → 2.30.1

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.
@@ -34,6 +34,9 @@ jobs:
34
34
  username: ${{ github.repository_owner }}
35
35
  password: ${{ secrets.GITHUB_TOKEN }}
36
36
 
37
+ - name: Set up Docker Buildx
38
+ uses: docker/setup-buildx-action@v3
39
+
37
40
  - name: Build and push builder image
38
41
  uses: docker/build-push-action@v6
39
42
  with:
@@ -41,6 +44,8 @@ jobs:
41
44
  push: true
42
45
  tags: |
43
46
  ghcr.io/${{ github.repository }}:${{ env.TAG_NAME }}
47
+ cache-from: type=gha
48
+ cache-to: type=gha,mode=max
44
49
 
45
50
  - name: Update version in README
46
51
  run: |
@@ -7,6 +7,10 @@ on:
7
7
 
8
8
  concurrency: ${{ github.workflow }}-${{ github.ref }}
9
9
 
10
+ permissions:
11
+ id-token: write # Required for OIDC
12
+ contents: write
13
+
10
14
  jobs:
11
15
  release:
12
16
  name: Release
package/.node-version CHANGED
@@ -1 +1 @@
1
- 22.20.0
1
+ 24.13.0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # bits-to-dead-trees
2
2
 
3
+ ## 2.30.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#622](https://github.com/rmehner/bits-to-dead-trees/pull/622) [`9e1af39`](https://github.com/rmehner/bits-to-dead-trees/commit/9e1af39f2f352a9155aeb2e6df207c9686700f48) Thanks [@depfu](https://github.com/apps/depfu)! - Upgrade to Playwright 1.58.2
8
+
9
+ ## 2.30.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [#618](https://github.com/rmehner/bits-to-dead-trees/pull/618) [`17c0f16`](https://github.com/rmehner/bits-to-dead-trees/commit/17c0f16038bf0149e883beb742fd2c3e57599f9a) Thanks [@depfu](https://github.com/apps/depfu)! - Upgrade Playwright to 1.58.0
14
+
15
+ ## 2.29.0
16
+
17
+ ### Minor Changes
18
+
19
+ - [#600](https://github.com/rmehner/bits-to-dead-trees/pull/600) [`d8112e2`](https://github.com/rmehner/bits-to-dead-trees/commit/d8112e21b634e8a04af96b687b4825270b9ceebb) Thanks [@depfu](https://github.com/apps/depfu)! - Upgrade Playwright to 1.57.0
20
+
3
21
  ## 2.28.0
4
22
 
5
23
  ### Minor Changes
package/Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM mcr.microsoft.com/playwright:v1.56.1
1
+ FROM mcr.microsoft.com/playwright:v1.58.2
2
2
 
3
3
  ENV NODE_ENV=production
4
4
  ENV PORT=8000
package/README.md CHANGED
@@ -11,7 +11,7 @@ of that. It's using [Playwright](https://playwright.dev) in the background for t
11
11
 
12
12
  ### Requirements
13
13
 
14
- 1. Node 22+
14
+ 1. Node 24+ (see [`.node-version`](./.node-version))
15
15
  2. npm
16
16
 
17
17
  ### Installation
@@ -57,7 +57,7 @@ If you want to use it internally with docker-compose, this should give you a goo
57
57
  ```yml
58
58
  services:
59
59
  pdf:
60
- image: ghcr.io/rmehner/bits-to-dead-trees:v2.27.1
60
+ image: ghcr.io/rmehner/bits-to-dead-trees:v2.29.0
61
61
  ports:
62
62
  - 8000:8000
63
63
  ```
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.28.0",
4
+ "version": "2.30.1",
5
5
  "description": "Turn HTML into PDF files",
6
6
  "repository": "github:rmehner/bits-to-dead-trees",
7
7
  "license": "Apache-2.0",
@@ -11,7 +11,7 @@
11
11
  "playwright"
12
12
  ],
13
13
  "engines": {
14
- "node": ">= 22"
14
+ "node": ">= 24"
15
15
  },
16
16
  "main": "server.js",
17
17
  "type": "module",
@@ -30,24 +30,24 @@
30
30
  "ts-check": "npx tsc --noEmit"
31
31
  },
32
32
  "dependencies": {
33
- "fastify": "^5.6.1",
34
- "playwright-core": "^1.56.1"
33
+ "fastify": "^5.8.2",
34
+ "playwright-core": "^1.58.2"
35
35
  },
36
36
  "devDependencies": {
37
- "@changesets/changelog-github": "^0.5.1",
38
- "@changesets/cli": "^2.29.7",
39
- "@eslint/js": "^9.37.0",
40
- "@tsconfig/node20": "^20.1.6",
41
- "@types/lodash": "^4.17.20",
42
- "@types/node": "22.16.5",
43
- "eslint": "^9.37.0",
37
+ "@changesets/changelog-github": "^0.6.0",
38
+ "@changesets/cli": "^2.30.0",
39
+ "@eslint/js": "^9.39.2",
40
+ "@tsconfig/node24": "^24.0.4",
41
+ "@types/lodash": "^4.17.24",
42
+ "@types/node": "24.10.9",
43
+ "eslint": "^9.39.2",
44
44
  "eslint-config-prettier": "^10.1.8",
45
- "eslint-plugin-n": "^17.23.1",
45
+ "eslint-plugin-n": "^17.24.0",
46
46
  "eslint-plugin-promise": "^7.2.1",
47
- "globals": "^16.4.0",
48
- "pino-pretty": "^13.1.2",
49
- "prettier": "^3.6.2",
50
- "typescript-json-schema": "^0.65.1",
51
- "vitest": "^3.2.4"
47
+ "globals": "^17.4.0",
48
+ "pino-pretty": "^13.1.3",
49
+ "prettier": "^3.8.1",
50
+ "typescript-json-schema": "^0.67.1",
51
+ "vitest": "^4.0.18"
52
52
  }
53
53
  }
@@ -5,14 +5,14 @@
5
5
  "ArrayBuffer": {
6
6
  "additionalProperties": false,
7
7
  "properties": {
8
- "__@toStringTag@25": {
8
+ "__@toStringTag@23": {
9
9
  "type": "string"
10
10
  },
11
11
  "byteLength": {
12
12
  "type": "number"
13
13
  }
14
14
  },
15
- "required": ["__@toStringTag@25", "byteLength"],
15
+ "required": ["__@toStringTag@23", "byteLength"],
16
16
  "type": "object"
17
17
  },
18
18
  "ArrayBufferLike": {
@@ -57,7 +57,7 @@
57
57
  "BYTES_PER_ELEMENT": {
58
58
  "type": "number"
59
59
  },
60
- "__@toStringTag@25": {
60
+ "__@toStringTag@23": {
61
61
  "const": "Uint8Array",
62
62
  "type": "string"
63
63
  },
@@ -76,7 +76,7 @@
76
76
  },
77
77
  "required": [
78
78
  "BYTES_PER_ELEMENT",
79
- "__@toStringTag@25",
79
+ "__@toStringTag@23",
80
80
  "buffer",
81
81
  "byteLength",
82
82
  "byteOffset",
@@ -100,7 +100,7 @@
100
100
  "BYTES_PER_ELEMENT": {
101
101
  "type": "number"
102
102
  },
103
- "__@toStringTag@25": {
103
+ "__@toStringTag@23": {
104
104
  "const": "Uint8Array",
105
105
  "type": "string"
106
106
  },
@@ -119,7 +119,7 @@
119
119
  },
120
120
  "required": [
121
121
  "BYTES_PER_ELEMENT",
122
- "__@toStringTag@25",
122
+ "__@toStringTag@23",
123
123
  "buffer",
124
124
  "byteLength",
125
125
  "byteOffset",
@@ -151,7 +151,7 @@
151
151
  "BYTES_PER_ELEMENT": {
152
152
  "type": "number"
153
153
  },
154
- "__@toStringTag@25": {
154
+ "__@toStringTag@23": {
155
155
  "const": "Uint8Array",
156
156
  "type": "string"
157
157
  },
@@ -170,7 +170,7 @@
170
170
  },
171
171
  "required": [
172
172
  "BYTES_PER_ELEMENT",
173
- "__@toStringTag@25",
173
+ "__@toStringTag@23",
174
174
  "buffer",
175
175
  "byteLength",
176
176
  "byteOffset",
@@ -630,10 +630,10 @@
630
630
  "SharedArrayBuffer": {
631
631
  "additionalProperties": false,
632
632
  "properties": {
633
- "__@species@472": {
633
+ "__@species@469": {
634
634
  "$ref": "#/definitions/SharedArrayBuffer"
635
635
  },
636
- "__@toStringTag@25": {
636
+ "__@toStringTag@23": {
637
637
  "const": "SharedArrayBuffer",
638
638
  "type": "string"
639
639
  },
@@ -641,7 +641,7 @@
641
641
  "type": "number"
642
642
  }
643
643
  },
644
- "required": ["__@species@472", "__@toStringTag@25", "byteLength"],
644
+ "required": ["__@species@469", "__@toStringTag@23", "byteLength"],
645
645
  "type": "object"
646
646
  },
647
647
  "ViewportSize": {
package/tsconfig.json CHANGED
@@ -1,3 +1,3 @@
1
1
  {
2
- "extends": "@tsconfig/node20/tsconfig.json"
2
+ "extends": "@tsconfig/node24/tsconfig.json"
3
3
  }