bits-to-dead-trees 2.34.0 → 2.35.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.
@@ -57,10 +57,10 @@ jobs:
57
57
  password: ${{ secrets.GITHUB_TOKEN }}
58
58
 
59
59
  - name: Set up Docker Buildx
60
- uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4.3.0
60
+ uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1
61
61
 
62
62
  - name: Build and push builder image
63
- uses: docker/build-push-action@f9f3042f7e2789586610d6e8b85c8f03e5195baf # v7.2.0
63
+ uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0
64
64
  with:
65
65
  file: Dockerfile
66
66
  push: true
@@ -29,7 +29,7 @@ jobs:
29
29
  persist-credentials: false
30
30
 
31
31
  - name: Run zizmor
32
- uses: zizmorcore/zizmor-action@70fb788f84895a7701f5643d103d587e460b5c99 # v0.6.3
32
+ uses: zizmorcore/zizmor-action@cc914d7f3750a2d13d75c7f184a1060aa0e9d482 # v0.6.4
33
33
  with:
34
34
  advanced-security: false
35
35
  annotations: true
package/.node-version CHANGED
@@ -1 +1 @@
1
- 24.20.0
1
+ 24.21.0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # bits-to-dead-trees
2
2
 
3
+ ## 2.35.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`9c2e300`](https://github.com/rmehner/bits-to-dead-trees/commit/9c2e3001db2aee2c792dcff83bf6279dcc705ddc) Thanks [@rmehner](https://github.com/rmehner)! - Upgrade to Playwright 1.64.0
8
+
3
9
  ## 2.34.0
4
10
 
5
11
  ### Minor Changes
package/Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM mcr.microsoft.com/playwright:v1.63.0
1
+ FROM mcr.microsoft.com/playwright:v1.64.0
2
2
 
3
3
  ENV NODE_ENV=production
4
4
  ENV PORT=8000
package/README.md CHANGED
@@ -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.33.1
60
+ image: ghcr.io/rmehner/bits-to-dead-trees:v2.34.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.34.0",
4
+ "version": "2.35.0",
5
5
  "description": "Turn HTML into PDF files",
6
6
  "repository": {
7
7
  "type": "git",
@@ -33,24 +33,24 @@
33
33
  "ts-check": "npx tsc --noEmit"
34
34
  },
35
35
  "dependencies": {
36
- "fastify": "^5.12.3",
37
- "playwright-core": "^1.63.0"
36
+ "fastify": "^5.12.5",
37
+ "playwright-core": "^1.64.0"
38
38
  },
39
39
  "devDependencies": {
40
- "@changesets/changelog-github": "^0.7.0",
41
- "@changesets/cli": "^3.0.2",
40
+ "@changesets/changelog-github": "^1.0.1",
41
+ "@changesets/cli": "^3.0.3",
42
42
  "@eslint/js": "^10.0.1",
43
43
  "@tsconfig/node24": "^24.0.5",
44
- "@types/lodash": "^4.17.25",
45
- "@types/node": "24.12.0",
46
- "eslint": "^10.9.1",
44
+ "@types/lodash": "^4.17.26",
45
+ "@types/node": "24.19.2",
46
+ "eslint": "^10.12.0",
47
47
  "eslint-config-prettier": "^10.1.8",
48
- "eslint-plugin-n": "^18.3.0",
48
+ "eslint-plugin-n": "^18.4.1",
49
49
  "eslint-plugin-promise": "^7.3.0",
50
- "globals": "^17.12.0",
51
- "pino-pretty": "^13.1.3",
52
- "prettier": "^3.9.6",
50
+ "globals": "^17.13.0",
51
+ "pino-pretty": "^13.2.0",
52
+ "prettier": "^3.9.10",
53
53
  "typescript-json-schema": "^0.68.0",
54
- "vitest": "^4.1.11"
54
+ "vitest": "^5.0.3"
55
55
  }
56
56
  }
@@ -164,7 +164,7 @@
164
164
  "type": "boolean"
165
165
  },
166
166
  "isMobile": {
167
- "description": "Whether the `meta viewport` tag is taken into account and touch events are enabled. isMobile is a part of device,\nso you don't actually need to set it manually. Defaults to `false` and is not supported in Firefox. Learn more\nabout [mobile emulation](https://playwright.dev/docs/emulation#ismobile).",
167
+ "description": "Whether the `meta viewport` tag is taken into account and touch events are enabled. isMobile is a part of device,\nso you don't actually need to set it manually. Defaults to `false`. Learn more about\n[mobile emulation](https://playwright.dev/docs/emulation#ismobile).",
168
168
  "type": "boolean"
169
169
  },
170
170
  "javaScriptEnabled": {
@@ -259,6 +259,10 @@
259
259
  "description": "Path to the directory to put videos into. If not specified, the videos will be stored in `artifactsDir` (see\n[browserType.launch([options])](https://playwright.dev/docs/api/class-browsertype#browser-type-launch) options).",
260
260
  "type": "string"
261
261
  },
262
+ "fps": {
263
+ "description": "Frame rate of the recorded videos in frames per second. Defaults to `25`. Firefox and WebKit currently capture up\nto 25 frames per second.",
264
+ "type": "number"
265
+ },
262
266
  "showActions": {
263
267
  "additionalProperties": false,
264
268
  "description": "If specified, enables visual annotations on interacted elements during video recording.",
@@ -273,7 +277,7 @@
273
277
  "type": "number"
274
278
  },
275
279
  "fontSize": {
276
- "description": "Font size of the action title in pixels. Defaults to `24`.",
280
+ "description": "Font size of the action title in pixels. Defaults to `24`. Deprecated, use `style.title` instead.",
277
281
  "type": "number"
278
282
  },
279
283
  "position": {
@@ -287,6 +291,25 @@
287
291
  "top-right"
288
292
  ],
289
293
  "type": "string"
294
+ },
295
+ "style": {
296
+ "additionalProperties": false,
297
+ "description": "Styles of the action decorations.",
298
+ "properties": {
299
+ "highlight": {
300
+ "description": "CSS declarations for the box that covers the target element. Not shown when omitted.",
301
+ "type": "string"
302
+ },
303
+ "point": {
304
+ "description": "CSS declarations for the zero-sized marker centered on the action point. Not shown when omitted.",
305
+ "type": "string"
306
+ },
307
+ "title": {
308
+ "description": "CSS declarations for the action title.",
309
+ "type": "string"
310
+ }
311
+ },
312
+ "type": "object"
290
313
  }
291
314
  },
292
315
  "type": "object"