angular-html-parser
Advanced tools
@@ -11,2 +11,3 @@ //#region ../compiler/src/core.ts | ||
| SecurityContext$1[SecurityContext$1["RESOURCE_URL"] = 5] = "RESOURCE_URL"; | ||
| SecurityContext$1[SecurityContext$1["ATTRIBUTE_NO_BINDING"] = 6] = "ATTRIBUTE_NO_BINDING"; | ||
| return SecurityContext$1; | ||
@@ -13,0 +14,0 @@ }({}); |
@@ -25,30 +25,80 @@ import { SecurityContext } from "../core.mjs"; | ||
| "area|href", | ||
| "area|ping", | ||
| "audio|src", | ||
| "a|href", | ||
| "a|ping", | ||
| "blockquote|cite", | ||
| "body|background", | ||
| "del|cite", | ||
| "a|xlink:href", | ||
| "form|action", | ||
| "annotation|href", | ||
| "annotation|xlink:href", | ||
| "annotation-xml|href", | ||
| "annotation-xml|xlink:href", | ||
| "maction|href", | ||
| "maction|xlink:href", | ||
| "malignmark|href", | ||
| "malignmark|xlink:href", | ||
| "math|href", | ||
| "math|xlink:href", | ||
| "mroot|href", | ||
| "mroot|xlink:href", | ||
| "msqrt|href", | ||
| "msqrt|xlink:href", | ||
| "merror|href", | ||
| "merror|xlink:href", | ||
| "mfrac|href", | ||
| "mfrac|xlink:href", | ||
| "mglyph|href", | ||
| "mglyph|xlink:href", | ||
| "msub|href", | ||
| "msub|xlink:href", | ||
| "msup|href", | ||
| "msup|xlink:href", | ||
| "msubsup|href", | ||
| "msubsup|xlink:href", | ||
| "mmultiscripts|href", | ||
| "mmultiscripts|xlink:href", | ||
| "mprescripts|href", | ||
| "mprescripts|xlink:href", | ||
| "mi|href", | ||
| "mi|xlink:href", | ||
| "mn|href", | ||
| "mn|xlink:href", | ||
| "mo|href", | ||
| "mo|xlink:href", | ||
| "mpadded|href", | ||
| "mpadded|xlink:href", | ||
| "mphantom|href", | ||
| "mphantom|xlink:href", | ||
| "mrow|href", | ||
| "mrow|xlink:href", | ||
| "ms|href", | ||
| "ms|xlink:href", | ||
| "mspace|href", | ||
| "mspace|xlink:href", | ||
| "mstyle|href", | ||
| "mstyle|xlink:href", | ||
| "mtable|href", | ||
| "mtable|xlink:href", | ||
| "mtd|href", | ||
| "mtd|xlink:href", | ||
| "mtr|href", | ||
| "mtr|xlink:href", | ||
| "mtext|href", | ||
| "mtext|xlink:href", | ||
| "mover|href", | ||
| "mover|xlink:href", | ||
| "munder|href", | ||
| "munder|xlink:href", | ||
| "munderover|href", | ||
| "munderover|xlink:href", | ||
| "semantics|href", | ||
| "semantics|xlink:href", | ||
| "none|href", | ||
| "none|xlink:href", | ||
| "img|src", | ||
| "input|src", | ||
| "ins|cite", | ||
| "q|cite", | ||
| "source|src", | ||
| "track|src", | ||
| "video|poster", | ||
| "video|src" | ||
| ]); | ||
| registerContext(SecurityContext.RESOURCE_URL, [ | ||
| "applet|code", | ||
| "applet|codebase", | ||
| "base|href", | ||
| "embed|src", | ||
| "frame|src", | ||
| "head|profile", | ||
| "html|manifest", | ||
| "iframe|src", | ||
| "link|href", | ||
| "media|src", | ||
| "object|codebase", | ||
@@ -58,2 +108,21 @@ "object|data", | ||
| ]); | ||
| registerContext(SecurityContext.ATTRIBUTE_NO_BINDING, [ | ||
| "animate|attributeName", | ||
| "set|attributeName", | ||
| "animateMotion|attributeName", | ||
| "animateTransform|attributeName", | ||
| "unknown|attributeName", | ||
| "iframe|sandbox", | ||
| "iframe|allow", | ||
| "iframe|allowFullscreen", | ||
| "iframe|referrerPolicy", | ||
| "iframe|csp", | ||
| "iframe|fetchPriority", | ||
| "unknown|sandbox", | ||
| "unknown|allow", | ||
| "unknown|allowFullscreen", | ||
| "unknown|referrerPolicy", | ||
| "unknown|csp", | ||
| "unknown|fetchPriority" | ||
| ]); | ||
| } | ||
@@ -60,0 +129,0 @@ return _SECURITY_SCHEMA; |
+2
-21
| { | ||
| "name": "angular-html-parser", | ||
| "version": "10.1.1", | ||
| "version": "10.2.1", | ||
| "description": "A HTML parser extracted from Angular with some modifications", | ||
| "repository": "https://github.com/prettier/angular-html-parser/blob/HEAD/packages/angular-html-parser", | ||
| "repository": "https://github.com/prettier/angular-html-parser", | ||
| "homepage": "https://github.com/prettier/angular-html-parser/blob/HEAD/packages/angular-html-parser#readme", | ||
@@ -20,20 +20,2 @@ "author": { | ||
| "license": "MIT", | ||
| "scripts": { | ||
| "prepublish": "yarn run build", | ||
| "build": "tsdown --unbundle", | ||
| "test": "vitest", | ||
| "release": "release-it", | ||
| "fix": "prettier . --write", | ||
| "lint": "prettier . --check" | ||
| }, | ||
| "devDependencies": { | ||
| "@types/node": "24.10.1", | ||
| "@vitest/coverage-v8": "4.0.12", | ||
| "prettier": "3.6.2", | ||
| "release-it": "19.0.6", | ||
| "tsconfig-paths": "4.2.0", | ||
| "tsdown": "0.16.6", | ||
| "typescript": "5.9.3", | ||
| "vitest": "4.0.12" | ||
| }, | ||
| "engines": { | ||
@@ -51,4 +33,3 @@ "node": ">= 14" | ||
| }, | ||
| "packageManager": "yarn@4.9.1", | ||
| "sideEffects": false | ||
| } |
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
193548
0.61%0
-100%5198
1.37%