From 28962da91b0003e74120a1212e15109a406fe9bf Mon Sep 17 00:00:00 2001 From: Tim van der Meij Date: Thu, 11 Apr 2024 15:40:38 +0200 Subject: [PATCH 1/4] Update dependencies to the most recent versions --- gulpfile.mjs | 2 +- package-lock.json | 191 +++++++++++++++++++++++++--------------------- package.json | 18 ++--- 3 files changed, 113 insertions(+), 98 deletions(-) diff --git a/gulpfile.mjs b/gulpfile.mjs index 034807f2d1874..47ff3f72bca67 100644 --- a/gulpfile.mjs +++ b/gulpfile.mjs @@ -2157,7 +2157,7 @@ function packageJson() { license: DIST_LICENSE, optionalDependencies: { canvas: "^2.11.2", - path2d: "^0.1.2", + path2d: "^0.2.0", }, browser: { canvas: false, diff --git a/package-lock.json b/package-lock.json index 0eece2d69bdb5..2297050bc2ba5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,26 +8,26 @@ "hasInstallScript": true, "license": "Apache-2.0", "devDependencies": { - "@babel/core": "^7.24.3", - "@babel/preset-env": "^7.24.3", - "@babel/runtime": "^7.24.1", + "@babel/core": "^7.24.4", + "@babel/preset-env": "^7.24.4", + "@babel/runtime": "^7.24.4", "@fluent/bundle": "^0.18.0", "@fluent/dom": "^0.9.0", "@jazzer.js/core": "^2.1.0", "autoprefixer": "^10.4.19", "babel-loader": "^9.1.3", - "caniuse-lite": "^1.0.30001605", + "caniuse-lite": "^1.0.30001608", "canvas": "^2.11.2", "core-js": "^3.36.1", "cross-env": "^7.0.3", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-fetch-options": "^0.0.5", - "eslint-plugin-html": "^8.0.0", + "eslint-plugin-html": "^8.1.0", "eslint-plugin-import": "^2.29.1", "eslint-plugin-jasmine": "^4.1.3", "eslint-plugin-json": "^3.1.0", - "eslint-plugin-mozilla": "^3.7.1", + "eslint-plugin-mozilla": "^3.7.3", "eslint-plugin-no-unsanitized": "^4.0.2", "eslint-plugin-prettier": "^5.1.3", "eslint-plugin-sort-exports": "^0.9.1", @@ -45,7 +45,7 @@ "merge-stream": "^2.0.0", "mkdirp": "^3.0.1", "needle": "^3.3.1", - "path2d": "^0.1.2", + "path2d": "^0.2.0", "pngjs": "^7.0.0", "postcss": "^8.4.38", "postcss-dark-theme-class": "^1.2.1", @@ -53,7 +53,7 @@ "postcss-discard-comments": "^6.0.2", "postcss-nesting": "^12.1.1", "prettier": "^3.2.5", - "puppeteer": "^22.6.2", + "puppeteer": "^22.6.4", "rimraf": "^3.0.2", "streamqueue": "^1.1.2", "stylelint": "^16.3.1", @@ -62,7 +62,7 @@ "through2": "^4.0.2", "tsc-alias": "^1.8.8", "ttest": "^4.0.0", - "typescript": "^5.4.3", + "typescript": "^5.4.5", "typogr": "^0.6.8", "vinyl": "^3.0.0", "webpack": "^5.91.0", @@ -123,27 +123,27 @@ } }, "node_modules/@babel/compat-data": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.24.1.tgz", - "integrity": "sha512-Pc65opHDliVpRHuKfzI+gSA4zcgr65O4cl64fFJIWEEh8JoHIHh0Oez1Eo8Arz8zq/JhgKodQaxEwUPRtZylVA==", + "version": "7.24.4", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.24.4.tgz", + "integrity": "sha512-vg8Gih2MLK+kOkHJp4gBEIkyaIi00jgWot2D9QOmmfLC8jINSOzmCLta6Bvz/JSBCqnegV0L80jhxkol5GWNfQ==", "dev": true, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/core": { - "version": "7.24.3", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.24.3.tgz", - "integrity": "sha512-5FcvN1JHw2sHJChotgx8Ek0lyuh4kCKelgMTTqhYJJtloNvUfpAFMeNQUtdlIaktwrSV9LtCdqwk48wL2wBacQ==", + "version": "7.24.4", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.24.4.tgz", + "integrity": "sha512-MBVlMXP+kkl5394RBLSxxk/iLTeVGuXTV3cIDXavPpMMqnSnt6apKgan/U8O3USWZCWZT/TbgfEpKa4uMgN4Dg==", "dev": true, "dependencies": { "@ampproject/remapping": "^2.2.0", "@babel/code-frame": "^7.24.2", - "@babel/generator": "^7.24.1", + "@babel/generator": "^7.24.4", "@babel/helper-compilation-targets": "^7.23.6", "@babel/helper-module-transforms": "^7.23.3", - "@babel/helpers": "^7.24.1", - "@babel/parser": "^7.24.1", + "@babel/helpers": "^7.24.4", + "@babel/parser": "^7.24.4", "@babel/template": "^7.24.0", "@babel/traverse": "^7.24.1", "@babel/types": "^7.24.0", @@ -200,9 +200,9 @@ } }, "node_modules/@babel/generator": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.24.1.tgz", - "integrity": "sha512-DfCRfZsBcrPEHUfuBMgbJ1Ut01Y/itOs+hY2nFLgqsqXd52/iSiVq5TITtUasIUgm+IIKdY2/1I7auiQOEeC9A==", + "version": "7.24.4", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.24.4.tgz", + "integrity": "sha512-Xd6+v6SnjWVx/nus+y0l1sxMOTOMBkyL4+BIdbALyatQnAe/SRVjANeDPSCYaX+i1iJmuGSKf3Z+E+V/va1Hvw==", "dev": true, "dependencies": { "@babel/types": "^7.24.0", @@ -273,9 +273,9 @@ } }, "node_modules/@babel/helper-create-class-features-plugin": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.24.1.tgz", - "integrity": "sha512-1yJa9dX9g//V6fDebXoEfEsxkZHk3Hcbm+zLhyu6qVgYFLvmTALTeV+jNU9e5RnYtioBrGEOdoI2joMSNQ/+aA==", + "version": "7.24.4", + "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.24.4.tgz", + "integrity": "sha512-lG75yeuUSVu0pIcbhiYMXBXANHrpUPaOfu7ryAzskCgKUHuAxRQI5ssrtmF0X9UXldPlvT0XM/A4F44OXRt6iQ==", "dev": true, "dependencies": { "@babel/helper-annotate-as-pure": "^7.22.5", @@ -579,9 +579,9 @@ } }, "node_modules/@babel/helpers": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.24.1.tgz", - "integrity": "sha512-BpU09QqEe6ZCHuIHFphEFgvNSrubve1FtyMton26ekZ85gRGi6LrTF7zArARp2YvyFxloeiRmtSCq5sjh1WqIg==", + "version": "7.24.4", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.24.4.tgz", + "integrity": "sha512-FewdlZbSiwaVGlgT1DPANDuCHaDMiOo+D/IDYRFYjHOuv66xMSJ7fQwwODwRNAPkADIO/z1EoF/l2BCWlWABDw==", "dev": true, "dependencies": { "@babel/template": "^7.24.0", @@ -608,9 +608,9 @@ } }, "node_modules/@babel/parser": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.24.1.tgz", - "integrity": "sha512-Zo9c7N3xdOIQrNip7Lc9wvRPzlRtovHVE4lkz8WEDr7uYh/GMQhSiIgFxGIArRHYdJE5kxtZjAf8rT0xhdLCzg==", + "version": "7.24.4", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.24.4.tgz", + "integrity": "sha512-zTvEBcghmeBma9QIGunWevvBAp4/Qu9Bdq+2k0Ot4fVMD6v3dsC9WOcRSKk7tRRyBM/53yKMJko9xOatGQAwSg==", "dev": true, "bin": { "parser": "bin/babel-parser.js" @@ -619,6 +619,22 @@ "node": ">=6.0.0" } }, + "node_modules/@babel/plugin-bugfix-firefox-class-in-computed-class-key": { + "version": "7.24.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-firefox-class-in-computed-class-key/-/plugin-bugfix-firefox-class-in-computed-class-key-7.24.4.tgz", + "integrity": "sha512-qpl6vOOEEzTLLcsuqYYo8yDtrTocmu2xkGvgNebvPjT9DTtfFYGmgDqY+rBYXNlqL4s9qLDn6xkrJv4RxAPiTA==", + "dev": true, + "dependencies": { + "@babel/helper-environment-visitor": "^7.22.20", + "@babel/helper-plugin-utils": "^7.24.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, "node_modules/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": { "version": "7.24.1", "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.24.1.tgz", @@ -980,9 +996,9 @@ } }, "node_modules/@babel/plugin-transform-block-scoping": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.24.1.tgz", - "integrity": "sha512-h71T2QQvDgM2SmT29UYU6ozjMlAt7s7CSs5Hvy8f8cf/GM/Z4a2zMfN+fjVGaieeCrXR3EdQl6C4gQG+OgmbKw==", + "version": "7.24.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.24.4.tgz", + "integrity": "sha512-nIFUZIpGKDf9O9ttyRXpHFpKC+X3Y5mtshZONuEUYBomAKoM4y029Jr+uB1bHGPhNmK8YXHevDtKDOLmtRrp6g==", "dev": true, "dependencies": { "@babel/helper-plugin-utils": "^7.24.0" @@ -1011,12 +1027,12 @@ } }, "node_modules/@babel/plugin-transform-class-static-block": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-static-block/-/plugin-transform-class-static-block-7.24.1.tgz", - "integrity": "sha512-FUHlKCn6J3ERiu8Dv+4eoz7w8+kFLSyeVG4vDAikwADGjUCoHw/JHokyGtr8OR4UjpwPVivyF+h8Q5iv/JmrtA==", + "version": "7.24.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-static-block/-/plugin-transform-class-static-block-7.24.4.tgz", + "integrity": "sha512-B8q7Pz870Hz/q9UgP8InNpY01CSLDSCyqX7zcRuv3FcPl87A2G17lASroHWaCtbdIcbYzOZ7kWmXFKbijMSmFg==", "dev": true, "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.24.1", + "@babel/helper-create-class-features-plugin": "^7.24.4", "@babel/helper-plugin-utils": "^7.24.0", "@babel/plugin-syntax-class-static-block": "^7.14.5" }, @@ -1695,15 +1711,16 @@ } }, "node_modules/@babel/preset-env": { - "version": "7.24.3", - "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.24.3.tgz", - "integrity": "sha512-fSk430k5c2ff8536JcPvPWK4tZDwehWLGlBp0wrsBUjZVdeQV6lePbwKWZaZfK2vnh/1kQX1PzAJWsnBmVgGJA==", + "version": "7.24.4", + "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.24.4.tgz", + "integrity": "sha512-7Kl6cSmYkak0FK/FXjSEnLJ1N9T/WA2RkMhu17gZ/dsxKJUuTYNIylahPTzqpLyJN4WhDif8X0XK1R8Wsguo/A==", "dev": true, "dependencies": { - "@babel/compat-data": "^7.24.1", + "@babel/compat-data": "^7.24.4", "@babel/helper-compilation-targets": "^7.23.6", "@babel/helper-plugin-utils": "^7.24.0", "@babel/helper-validator-option": "^7.23.5", + "@babel/plugin-bugfix-firefox-class-in-computed-class-key": "^7.24.4", "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.24.1", "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.24.1", "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": "^7.24.1", @@ -1730,9 +1747,9 @@ "@babel/plugin-transform-async-generator-functions": "^7.24.3", "@babel/plugin-transform-async-to-generator": "^7.24.1", "@babel/plugin-transform-block-scoped-functions": "^7.24.1", - "@babel/plugin-transform-block-scoping": "^7.24.1", + "@babel/plugin-transform-block-scoping": "^7.24.4", "@babel/plugin-transform-class-properties": "^7.24.1", - "@babel/plugin-transform-class-static-block": "^7.24.1", + "@babel/plugin-transform-class-static-block": "^7.24.4", "@babel/plugin-transform-classes": "^7.24.1", "@babel/plugin-transform-computed-properties": "^7.24.1", "@babel/plugin-transform-destructuring": "^7.24.1", @@ -1818,9 +1835,9 @@ "dev": true }, "node_modules/@babel/runtime": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.24.1.tgz", - "integrity": "sha512-+BIznRzyqBf+2wCTxcKE3wDjfGeCoVE61KSHGpkzqrLi8qxqFwBeUFyId2cxkTmm55fzDGnm0+yCxaxygrLUnQ==", + "version": "7.24.4", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.24.4.tgz", + "integrity": "sha512-dkxf7+hn8mFBwKjs9bvBlArzLVxVbS8usaPUDd5p2a9JCL9tB8OaOVN1isD4+Xyk4ns89/xeOmbQvgdK7IIVdA==", "dev": true, "dependencies": { "regenerator-runtime": "^0.14.0" @@ -2629,9 +2646,9 @@ } }, "node_modules/@puppeteer/browsers": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-2.2.0.tgz", - "integrity": "sha512-MC7LxpcBtdfTbzwARXIkqGZ1Osn3nnZJlm+i0+VqHl72t//Xwl9wICrXT8BwtgC6s1xJNHsxOpvzISUqe92+sw==", + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-2.2.1.tgz", + "integrity": "sha512-QSXujx4d4ogDamQA8ckkkRieFzDgZEuZuGiey9G7CuDcbnX4iINKWxTPC5Br2AEzY9ICAvcndqgAUFMMKnS/Tw==", "dev": true, "dependencies": { "debug": "4.3.4", @@ -3849,14 +3866,13 @@ "optional": true }, "node_modules/bare-fs": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/bare-fs/-/bare-fs-2.2.2.tgz", - "integrity": "sha512-X9IqgvyB0/VA5OZJyb5ZstoN62AzD7YxVGog13kkfYWYqJYcK0kcqLZ6TrmH5qr4/8//ejVcX4x/a0UvaogXmA==", + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/bare-fs/-/bare-fs-2.2.3.tgz", + "integrity": "sha512-amG72llr9pstfXOBOHve1WjiuKKAMnebcmMbPWDZ7BCevAoJLpugjuAPRsDINEyjT0a6tbaVx3DctkXIRbLuJw==", "dev": true, "optional": true, "dependencies": { "bare-events": "^2.0.0", - "bare-os": "^2.0.0", "bare-path": "^2.0.0", "streamx": "^2.13.0" } @@ -3869,9 +3885,9 @@ "optional": true }, "node_modules/bare-path": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/bare-path/-/bare-path-2.1.0.tgz", - "integrity": "sha512-DIIg7ts8bdRKwJRJrUMy/PICEaQZaPGZ26lsSx9MJSwIhSrcdHn7/C8W+XmnG/rKi6BaRcz+JO00CjZteybDtw==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/bare-path/-/bare-path-2.1.1.tgz", + "integrity": "sha512-OHM+iwRDRMDBsSW7kl3dO62JyHdBKO3B25FB9vNQBPcGHMo4+eA8Yj41Lfbk3pS/seDY+siNge0LdRTulAau/A==", "dev": true, "optional": true, "dependencies": { @@ -4223,9 +4239,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001605", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001605.tgz", - "integrity": "sha512-nXwGlFWo34uliI9z3n6Qc0wZaf7zaZWA1CPZ169La5mV3I/gem7bst0vr5XQH5TJXZIMfDeZyOrZnSlVzKxxHQ==", + "version": "1.0.30001608", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001608.tgz", + "integrity": "sha512-cjUJTQkk9fQlJR2s4HMuPMvTiRggl0rAVMtthQuyOlDWuqHXqN8azLq+pi8B2TjwKJ32diHjUqRIKeFX4z1FoA==", "dev": true, "funding": [ { @@ -4390,9 +4406,9 @@ } }, "node_modules/chromium-bidi": { - "version": "0.5.16", - "resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-0.5.16.tgz", - "integrity": "sha512-IT5lnR44h/qZQ4GaCHvBxYIl4cQL2i9UvFyYeRyVdcpY04hx5H720HQfe/7Oz7ndxaYVLQFGpCO71J4X2Ye/Gw==", + "version": "0.5.17", + "resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-0.5.17.tgz", + "integrity": "sha512-BqOuIWUgTPj8ayuBFJUYCCuwIcwjBsb3/614P7tt1bEPJ4i1M0kCdIl0Wi9xhtswBXnfO2bTpTMkHD71H8rJMg==", "dev": true, "dependencies": { "mitt": "3.0.1", @@ -6036,9 +6052,9 @@ } }, "node_modules/eslint-plugin-html": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-html/-/eslint-plugin-html-8.0.0.tgz", - "integrity": "sha512-NINLBAXM3mLa3k5Ezr/kNLHAJJwbot6lS7Ro+SUftDw4cA51KMmcDuCf98GP6Q6kTVPY1hIggzskxAdxfUPXSA==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-html/-/eslint-plugin-html-8.1.0.tgz", + "integrity": "sha512-5bRZQwxZew2Yo9Fa8diz2C9RmzIw9Gs4yzmmjUcpuzhdLW8aVcDtYzEHhNNdt01Z0m4AzSJNuY63RXvzStvDgA==", "dev": true, "dependencies": { "htmlparser2": "^9.1.0" @@ -6150,9 +6166,9 @@ } }, "node_modules/eslint-plugin-mozilla": { - "version": "3.7.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-mozilla/-/eslint-plugin-mozilla-3.7.1.tgz", - "integrity": "sha512-a2Wt+k54AUE/adFOCw6aygYGTVKrZjkz1h3hgurph2fwC1HJSgjndH5dyoFDVaImcN/nnLkFI0/4/YTlH7xtJQ==", + "version": "3.7.3", + "resolved": "https://registry.npmjs.org/eslint-plugin-mozilla/-/eslint-plugin-mozilla-3.7.3.tgz", + "integrity": "sha512-faH1kspZ/PBbXIGngPvwZEBopL9Q/VkS7p+7RKNUVY+6jBMzRWzLMUhUsfhpGOWg9DAKJhoTBaOjV/HrkItUVw==", "dev": true, "dependencies": { "eslint-scope": "^7.2.2", @@ -6169,7 +6185,6 @@ "@microsoft/eslint-plugin-sdl": "^0.2.2", "eslint": "^7.23.0 || ^8.0.0", "eslint-config-prettier": "^8.0.0 || ^9.0.0", - "eslint-plugin-fetch-options": "^0.0.5", "eslint-plugin-html": "^7.0.0 || ^8.0.0", "eslint-plugin-json": "^3.1.0", "eslint-plugin-no-unsanitized": "^4.0.0" @@ -16754,9 +16769,9 @@ } }, "node_modules/path2d": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/path2d/-/path2d-0.1.2.tgz", - "integrity": "sha512-LW++2uxgHNL/FANhgGTPo/yDDQcgsVbKotwIVbpTgTBgRlKUpjOpjp3s3+KjG4OWCQ/r6z+WLDljH1/fC03PWw==", + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/path2d/-/path2d-0.2.0.tgz", + "integrity": "sha512-KdPAykQX6kmLSOO6Jpu2KNcCED7CKjmaBNGGNuctOsG0hgYO1OdYQaan6cYXJiG0WmXOwZZPILPBimu5QAIw3A==", "dev": true, "engines": { "node": ">=6" @@ -17549,16 +17564,16 @@ } }, "node_modules/puppeteer": { - "version": "22.6.2", - "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-22.6.2.tgz", - "integrity": "sha512-3GMAJ9adPUSdIHGuYV1b1RqRB6D2UScjnq779uZsvpAP6HOWw2+9ezZiUZaAXVST+Ku7KWsxOjkctEvRasJClA==", + "version": "22.6.4", + "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-22.6.4.tgz", + "integrity": "sha512-J9hXNwZmuqKDmNMj6kednZH8jzbdX9735NQfQJrq5LRD4nHisAMyW9pCD7glKi+iM7RV9JkesI1MYhdsN+0ZSQ==", "dev": true, "hasInstallScript": true, "dependencies": { - "@puppeteer/browsers": "2.2.0", + "@puppeteer/browsers": "2.2.1", "cosmiconfig": "9.0.0", "devtools-protocol": "0.0.1262051", - "puppeteer-core": "22.6.2" + "puppeteer-core": "22.6.4" }, "bin": { "puppeteer": "lib/esm/puppeteer/node/cli.js" @@ -17568,13 +17583,13 @@ } }, "node_modules/puppeteer-core": { - "version": "22.6.2", - "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-22.6.2.tgz", - "integrity": "sha512-Sws/9V2/7nFrn3MSsRPHn1pXJMIFn6FWHhoMFMUBXQwVvcBstRIa9yW8sFfxePzb56W1xNfSYzPRnyAd0+qRVQ==", + "version": "22.6.4", + "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-22.6.4.tgz", + "integrity": "sha512-QtfJwPmqQec3EHc6LqbEz03vSiuVAr9bYp0TV87dLoreev6ZevsXdLgOfQgoA3GocrsSe/eUf7NRPQ1lQfsc3w==", "dev": true, "dependencies": { - "@puppeteer/browsers": "2.2.0", - "chromium-bidi": "0.5.16", + "@puppeteer/browsers": "2.2.1", + "chromium-bidi": "0.5.17", "debug": "4.3.4", "devtools-protocol": "0.0.1262051", "ws": "8.16.0" @@ -18737,9 +18752,9 @@ } }, "node_modules/socks": { - "version": "2.8.1", - "resolved": "https://registry.npmjs.org/socks/-/socks-2.8.1.tgz", - "integrity": "sha512-B6w7tkwNid7ToxjZ08rQMT8M9BJAf8DKx8Ft4NivzH0zBUfd6jldGcisJn/RLgxcX3FPNDdNQCUEMMT79b+oCQ==", + "version": "2.8.3", + "resolved": "https://registry.npmjs.org/socks/-/socks-2.8.3.tgz", + "integrity": "sha512-l5x7VUUWbjVFbafGLxPWkYsHIhEvmF85tbIeFZWc8ZPtoMyybuEhL7Jye/ooC4/d48FgOjSJXgsF/AJPYCW8Zw==", "dev": true, "dependencies": { "ip-address": "^9.0.5", @@ -20485,9 +20500,9 @@ "dev": true }, "node_modules/typescript": { - "version": "5.4.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.3.tgz", - "integrity": "sha512-KrPd3PKaCLr78MalgiwJnA25Nm8HAmdwN3mYUYZgG/wizIo9EainNVQI9/yDavtVFRN2h3k8uf3GLHuhDMgEHg==", + "version": "5.4.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz", + "integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==", "dev": true, "bin": { "tsc": "bin/tsc", diff --git a/package.json b/package.json index ab5397d69b3d2..ff416a10df96f 100644 --- a/package.json +++ b/package.json @@ -2,26 +2,26 @@ "name": "pdf.js", "type": "module", "devDependencies": { - "@babel/core": "^7.24.3", - "@babel/preset-env": "^7.24.3", - "@babel/runtime": "^7.24.1", + "@babel/core": "^7.24.4", + "@babel/preset-env": "^7.24.4", + "@babel/runtime": "^7.24.4", "@fluent/bundle": "^0.18.0", "@fluent/dom": "^0.9.0", "@jazzer.js/core": "^2.1.0", "autoprefixer": "^10.4.19", "babel-loader": "^9.1.3", - "caniuse-lite": "^1.0.30001605", + "caniuse-lite": "^1.0.30001608", "canvas": "^2.11.2", "core-js": "^3.36.1", "cross-env": "^7.0.3", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-fetch-options": "^0.0.5", - "eslint-plugin-html": "^8.0.0", + "eslint-plugin-html": "^8.1.0", "eslint-plugin-import": "^2.29.1", "eslint-plugin-jasmine": "^4.1.3", "eslint-plugin-json": "^3.1.0", - "eslint-plugin-mozilla": "^3.7.1", + "eslint-plugin-mozilla": "^3.7.3", "eslint-plugin-no-unsanitized": "^4.0.2", "eslint-plugin-prettier": "^5.1.3", "eslint-plugin-sort-exports": "^0.9.1", @@ -39,7 +39,7 @@ "merge-stream": "^2.0.0", "mkdirp": "^3.0.1", "needle": "^3.3.1", - "path2d": "^0.1.2", + "path2d": "^0.2.0", "pngjs": "^7.0.0", "postcss": "^8.4.38", "postcss-dark-theme-class": "^1.2.1", @@ -47,7 +47,7 @@ "postcss-discard-comments": "^6.0.2", "postcss-nesting": "^12.1.1", "prettier": "^3.2.5", - "puppeteer": "^22.6.2", + "puppeteer": "^22.6.4", "rimraf": "^3.0.2", "streamqueue": "^1.1.2", "stylelint": "^16.3.1", @@ -56,7 +56,7 @@ "through2": "^4.0.2", "tsc-alias": "^1.8.8", "ttest": "^4.0.0", - "typescript": "^5.4.3", + "typescript": "^5.4.5", "typogr": "^0.6.8", "vinyl": "^3.0.0", "webpack": "^5.91.0", From b379b0e9995cd39853d05f224e19d7e659e11025 Mon Sep 17 00:00:00 2001 From: Tim van der Meij Date: Thu, 11 Apr 2024 15:44:07 +0200 Subject: [PATCH 2/4] Upgrade `eslint-plugin-unicorn` to version 52.0.0 This is a major version bump, but the changelog at https://github.com/sindresorhus/eslint-plugin-unicorn/releases/tag/v52.0.0 doesn't indicate any breaking changes that should impact us. --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2297050bc2ba5..07630a6ee1079 100644 --- a/package-lock.json +++ b/package-lock.json @@ -31,7 +31,7 @@ "eslint-plugin-no-unsanitized": "^4.0.2", "eslint-plugin-prettier": "^5.1.3", "eslint-plugin-sort-exports": "^0.9.1", - "eslint-plugin-unicorn": "^51.0.1", + "eslint-plugin-unicorn": "^52.0.0", "globals": "^15.0.0", "gulp": "^4.0.2", "gulp-cli": "^3.0.0", @@ -6413,9 +6413,9 @@ } }, "node_modules/eslint-plugin-unicorn": { - "version": "51.0.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-51.0.1.tgz", - "integrity": "sha512-MuR/+9VuB0fydoI0nIn2RDA5WISRn4AsJyNSaNKLVwie9/ONvQhxOBbkfSICBPnzKrB77Fh6CZZXjgTt/4Latw==", + "version": "52.0.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-52.0.0.tgz", + "integrity": "sha512-1Yzm7/m+0R4djH0tjDjfVei/ju2w3AzUGjG6q8JnuNIL5xIwsflyCooW5sfBvQp2pMYQFSWWCFONsjCax1EHng==", "dev": true, "dependencies": { "@babel/helper-validator-identifier": "^7.22.20", diff --git a/package.json b/package.json index ff416a10df96f..009d55ceb1286 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "eslint-plugin-no-unsanitized": "^4.0.2", "eslint-plugin-prettier": "^5.1.3", "eslint-plugin-sort-exports": "^0.9.1", - "eslint-plugin-unicorn": "^51.0.1", + "eslint-plugin-unicorn": "^52.0.0", "globals": "^15.0.0", "gulp": "^4.0.2", "gulp-cli": "^3.0.0", From 5db84e793097884049f84c6dfbcf337ef4888b5e Mon Sep 17 00:00:00 2001 From: Tim van der Meij Date: Thu, 11 Apr 2024 15:47:06 +0200 Subject: [PATCH 3/4] Fix vulnerabilities in dependency versions This patch is generated automatically using `npm audit fix`. --- package-lock.json | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 07630a6ee1079..f72a13a77d631 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19789,20 +19789,20 @@ } }, "node_modules/tar": { - "version": "6.1.11", - "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.11.tgz", - "integrity": "sha512-an/KZQzQUkZCkuoAA64hM92X0Urb6VpRhAFllDzz44U2mcD5scmT3zBc4VgVpkugF580+DQn8eAFSyoQt0tznA==", + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/tar/-/tar-6.2.1.tgz", + "integrity": "sha512-DZ4yORTwrbTj/7MZYq2w+/ZFdI6OZ/f9SFHR+71gIVUZhOQPHzVCLpvRnPgyaMpfWxxk/4ONva3GQSyNIKRv6A==", "dev": true, "dependencies": { "chownr": "^2.0.0", "fs-minipass": "^2.0.0", - "minipass": "^3.0.0", + "minipass": "^5.0.0", "minizlib": "^2.1.1", "mkdirp": "^1.0.3", "yallist": "^4.0.0" }, "engines": { - "node": ">= 10" + "node": ">=10" } }, "node_modules/tar-fs": { @@ -19849,6 +19849,15 @@ "node": ">=10" } }, + "node_modules/tar/node_modules/minipass": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", + "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, "node_modules/tar/node_modules/mkdirp": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", From ac7bd17cf8f3501f1d6f8bc806562af7bb32a92b Mon Sep 17 00:00:00 2001 From: Tim van der Meij Date: Thu, 11 Apr 2024 15:48:04 +0200 Subject: [PATCH 4/4] Update translations to the most recent versions --- l10n/cy/viewer.ftl | 4 +++ l10n/da/viewer.ftl | 13 +++++++++ l10n/en-CA/viewer.ftl | 66 +++++++++++++++++++++++++++++++++++++++++++ l10n/fr/viewer.ftl | 4 +++ l10n/gn/viewer.ftl | 13 +++++++++ l10n/hu/viewer.ftl | 10 +++---- l10n/ia/viewer.ftl | 13 +++++++++ l10n/it/viewer.ftl | 6 ---- l10n/ja/viewer.ftl | 4 +++ l10n/nb-NO/viewer.ftl | 19 +++++++++---- l10n/pl/viewer.ftl | 13 +++++++++ l10n/pt-PT/viewer.ftl | 4 +++ l10n/skr/viewer.ftl | 18 ++++++++++++ l10n/th/viewer.ftl | 4 +++ l10n/uk/viewer.ftl | 26 +++++++---------- 15 files changed, 183 insertions(+), 34 deletions(-) diff --git a/l10n/cy/viewer.ftl b/l10n/cy/viewer.ftl index dde189e0c95bc..061237abacdc6 100644 --- a/l10n/cy/viewer.ftl +++ b/l10n/cy/viewer.ftl @@ -314,6 +314,10 @@ pdfjs-editor-highlight-button = pdfjs-editor-highlight-button-label = Amlygu pdfjs-highlight-floating-button = .title = Amlygu +pdfjs-highlight-floating-button1 = + .title = Amlygu + .aria-label = Amlygu +pdfjs-highlight-floating-button-label = Amlygu ## Remove button for the various kind of editor. diff --git a/l10n/da/viewer.ftl b/l10n/da/viewer.ftl index aa05d2bfc9d46..968b22ffc6981 100644 --- a/l10n/da/viewer.ftl +++ b/l10n/da/viewer.ftl @@ -304,6 +304,12 @@ pdfjs-editor-stamp-button-label = Tilføj eller rediger billeder pdfjs-editor-highlight-button = .title = Fremhæv pdfjs-editor-highlight-button-label = Fremhæv +pdfjs-highlight-floating-button = + .title = Fremhæv +pdfjs-highlight-floating-button1 = + .title = Fremhæv + .aria-label = Fremhæv +pdfjs-highlight-floating-button-label = Fremhæv ## Remove button for the various kind of editor. @@ -387,3 +393,10 @@ pdfjs-editor-colorpicker-pink = .title = Lyserød pdfjs-editor-colorpicker-red = .title = Rød + +## Show all highlights +## This is a toggle button to show/hide all the highlights. + +pdfjs-editor-highlight-show-all-button-label = Vis alle +pdfjs-editor-highlight-show-all-button = + .title = Vis alle diff --git a/l10n/en-CA/viewer.ftl b/l10n/en-CA/viewer.ftl index 2319cc9dd1dee..f87104e78dc8d 100644 --- a/l10n/en-CA/viewer.ftl +++ b/l10n/en-CA/viewer.ftl @@ -226,6 +226,21 @@ pdfjs-find-match-diacritics-checkbox-label = Match Diacritics pdfjs-find-entire-word-checkbox-label = Whole Words pdfjs-find-reached-top = Reached top of document, continued from bottom pdfjs-find-reached-bottom = Reached end of document, continued from top +# Variables: +# $current (Number) - the index of the currently active find result +# $total (Number) - the total number of matches in the document +pdfjs-find-match-count = + { $total -> + [one] { $current } of { $total } match + *[other] { $current } of { $total } matches + } +# Variables: +# $limit (Number) - the maximum number of matches +pdfjs-find-match-count-limit = + { $limit -> + [one] More than { $limit } match + *[other] More than { $limit } matches + } pdfjs-find-not-found = Phrase not found ## Predefined zoom values @@ -286,9 +301,26 @@ pdfjs-editor-ink-button-label = Draw pdfjs-editor-stamp-button = .title = Add or edit images pdfjs-editor-stamp-button-label = Add or edit images +pdfjs-editor-highlight-button = + .title = Highlight +pdfjs-editor-highlight-button-label = Highlight +pdfjs-highlight-floating-button = + .title = Highlight +pdfjs-highlight-floating-button1 = + .title = Highlight + .aria-label = Highlight +pdfjs-highlight-floating-button-label = Highlight ## Remove button for the various kind of editor. +pdfjs-editor-remove-ink-button = + .title = Remove drawing +pdfjs-editor-remove-freetext-button = + .title = Remove text +pdfjs-editor-remove-stamp-button = + .title = Remove image +pdfjs-editor-remove-highlight-button = + .title = Remove highlight ## @@ -301,6 +333,10 @@ pdfjs-editor-ink-opacity-input = Opacity pdfjs-editor-stamp-add-image-button = .title = Add image pdfjs-editor-stamp-add-image-button-label = Add image +# This refers to the thickness of the line used for free highlighting (not bound to text) +pdfjs-editor-free-highlight-thickness-input = Thickness +pdfjs-editor-free-highlight-thickness-title = + .title = Change thickness when highlighting items other than text pdfjs-free-text = .aria-label = Text Editor pdfjs-free-text-default-content = Start typing… @@ -311,10 +347,33 @@ pdfjs-ink-canvas = ## Alt-text dialog +# Alternative text (alt text) helps when people can't see the image. +pdfjs-editor-alt-text-button-label = Alt text +pdfjs-editor-alt-text-edit-button-label = Edit alt text +pdfjs-editor-alt-text-dialog-label = Choose an option +pdfjs-editor-alt-text-dialog-description = Alt text (alternative text) helps when people can’t see the image or when it doesn’t load. +pdfjs-editor-alt-text-add-description-label = Add a description +pdfjs-editor-alt-text-add-description-description = Aim for 1-2 sentences that describe the subject, setting, or actions. +pdfjs-editor-alt-text-mark-decorative-label = Mark as decorative +pdfjs-editor-alt-text-mark-decorative-description = This is used for ornamental images, like borders or watermarks. +pdfjs-editor-alt-text-cancel-button = Cancel +pdfjs-editor-alt-text-save-button = Save +pdfjs-editor-alt-text-decorative-tooltip = Marked as decorative +# .placeholder: This is a placeholder for the alt text input area +pdfjs-editor-alt-text-textarea = + .placeholder = For example, “A young man sits down at a table to eat a meal” ## Editor resizers ## This is used in an aria label to help to understand the role of the resizer. +pdfjs-editor-resizer-label-top-left = Top left corner — resize +pdfjs-editor-resizer-label-top-middle = Top middle — resize +pdfjs-editor-resizer-label-top-right = Top right corner — resize +pdfjs-editor-resizer-label-middle-right = Middle right — resize +pdfjs-editor-resizer-label-bottom-right = Bottom right corner — resize +pdfjs-editor-resizer-label-bottom-middle = Bottom middle — resize +pdfjs-editor-resizer-label-bottom-left = Bottom left corner — resize +pdfjs-editor-resizer-label-middle-left = Middle left — resize ## Color picker @@ -334,3 +393,10 @@ pdfjs-editor-colorpicker-pink = .title = Pink pdfjs-editor-colorpicker-red = .title = Red + +## Show all highlights +## This is a toggle button to show/hide all the highlights. + +pdfjs-editor-highlight-show-all-button-label = Show all +pdfjs-editor-highlight-show-all-button = + .title = Show all diff --git a/l10n/fr/viewer.ftl b/l10n/fr/viewer.ftl index eb23369e79f43..54c06c22c4af3 100644 --- a/l10n/fr/viewer.ftl +++ b/l10n/fr/viewer.ftl @@ -302,6 +302,10 @@ pdfjs-editor-highlight-button = pdfjs-editor-highlight-button-label = Surligner pdfjs-highlight-floating-button = .title = Surligner +pdfjs-highlight-floating-button1 = + .title = Surligner + .aria-label = Surligner +pdfjs-highlight-floating-button-label = Surligner ## Remove button for the various kind of editor. diff --git a/l10n/gn/viewer.ftl b/l10n/gn/viewer.ftl index bb89793aadba1..29ec18ae3f66d 100644 --- a/l10n/gn/viewer.ftl +++ b/l10n/gn/viewer.ftl @@ -304,6 +304,12 @@ pdfjs-editor-stamp-button-label = Embojuaju térã embosako’i ta’ãnga pdfjs-editor-highlight-button = .title = Mbosa’y pdfjs-editor-highlight-button-label = Mbosa’y +pdfjs-highlight-floating-button = + .title = Mbosa’y +pdfjs-highlight-floating-button1 = + .title = Mbosa’y + .aria-label = Mbosa’y +pdfjs-highlight-floating-button-label = Mbosa’y ## Remove button for the various kind of editor. @@ -387,3 +393,10 @@ pdfjs-editor-colorpicker-pink = .title = Pytãngy pdfjs-editor-colorpicker-red = .title = Pyha + +## Show all highlights +## This is a toggle button to show/hide all the highlights. + +pdfjs-editor-highlight-show-all-button-label = Techaukapa +pdfjs-editor-highlight-show-all-button = + .title = Techaukapa diff --git a/l10n/hu/viewer.ftl b/l10n/hu/viewer.ftl index 3a971ec7f7d05..0c33e51bef937 100644 --- a/l10n/hu/viewer.ftl +++ b/l10n/hu/viewer.ftl @@ -51,12 +51,6 @@ pdfjs-download-button-label = Letöltés pdfjs-bookmark-button = .title = Jelenlegi oldal (webcím megtekintése a jelenlegi oldalról) pdfjs-bookmark-button-label = Jelenlegi oldal -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = Megnyitás alkalmazásban -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = Megnyitás alkalmazásban ## Secondary toolbar and context menu @@ -306,6 +300,10 @@ pdfjs-editor-highlight-button = pdfjs-editor-highlight-button-label = Kiemelés pdfjs-highlight-floating-button = .title = Kiemelés +pdfjs-highlight-floating-button1 = + .title = Kiemelés + .aria-label = Kiemelés +pdfjs-highlight-floating-button-label = Kiemelés ## Remove button for the various kind of editor. diff --git a/l10n/ia/viewer.ftl b/l10n/ia/viewer.ftl index 1f3e6ecc39aa4..59f3e56e2a518 100644 --- a/l10n/ia/viewer.ftl +++ b/l10n/ia/viewer.ftl @@ -304,6 +304,12 @@ pdfjs-editor-stamp-button-label = Adder o rediger imagines pdfjs-editor-highlight-button = .title = Evidentia pdfjs-editor-highlight-button-label = Evidentia +pdfjs-highlight-floating-button = + .title = Evidentiar +pdfjs-highlight-floating-button1 = + .title = Evidentiar + .aria-label = Evidentiar +pdfjs-highlight-floating-button-label = Evidentiar ## Remove button for the various kind of editor. @@ -387,3 +393,10 @@ pdfjs-editor-colorpicker-pink = .title = Rosate pdfjs-editor-colorpicker-red = .title = Rubie + +## Show all highlights +## This is a toggle button to show/hide all the highlights. + +pdfjs-editor-highlight-show-all-button-label = Monstrar toto +pdfjs-editor-highlight-show-all-button = + .title = Monstrar toto diff --git a/l10n/it/viewer.ftl b/l10n/it/viewer.ftl index 12687fb96583f..12e9ac20d746b 100644 --- a/l10n/it/viewer.ftl +++ b/l10n/it/viewer.ftl @@ -51,12 +51,6 @@ pdfjs-download-button-label = Scarica pdfjs-bookmark-button = .title = Pagina corrente (mostra URL della pagina corrente) pdfjs-bookmark-button-label = Pagina corrente -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = Apri in app -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = Apri in app ## Secondary toolbar and context menu diff --git a/l10n/ja/viewer.ftl b/l10n/ja/viewer.ftl index d7be8213df36b..4549d16b7e3d0 100644 --- a/l10n/ja/viewer.ftl +++ b/l10n/ja/viewer.ftl @@ -306,6 +306,10 @@ pdfjs-editor-highlight-button = pdfjs-editor-highlight-button-label = 強調 pdfjs-highlight-floating-button = .title = 強調 +pdfjs-highlight-floating-button1 = + .title = 強調 + .aria-label = 強調します +pdfjs-highlight-floating-button-label = 強調 ## Remove button for the various kind of editor. diff --git a/l10n/nb-NO/viewer.ftl b/l10n/nb-NO/viewer.ftl index 0d7c61f3f6fad..6519adb3887b9 100644 --- a/l10n/nb-NO/viewer.ftl +++ b/l10n/nb-NO/viewer.ftl @@ -51,12 +51,6 @@ pdfjs-download-button-label = Last ned pdfjs-bookmark-button = .title = Gjeldende side (se URL fra gjeldende side) pdfjs-bookmark-button-label = Gjeldende side -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = Åpne i app -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = Åpne i app ## Secondary toolbar and context menu @@ -304,6 +298,12 @@ pdfjs-editor-stamp-button-label = Legg til eller rediger bilder pdfjs-editor-highlight-button = .title = Markere pdfjs-editor-highlight-button-label = Markere +pdfjs-highlight-floating-button = + .title = Markere +pdfjs-highlight-floating-button1 = + .title = Markere + .aria-label = Markere +pdfjs-highlight-floating-button-label = Markere ## Remove button for the various kind of editor. @@ -387,3 +387,10 @@ pdfjs-editor-colorpicker-pink = .title = Rosa pdfjs-editor-colorpicker-red = .title = Rød + +## Show all highlights +## This is a toggle button to show/hide all the highlights. + +pdfjs-editor-highlight-show-all-button-label = Vis alle +pdfjs-editor-highlight-show-all-button = + .title = Vis alle diff --git a/l10n/pl/viewer.ftl b/l10n/pl/viewer.ftl index 332b5e0950bb9..b34d607444def 100644 --- a/l10n/pl/viewer.ftl +++ b/l10n/pl/viewer.ftl @@ -306,6 +306,12 @@ pdfjs-editor-stamp-button-label = Dodaj lub edytuj obrazy pdfjs-editor-highlight-button = .title = Wyróżnij pdfjs-editor-highlight-button-label = Wyróżnij +pdfjs-highlight-floating-button = + .title = Wyróżnij +pdfjs-highlight-floating-button1 = + .title = Wyróżnij + .aria-label = Wyróżnij +pdfjs-highlight-floating-button-label = Wyróżnij ## Remove button for the various kind of editor. @@ -389,3 +395,10 @@ pdfjs-editor-colorpicker-pink = .title = Różowy pdfjs-editor-colorpicker-red = .title = Czerwony + +## Show all highlights +## This is a toggle button to show/hide all the highlights. + +pdfjs-editor-highlight-show-all-button-label = Pokaż wszystkie +pdfjs-editor-highlight-show-all-button = + .title = Pokaż wszystkie diff --git a/l10n/pt-PT/viewer.ftl b/l10n/pt-PT/viewer.ftl index 347d0ae46e657..7fd8d37855ac7 100644 --- a/l10n/pt-PT/viewer.ftl +++ b/l10n/pt-PT/viewer.ftl @@ -306,6 +306,10 @@ pdfjs-editor-highlight-button = pdfjs-editor-highlight-button-label = Destaque pdfjs-highlight-floating-button = .title = Destaque +pdfjs-highlight-floating-button1 = + .title = Realçar + .aria-label = Realçar +pdfjs-highlight-floating-button-label = Realçar ## Remove button for the various kind of editor. diff --git a/l10n/skr/viewer.ftl b/l10n/skr/viewer.ftl index db0a2f5a4bdc1..0341889ef3489 100644 --- a/l10n/skr/viewer.ftl +++ b/l10n/skr/viewer.ftl @@ -283,6 +283,15 @@ pdfjs-editor-free-text-button-label = متن pdfjs-editor-ink-button = .title = چھکو pdfjs-editor-ink-button-label = چھکو +pdfjs-editor-highlight-button = + .title = نمایاں کرو +pdfjs-editor-highlight-button-label = نمایاں کرو +pdfjs-highlight-floating-button = + .title = نمایاں کرو +pdfjs-highlight-floating-button1 = + .title = نمایاں کرو + .aria-label = نمایاں کرو +pdfjs-highlight-floating-button-label = نمایاں کرو ## Remove button for the various kind of editor. @@ -308,6 +317,8 @@ pdfjs-ink-canvas = ## Alt-text dialog +pdfjs-editor-alt-text-cancel-button = منسوخ +pdfjs-editor-alt-text-save-button = محفوظ ## Editor resizers ## This is used in an aria label to help to understand the role of the resizer. @@ -325,3 +336,10 @@ pdfjs-editor-colorpicker-pink = .title = گلابی pdfjs-editor-colorpicker-red = .title = لال + +## Show all highlights +## This is a toggle button to show/hide all the highlights. + +pdfjs-editor-highlight-show-all-button-label = سارے ݙکھاؤ +pdfjs-editor-highlight-show-all-button = + .title = سارے ݙکھاؤ diff --git a/l10n/th/viewer.ftl b/l10n/th/viewer.ftl index 31c5561cae669..283b440cb7155 100644 --- a/l10n/th/viewer.ftl +++ b/l10n/th/viewer.ftl @@ -298,6 +298,10 @@ pdfjs-editor-highlight-button = pdfjs-editor-highlight-button-label = เน้น pdfjs-highlight-floating-button = .title = เน้นสี +pdfjs-highlight-floating-button1 = + .title = เน้นสี + .aria-label = เน้นสี +pdfjs-highlight-floating-button-label = เน้นสี ## Remove button for the various kind of editor. diff --git a/l10n/uk/viewer.ftl b/l10n/uk/viewer.ftl index 160db720ef593..d663e675c8d53 100644 --- a/l10n/uk/viewer.ftl +++ b/l10n/uk/viewer.ftl @@ -51,12 +51,6 @@ pdfjs-download-button-label = Завантажити pdfjs-bookmark-button = .title = Поточна сторінка (перегляд URL-адреси з поточної сторінки) pdfjs-bookmark-button-label = Поточна сторінка -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = Відкрити у програмі -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = Відкрити у програмі ## Secondary toolbar and context menu @@ -108,16 +102,16 @@ pdfjs-spread-even-button-label = Парні сторінки зліва pdfjs-document-properties-button = .title = Властивості документа… pdfjs-document-properties-button-label = Властивості документа… -pdfjs-document-properties-file-name = Назва файла: -pdfjs-document-properties-file-size = Розмір файла: +pdfjs-document-properties-file-name = Назва файлу: +pdfjs-document-properties-file-size = Розмір файлу: # Variables: # $size_kb (Number) - the PDF file size in kilobytes # $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } КБ ({ $size_b } bytes) +pdfjs-document-properties-kb = { $size_kb } КБ ({ $size_b } байтів) # Variables: # $size_mb (Number) - the PDF file size in megabytes # $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } МБ ({ $size_b } bytes) +pdfjs-document-properties-mb = { $size_mb } МБ ({ $size_b } байтів) pdfjs-document-properties-title = Заголовок: pdfjs-document-properties-author = Автор: pdfjs-document-properties-subject = Тема: @@ -182,14 +176,14 @@ pdfjs-document-outline-button = .title = Показати схему документу (подвійний клік для розгортання/згортання елементів) pdfjs-document-outline-button-label = Схема документа pdfjs-attachments-button = - .title = Показати прикріплення -pdfjs-attachments-button-label = Прикріплення + .title = Показати вкладення +pdfjs-attachments-button-label = Вкладення pdfjs-layers-button = .title = Показати шари (двічі клацніть, щоб скинути всі шари до типового стану) pdfjs-layers-button-label = Шари pdfjs-thumbs-button = - .title = Показувати ескізи -pdfjs-thumbs-button-label = Ескізи + .title = Показати мініатюри +pdfjs-thumbs-button-label = Мініатюри pdfjs-current-outline-item-button = .title = Знайти поточний елемент змісту pdfjs-current-outline-item-button-label = Поточний елемент змісту @@ -286,8 +280,8 @@ pdfjs-text-annotation-type = ## Password -pdfjs-password-label = Введіть пароль для відкриття цього PDF-файла. -pdfjs-password-invalid = Невірний пароль. Спробуйте ще. +pdfjs-password-label = Введіть пароль для відкриття цього PDF-файлу. +pdfjs-password-invalid = Неправильний пароль. Спробуйте ще раз. pdfjs-password-ok-button = OK pdfjs-password-cancel-button = Скасувати pdfjs-web-fonts-disabled = Веб-шрифти вимкнено: неможливо використати вбудовані у PDF шрифти.