bits-to-dead-trees 2.25.0 → 2.25.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.
@@ -1,6 +1,7 @@
1
1
  name: Keep node version in sync with the one the Playwright version is using
2
2
 
3
3
  on:
4
+ workflow_dispatch:
4
5
  push:
5
6
  branches:
6
7
  - "depfu/update/npm/playwright-core-**"
package/.node-version CHANGED
@@ -1 +1 @@
1
- 22.14.0
1
+ 22.16.0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # bits-to-dead-trees
2
2
 
3
+ ## 2.25.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`ed6401e`](https://github.com/rmehner/bits-to-dead-trees/commit/ed6401e829b269eac8832720533a99e826efe346) Thanks [@rmehner](https://github.com/rmehner)! - Upgrade to playwright 1.53.1
8
+
3
9
  ## 2.25.0
4
10
 
5
11
  ### Minor Changes
@@ -334,7 +340,6 @@
334
340
  - b4ebed6: Allow more options for pdf, context and goto to be passed. Also working validations.
335
341
 
336
342
  We allow way more options now to be given in the payload:
337
-
338
343
  - `pdfOptions` are the options for the `pdf` call in Playwright: https://playwright.dev/docs/api/class-page#page-pdf.
339
344
  - `gotoOptions` are the options for the `goto` method in Playwright: https://playwright.dev/docs/api/class-page#page-goto
340
345
  - if you don't pass anything, we default to a timeout of 60000 and wait for `networkidle`
@@ -344,7 +349,6 @@
344
349
  We finally added tests too! ✌️
345
350
 
346
351
  ## Breaking Changes
347
-
348
352
  - We don't allow `options` in the payload anymore. Those are `pdfOptions` now. To adapt your code, rename `options` to `pdfOptions` and you should be good to go.
349
353
  This change was needed to allow more options for other methods we're using (like `timeout` for `goto`).
350
354
  - We have stricter validation now and don't allow unknown keys in the option objects now. Previously we've ignored them, but we've now opted to bail out with
package/Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM mcr.microsoft.com/playwright:v1.53.0
1
+ FROM mcr.microsoft.com/playwright:v1.53.1
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.24.0
60
+ image: ghcr.io/rmehner/bits-to-dead-trees:v2.25.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.25.0",
4
+ "version": "2.25.1",
5
5
  "description": "Turn HTML into PDF files",
6
6
  "repository": "github:rmehner/bits-to-dead-trees",
7
7
  "license": "Apache-2.0",
@@ -30,25 +30,25 @@
30
30
  "ts-check": "npx tsc --noEmit"
31
31
  },
32
32
  "dependencies": {
33
- "fastify": "^5.3.3",
34
- "playwright-core": "^1.53.0"
33
+ "fastify": "^5.4.0",
34
+ "playwright-core": "^1.53.1"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@changesets/changelog-github": "^0.5.1",
38
- "@changesets/cli": "^2.29.4",
39
- "@eslint/js": "^9.28.0",
40
- "@tsconfig/node20": "^20.1.5",
41
- "@types/lodash": "^4.17.17",
38
+ "@changesets/cli": "^2.29.5",
39
+ "@eslint/js": "^9.29.0",
40
+ "@tsconfig/node20": "^20.1.6",
41
+ "@types/lodash": "^4.17.18",
42
42
  "@types/node": "22.10.7",
43
- "eslint": "^9.28.0",
43
+ "eslint": "^9.29.0",
44
44
  "eslint-config-prettier": "^10.1.5",
45
- "eslint-plugin-n": "^17.19.0",
45
+ "eslint-plugin-n": "^17.20.0",
46
46
  "eslint-plugin-promise": "^7.2.1",
47
47
  "globals": "^15.15.0",
48
48
  "nodemon": "^3.1.10",
49
49
  "pino-pretty": "^13.0.0",
50
- "prettier": "^3.5.3",
50
+ "prettier": "^3.6.0",
51
51
  "typescript-json-schema": "^0.65.1",
52
- "vitest": "^3.2.3"
52
+ "vitest": "^3.2.4"
53
53
  }
54
54
  }