Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@markuplint/html-spec

Package Overview
Dependencies
Maintainers
1
Versions
161
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@markuplint/html-spec - npm Package Compare versions

Comparing version 1.8.2 to 2.0.0-alpha.0

src/attributes/svg_a.json

14

package.json
{
"name": "@markuplint/html-spec",
"version": "1.8.2",
"version": "2.0.0-alpha.0",
"description": "A specification of HTML Living Standard for markuplint",

@@ -20,12 +20,12 @@ "repository": "git@github.com:markuplint/markuplint.git",

"@types/cli-progress": "^3.9.2",
"@types/node-fetch": "^2.5.11",
"@types/node-fetch": "2",
"cheerio": "^1.0.0-rc.10",
"cli-progress": "^3.9.0",
"fast-xml-parser": "^3.19.0",
"node-fetch": "^2.6.1"
"cli-progress": "^3.9.1",
"fast-xml-parser": "^3.21.1",
"node-fetch": "2"
},
"dependencies": {
"@markuplint/ml-spec": "^1.7.0"
"@markuplint/ml-spec": "^2.0.0-alpha.0"
},
"gitHead": "0d364f59b65ce46101aa7230e045ae6efa736f3e"
"gitHead": "2e5b7e616411588b01c098deb35c6aa0470dfadb"
}

@@ -41,4 +41,5 @@ {

"name": "shape",
"type": "String",
"enum": ["rect", "circle", "poly", "default"]
"type": {
"enum": ["rect", "circle", "poly", "default"]
}
},

@@ -45,0 +46,0 @@ {

@@ -14,4 +14,3 @@ {

"name": "crossorigin",
"type": "String",
"enum": ["anonymous", "use-credentials"]
"type": "Crossorigin"
},

@@ -28,4 +27,5 @@ {

"name": "preload",
"type": "String",
"enum": ["none", "metadata", "auto", ""]
"type": {
"enum": ["none", "metadata", "auto", ""]
}
},

@@ -32,0 +32,0 @@ {

@@ -6,6 +6,7 @@ {

"name": "dir",
"type": "String",
"enum": ["ltr", "rtl"]
"type": {
"enum": ["ltr", "rtl"]
}
}
]
}

@@ -18,9 +18,11 @@ {

"name": "formenctype",
"type": "String",
"enum": ["application/x-www-form-urlencoded", "multipart/form-data", "text/plain"]
"type": {
"enum": ["application/x-www-form-urlencoded", "multipart/form-data", "text/plain"]
}
},
{
"name": "formmethod",
"type": "String",
"enum": ["post", "get", "dialog"]
"type": {
"enum": ["post", "get", "dialog"]
}
},

@@ -41,4 +43,5 @@ {

"name": "type",
"type": "String",
"enum": ["submit", "reset", "button"]
"type": {
"enum": ["submit", "reset", "button"]
}
},

@@ -45,0 +48,0 @@ {

@@ -20,9 +20,11 @@ {

"name": "enctype",
"type": "String",
"enum": ["application/x-www-form-urlencoded", "multipart/form-data", "text/plain"]
"type": {
"enum": ["application/x-www-form-urlencoded", "multipart/form-data", "text/plain"]
}
},
{
"name": "method",
"type": "String",
"enum": ["post", "get", "dialog"]
"type": {
"enum": ["post", "get", "dialog"]
}
},

@@ -29,0 +31,0 @@ {

@@ -18,17 +18,18 @@ {

"name": "sandbox",
"type": "String",
"enum": [
"allow-forms",
"allow-modals",
"allow-orientation-lock",
"allow-pointer-lock",
"allow-popups",
"allow-popups-to-escape-sandbox",
"allow-presentation",
"allow-same-origin",
"allow-scripts",
"allow-top-navigation",
"allow-top-navigation-by-user-activation",
"allow-downloads"
]
"type": {
"enum": [
"allow-forms",
"allow-modals",
"allow-orientation-lock",
"allow-pointer-lock",
"allow-popups",
"allow-popups-to-escape-sandbox",
"allow-presentation",
"allow-same-origin",
"allow-scripts",
"allow-top-navigation",
"allow-top-navigation-by-user-activation",
"allow-downloads"
]
}
},

@@ -61,6 +62,7 @@ {

"name": "loading",
"type": "String",
"enum": ["eager", "lazy"]
"type": {
"enum": ["eager", "lazy"]
}
}
]
}

