Skip to content

Commit 77c8794

Browse files
feat: upgrade to PDF.js v5.4.394
1 parent bb7963a commit 77c8794

File tree

9 files changed

+951
-1375
lines changed

9 files changed

+951
-1375
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ jobs:
1313
test:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v5
1717
- uses: pnpm/action-setup@v4
18-
- uses: actions/setup-node@v4
18+
- uses: actions/setup-node@v6
1919
with:
2020
node-version: 24
2121
cache: pnpm

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ jobs:
1313
release:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v5
1717
with:
1818
fetch-depth: 0
1919
- uses: pnpm/action-setup@v4
20-
- uses: actions/setup-node@v4
20+
- uses: actions/setup-node@v6
2121
with:
2222
node-version: 24
2323
registry-url: https://registry.npmjs.org/

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This library is also intended as a modern alternative to the unmaintained but st
1818
## PDF.js Compatibility
1919

2020
> [!Tip]
21-
> The serverless PDF.js bundle provided by `unpdf` is built from PDF.js v5.4.296.
21+
> The serverless PDF.js bundle provided by `unpdf` is built from PDF.js v5.4.394.
2222
2323
You can use an [official PDF.js build](#official-or-legacy-pdfjs-build) by using the [`definePDFJSModule`](#definepdfjsmodule) method. This is useful if you want to use a specific version or a custom build of PDF.js.
2424

examples/cloudflare/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"dev": "esbuild --bundle --platform=neutral --outfile=build/index.js index.ts && wrangler dev build/index.js"
77
},
88
"devDependencies": {
9-
"esbuild": "^0.25.11",
10-
"wrangler": "^4.45.3"
9+
"esbuild": "^0.25.12",
10+
"wrangler": "^4.51.0"
1111
}
1212
}

package.json

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "unpdf",
33
"type": "module",
44
"version": "1.4.0",
5-
"packageManager": "pnpm@10.20.0",
5+
"packageManager": "pnpm@10.24.0",
66
"description": "PDF extraction and rendering across all JavaScript runtimes",
77
"author": "Johann Schopplich <[email protected]>",
88
"license": "MIT",
@@ -71,22 +71,23 @@
7171
},
7272
"devDependencies": {
7373
"@antfu/eslint-config": "^6.2.0",
74-
"@napi-rs/canvas": "^0.1.81",
74+
"@napi-rs/canvas": "^0.1.83",
7575
"@rollup/plugin-alias": "^6.0.0",
7676
"@rollup/plugin-inject": "^5.0.5",
7777
"@rollup/plugin-node-resolve": "^16.0.3",
7878
"@rollup/plugin-replace": "^6.0.3",
7979
"@rollup/plugin-terser": "^0.4.4",
8080
"@rollup/plugin-typescript": "^12.3.0",
81-
"@types/node": "^24.9.2",
82-
"bumpp": "^10.3.1",
83-
"eslint": "^9.38.0",
81+
"@types/node": "^24.10.1",
82+
"bumpp": "^10.3.2",
83+
"eslint": "^9.39.1",
8484
"fast-glob": "^3.3.3",
85-
"pdfjs-dist": "~5.4.296",
86-
"rollup": "^4.52.5",
85+
"pdfjs-dist": "~5.4.394",
86+
"rollup": "^4.53.3",
87+
"tinyglobby": "^0.2.15",
8788
"tslib": "^2.8.1",
8889
"typescript": "^5.9.3",
8990
"unbuild": "^3.6.1",
90-
"vitest": "^4.0.5"
91+
"vitest": "^4.0.14"
9192
}
9293
}

0 commit comments

Comments
 (0)