@archpublicwebsite/eslint-config 1.0.19 → 1.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -233,8 +233,8 @@ export const FILE_PATTERNS = [
|
|
|
233
233
|
},
|
|
234
234
|
{
|
|
235
235
|
id: 'vue-v-html',
|
|
236
|
-
severity: '
|
|
237
|
-
message: 'v-html directive —
|
|
236
|
+
severity: 'medium',
|
|
237
|
+
message: 'v-html directive detected — ensure content is sanitised (e.g. DOMPurify) and never bind unsanitised user input',
|
|
238
238
|
// Matches both :v-html and v-html= in .vue template strings captured in JS
|
|
239
239
|
regex: /v-html\s*=/,
|
|
240
240
|
category: 'xss',
|