@@ -10,9 +10,9 @@ {

"name": "crossorigin",
"type": "String",
"enum": ["anonymous", "use-credentials"]
"type": "Crossorigin"
},
{
"name": "decoding",
"type": "String",
"enum": ["sync", "async", "auto"]
"type": {
"enum": ["sync", "async", "auto"]
}
},

@@ -32,4 +32,5 @@ {

"name": "loading",
"type": "String",
"enum": ["eager", "lazy"]
"type": {
"enum": ["eager", "lazy"]
}
},

@@ -36,0 +37,0 @@ {

@@ -8,3 +8,3 @@ {

"condition": {
"self": "[type=file]"
"self": "[type='file' i]"
}

@@ -16,3 +16,3 @@ },

"condition": {
"self": "[type=image]"
"self": "[type='image' i]"
}

@@ -25,17 +25,17 @@ },

"self": [
"[type=hidden]",
"[type=text]",
"[type=search]",
"[type=url]",
"[type=tel]",
"[type=email]",
"[type=password]",
"[type=date]",
"[type=month]",
"[type=week]",
"[type=time]",
"[type=datetime-local]",
"[type=number]",
"[type=range]",
"[type=color]"
"[type='hidden' i]",
"[type='text' i]",
"[type='search' i]",
"[type='url' i]",
"[type='tel' i]",
"[type='email' i]",
"[type='password' i]",
"[type='date' i]",
"[type='month' i]",
"[type='week' i]",
"[type='time' i]",
"[type='datetime-local' i]",
"[type='number' i]",
"[type='range' i]",
"[type='color' i]"
]

@@ -48,3 +48,3 @@ }

"condition": {
"self": ["[type=checkbox]", "[type=radio]"]
"self": ["[type='checkbox' i]", "[type='radio' i]"]
}

@@ -56,3 +56,3 @@ },

"condition": {
"self": ["[type=text]", "[type=search]"]
"self": ["[type='text' i]", "[type='search' i]"]
}

@@ -68,3 +68,3 @@ },

"condition": {
"self": ["[type=file]", "[type=file]"]
"self": ["[type='file' i]", "[type='file' i]"]
}

@@ -76,3 +76,3 @@ },

"condition": {
"self": ["[type=submit]", "[type=image]"]
"self": ["[type='submit' i]", "[type='image' i]"]
}

@@ -82,6 +82,7 @@ },

"name": "formenctype",
"type": "String",
"enum": ["application/x-www-form-urlencoded", "multipart/form-data", "text/plain"],
"type": {
"enum": ["application/x-www-form-urlencoded", "multipart/form-data", "text/plain"]
},
"condition": {
"self": ["[type=submit]", "[type=image]"]
"self": ["[type='submit' i]", "[type='image' i]"]
}

@@ -91,6 +92,7 @@ },

"name": "formmethod",
"type": "String",
"enum": ["post", "get", "dialog"],
"type": {
"enum": ["post", "get", "dialog"]
},
"condition": {
"self": ["[type=submit]", "[type=image]"]
"self": ["[type='submit' i]", "[type='image' i]"]
}

@@ -102,3 +104,3 @@ },

"condition": {
"self": ["[type=submit]", "[type=image]"]
"self": ["[type='submit' i]", "[type='image' i]"]
}

@@ -110,3 +112,3 @@ },

"condition": {
"self": ["[type=submit]", "[type=image]"]
"self": ["[type='submit' i]", "[type='image' i]"]
}

@@ -118,3 +120,3 @@ },

"condition": {
"self": "[type=image]"
"self": "[type='image' i]"
}

@@ -127,15 +129,15 @@ },

