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.
- package/.github/workflows/keep-node-version-in-sync.yml +1 -0
- package/.node-version +1 -1
- package/CHANGELOG.md +6 -2
- package/Dockerfile +1 -1
- package/README.md +1 -1
- package/package.json +11 -11
package/.node-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
22.
|
|
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
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.25.
|
|
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.
|
|
34
|
-
"playwright-core": "^1.53.
|
|
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.
|
|
39
|
-
"@eslint/js": "^9.
|
|
40
|
-
"@tsconfig/node20": "^20.1.
|
|
41
|
-
"@types/lodash": "^4.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.
|
|
43
|
+
"eslint": "^9.29.0",
|
|
44
44
|
"eslint-config-prettier": "^10.1.5",
|
|
45
|
-
"eslint-plugin-n": "^17.
|
|
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.
|
|
50
|
+
"prettier": "^3.6.0",
|
|
51
51
|
"typescript-json-schema": "^0.65.1",
|
|
52
|
-
"vitest": "^3.2.
|
|
52
|
+
"vitest": "^3.2.4"
|
|
53
53
|
}
|
|
54
54
|
}
|