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 913a9ef

Browse filesBrowse files
feat: upgrade to PDF.js v5.4.296
1 parent 70dcc3b commit 913a9ef
Copy full SHA for 913a9ef

4 files changed

+24-11Lines changed: 24 additions & 11 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

‎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.149.
21+
> The serverless PDF.js bundle provided by `unpdf` is built from PDF.js v5.4.296.
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

‎package.json‎

Copy file name to clipboardExpand all lines: package.json
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
"devDependencies": {
7373
"@antfu/eslint-config": "^6.2.0",
7474
"@napi-rs/canvas": "^0.1.81",
75-
"@rollup/plugin-alias": "^5.1.1",
75+
"@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",
@@ -82,7 +82,7 @@
8282
"bumpp": "^10.3.1",
8383
"eslint": "^9.38.0",
8484
"fast-glob": "^3.3.3",
85-
"pdfjs-dist": "~5.4.149",
85+
"pdfjs-dist": "~5.4.296",
8686
"rollup": "^4.52.5",
8787
"tslib": "^2.8.1",
8888
"typescript": "^5.9.3",
Collapse file

‎pnpm-lock.yaml‎

Copy file name to clipboardExpand all lines: pnpm-lock.yaml
+20-7Lines changed: 20 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file

‎test/index.test.ts‎

Copy file name to clipboardExpand all lines: test/index.test.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ describe('unpdf', () => {
2929
const PDFJS = await getResolvedPDFJS()
3030
const { version } = PDFJS
3131

32-
expect(version).toMatchInlineSnapshot(`"5.4.149"`)
32+
expect(version).toMatchInlineSnapshot(`"5.4.296"`)
3333
})
3434

3535
it('extracts metadata from a PDF', async () => {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.