Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 77c8794

Browse filesBrowse files
feat: upgrade to PDF.js v5.4.394
1 parent bb7963a commit 77c8794
Copy full SHA for 77c8794

9 files changed

+951-1,375Lines changed: 951 additions & 1375 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/ci.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/ci.yml
+2-2Lines 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
Collapse file

‎.github/workflows/release.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/release.yml
+2-2Lines 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/
Collapse file

‎README.md‎

Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
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

Collapse file

‎examples/cloudflare/package.json‎

Copy file name to clipboardExpand all lines: examples/cloudflare/package.json
+2-2Lines 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
}
Collapse file

‎package.json‎

Copy file name to clipboardExpand all lines: package.json
+9-8Lines 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 <hello@johannschopplich.com>",
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.