Merge pull request #14792 from Snuffleupagus/update-packages

Update packages and translations
This commit is contained in:
Tim van der Meij 2022-04-19 21:17:28 +02:00 committed by GitHub
commit b34fb94c68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 334 additions and 460 deletions

View File

@ -202,14 +202,10 @@ function createWebpackConfig(
!disableSourceMaps;
const skipBabel = bundleDefines.SKIP_BABEL;
// `core-js` (see https://github.com/zloirock/core-js/issues/514),
// `web-streams-polyfill` (already using a transpiled file), and
// `core-js` (see https://github.com/zloirock/core-js/issues/514), and
// `src/core/{glyphlist,unicode}.js` (Babel is too slow for those when
// source-maps are enabled) should be excluded from processing.
const babelExcludes = [
"node_modules[\\\\\\/]core-js",
"node_modules[\\\\\\/]web-streams-polyfill",
];
const babelExcludes = ["node_modules[\\\\\\/]core-js"];
if (enableSourceMaps) {
babelExcludes.push("src[\\\\\\/]core[\\\\\\/](glyphlist|unicode)");
}
@ -2106,7 +2102,7 @@ function packageBowerJson() {
license: DIST_LICENSE,
dependencies: {
dommatrix: "^0.0.24",
"web-streams-polyfill": "^3.2.0",
"web-streams-polyfill": "^3.2.1",
},
peerDependencies: {
"worker-loader": "^3.0.8", // Used in `external/dist/webpack.js`.

View File

@ -227,7 +227,7 @@ page_scale_percent={{scale}}%
# Loading indicator messages
loading=Чытаецца…
loading_error=Здарылася памылка падчас загрузкі PDF.
loading_error=Здарылася памылка ў часе загрузкі PDF.
invalid_file_error=Няспраўны або пашкоджаны файл PDF.
missing_file_error=Адсутны файл PDF.
unexpected_response_error=Нечаканы адказ сервера.

View File

@ -61,6 +61,8 @@ cursor_text_select_tool_label=Afecku n tefrant n uḍris
cursor_hand_tool.title=Rmed afecku afus
cursor_hand_tool_label=Afecku afus
scroll_page.title=Seqdec adrurem n usebter
scroll_page_label=Adrurem n usebter
scroll_vertical.title=Seqdec adrurem ubdid
scroll_vertical_label=Adrurem ubdid
scroll_horizontal.title=Seqdec adrurem aglawan
@ -168,6 +170,7 @@ find_next.title=Aff-d timseḍriwt n twinest d-iteddun
find_next_label=Ddu ɣer zdat
find_highlight=Err izirig imaṛṛa
find_match_case_label=Qadeṛ amasal n isekkilen
find_match_diacritics_label=Qadeṛ ifeskilen
find_entire_word_label=Awalen iččuranen
find_reached_top=Yabbeḍ s afella n usebter, tuɣalin s wadda
find_reached_bottom=Tebḍeḍ s adda n usebter, tuɣalin s afella

View File

@ -13,22 +13,28 @@
# limitations under the License.
# Main toolbar buttons (tooltips and alt text for images)
previous.title=Pàgina anteriore
previous_label=S'ischeda chi b'est primu
next.title=Pàgina imbeniente
next_label=Imbeniente
# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input.
page.title=Pàgina
# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number
# representing the total number of pages in the document.
of_pages=de {{pagesCount}}
# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}"
# will be replaced by a number representing the currently visible page,
# respectively a number representing the total number of pages in the document.
page_of_pages=({{pageNumber}} de {{pagesCount}})
zoom_out.title=Impitica
zoom_out_label=Impitica
zoom_in.title=Ismànnia
zoom_in_label=Ismànnia
zoom.title=Ismànnia
presentation_mode.title=Cola a sa modalidade de presentatzione
presentation_mode_label=Modalidade de presentatzione
open_file.title=Aberi s'archìviu
open_file_label=Abertu
print.title=Imprenta

View File

@ -64,7 +64,7 @@ document_properties_kb={{size_kb}} КБ ({{size_b}} байт)
document_properties_mb={{size_mb}} МБ ({{size_b}} байт)
document_properties_title=Сарлавҳа:
document_properties_author=Муаллиф:
document_properties_subject=Мавзӯъ:
document_properties_subject=Мавзуъ:
document_properties_keywords=Калимаҳои калидӣ:
document_properties_creation_date=Санаи эҷод:
document_properties_modification_date=Санаи тағйирот:
@ -124,6 +124,7 @@ find_match_count_limit[two]=Зиёда аз {{limit}} мувофиқат
find_match_count_limit[few]=Зиёда аз {{limit}} мувофиқат
find_match_count_limit[many]=Зиёда аз {{limit}} мувофиқат
find_match_count_limit[other]=Зиёда аз {{limit}} мувофиқат
find_not_found=Ибора ёфт нашуд
# Error panel labels
error_more_info=Маълумоти бештар

742
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,29 +1,29 @@
{
"name": "pdf.js",
"devDependencies": {
"@babel/core": "^7.17.8",
"@babel/plugin-transform-modules-commonjs": "^7.17.7",
"@babel/core": "^7.17.9",
"@babel/plugin-transform-modules-commonjs": "^7.17.9",
"@babel/plugin-transform-runtime": "^7.17.0",
"@babel/preset-env": "^7.16.11",
"@babel/runtime": "^7.17.8",
"@babel/runtime": "^7.17.9",
"@javascript-obfuscator/escodegen": "2.3.0",
"acorn": "^8.7.0",
"autoprefixer": "^10.4.4",
"babel-loader": "^8.2.4",
"caniuse-lite": "^1.0.30001324",
"caniuse-lite": "^1.0.30001332",
"canvas": "^2.9.1",
"core-js": "^3.22.0",
"cross-env": "^7.0.3",
"dialog-polyfill": "^0.5.6",
"dommatrix": "^0.0.24",
"es-module-shims": "1.4.7",
"eslint": "^8.12.0",
"eslint": "^8.13.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-fetch-options": "^0.0.5",
"eslint-plugin-html": "^6.2.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-json": "^3.1.0",
"eslint-plugin-mozilla": "^2.11.3",
"eslint-plugin-mozilla": "^2.11.4",
"eslint-plugin-no-unsanitized": "^4.0.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-sort-exports": "^0.6.0",
@ -34,20 +34,20 @@
"gulp-rename": "^2.0.0",
"gulp-replace": "^1.1.3",
"gulp-zip": "^5.1.0",
"jasmine": "^4.0.2",
"jasmine": "^4.1.0",
"jsdoc": "^3.6.10",
"jstransformer-markdown-it": "^2.1.0",
"merge-stream": "^2.0.0",
"mkdirp": "^1.0.4",
"needle": "^3.0.0",
"needle": "^3.1.0",
"postcss": "^8.4.12",
"postcss-dir-pseudo-class": "^6.0.4",
"postcss-logical": "^5.0.4",
"prettier": "^2.6.1",
"prettier": "^2.6.2",
"puppeteer": "^13.5.2",
"rimraf": "^3.0.2",
"streamqueue": "^1.1.2",
"stylelint": "^14.6.1",
"stylelint": "^14.7.0",
"stylelint-config-prettier": "^9.0.3",
"stylelint-prettier": "^2.0.0",
"systemjs": "^0.21.6",
@ -59,11 +59,11 @@
"typogr": "^0.6.8",
"vinyl": "^2.2.1",
"vinyl-fs": "^3.0.3",
"web-streams-polyfill": "^3.2.0",
"webpack": "^5.71.0",
"web-streams-polyfill": "^3.2.1",
"webpack": "^5.72.0",
"webpack-stream": "^7.0.0",
"wintersmith": "^2.5.0",
"yargs": "^17.4.0"
"yargs": "^17.4.1"
},
"scripts": {
"postinstall": "cross-env PUPPETEER_PRODUCT=firefox node node_modules/puppeteer/install.js"