html-element-attributes
Advanced tools
Comparing version 3.2.0 to 3.3.0
@@ -6,2 +6,2 @@ /** | ||
*/ | ||
export const htmlElementAttributes: Record<string, Array<string>> | ||
export const htmlElementAttributes: Record<string, Array<string>>; |
@@ -112,3 +112,3 @@ /** | ||
del: ['cite', 'datetime'], | ||
details: ['open'], | ||
details: ['name', 'open'], | ||
dialog: ['open'], | ||
@@ -343,2 +343,3 @@ dir: ['compact'], | ||
], | ||
template: ['shadowrootdelegatesfocus', 'shadowrootmode'], | ||
textarea: [ | ||
@@ -345,0 +346,0 @@ 'autocomplete', |
{ | ||
"name": "html-element-attributes", | ||
"version": "3.2.0", | ||
"version": "3.3.0", | ||
"description": "Map of HTML elements to allowed attributes", | ||
@@ -35,8 +35,8 @@ "license": "MIT", | ||
"devDependencies": { | ||
"@types/node": "^18.0.0", | ||
"c8": "^7.0.0", | ||
"hast-util-from-html": "^1.0.0", | ||
"hast-util-select": "^5.0.0", | ||
"hast-util-to-string": "^2.0.0", | ||
"prettier": "^2.0.0", | ||
"@types/node": "^20.0.0", | ||
"c8": "^8.0.0", | ||
"hast-util-from-html": "^2.0.0", | ||
"hast-util-select": "^6.0.0", | ||
"hast-util-to-string": "^3.0.0", | ||
"prettier": "^3.0.0", | ||
"remark-cli": "^11.0.0", | ||
@@ -47,3 +47,3 @@ "remark-preset-wooorm": "^9.0.0", | ||
"undici": "^5.0.0", | ||
"xo": "^0.54.0" | ||
"xo": "^0.56.0" | ||
}, | ||
@@ -54,3 +54,3 @@ "scripts": { | ||
"build": "tsc --build --clean && tsc --build && type-coverage", | ||
"format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix", | ||
"format": "remark . -qfo && prettier . -w --log-level warn && xo --fix", | ||
"test-api": "node --conditions development test.js", | ||
@@ -69,3 +69,6 @@ "test-coverage": "c8 --check-coverage --100 --reporter lcov npm run test-api", | ||
"xo": { | ||
"prettier": true | ||
"prettier": true, | ||
"rules": { | ||
"unicorn/prefer-string-replace-all": "off" | ||
} | ||
}, | ||
@@ -72,0 +75,0 @@ "remarkConfig": { |
14389
399