@angular/compiler 13.3.10 → 13.3.12
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/esm2020/src/render3/partial/class_metadata.mjs +1 -1
- package/esm2020/src/render3/partial/directive.mjs +1 -1
- package/esm2020/src/render3/partial/factory.mjs +1 -1
- package/esm2020/src/render3/partial/injectable.mjs +1 -1
- package/esm2020/src/render3/partial/injector.mjs +1 -1
- package/esm2020/src/render3/partial/ng_module.mjs +1 -1
- package/esm2020/src/render3/partial/pipe.mjs +1 -1
- package/esm2020/src/render3/r3_identifiers.mjs +2 -1
- package/esm2020/src/render3/view/compiler.mjs +16 -1
- package/esm2020/src/render3/view/template.mjs +17 -3
- package/esm2020/src/schema/dom_security_schema.mjs +20 -1
- package/esm2020/src/version.mjs +1 -1
- package/fesm2015/compiler.mjs +117 -70
- package/fesm2015/compiler.mjs.map +1 -1
- package/fesm2015/testing.mjs +1 -1
- package/fesm2020/compiler.mjs +117 -70
- package/fesm2020/compiler.mjs.map +1 -1
- package/fesm2020/testing.mjs +1 -1
- package/package.json +1 -1
- package/src/render3/r3_identifiers.d.ts +1 -0
- package/src/schema/dom_security_schema.d.ts +15 -0
package/fesm2020/testing.mjs
CHANGED
package/package.json
CHANGED
|
@@ -177,4 +177,5 @@ export declare class Identifiers {
|
|
|
177
177
|
static sanitizeUrlOrResourceUrl: o.ExternalReference;
|
|
178
178
|
static trustConstantHtml: o.ExternalReference;
|
|
179
179
|
static trustConstantResourceUrl: o.ExternalReference;
|
|
180
|
+
static validateIframeAttribute: o.ExternalReference;
|
|
180
181
|
}
|
|
@@ -9,3 +9,18 @@ import { SecurityContext } from '../core';
|
|
|
9
9
|
export declare function SECURITY_SCHEMA(): {
|
|
10
10
|
[k: string]: SecurityContext;
|
|
11
11
|
};
|
|
12
|
+
/**
|
|
13
|
+
* The set of security-sensitive attributes of an `<iframe>` that *must* be
|
|
14
|
+
* applied as a static attribute only. This ensures that all security-sensitive
|
|
15
|
+
* attributes are taken into account while creating an instance of an `<iframe>`
|
|
16
|
+
* at runtime.
|
|
17
|
+
*
|
|
18
|
+
* Note: avoid using this set directly, use the `isIframeSecuritySensitiveAttr` function
|
|
19
|
+
* in the code instead.
|
|
20
|
+
*/
|
|
21
|
+
export declare const IFRAME_SECURITY_SENSITIVE_ATTRS: Set<string>;
|
|
22
|
+
/**
|
|
23
|
+
* Checks whether a given attribute name might represent a security-sensitive
|
|
24
|
+
* attribute of an <iframe>.
|
|
25
|
+
*/
|
|
26
|
+
export declare function isIframeSecuritySensitiveAttr(attrName: string): boolean;
|