bits-to-dead-trees 2.24.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,17 @@
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
+
9
+ ## 2.25.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [#536](https://github.com/rmehner/bits-to-dead-trees/pull/536) [`3272340`](https://github.com/rmehner/bits-to-dead-trees/commit/327234003d32234e0783ced86bad188c2f1471c6) Thanks [@depfu](https://github.com/apps/depfu)! - Update to Playwright 1.53.0
14
+
3
15
  ## 2.24.0
4
16
 
5
17
  ### Minor Changes
@@ -328,7 +340,6 @@
328
340
  - b4ebed6: Allow more options for pdf, context and goto to be passed. Also working validations.
329
341
 
330
342
  We allow way more options now to be given in the payload:
331
-
332
343
  - `pdfOptions` are the options for the `pdf` call in Playwright: https://playwright.dev/docs/api/class-page#page-pdf.
333
344
  - `gotoOptions` are the options for the `goto` method in Playwright: https://playwright.dev/docs/api/class-page#page-goto
334
345
  - if you don't pass anything, we default to a timeout of 60000 and wait for `networkidle`
@@ -338,7 +349,6 @@
338
349
  We finally added tests too! ✌️
339
350
 
340
351
  ## Breaking Changes
341
-
342
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.
343
353
  This change was needed to allow more options for other methods we're using (like `timeout` for `goto`).
344
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.52.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.23.1
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.24.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.2",
34
- "playwright-core": "^1.52.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.2",
39
- "@eslint/js": "^9.25.0",
40
- "@tsconfig/node20": "^20.1.5",
41
- "@types/lodash": "^4.17.16",
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.25.1",
44
- "eslint-config-prettier": "^10.1.2",
45
- "eslint-plugin-n": "^17.17.0",
43
+ "eslint": "^9.29.0",
44
+ "eslint-config-prettier": "^10.1.5",
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.1.2"
52
+ "vitest": "^3.2.4"
53
53
  }
54
54
  }