"self": [
"[type=text]",
"[type=search]",
"[type=url]",
"[type=tel]",
"[type=email]",
"[type=date]",
"[type=month]",
"[type=week]",
"[type=time]",
"[type=datetime-local]",
"[type=number]",
"[type=range]",
"[type=color]"
"[type='text' i]",
"[type='search' i]",
"[type='url' i]",
"[type='tel' i]",
"[type='email' i]",
"[type='date' i]",
"[type='month' i]",
"[type='week' i]",
"[type='time' i]",
"[type='datetime-local' i]",
"[type='number' i]",
"[type='range' i]",
"[type='color' i]"
]

@@ -149,9 +151,9 @@ }

"self": [
"[type=date]",
"[type=month]",
"[type=week]",
"[type=time]",
"[type=datetime-local]",
"[type=number]",
"[type=range]"
"[type='date' i]",
"[type='month' i]",
"[type='week' i]",
"[type='time' i]",
"[type='datetime-local' i]",
"[type='number' i]",
"[type='range' i]"
]

@@ -164,3 +166,10 @@ }

"condition": {
"self": ["[type=text]", "[type=search]", "[type=url]", "[type=tel]", "[type=email]", "[type=password]"]
"self": [
"[type='text' i]",
"[type='search' i]",
"[type='url' i]",
"[type='tel' i]",
"[type='email' i]",
"[type='password' i]"
]
}

@@ -173,9 +182,9 @@ },

"self": [
"[type=date]",
"[type=month]",
"[type=week]",
"[type=time]",
"[type=datetime-local]",
"[type=number]",
"[type=range]"
"[type='date' i]",
"[type='month' i]",
"[type='week' i]",
"[type='time' i]",
"[type='datetime-local' i]",
"[type='number' i]",
"[type='range' i]"
]

@@ -188,3 +197,10 @@ }

"condition": {
"self": ["[type=text]", "[type=search]", "[type=url]", "[type=tel]", "[type=email]", "[type=password]"]
"self": [
"[type='text' i]",
"[type='search' i]",
"[type='url' i]",
"[type='tel' i]",
"[type='email' i]",
"[type='password' i]"
]
}

@@ -196,3 +212,3 @@ },

"condition": {
"self": ["[type=email]", "[type=file]"]
"self": ["[type='email' i]", "[type='file' i]"]
}

@@ -208,3 +224,10 @@ },

"condition": {
"self": ["[type=text]", "[type=search]", "[type=url]", "[type=tel]", "[type=email]", "[type=password]"]
"self": [
"[type='text' i]",
"[type='search' i]",
"[type='url' i]",
"[type='tel' i]",
"[type='email' i]",
"[type='password' i]"
]
}

@@ -217,9 +240,9 @@ },

"self": [
"[type=text]",
"[type=search]",
"[type=url]",
"[type=tel]",
"[type=email]",
"[type=password]",
"[type=number]"
"[type='text' i]",
"[type='search' i]",
"[type='url' i]",
"[type='tel' i]",
"[type='email' i]",
"[type='password' i]",
"[type='number' i]"
]

@@ -233,14 +256,14 @@ }

"self": [
"[type=text]",
"[type=search]",
"[type=url]",
"[type=tel]",
"[type=email]",
"[type=password]",
"[type=date]",
"[type=month]",
"[type=week]",
"[type=time]",
"[type=datetime-local]",
"[type=number]"
"[type='text' i]",
"[type='search' i]",
"[type='url' i]",
"[type='tel' i]",
"[type='email' i]",
"[type='password' i]",
"[type='date' i]",
"[type='month' i]",
"[type='week' i]",
"[type='time' i]",
"[type='datetime-local' i]",
"[type='number' i]"
]

@@ -254,17 +277,17 @@ }

"self": [
"[type=text]",
"[type=search]",
"[type=url]",
"[type=tel]",
"[type=email]",
"[type=password]",
"[type=date]",
"[type=month]",
"[type=week]",
"[type=time]",
"[type=datetime-local]",
"[type=number]",
"[type=checkbox]",
"[type=radio]",
"[type=file]"
"[type='text' i]",
"[type='search' i]",
"[type='url' i]",
"[type='tel' i]",
"[type='email' i]",
"[type='password' i]",
"[type='date' i]",
"[type='month' i]",
"[type='week' i]",
"[type='time' i]",
"[type='datetime-local' i]",
"[type='number' i]",
"[type='checkbox' i]",
"[type='radio' i]",
"[type='file' i]"
]

