Merge pull request #19730 from calixteman/update_fluent

Update @fluent/dom to 0.10.1
This commit is contained in:
calixteman 2025-03-28 11:13:53 +01:00 committed by GitHub
commit 31ec357282
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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/preset-env": "^7.26.9",
"@babel/runtime": "^7.26.10", "@babel/runtime": "^7.26.10",
"@fluent/bundle": "^0.18.0", "@fluent/bundle": "^0.18.0",
"@fluent/dom": "^0.10.0", "@fluent/dom": "^0.10.1",
"@metalsmith/layouts": "^3.0.0", "@metalsmith/layouts": "^3.0.0",
"@metalsmith/markdown": "^1.10.0", "@metalsmith/markdown": "^1.10.0",
"@napi-rs/canvas": "^0.1.68", "@napi-rs/canvas": "^0.1.68",
@ -1917,9 +1917,9 @@
} }
}, },
"node_modules/@fluent/dom": { "node_modules/@fluent/dom": {
"version": "0.10.0", "version": "0.10.1",
"resolved": "https://registry.npmjs.org/@fluent/dom/-/dom-0.10.0.tgz", "resolved": "https://registry.npmjs.org/@fluent/dom/-/dom-0.10.1.tgz",
"integrity": "sha512-31a+GJRg6Xhpw9IQ8yNiHhegd10g1DvC30TMSO52bFpjJVJqfQHTuLKFSORNR5xI1oyP4RU4lGLho9+HaC/pVQ==", "integrity": "sha512-OySXxsR3hEkiE75dPXYXsTOk+rCCJ7u6kuz2oekXSwGPBSuwUaYWL/eWJR3kezjSPSwxvTdVOPj9sCcT8utECg==",
"dev": true, "dev": true,
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {

View File

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

View File

@ -158,13 +158,6 @@ class SignatureEditor extends DrawingEditor {
super.render(); 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._drawId === null) {
if (this.#signatureData) { if (this.#signatureData) {
const { const {