@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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@archpublicwebsite/eslint-config",
3
- "version": "1.0.19",
3
+ "version": "1.0.20",
4
4
  "author": "Archipelago Hotels",
5
5
  "description": "Reusable ESLint flat config and git-hook toolkit for Archipelago projects",
6
6
  "type": "module",
@@ -233,8 +233,8 @@ export const FILE_PATTERNS = [
233
233
  },
234
234
  {
235
235
  id: 'vue-v-html',
236
- severity: 'high',
237
- message: 'v-html directive — renders raw HTML; XSS risk if bound to user-controlled data',
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',