@@ -277,3 +300,10 @@ }

"condition": {
"self": ["[type=text]", "[type=search]", "[type=url]", "[type=tel]", "[type=email]", "[type=password]"]
"self": [
"[type='text' i]",
"[type='search' i]",
"[type='url' i]",
"[type='tel' i]",
"[type='email' i]",
"[type='password' i]"
]
}

@@ -285,3 +315,3 @@ },

"condition": {
"self": "[type=image]"
"self": "[type='image' i]"
}

@@ -294,9 +324,9 @@ },

"self": [
"[type=date]",
"[type=month]",
"[type=week]",
"[type=time]",
"[type=datetime-local]",
"[type=number]",
"[type=range]"
"[type='date' i]",
"[type='month' i]",
"[type='week' i]",
"[type='time' i]",
"[type='datetime-local' i]",
"[type='number' i]",
"[type='range' i]"
]

@@ -317,3 +347,3 @@ }

"condition": {
"self": "[type=image]"
"self": "[type='image' i]"
}

@@ -320,0 +350,0 @@ }

{
"tag": "li",
"tag": "link",
"attributes": [

@@ -10,4 +10,3 @@ {

"name": "crossorigin",
"type": "String",
"enum": ["anonymous", "use-credentials"]
"type": "Crossorigin"
},

@@ -14,0 +13,0 @@ {

@@ -20,4 +20,5 @@ {

"name": "http-equiv",
"type": "String",
"enum": ["content-type", "default-style", "refresh", "x-ua-compatible", "content-security-policy"],
"type": {
"enum": ["content-type", "default-style", "refresh", "x-ua-compatible", "content-security-policy"]
},
"condition": {

@@ -24,0 +25,0 @@ "self": [":not([itemprop])", ":not([name])", ":not([charset])"]

@@ -14,6 +14,7 @@ {

"name": "type",
"type": "String",
"enum": ["1", "a", "A", "i", "I"]
"type": {
"enum": ["1", "a", "A", "i", "I"]
}
}
]
}

@@ -26,4 +26,3 @@ {

"name": "crossorigin",
"type": "String",
"enum": ["anonymous", "use-credentials"]
"type": "Crossorigin"
},

@@ -30,0 +29,0 @@ {

@@ -54,6 +54,7 @@ {

"name": "wrap",
"type": "String",
"enum": ["soft", "hard"]
"type": {
"enum": ["soft", "hard"]
}
}
]
}

@@ -18,4 +18,5 @@ {

"name": "scope",
"type": "String",
"enum": ["row", "col", "rowgroup", "colgroup", "auto"]
"type": {
"enum": ["row", "col", "rowgroup", "colgroup", "auto"]
}
},

@@ -22,0 +23,0 @@ {

@@ -6,4 +6,5 @@ {

"name": "kind",
"type": "String",
"enum": ["subtitles", "captions", "descriptions", "chapters", "metadata"]
"type": {
"enum": ["subtitles", "captions", "descriptions", "chapters", "metadata"]
}
},

@@ -10,0 +11,0 @@ {

@@ -14,4 +14,3 @@ {

"name": "crossorigin",
"type": "String",
"enum": ["anonymous", "use-credentials"]
"type": "Crossorigin"
},

@@ -32,4 +31,5 @@ {

"name": "preload",
"type": "String",
"enum": ["none", "metadata", "auto", ""]
"type": {
"enum": ["none", "metadata", "auto", ""]
}
},

@@ -54,6 +54,7 @@ {

"name": "controlslist",
"type": "String",
"enum": ["nodownload", "nofullscreen", "noremoteplayback"]
"type": {
"enum": ["nodownload", "nofullscreen", "noremoteplayback"]
}
}
]
}

@@ -89,3 +89,3 @@ {

"sup",
"svg",
"svg:svg",
"table",

@@ -162,3 +162,3 @@ "template",

"sup",
"svg",
"svg:svg",
"template",

@@ -174,3 +174,3 @@ "textarea",

],
"#embedded": ["audio", "canvas", "embed", "iframe", "img", "math", "object", "picture", "svg", "video"],
"#embedded": ["audio", "canvas", "embed", "iframe", "img", "math", "object", "picture", "svg:svg", "video"],
"#interactive": [

@@ -192,4 +192,147 @@ "a[href]",

],
"#script-supporting": ["script", "template"]
"#script-supporting": ["script", "template"],
"#SVGAnimation": [
"svg:animate",
"svg:animateColor",
"svg:animateMotion",
"svg:animateTransform",
"svg:discard",
"svg:mpath",
"svg:set"
],
"#SVGBasicShapes": ["svg:circle", "svg:ellipse", "svg:line", "svg:polygon", "svg:polyline", "svg:rect"],
"#SVGContainer": [
"svg:a",
"svg:defs",
"svg:g",
"svg:marker",
"svg:mask",
"svg:missing-glyph",
"svg:pattern",
"svg:svg",
"svg:switch",
"svg:symbol"
],
"#SVGDescriptive": ["svg:desc", "svg:metadata", "svg:title"],
"#SVGFilterPrimitive": [
"svg:feBlend",
"svg:feColorMatrix",
"svg:feComponentTransfer",
"svg:feComposite",
"svg:feConvolveMatrix",
"svg:feDiffuseLighting",
"svg:feDisplacementMap",
"svg:feDropShadow",
"svg:feFlood",
"svg:feFuncA",
"svg:feFuncB",
"svg:feFuncG",
"svg:feFuncR",
"svg:feGaussianBlur",
"svg:feImage",
"svg:feMerge",
"svg:feMergeNode",
"svg:feMorphology",
"svg:feOffset",
"svg:feSpecularLighting",
"svg:feTile",
"svg:feTurbulence"
],
"#SVGFont": [
"svg:font",
"svg:font-face",
"svg:font-face-format",
"svg:font-face-name",
"svg:font-face-src",
"svg:font-face-uri",
"svg:hkern",
"svg:vkern"
],
"#SVGGradient": ["svg:linearGradient", "svg:meshgradient", "svg:radialGradient", "svg:stop"],
"#SVGGraphics": [
"svg:circle",
"svg:ellipse",
"svg:image",
"svg:line",
"svg:mesh",
"svg:path",
"svg:polygon",
"svg:polyline",
"svg:rect",
"svg:text",
"svg:use"
],
"#SVGGraphicsReferencing": ["svg:mesh", "svg:use"],
"#SVGLightSource": ["svg:feDistantLight", "svg:fePointLight", "svg:feSpotLight"],
"#SVGNeverRendered": [
"svg:clipPath",
"svg:defs",
"svg:hatch",
"svg:linearGradient",
"svg:marker",
"svg:mask",
"svg:meshgradient",
"svg:metadata",
"svg:pattern",
"svg:radialGradient",
"svg:script",
"svg:style",
"svg:symbol",
"svg:title"
],
"#SVGPaintServer": [
"svg:hatch",
"svg:linearGradient",
"svg:meshgradient",
"svg:pattern",
"svg:radialGradient",
"svg:solidcolor"
],
"#SVGRenderable": [
"svg:a",
"svg:circle",
"svg:ellipse",
"svg:foreignObject",
"svg:g",
"svg:image",
"svg:line",
"svg:mesh",
"svg:path",
"svg:polygon",
"svg:polyline",
"svg:rect",
"svg:svg",
"svg:switch",
"svg:symbol",
"svg:text",
"svg:textPath",
"svg:tspan",
"svg:unknown",
"svg:use"
],
"#SVGShape": [
"svg:circle",
"svg:ellipse",
"svg:line",
"svg:mesh",
"svg:path",
"svg:polygon",
"svg:polyline",
"svg:rect"
],
"#SVGStructural": ["svg:defs", "svg:g", "svg:svg", "svg:symbol", "svg:use"],
"#SVGStructurallyExternal": [],
"#SVGTextContent": [
"svg:altGlyph",
"svg:altGlyphDef",
"svg:altGlyphItem",
"svg:glyph",
"svg:glyphRef",
"svg:textPath",
"svg:text",
"svg:tref",
"svg:tspan"
],
"#SVGTextContentChild": ["svg:altGlyph", "svg:textPath", "svg:tref", "svg:tspan"]
}
}

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc