1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 06:38:07 +02:00

Update @fluent/dom to 0.10.1

This commit is contained in:
Calixte Denizet 2025-03-28 09:39:02 +01:00
parent 3da8901f26
commit 6ff1626cf3
3 changed files with 5 additions and 12 deletions

8
package-lock.json generated
View file

@ -11,7 +11,7 @@
"@babel/preset-env": "^7.26.9",
"@babel/runtime": "^7.26.10",
"@fluent/bundle": "^0.18.0",
"@fluent/dom": "^0.10.0",
"@fluent/dom": "^0.10.1",
"@metalsmith/layouts": "^3.0.0",
"@metalsmith/markdown": "^1.10.0",
"@napi-rs/canvas": "^0.1.68",
@ -1917,9 +1917,9 @@
}
},
"node_modules/@fluent/dom": {
"version": "0.10.0",
"resolved": "https://registry.npmjs.org/@fluent/dom/-/dom-0.10.0.tgz",
"integrity": "sha512-31a+GJRg6Xhpw9IQ8yNiHhegd10g1DvC30TMSO52bFpjJVJqfQHTuLKFSORNR5xI1oyP4RU4lGLho9+HaC/pVQ==",
"version": "0.10.1",
"resolved": "https://registry.npmjs.org/@fluent/dom/-/dom-0.10.1.tgz",
"integrity": "sha512-OySXxsR3hEkiE75dPXYXsTOk+rCCJ7u6kuz2oekXSwGPBSuwUaYWL/eWJR3kezjSPSwxvTdVOPj9sCcT8utECg==",
"dev": true,
"license": "Apache-2.0",
"dependencies": {

View file

@ -6,7 +6,7 @@
"@babel/preset-env": "^7.26.9",
"@babel/runtime": "^7.26.10",
"@fluent/bundle": "^0.18.0",
"@fluent/dom": "^0.10.0",
"@fluent/dom": "^0.10.1",
"@metalsmith/layouts": "^3.0.0",
"@metalsmith/markdown": "^1.10.0",
"@napi-rs/canvas": "^0.1.68",

View file

@ -158,13 +158,6 @@ class SignatureEditor extends DrawingEditor {
super.render();
if (typeof PDFJSDev === "undefined" || !PDFJSDev.test("MOZCENTRAL")) {
// TODO: remove this check once
// https://github.com/projectfluent/fluent.js/pull/640
// is merged and released.
this.div.setAttribute("data-l10n-attrs", "aria-description");
}
if (this._drawId === null) {
if (this.#signatureData) {
const {