Skip to content

Commit 936d3ec

Browse files
committed
Version 1.6.1
## Version 1.6.1 - February 11, 2025 - **Improved:** Restricted file chooser (Open action in top-right menu) to only "application/pdf" mime type (*.pdf files) to prevent unnecessary error when user tries to open random file types. "Invalid or corrupted PDF file. Invalid PDF structure." message may confuse the user who may not know the viewer can only open and render PDF files on the client-side.
1 parent 953f3a7 commit 936d3ec

6 files changed

Lines changed: 8 additions & 8 deletions

File tree

‎dist/docs/index.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta charset='utf-8'>
5-
<title>pdfjskit 1.6.0 | Documentation</title>
5+
<title>pdfjskit 1.6.1 | Documentation</title>
66
<meta name='description' content='PdfJsKit is a PDF Viewer built on top of PDF.js, with modern UI and new features which supports integration for all JS frameworks.'>
77
<meta name='viewport' content='width=device-width,initial-scale=1'>
88
<link href='assets/bass.css' rel='stylesheet'>
@@ -16,7 +16,7 @@
1616
<div id='split-left' class='overflow-auto fs0 height-viewport-100'>
1717
<div class='py1 px2'>
1818
<h3 class='mb0 no-anchor'>pdfjskit</h3>
19-
<div class='mb1'><code>1.6.0</code></div>
19+
<div class='mb1'><code>1.6.1</code></div>
2020
<input
2121
placeholder='Filter'
2222
id='filter-input'

‎dist/pdfjskit/pdfjskit.min.js‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/pdfjskit/pdfjskit.min.mjs‎

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

‎examples/pdfjskit-vite-example/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
"vite": "^5.4.8"
1313
},
1414
"dependencies": {
15-
"pdfjskit": "^1.6.0"
15+
"pdfjskit": "^1.6.1"
1616
}
1717
}

‎package/package-lock.json‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pdfjskit",
3-
"version": "1.6.0",
3+
"version": "1.6.1",
44
"description": "PdfJsKit is a PDF Viewer built on top of PDF.js, with modern UI and new features which supports integration for all JS frameworks.",
55
"keywords": [
66
"pdf-viewer",

0 commit comments

Comments
 (0)