Skip to content

Commit

Permalink
chore(deps): Bump pdfjs-dist from 3.8.162 to 3.9.179
Browse files Browse the repository at this point in the history
Bumps [pdfjs-dist](https://github.com/mozilla/pdfjs-dist) from 3.8.162 to 3.9.179.
- [Commits](https://github.com/mozilla/pdfjs-dist/commits)

---
updated-dependencies:
- dependency-name: pdfjs-dist
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored and nextcloud-command committed Aug 11, 2023
1 parent c0bdf8d commit 3debb7d
Show file tree
Hide file tree
Showing 125 changed files with 7,723 additions and 26,021 deletions.
13,022 changes: 7,008 additions & 6,014 deletions js/pdfjs/build/pdf.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/pdfjs/build/pdf.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions js/pdfjs/build/pdf.sandbox.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/pdfjs/build/pdf.sandbox.js.map

Large diffs are not rendered by default.

624 changes: 249 additions & 375 deletions js/pdfjs/build/pdf.worker.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/pdfjs/build/pdf.worker.js.map

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions js/pdfjs/web/debugger.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@
* limitations under the License.
*/

let opMap;
const { OPS } = globalThis.pdfjsLib || (await import("pdfjs-lib"));

const opMap = Object.create(null);
for (const key in OPS) {
opMap[OPS[key]] = key;
}

const FontInspector = (function FontInspectorClosure() {
let fonts;
Expand Down Expand Up @@ -63,7 +68,7 @@ const FontInspector = (function FontInspectorClosure() {
name: "Font Inspector",
panel: null,
manager: null,
init(pdfjsLib) {
init() {
const panel = this.panel;
const tmp = document.createElement("button");
tmp.addEventListener("click", resetSelection);
Expand Down Expand Up @@ -160,7 +165,7 @@ const StepperManager = (function StepperManagerClosure() {
name: "Stepper",
panel: null,
manager: null,
init(pdfjsLib) {
init() {
const self = this;
stepperControls = document.createElement("div");
stepperChooser = document.createElement("select");
Expand All @@ -173,11 +178,6 @@ const StepperManager = (function StepperManagerClosure() {
if (sessionStorage.getItem("pdfjsBreakPoints")) {
breakPoints = JSON.parse(sessionStorage.getItem("pdfjsBreakPoints"));
}

opMap = Object.create(null);
for (const key in pdfjsLib.OPS) {
opMap[pdfjsLib.OPS[key]] = key;
}
},
cleanup() {
stepperChooser.textContent = "";
Expand Down Expand Up @@ -457,7 +457,7 @@ const Stats = (function Stats() {
name: "Stats",
panel: null,
manager: null,
init(pdfjsLib) {},
init() {},
enabled: false,
active: false,
// Stats specific functions.
Expand Down Expand Up @@ -521,7 +521,7 @@ const PDFBug = (function PDFBugClosure() {
});
}
},
init(pdfjsLib, container, ids) {
init(container, ids) {
this.loadCSS();
this.enable(ids);
/*
Expand Down Expand Up @@ -561,7 +561,7 @@ const PDFBug = (function PDFBugClosure() {
tool.panel = panel;
tool.manager = this;
if (tool.enabled) {
tool.init(pdfjsLib);
tool.init();
} else {
panel.textContent =
`${tool.name} is disabled. To enable add "${tool.id}" to ` +
Expand Down
8 changes: 8 additions & 0 deletions js/pdfjs/web/images/toolbarButton-editorStamp.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 2 additions & 23 deletions js/pdfjs/web/locale/ach/viewer.properties
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@ open_file.title=Yab Pwail
open_file_label=Yab
print.title=Go
print_label=Go
download.title=Gam
download_label=Gam
bookmark.title=Neno ma kombedi (lok onyo yab i dirica manyen)
bookmark_label=Neno ma kombedi

# Secondary toolbar and context menu
tools.title=Gintic
Expand Down Expand Up @@ -151,25 +147,6 @@ find_reached_top=Oo iwi gin acoya, omede ki i tere
find_reached_bottom=Oo i agiki me gin acoya, omede ki iwiye
find_not_found=Lok pe ononge

# Error panel labels
error_more_info=Ngec Mukene
error_less_info=Ngec Manok
error_close=Lor
# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
# replaced by the PDF.JS version and build ID.
error_version_info=PDF.js v{{version}} (build: {{build}})
# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
# english string describing the error.
error_message=Kwena: {{message}}
# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
# trace.
error_stack=Can kikore {{stack}}
# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
error_file=Pwail: {{file}}
# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
error_line=Rek: {{line}}
rendering_error=Bal otime i kare me nyuto pot buk.

# Predefined zoom values
page_scale_width=Lac me iye pot buk
page_scale_fit=Porre me pot buk
Expand All @@ -184,6 +161,8 @@ invalid_file_error=Pwail me PDF ma pe atir onyo obale woko.
missing_file_error=Pwail me PDF tye ka rem.
unexpected_response_error=Lagam mape kigeno pa lapok tic.

rendering_error=Bal otime i kare me nyuto pot buk.

# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
# "{{type}}" will be replaced with an annotation type from a list defined in
# the PDF spec (32000-1:2008 Table 169 – Annotation types).
Expand Down
25 changes: 2 additions & 23 deletions js/pdfjs/web/locale/af/viewer.properties
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@ open_file.title=Open lêer
open_file_label=Open
print.title=Druk
print_label=Druk
download.title=Laai af
download_label=Laai af
bookmark.title=Huidige aansig (kopieer of open in nuwe venster)
bookmark_label=Huidige aansig

# Secondary toolbar and context menu
tools.title=Nutsgoed
Expand Down Expand Up @@ -128,25 +124,6 @@ find_reached_top=Bokant van dokument is bereik; gaan voort van onder af
find_reached_bottom=Einde van dokument is bereik; gaan voort van bo af
find_not_found=Frase nie gevind nie

# Error panel labels
error_more_info=Meer inligting
error_less_info=Minder inligting
error_close=Sluit
# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
# replaced by the PDF.JS version and build ID.
error_version_info=PDF.js v{{version}} (ID: {{build}})
# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
# english string describing the error.
error_message=Boodskap: {{message}}
# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
# trace.
error_stack=Stapel: {{stack}}
# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
error_file=Lêer: {{file}}
# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
error_line=Lyn: {{line}}
rendering_error='n Fout het voorgekom toe die bladsy weergegee is.

# Predefined zoom values
page_scale_width=Bladsywydte
page_scale_fit=Pas bladsy
Expand All @@ -161,6 +138,8 @@ invalid_file_error=Ongeldige of korrupte PDF-lêer.
missing_file_error=PDF-lêer is weg.
unexpected_response_error=Onverwagse antwoord van bediener.

rendering_error='n Fout het voorgekom toe die bladsy weergegee is.

# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
# "{{type}}" will be replaced with an annotation type from a list defined in
# the PDF spec (32000-1:2008 Table 169 – Annotation types).
Expand Down
25 changes: 2 additions & 23 deletions js/pdfjs/web/locale/an/viewer.properties
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@ open_file.title=Ubrir o fichero
open_file_label=Ubrir
print.title=Imprentar
print_label=Imprentar
download.title=Descargar
download_label=Descargar
bookmark.title=Vista actual (copiar u ubrir en una nueva finestra)
bookmark_label=Vista actual

# Secondary toolbar and context menu
tools.title=Ferramientas
Expand Down Expand Up @@ -190,25 +186,6 @@ find_match_count_limit[many]=Mas que {{limit}} coincidencias
find_match_count_limit[other]=Mas que {{limit}} coincidencias
find_not_found=No s'ha trobau a frase

# Error panel labels
error_more_info=Mas información
error_less_info=Menos información
error_close=Zarrar
# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
# replaced by the PDF.JS version and build ID.
error_version_info=PDF.js v{{version}} (build: {{build}})
# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
# english string describing the error.
error_message=Mensache: {{message}}
# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
# trace.
error_stack=Pila: {{stack}}
# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
error_file=Fichero: {{file}}
# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
error_line=Linia: {{line}}
rendering_error=Ha ocurriu una error en renderizar a pachina.

# Predefined zoom values
page_scale_width=Amplaria d'a pachina
page_scale_fit=Achuste d'a pachina
Expand All @@ -223,6 +200,8 @@ invalid_file_error=O PDF no ye valido u ye estorbau.
missing_file_error=No i ha fichero PDF.
unexpected_response_error=Respuesta a lo servicio inasperada.

rendering_error=Ha ocurriu una error en renderizar a pachina.

# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be
# replaced by the modification date, and time, of the annotation.
annotation_date_string={{date}}, {{time}}
Expand Down
27 changes: 2 additions & 25 deletions js/pdfjs/web/locale/ar/viewer.properties
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@ open_file.title=افتح ملفًا
open_file_label=افتح
print.title=اطبع
print_label=اطبع
download.title=نزّل
download_label=نزّل
bookmark.title=المنظور الحالي (انسخ أو افتح في نافذة جديدة)
bookmark_label=المنظور الحالي

# Secondary toolbar and context menu
tools.title=الأدوات
Expand Down Expand Up @@ -192,25 +188,6 @@ find_match_count_limit[many]=أكثر من {{limit}} مطابقة
find_match_count_limit[other]=أكثر من {{limit}} مطابقة
find_not_found=لا وجود للعبارة

# Error panel labels
error_more_info=معلومات أكثر
error_less_info=معلومات أقل
error_close=أغلق
# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
# replaced by the PDF.JS version and build ID.
error_version_info=‏PDF.js ن{{version}} ‏(بناء: {{build}})
# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
# english string describing the error.
error_message=الرسالة: {{message}}
# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
# trace.
error_stack=الرصّة: {{stack}}
# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
error_file=الملف: {{file}}
# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
error_line=السطر: {{line}}
rendering_error=حدث خطأ أثناء عرض الصفحة.

# Predefined zoom values
page_scale_width=عرض الصفحة
page_scale_fit=ملائمة الصفحة
Expand All @@ -220,13 +197,13 @@ page_scale_actual=الحجم الفعلي
# numerical scale value.
page_scale_percent={{scale}}٪

# Loading indicator messages
loading=يحمّل…
loading_error=حدث عطل أثناء تحميل ملف PDF.
invalid_file_error=ملف PDF تالف أو غير صحيح.
missing_file_error=ملف PDF غير موجود.
unexpected_response_error=استجابة خادوم غير متوقعة.

rendering_error=حدث خطأ أثناء عرض الصفحة.

# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be
# replaced by the modification date, and time, of the annotation.
annotation_date_string={{date}}، {{time}}
Expand Down
22 changes: 0 additions & 22 deletions js/pdfjs/web/locale/ast/viewer.properties
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ presentation_mode_label=Mou de presentación
open_file_label=Abrir
print.title=Imprentar
print_label=Imprentar
download.title=Baxar
download_label=Baxar
bookmark_label=Vista actual

# Secondary toolbar and context menu
tools.title=Ferramientes
Expand Down Expand Up @@ -163,32 +160,13 @@ find_match_count_limit[few]=Más de {{limit}} coincidencies
find_match_count_limit[many]=Más de {{limit}} coincidencies
find_match_count_limit[other]=Más de {{limit}} coincidencies

# Error panel labels
error_more_info=Más información
error_less_info=Menos información
# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
# replaced by the PDF.JS version and build ID.
error_version_info=PDF.js v{{version}} (compilación: {{build}})
# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
# english string describing the error.
error_message=Mensaxe: {{message}}
# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
# trace.
error_stack=Pila: {{stack}}
# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
error_file=Ficheru: {{file}}
# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
error_line=Llinia: {{line}}

# Predefined zoom values
page_scale_auto=Zoom automáticu
page_scale_actual=Tamañu real
# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a
# numerical scale value.
page_scale_percent={{scale}}%

# Loading indicator messages
loading=Cargando…
loading_error=Asocedió un fallu mentanto se cargaba'l PDF.

# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be
Expand Down
25 changes: 2 additions & 23 deletions js/pdfjs/web/locale/az/viewer.properties
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@ open_file.title=Fayl Aç
open_file_label=
print.title=Yazdır
print_label=Yazdır
download.title=Endir
download_label=Endir
bookmark.title=Hazırkı görünüş (köçür və ya yeni pəncərədə aç)
bookmark_label=Hazırkı görünüş

# Secondary toolbar and context menu
tools.title=Alətlər
Expand Down Expand Up @@ -190,25 +186,6 @@ find_match_count_limit[many]={{limit}} uyğunluqdan daha çox
find_match_count_limit[other]={{limit}} uyğunluqdan daha çox
find_not_found=Uyğunlaşma tapılmadı

# Error panel labels
error_more_info=Daha çox məlumati
error_less_info=Daha az məlumat
error_close=Qapat
# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
# replaced by the PDF.JS version and build ID.
error_version_info=PDF.js v{{version}} (yığma: {{build}})
# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
# english string describing the error.
error_message=İsmarıc: {{message}}
# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
# trace.
error_stack=Stek: {{stack}}
# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
error_file=Fayl: {{file}}
# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
error_line=Sətir: {{line}}
rendering_error=Səhifə göstərilərkən səhv yarandı.

# Predefined zoom values
page_scale_width=Səhifə genişliyi
page_scale_fit=Səhifəni sığdır
Expand All @@ -223,6 +200,8 @@ invalid_file_error=Səhv və ya zədələnmiş olmuş PDF fayl.
missing_file_error=PDF fayl yoxdur.
unexpected_response_error=Gözlənilməz server cavabı.

rendering_error=Səhifə göstərilərkən səhv yarandı.

# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be
# replaced by the modification date, and time, of the annotation.
annotation_date_string={{date}}, {{time}}
Expand Down
Loading

0 comments on commit 3debb7d

Please sign in to comment.