Version in base suite: 10.0.4-1~deb12u1 Base version: allow-html-temp_10.0.4-1~deb12u1 Target version: allow-html-temp_10.0.8-1~deb12u1 Base file: /srv/ftp-master.debian.org/ftp/pool/main/a/allow-html-temp/allow-html-temp_10.0.4-1~deb12u1.dsc Target file: /srv/ftp-master.debian.org/policy/pool/main/a/allow-html-temp/allow-html-temp_10.0.8-1~deb12u1.dsc README.md | 14 ++-- _locales/en/messages.json | 14 ++-- api/LegacyPrefs/README.md | 8 -- api/LegacyPrefs/implementation.js | 46 ++++++++++++--- api/LegacyPrefs/schema.json | 28 +++++++++ debian/changelog | 52 ++++++++++++++++++ debian/control | 6 +- debian/copyright | 4 - debian/dpb.conf | 17 +++++ debian/gbp.conf | 22 +++++++ debian/watch | 2 icons/aht_button_supernova_plaintext_lightdarkcss.svg | 32 +++++------ manifest.json | 6 +- options/options_ui.css | 22 +++---- options/options_ui_listeners.js | 5 + scripts/i18n.js | 37 +++++++++--- 16 files changed, 237 insertions(+), 78 deletions(-) diff -Nru allow-html-temp-10.0.4/README.md allow-html-temp-10.0.8/README.md --- allow-html-temp-10.0.4/README.md 2024-06-18 15:43:06.000000000 +0000 +++ allow-html-temp-10.0.8/README.md 2025-06-08 15:47:42.000000000 +0000 @@ -8,16 +8,16 @@ ### Version series -* Version 10.* - Thunderbird 128.* - ESMification -* Version 9.* - Thunderbird 115.* Supernova - Partially rewritten including conceptual changes to fit for Thunderbird Supernova UI and internal code changes -* Version 8.* - Thunderbird 102.* - Migrated to a MailExtension using own experiment APIs -* Version 7.* - Thunderbird 91.* -* Version 6.* - Thunderbird 78.* -* Version 5.* - Thunderbird 68.* +* Version 10.* - Thunderbird 128 ESR and 140 ESR +* Version 9.* - Thunderbird 115 ESR - Partially rewritten including conceptual changes to fit for Thunderbird Supernova UI and internal code changes +* Version 8.* - Thunderbird 102.* - Migrated to a MailExtension using own experiment APIs +* Version 7.* - Thunderbird 91.* +* Version 6.* - Thunderbird 78.* +* Version 5.* - Thunderbird 68.* ### Known issues -* It's not possible to use the provided functions to easily print, forward or answer with HTML temporarily allowed. It seems there is no possibility to implement these repeatedly requested features by an addon. It would be necessary to change Thunderbird core functions, to get these things working. If you are interested in getting the whole functionality build in Thunderbirds core, then contribute to the RFE [Bug 1598857](https://bugzilla.mozilla.org/show_bug.cgi?id=1598857). +* From up version series 9 (Thunderbird 115 and following) it's possible to print the temporarily allowed HTML formated messages. But it's still not possible to use the provided functions to easily forward or answer with HTML temporarily allowed. It seems there is no possibility to implement these repeatedly requested features by an addon. It would be necessary to change Thunderbird core functions, to get these things working. ### Installation diff -Nru allow-html-temp-10.0.4/_locales/en/messages.json allow-html-temp-10.0.8/_locales/en/messages.json --- allow-html-temp-10.0.4/_locales/en/messages.json 2022-05-27 15:10:56.000000000 +0000 +++ allow-html-temp-10.0.8/_locales/en/messages.json 2024-12-27 13:17:08.000000000 +0000 @@ -19,7 +19,7 @@ "message": "Show HTML" }, "button_label_plaintext": { - "message": "Plaintext" + "message": "Plain Text" }, "optionPageTitle_label": { @@ -36,7 +36,7 @@ "message": "A restricted option should be chosen here for default." }, "optionHTMLDescriptionWarning_label": { - "message": "This is one of Thunderbirds own options, which you can find in menu \"Display\" → \"Message Body as\". If you uninstall this Addon, the option will remain as chosen, but you can also change this option in Thunderbird without this add-on.", + "message": "This is one of Thunderbirds own options, which you can find in menu \"View\" → \"Message Body As\". If you uninstall this Add-on, the option will remain as chosen, but you can also change this option in Thunderbird without this Add-on.", "description": "Please, use the original terms, which are used in Thunderbird menus and options dialog in your language" }, "optionAppHTML_label": { @@ -52,10 +52,10 @@ "message": "Original HTML" }, "optionSanitizedHTML_label": { - "message": "Sanitized HTML" + "message": "Simple HTML" }, "optionPlaintext_label": { - "message": "Plaintext" + "message": "Plain Text" }, "optionAllBodyParts_label": { "message": "All Body Parts" @@ -74,7 +74,7 @@ "message": "Allow remote content in general (not recommended)" }, "optionAllwaysRemoteContentWarning_label": { - "message": "This is one of Thunderbirds own options, which you can find in Thunderbirds Preferences under \"Privacy & Security\" → \"Allow remote content in messages\". If you uninstall this Addon, the option will remain as chosen, but you can also change this option in Thunderbird without this add-on.", + "message": "This is one of Thunderbirds own options, which you can find in Thunderbirds Preferences under \"Privacy & Security\" → \"Allow remote content in messages\". If you uninstall this Add-on, the option will remain as chosen, but you can also change this option in Thunderbird without this Add-on.", "description": "Please, use the original terms, which are used in Thunderbird menus and options dialog in your language" }, "optionTempRemoteContent_label": { @@ -87,7 +87,7 @@ "message": "Always show attachments inline (not recommended)" }, "optionAttachmentsTempInlineWarning_label": { - "message": "This is one of Thunderbirds own options, which you can find in menu \"View\" → \"Display Attachments Inline\". If you uninstall this Addon, the option will remain as chosen, but you can also change this option in Thunderbird without this add-on.", + "message": "This is one of Thunderbirds own options, which you can find in menu \"View\" → \"Display Attachments Inline\". If you uninstall this Add-on, the option will remain as chosen, but you can also change this option in Thunderbird without this Add-on.", "description": "Please, use the original terms, which are used in Thunderbird menus and options dialog in your language" }, "optionAttachmentsTempInline_label": { @@ -142,7 +142,7 @@ }, "uninstallResetDialog_label": { - "message": "Allow HTML Temp will be disabled or uninstalled.\n\nDo you want to keep or reset Thunderbird settings for \"Message Body as\" (HTML Mode), \"Display Attachments Inline\" and \"Allow remote content in messages\"?", + "message": "Allow HTML Temp will be disabled or uninstalled.\n\nDo you want to keep or reset Thunderbird settings for \"Message Body As\" (HTML Mode), \"Display Attachments Inline\" and \"Allow remote content in messages\"?", "description": "Please, use the original terms, which are used in Thunderbird menus and options dialog in your language" }, "uninstallResetToDefault_label": { diff -Nru allow-html-temp-10.0.4/api/LegacyPrefs/README.md allow-html-temp-10.0.8/api/LegacyPrefs/README.md --- allow-html-temp-10.0.4/api/LegacyPrefs/README.md 2024-03-03 22:15:52.000000000 +0000 +++ allow-html-temp-10.0.8/api/LegacyPrefs/README.md 2025-03-16 23:52:12.000000000 +0000 @@ -4,7 +4,7 @@ ## Usage -Add the [LegacyPrefs API](https://github.com/thundernest/addon-developer-support/tree/master/auxiliary-apis/LegacyPrefs) to your add-on. Your `manifest.json` needs an entry like this: +Add the [LegacyPrefs API](https://github.com/thunderbird/webext-support/tree/master/experiments/LegacyPrefs) to your add-on. Your `manifest.json` needs an entry like this: ``` "experiment_apis": { @@ -53,8 +53,4 @@ browser.LegacyPrefs.onChanged.addListener(async (name, value) => { console.log(`Changed value in "mailnews.": ${name} = ${value}`); }, "mailnews."); -``` - ---- - -A detailed example using the LegacyPref API to migrate add-on preferences to the local storage can be found in [/scripts/preferences/](https://github.com/thundernest/addon-developer-support/tree/master/scripts/preferences). \ No newline at end of file +``` \ No newline at end of file diff -Nru allow-html-temp-10.0.4/api/LegacyPrefs/implementation.js allow-html-temp-10.0.8/api/LegacyPrefs/implementation.js --- allow-html-temp-10.0.4/api/LegacyPrefs/implementation.js 2024-06-06 12:32:12.000000000 +0000 +++ allow-html-temp-10.0.8/api/LegacyPrefs/implementation.js 2025-03-16 23:52:12.000000000 +0000 @@ -1,9 +1,16 @@ /* - * This file is provided by the addon-developer-support repository at - * https://github.com/thundernest/addon-developer-support + * This file is provided by the webext-support repository at + * https://github.com/thunderbird/webext-support * + * Version 1.12 + * - added createPref(), proposed by Axel Grude + * + * Version 1.11 + * - adjusted to TB128 (no longer loading Services and ExtensionCommon) + * - use ChromeUtils.importESModule() + * * Version 1.10 - * - adjusted to Thunderbird Supernova (Services is now in globalThis) + * - adjusted to Thunderbird 115 (Services is now in globalThis) * * Version 1.9 * - fixed fallback issue reported by Axel Grude @@ -36,18 +43,15 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -var { ExtensionCommon } = ChromeUtils.importESModule( - "resource://gre/modules/ExtensionCommon.sys.mjs" -); +/* global Services, ExtensionCommon */ + +"use strict"; + var { ExtensionUtils } = ChromeUtils.importESModule( "resource://gre/modules/ExtensionUtils.sys.mjs" ); var { ExtensionError } = ExtensionUtils; -var Services = globalThis.Services || - ChromeUtils.importESModule("resource://gre/modules/Services.sys.mjs").Services; - - var LegacyPrefs = class extends ExtensionCommon.ExtensionAPI { getAPI(context) { @@ -162,6 +166,28 @@ Services.prefs.clearUserPref(aName); }, + // creates a new pref + createPref: async function (aName, aValue) { + if (typeof aValue == "string") { + Services.prefs.setStringPref(aName, aValue); + return "string"; + } + + if (typeof aValue == "boolean") { + Services.prefs.setBoolPref(aName, aValue); + return "boolean"; + } + + if (typeof aValue == "number" && Number.isSafeInteger(aValue)) { + Services.prefs.setIntPref(aName, aValue); + return "integer"; + } + console.error( + `The provided value <${aValue}> for the new legacy preference <${aName}> is none of STRING, BOOLEAN or INTEGER.` + ); + return false; + }, + // sets a pref setPref: async function (aName, aValue) { let prefType = Services.prefs.getPrefType(aName); diff -Nru allow-html-temp-10.0.4/api/LegacyPrefs/schema.json allow-html-temp-10.0.8/api/LegacyPrefs/schema.json --- allow-html-temp-10.0.4/api/LegacyPrefs/schema.json 2024-03-03 11:41:20.000000000 +0000 +++ allow-html-temp-10.0.8/api/LegacyPrefs/schema.json 2025-03-16 23:52:12.000000000 +0000 @@ -62,6 +62,34 @@ ] }, { + "name": "createPref", + "type": "function", + "async": true, + "description": "Creates a new entry in the legacy pref system.", + "parameters": [ + { + "name": "aName", + "type": "string", + "description": "Name of the preference." + }, + { + "name": "aValue", + "choices": [ + { + "type": "string" + }, + { + "type": "integer" + }, + { + "type": "boolean" + } + ], + "description": "Value to be set." + } + ] + }, + { "name": "setPref", "type": "function", "async": true, diff -Nru allow-html-temp-10.0.4/debian/changelog allow-html-temp-10.0.8/debian/changelog --- allow-html-temp-10.0.4/debian/changelog 2024-09-18 14:39:21.000000000 +0000 +++ allow-html-temp-10.0.8/debian/changelog 2025-10-03 17:56:20.000000000 +0000 @@ -1,3 +1,55 @@ +allow-html-temp (10.0.8-1~deb12u1) bookworm; urgency=medium + + [ Mechtilde ] + * [d894bae] Rebased to new upstream version 10.0.8 + * [385a188] Added d/dpb.conf to use debian-package-scripts + + -- Mechtilde Stehmann Fri, 03 Oct 2025 19:56:20 +0200 + +allow-html-temp (10.0.8-1) unstable; urgency=medium + + [ Mechtilde ] + * [1ac77cf] Improved d/watch + * To upload to sid after thunderbird 140.3 is in sid + + -- Mechtilde Stehmann Sat, 20 Sep 2025 21:36:21 +0200 + +allow-html-temp (10.0.8-1~exp1) experimental; urgency=medium + + [ Mechtilde ] + * [73e69f0] New upstream version 10.0.8 + * [012d3d3] Bumped years in d/copyright + * [c274aae] Added d/dpb.conf + * [1046838] Bumped max version for thunderbird + * [c3c9f35] Improved d/dpb.conf + * [fa3a317] Added d/gbp.conf + + -- Mechtilde Stehmann Fri, 08 Aug 2025 10:39:20 +0200 + +allow-html-temp (10.0.7-1) unstable; urgency=medium + + [ Mechtilde ] + * [acc0078] New upstream version 10.0.7 + * [1eecb0d] Bumped standard version - no changes needed + * [1812b91] Bumped usable version of thunderbird + + -- Mechtilde Stehmann Sat, 08 Mar 2025 15:02:56 +0100 + +allow-html-temp (10.0.6-1) unstable; urgency=medium + + [ Mechtilde ] + * [1e0a456] New upstream version 10.0.6 + * [136335b] Bumped max. version for thunderbird + + -- Mechtilde Stehmann Fri, 27 Dec 2024 16:08:27 +0100 + +allow-html-temp (10.0.5-1) unstable; urgency=medium + + [ Mechtilde ] + * [80b13e6] New upstream version 10.0.5 + + -- Mechtilde Stehmann Wed, 18 Sep 2024 17:04:07 +0200 + allow-html-temp (10.0.4-1~deb12u1) bookworm; urgency=medium * Prepared for uploading to bookworm proposed update diff -Nru allow-html-temp-10.0.4/debian/control allow-html-temp-10.0.8/debian/control --- allow-html-temp-10.0.4/debian/control 2024-08-31 09:23:44.000000000 +0000 +++ allow-html-temp-10.0.8/debian/control 2025-10-03 17:36:21.000000000 +0000 @@ -5,7 +5,7 @@ Uploaders: Mechtilde Stehmann Build-Depends: debhelper-compat (=13) , zip -Standards-Version: 4.7.0 +Standards-Version: 4.7.2 Rules-Requires-Root: no Vcs-Git: https://salsa.debian.org/webext-team/allow-html-temp.git Vcs-Browser: https://salsa.debian.org/webext-team/allow-html-temp @@ -14,8 +14,8 @@ Package: webext-allow-html-temp Architecture: all Depends: ${misc:Depends} - , thunderbird (>= 1:128.1) - , thunderbird (<< 1:131.x) + , thunderbird (>= 1:140.1) + , thunderbird (<< 1:143.x) Description: View selective HTML-Mail Allows one to have HTML temporarily allowed in the currently displayed message by only one click. diff -Nru allow-html-temp-10.0.4/debian/copyright allow-html-temp-10.0.8/debian/copyright --- allow-html-temp-10.0.4/debian/copyright 2024-08-31 08:57:58.000000000 +0000 +++ allow-html-temp-10.0.8/debian/copyright 2025-10-03 17:36:21.000000000 +0000 @@ -4,11 +4,11 @@ Source: https://gitlab.com/ThunderbirdMailDE/allow-html-temp Files: * -Copyright: Alexander Ihrig_ +Copyright: 2019-2025 Alexander Ihrig_ License: MPL-2.0 Files: debian/* -Copyright: 2021-2024 Mechtilde Stehmann +Copyright: 2021-2025 Mechtilde Stehmann License: MPL-2.0 License: MPL-2.0 diff -Nru allow-html-temp-10.0.4/debian/dpb.conf allow-html-temp-10.0.8/debian/dpb.conf --- allow-html-temp-10.0.4/debian/dpb.conf 1970-01-01 00:00:00.000000000 +0000 +++ allow-html-temp-10.0.8/debian/dpb.conf 2025-10-03 17:40:15.000000000 +0000 @@ -0,0 +1,17 @@ +#!/bin/bash +# ConfigFile for AllowHTMLTemp +# This file is used by the scripts from +# debian-package-scripts +## General parameters +SourceName=allow-html-temp +PackName=webext-allow-html-temp +SalsaName=webext-team/allow-html-temp.git +## Parameters for Java packages +JavaFlag=0 +## Parameters for Webext packages +WebextFlag=1 +## Parameters for Python3 packages +PythonFlag=0 +## Recent branch to build for +RecentBranch=debian/bookworm +RecentBranchD=bookworm diff -Nru allow-html-temp-10.0.4/debian/gbp.conf allow-html-temp-10.0.8/debian/gbp.conf --- allow-html-temp-10.0.4/debian/gbp.conf 1970-01-01 00:00:00.000000000 +0000 +++ allow-html-temp-10.0.8/debian/gbp.conf 2025-10-03 17:36:21.000000000 +0000 @@ -0,0 +1,22 @@ +# Configuration file for git-buildpackage and friends + +[DEFAULT] +# use pristine-tar: +pristine-tar = True +# generate gz compressed orig file +compression = xz +debian-branch = debian/sid +upstream-branch = upstream + +[pq] +patch-numbers = False + +[dch] +id-length = 7 +debian-branch = debian/sid + +[import-orig] +# filter out unwanted files/dirs from upstream +filter = [ '.cvsignore', '.gitignore', '.github', '.hgtags', '.hgignore', '*.orig', '*.rej' ] +# filter the files out of the tarball passed to pristine-tar +filter-pristine-tar = True diff -Nru allow-html-temp-10.0.4/debian/watch allow-html-temp-10.0.8/debian/watch --- allow-html-temp-10.0.4/debian/watch 2024-08-31 09:16:35.000000000 +0000 +++ allow-html-temp-10.0.8/debian/watch 2025-10-03 17:36:21.000000000 +0000 @@ -3,4 +3,4 @@ repack,compression=xz,\ dversionmangle=s///,\ uversionmangle=s/-?([^\d.]+)/~$1/;tr/A-Z/a-z/ \ -https://addons.thunderbird.net/en-US/thunderbird/addon/allow-html-temp/versions/ (\d+\.\d+\.\d+)* +https://addons.thunderbird.net/en-US/thunderbird/addon/allow-html-temp/versions/ (\d[\d\.]+)* diff -Nru allow-html-temp-10.0.4/icons/aht_button_supernova_plaintext_lightdarkcss.svg allow-html-temp-10.0.8/icons/aht_button_supernova_plaintext_lightdarkcss.svg --- allow-html-temp-10.0.4/icons/aht_button_supernova_plaintext_lightdarkcss.svg 2024-08-04 22:57:08.000000000 +0000 +++ allow-html-temp-10.0.8/icons/aht_button_supernova_plaintext_lightdarkcss.svg 2025-03-16 23:52:12.000000000 +0000 @@ -1,17 +1,17 @@ - - - - - - - + + + + + + + \ No newline at end of file diff -Nru allow-html-temp-10.0.4/manifest.json allow-html-temp-10.0.8/manifest.json --- allow-html-temp-10.0.4/manifest.json 2024-08-04 22:39:44.000000000 +0000 +++ allow-html-temp-10.0.8/manifest.json 2025-06-08 15:27:50.000000000 +0000 @@ -2,14 +2,14 @@ "manifest_version": 2, "name": "__MSG_extensionName__", "description": "__MSG_extensionDescription__", - "version": "10.0.4", + "version": "10.0.8", "author": "Alexander Ihrig", "homepage_url": "https://addons.thunderbird.net/thunderbird/addon/allow-html-temp/", "applications": { "gecko": { "id": "{532269cf-a10e-4396-8613-b5d9a9a516d4}", - "strict_min_version": "126.0", - "strict_max_version": "130.*" + "strict_min_version": "128.0", + "strict_max_version": "140.*" } }, "default_locale": "en", diff -Nru allow-html-temp-10.0.4/options/options_ui.css allow-html-temp-10.0.8/options/options_ui.css --- allow-html-temp-10.0.4/options/options_ui.css 2022-05-27 15:10:56.000000000 +0000 +++ allow-html-temp-10.0.8/options/options_ui.css 2025-06-08 16:02:40.000000000 +0000 @@ -1,14 +1,8 @@ -@namespace html "http://www.w3.org/1999/xhtml"; -@namespace xul "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"; - :host, :root { -/* --in-content-button-background-hover: rgb(204, 223, 249) !important; */ + background-color: var(--background-color-box); } -@supports not -moz-bool-pref("browser.proton.enabled") { -} /** END not Proton **/ - /** body for Options in Tab **/ /* body { @@ -20,13 +14,10 @@ */ /** body for Options inline **/ - body { padding-top: 1.5em; - background-color: var(--in-content-box-background); - color: var(--in-content-page-color); + background-color: var(--background-color-box); } - /* Nicht notwendig, wenn common.css vorhanden ist */ /* .subcategory:not([hidden]) ~ .subcategory { @@ -65,11 +56,11 @@ position: relative; } input[type="radio"]:not(.position-null) { - top: 4px; + top: 2px; left: 5px; } input[type="checkbox"]:not(.position-null) { - top: 4px; + top: 2px; left: 5px; } input[type="checkbox"].position-null { @@ -106,6 +97,11 @@ } } +@media (prefers-color-scheme: dark) { + .subcategory_infotext:not(h1) { + color: var(--text-color-deemphasized); + } +} .subcategory_infotext { margin-bottom: 0.6em; } diff -Nru allow-html-temp-10.0.4/options/options_ui_listeners.js allow-html-temp-10.0.8/options/options_ui_listeners.js --- allow-html-temp-10.0.4/options/options_ui_listeners.js 2024-03-03 11:41:20.000000000 +0000 +++ allow-html-temp-10.0.8/options/options_ui_listeners.js 2025-03-16 23:52:12.000000000 +0000 @@ -1,3 +1,8 @@ +// onLoad listener to load the i18n locale strings +document.addEventListener('DOMContentLoaded', () => { + i18n.updateDocument(); +}, { once: true }); + // onLoad listener to load Options and LegacyPrefs document.addEventListener('DOMContentLoaded', async () => { consoleDebug("AHT: DOMContentLoaded, restoreAllOptions() and initLegacyPrefs()"); diff -Nru allow-html-temp-10.0.4/scripts/i18n.js allow-html-temp-10.0.8/scripts/i18n.js --- allow-html-temp-10.0.4/scripts/i18n.js 2022-05-27 15:10:56.000000000 +0000 +++ allow-html-temp-10.0.8/scripts/i18n.js 2025-03-16 23:52:12.000000000 +0000 @@ -1,11 +1,28 @@ +/* + * This file is provided by the webext-support repository at + * https://github.com/thunderbird/webext-support + * + * For usage descriptions, please check: + * https://github.com/thunderbird/webext-support/tree/master/scripts/i18n + * + * Version 1.1 + * + * Derived from: + * http://github.com/piroor/webextensions-lib-l10n + * + * Original license: + * The MIT License, Copyright (c) 2016-2019 YUKI "Piro" Hiroshi + * + */ + var i18n = { updateString(string) { let re = new RegExp(this.keyPrefix + "(.+?)__", "g"); - return string.replace(re, matched => { + return string.replace(re, (matched) => { const key = matched.slice(this.keyPrefix.length, -2); - let rv = this.extension - ? this.extension.localeData.localizeMessage(key) - : messenger.i18n.getMessage(key); + let rv = this.extension + ? this.extension.localeData.localizeMessage(key) + : messenger.i18n.getMessage(key); return rv || matched; }); }, @@ -20,7 +37,8 @@ ); for (let i = 0, maxi = texts.snapshotLength; i < maxi; i++) { const text = texts.snapshotItem(i); - if (text.nodeValue.includes(this.keyPrefix)) text.nodeValue = this.updateString(text.nodeValue); + if (text.nodeValue.includes(this.keyPrefix)) + text.nodeValue = this.updateString(text.nodeValue); } const attributes = document.evaluate( @@ -32,7 +50,8 @@ ); for (let i = 0, maxi = attributes.snapshotLength; i < maxi; i++) { const attribute = attributes.snapshotItem(i); - if (attribute.value.includes(this.keyPrefix)) attribute.value = this.updateString(attribute.value); + if (attribute.value.includes(this.keyPrefix)) + attribute.value = this.updateString(attribute.value); } }, @@ -44,7 +63,5 @@ if (options.keyPrefix) this.keyPrefix = options.keyPrefix; } this.updateSubtree(document); - } -}; - -i18n.updateDocument(); \ No newline at end of file + }, +}; \ No newline at end of file