bits-to-dead-trees 2.10.0 → 2.11.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.
package/.tool-versions CHANGED
@@ -1 +1 @@
1
- nodejs 18.17.1
1
+ nodejs 20.9.0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # bits-to-dead-trees
2
2
 
3
+ ## 2.11.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`ab24396`](https://github.com/rmehner/bits-to-dead-trees/commit/ab24396499bfed18ca5d8ae640d82caf741ec978) Thanks [@rmehner](https://github.com/rmehner)! - Upgrade to Node 20, to match Playwright's node version
8
+
9
+ - [`ca517cd`](https://github.com/rmehner/bits-to-dead-trees/commit/ca517cdf0254a08d38bc42ffd7ec47a62dbeebc1) Thanks [@rmehner](https://github.com/rmehner)! - Upgrade to Playwright 1.40.0
10
+
3
11
  ## 2.10.0
4
12
 
5
13
  ### Minor Changes
package/Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM mcr.microsoft.com/playwright:v1.39.0
1
+ FROM mcr.microsoft.com/playwright:v1.40.0
2
2
 
3
3
  ENV NODE_ENV=production
4
4
  ENV PORT=8000
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.10.0",
4
+ "version": "2.11.0",
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": ">= 18"
14
+ "node": ">= 20"
15
15
  },
16
16
  "main": "server.js",
17
17
  "type": "module",
@@ -30,18 +30,19 @@
30
30
  "ts-check": "npx tsc --noEmit"
31
31
  },
32
32
  "dependencies": {
33
- "fastify": "^4.24.2",
34
- "playwright-core": "^1.39.0"
33
+ "fastify": "^4.24.3",
34
+ "playwright-core": "^1.40.0"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@changesets/changelog-github": "^0.4.8",
38
38
  "@changesets/cli": "^2.26.2",
39
- "@types/lodash": "^4.14.199",
40
- "eslint": "^8.51.0",
39
+ "@types/lodash": "^4.14.202",
40
+ "@types/node": "20.9.4",
41
+ "eslint": "^8.54.0",
41
42
  "eslint-config-prettier": "^9.0.0",
42
43
  "nodemon": "^3.0.1",
43
44
  "pino-pretty": "^10.2.3",
44
- "prettier": "^3.0.3",
45
+ "prettier": "^3.1.0",
45
46
  "typescript-json-schema": "^0.62.0",
46
47
  "vitest": "^0.34.6"
47
48
  }
@@ -120,7 +120,7 @@
120
120
  },
121
121
  "recordHar": {
122
122
  "additionalProperties": false,
123
- "description": "Enables [HAR](http://www.softwareishard.com/blog/har-12-spec) recording for all pages into `recordHar.path` file.\nIf not specified, the HAR is not recorded. Make sure to await\n[browserContext.close()](https://playwright.dev/docs/api/class-browsercontext#browser-context-close) for the HAR to\nbe saved.",
123
+ "description": "Enables [HAR](http://www.softwareishard.com/blog/har-12-spec) recording for all pages into `recordHar.path` file.\nIf not specified, the HAR is not recorded. Make sure to await\n[browserContext.close([options])](https://playwright.dev/docs/api/class-browsercontext#browser-context-close) for\nthe HAR to be saved.",
124
124
  "properties": {
125
125
  "content": {
126
126
  "description": "Optional setting to control resource content management. If `omit` is specified, content is not persisted. If\n`attach` is specified, resources are persisted as separate files or entries in the ZIP archive. If `embed` is\nspecified, content is stored inline the HAR file as per HAR specification. Defaults to `attach` for `.zip` output\nfiles and to `embed` for all other file extensions.",
@@ -157,7 +157,7 @@
157
157
  },
158
158
  "recordVideo": {
159
159
  "additionalProperties": false,
160
- "description": "Enables video recording for all pages into `recordVideo.dir` directory. If not specified videos are not recorded.\nMake sure to await\n[browserContext.close()](https://playwright.dev/docs/api/class-browsercontext#browser-context-close) for videos to\nbe saved.",
160
+ "description": "Enables video recording for all pages into `recordVideo.dir` directory. If not specified videos are not recorded.\nMake sure to await\n[browserContext.close([options])](https://playwright.dev/docs/api/class-browsercontext#browser-context-close) for\nvideos to be saved.",
161
161
  "properties": {
162
162
  "dir": {
163
163
  "description": "Path to the directory to put videos into.",