From 9bce51f651aad297ef9eb6df832bfdaf1de05d84 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期三, 22 四月 2026 14:27:54 +0800
Subject: [PATCH] 青岛推送
---
node_modules/vue-i18n/dist/vue-i18n.d.ts | 24 ++++++++----------------
1 files changed, 8 insertions(+), 16 deletions(-)
diff --git a/node_modules/vue-i18n/dist/vue-i18n.d.ts b/node_modules/vue-i18n/dist/vue-i18n.d.ts
index 6e4f0d5..0cee95f 100644
--- a/node_modules/vue-i18n/dist/vue-i18n.d.ts
+++ b/node_modules/vue-i18n/dist/vue-i18n.d.ts
@@ -888,21 +888,17 @@
warnHtmlMessage?: boolean;
/**
* @remarks
- * Whether to escape parameters for list or named interpolation values.
- * When enabled, this option:
- * - Escapes HTML special characters (`<`, `>`, `"`, `'`, `&`, `/`, `=`) in interpolation parameters
- * - Sanitizes the final translated HTML to prevent XSS attacks by:
- * - Escaping dangerous characters in HTML attribute values
- * - Neutralizing event handler attributes (onclick, onerror, etc.)
- * - Disabling javascript: URLs in href, src, action, formaction, and style attributes
+ * If `escapeParameter` is configured as true then interpolation parameters are escaped before the message is translated.
*
* This is useful when translation output is used in `v-html` and the translation resource contains html markup (e.g. <b> around a user provided value).
*
* This usage pattern mostly occurs when passing precomputed text strings into UI components.
*
+ * The escape process involves replacing the following symbols with their respective HTML character entities: `<`, `>`, `"`, `'`.
+ *
* Setting `escapeParameter` as true should not break existing functionality but provides a safeguard against a subtle type of XSS attack vectors.
*
- * @VueI18nSee [HTML Message - Using the escapeParameter option](../guide/essentials/syntax#using-the-escapeparameter-option)
+ * @VueI18nSee [HTML Message](../guide/essentials/syntax#html-message)
*
* @defaultValue `false`
*/
@@ -2775,21 +2771,17 @@
warnHtmlInMessage?: WarnHtmlInMessageLevel;
/**
* @remarks
- * Whether to escape parameters for list or named interpolation values.
- * When enabled, this option:
- * - Escapes HTML special characters (`<`, `>`, `"`, `'`, `&`, `/`, `=`) in interpolation parameters
- * - Sanitizes the final translated HTML to prevent XSS attacks by:
- * - Escaping dangerous characters in HTML attribute values
- * - Neutralizing event handler attributes (onclick, onerror, etc.)
- * - Disabling javascript: URLs in href, src, action, formaction, and style attributes
+ * If `escapeParameterHtml` is configured as true then interpolation parameters are escaped before the message is translated.
*
* This is useful when translation output is used in `v-html` and the translation resource contains html markup (e.g. <b> around a user provided value).
*
* This usage pattern mostly occurs when passing precomputed text strings into UI components.
*
+ * The escape process involves replacing the following symbols with their respective HTML character entities: `<`, `>`, `"`, `'`.
+ *
* Setting `escapeParameterHtml` as true should not break existing functionality but provides a safeguard against a subtle type of XSS attack vectors.
*
- * @VueI18nSee [HTML Message - Using the escapeParameter option](../guide/essentials/syntax#using-the-escapeparameter-option)
+ * @VueI18nSee [HTML Message](../guide/essentials/syntax#html-message)
*
* @defaultValue `false`
*/
--
Gitblit v1.9.3