bits-to-dead-trees 2.19.2 → 2.20.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/.node-version +1 -1
- package/CHANGELOG.md +9 -0
- package/Dockerfile +1 -1
- package/README.md +1 -1
- package/package.json +17 -17
- package/pdf_request_body.json +1 -1
package/.node-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
22.12.0
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# bits-to-dead-trees
|
|
2
2
|
|
|
3
|
+
## 2.20.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#441](https://github.com/rmehner/bits-to-dead-trees/pull/441) [`b44b6a8`](https://github.com/rmehner/bits-to-dead-trees/commit/b44b6a80c99c3c5c9c3003d95f14d6e8102dd654) Thanks [@depfu](https://github.com/apps/depfu)! - Upgrade to Playwright 1.49.1.
|
|
8
|
+
|
|
9
|
+
This will switch to the new headless mode, see https://github.com/microsoft/playwright/issues/33566
|
|
10
|
+
for some details on that.
|
|
11
|
+
|
|
3
12
|
## 2.19.2
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
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.
|
|
4
|
+
"version": "2.20.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": ">=
|
|
14
|
+
"node": ">= 22"
|
|
15
15
|
},
|
|
16
16
|
"main": "server.js",
|
|
17
17
|
"type": "module",
|
|
@@ -23,32 +23,32 @@
|
|
|
23
23
|
"start:dev": "nodemon --inspect server.js",
|
|
24
24
|
"dump-schemas": "typescript-json-schema --noExtraProps --required --strictNullChecks types/schemas.ts PdfRequestBody --out pdf_request_body.json",
|
|
25
25
|
"update-schemas": "npm run dump-schemas && npm run format",
|
|
26
|
-
"postinstall": "npx playwright-core install chromium",
|
|
26
|
+
"postinstall": "npx playwright-core install chromium --only-shell",
|
|
27
27
|
"add-changeset": "changeset",
|
|
28
28
|
"release": "changeset publish",
|
|
29
29
|
"test": "vitest --reporter verbose",
|
|
30
30
|
"ts-check": "npx tsc --noEmit"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"fastify": "^5.
|
|
34
|
-
"playwright-core": "^1.
|
|
33
|
+
"fastify": "^5.2.1",
|
|
34
|
+
"playwright-core": "^1.49.1"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@changesets/changelog-github": "^0.5.0",
|
|
38
|
-
"@changesets/cli": "^2.27.
|
|
39
|
-
"@eslint/js": "^9.
|
|
38
|
+
"@changesets/cli": "^2.27.11",
|
|
39
|
+
"@eslint/js": "^9.17.0",
|
|
40
40
|
"@tsconfig/node20": "^20.1.4",
|
|
41
|
-
"@types/lodash": "^4.17.
|
|
42
|
-
"@types/node": "
|
|
43
|
-
"eslint": "^9.
|
|
41
|
+
"@types/lodash": "^4.17.14",
|
|
42
|
+
"@types/node": "22.10.5",
|
|
43
|
+
"eslint": "^9.17.0",
|
|
44
44
|
"eslint-config-prettier": "^9.1.0",
|
|
45
|
-
"eslint-plugin-n": "^17.
|
|
46
|
-
"eslint-plugin-promise": "^7.1
|
|
47
|
-
"globals": "^15.
|
|
48
|
-
"nodemon": "^3.1.
|
|
49
|
-
"pino-pretty": "^
|
|
50
|
-
"prettier": "^3.
|
|
45
|
+
"eslint-plugin-n": "^17.15.1",
|
|
46
|
+
"eslint-plugin-promise": "^7.2.1",
|
|
47
|
+
"globals": "^15.14.0",
|
|
48
|
+
"nodemon": "^3.1.9",
|
|
49
|
+
"pino-pretty": "^13.0.0",
|
|
50
|
+
"prettier": "^3.4.2",
|
|
51
51
|
"typescript-json-schema": "^0.65.1",
|
|
52
|
-
"vitest": "^2.1.
|
|
52
|
+
"vitest": "^2.1.8"
|
|
53
53
|
}
|
|
54
54
|
}
|
package/pdf_request_body.json
CHANGED
|
@@ -198,7 +198,7 @@
|
|
|
198
198
|
"type": "null"
|
|
199
199
|
}
|
|
200
200
|
],
|
|
201
|
-
"description": "Emulates
|
|
201
|
+
"description": "Emulates [prefers-colors-scheme](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme)\nmedia feature, supported values are `'light'` and `'dark'`. See\n[page.emulateMedia([options])](https://playwright.dev/docs/api/class-page#page-emulate-media) for more details.\nPassing `null` resets emulation to system defaults. Defaults to `'light'`."
|
|
202
202
|
},
|
|
203
203
|
"deviceScaleFactor": {
|
|
204
204
|
"description": "Specify device scale factor (can be thought of as dpr). Defaults to `1`. Learn more about\n[emulating devices with device scale factor](https://playwright.dev/docs/emulation#devices).",
|