bits-to-dead-trees 2.15.1 → 2.16.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.
@@ -9,6 +9,7 @@ cd "${PATH_TO_SCRIPT}/../.." || exit 1
9
9
  if [[ $(git status --porcelain | grep pdf_request_body.json) ]]; then
10
10
  echo "🚨 Detected schema changes that haven't been committed, please run 'npm run update-schemas' and commit the changes."
11
11
  git status
12
+ git diff
12
13
  exit 2
13
14
  else
14
15
  echo "All good, no schema changes detected. 🏝"
@@ -35,7 +35,7 @@ jobs:
35
35
  password: ${{ secrets.GITHUB_TOKEN }}
36
36
 
37
37
  - name: Build and push builder image
38
- uses: docker/build-push-action@v5
38
+ uses: docker/build-push-action@v6
39
39
  with:
40
40
  file: Dockerfile
41
41
  push: true
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # bits-to-dead-trees
2
2
 
3
+ ## 2.16.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#361](https://github.com/rmehner/bits-to-dead-trees/pull/361) [`0e31220`](https://github.com/rmehner/bits-to-dead-trees/commit/0e312209f2fc74201ae758c49ec4fa2a69393b3f) Thanks [@depfu](https://github.com/apps/depfu)! - Upgrade to Playwright 1.45.0
8
+
3
9
  ## 2.15.1
4
10
 
5
11
  ### Patch Changes
package/Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM mcr.microsoft.com/playwright:v1.44.1
1
+ FROM mcr.microsoft.com/playwright:v1.45.0
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.15.0
60
+ image: ghcr.io/rmehner/bits-to-dead-trees:v2.15.1
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.15.1",
4
+ "version": "2.16.0",
5
5
  "description": "Turn HTML into PDF files",
6
6
  "repository": "github:rmehner/bits-to-dead-trees",
7
7
  "license": "Apache-2.0",
@@ -30,19 +30,19 @@
30
30
  "ts-check": "npx tsc --noEmit"
31
31
  },
32
32
  "dependencies": {
33
- "fastify": "^4.27.0",
34
- "playwright-core": "^1.44.1"
33
+ "fastify": "^4.28.0",
34
+ "playwright-core": "^1.45.0"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@changesets/changelog-github": "^0.5.0",
38
- "@changesets/cli": "^2.27.3",
39
- "@types/lodash": "^4.17.4",
38
+ "@changesets/cli": "^2.27.6",
39
+ "@types/lodash": "^4.17.5",
40
40
  "@types/node": "20.11.22",
41
41
  "eslint": "^8.57.0",
42
42
  "eslint-config-prettier": "^9.1.0",
43
- "nodemon": "^3.1.1",
43
+ "nodemon": "^3.1.4",
44
44
  "pino-pretty": "^10.3.1",
45
- "prettier": "^3.2.5",
45
+ "prettier": "^3.3.2",
46
46
  "typescript-json-schema": "^0.63.0",
47
47
  "vitest": "^1.6.0"
48
48
  }
@@ -383,6 +383,11 @@
383
383
  "password": {
384
384
  "type": "string"
385
385
  },
386
+ "send": {
387
+ "description": "This option only applies to the requests sent from corresponding {@link APIRequestContext} and does not affect\nrequests sent from the browser. `'always'` - `Authorization` header with basic authentication credentials will be\nsent with the each API request. `'unauthorized` - the credentials are only sent when 401 (Unauthorized) response\nwith `WWW-Authenticate` header is received. Defaults to `'unauthorized'`.",
388
+ "enum": ["always", "unauthorized"],
389
+ "type": "string"
390
+ },
386
391
  "username": {
387
392
  "type": "string"
388
393
  }