@types/web 0.0.221 → 0.0.222
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/README.md +1 -1
- package/index.d.ts +38 -0
- package/package.json +1 -1
- package/ts5.5/index.d.ts +38 -0
- package/ts5.6/index.d.ts +38 -0
package/README.md
CHANGED
|
@@ -47,4 +47,4 @@ Prior to `@types/web` the web APIs were deployed with a version of TypeScript, a
|
|
|
47
47
|
|
|
48
48
|
## Deploy Metadata
|
|
49
49
|
|
|
50
|
-
You can read what changed in version 0.0.
|
|
50
|
+
You can read what changed in version 0.0.222 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.222.
|
package/index.d.ts
CHANGED
|
@@ -3739,6 +3739,43 @@ declare var CDATASection: {
|
|
|
3739
3739
|
new(): CDATASection;
|
|
3740
3740
|
};
|
|
3741
3741
|
|
|
3742
|
+
/**
|
|
3743
|
+
* The `CSPViolationReportBody` interface is an extension of the Reporting API that represents the body of a Content Security Policy (CSP) violation report.
|
|
3744
|
+
*
|
|
3745
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody)
|
|
3746
|
+
*/
|
|
3747
|
+
interface CSPViolationReportBody extends ReportBody {
|
|
3748
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/blockedURL) */
|
|
3749
|
+
readonly blockedURL: string | null;
|
|
3750
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/columnNumber) */
|
|
3751
|
+
readonly columnNumber: number | null;
|
|
3752
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/disposition) */
|
|
3753
|
+
readonly disposition: SecurityPolicyViolationEventDisposition;
|
|
3754
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/documentURL) */
|
|
3755
|
+
readonly documentURL: string;
|
|
3756
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/effectiveDirective) */
|
|
3757
|
+
readonly effectiveDirective: string;
|
|
3758
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/lineNumber) */
|
|
3759
|
+
readonly lineNumber: number | null;
|
|
3760
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/originalPolicy) */
|
|
3761
|
+
readonly originalPolicy: string;
|
|
3762
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/referrer) */
|
|
3763
|
+
readonly referrer: string | null;
|
|
3764
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/sample) */
|
|
3765
|
+
readonly sample: string | null;
|
|
3766
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/sourceFile) */
|
|
3767
|
+
readonly sourceFile: string | null;
|
|
3768
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/statusCode) */
|
|
3769
|
+
readonly statusCode: number;
|
|
3770
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/toJSON) */
|
|
3771
|
+
toJSON(): any;
|
|
3772
|
+
}
|
|
3773
|
+
|
|
3774
|
+
declare var CSPViolationReportBody: {
|
|
3775
|
+
prototype: CSPViolationReportBody;
|
|
3776
|
+
new(): CSPViolationReportBody;
|
|
3777
|
+
};
|
|
3778
|
+
|
|
3742
3779
|
/**
|
|
3743
3780
|
* The **`CSSAnimation`** interface of the Web Animations API represents an Animation object.
|
|
3744
3781
|
*
|
|
@@ -12571,6 +12608,7 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle {
|
|
|
12571
12608
|
hreflang: string;
|
|
12572
12609
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/imageSizes) */
|
|
12573
12610
|
imageSizes: string;
|
|
12611
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/imageSrcset) */
|
|
12574
12612
|
imageSrcset: string;
|
|
12575
12613
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/integrity) */
|
|
12576
12614
|
integrity: string;
|
package/package.json
CHANGED
package/ts5.5/index.d.ts
CHANGED
|
@@ -3739,6 +3739,43 @@ declare var CDATASection: {
|
|
|
3739
3739
|
new(): CDATASection;
|
|
3740
3740
|
};
|
|
3741
3741
|
|
|
3742
|
+
/**
|
|
3743
|
+
* The `CSPViolationReportBody` interface is an extension of the Reporting API that represents the body of a Content Security Policy (CSP) violation report.
|
|
3744
|
+
*
|
|
3745
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody)
|
|
3746
|
+
*/
|
|
3747
|
+
interface CSPViolationReportBody extends ReportBody {
|
|
3748
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/blockedURL) */
|
|
3749
|
+
readonly blockedURL: string | null;
|
|
3750
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/columnNumber) */
|
|
3751
|
+
readonly columnNumber: number | null;
|
|
3752
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/disposition) */
|
|
3753
|
+
readonly disposition: SecurityPolicyViolationEventDisposition;
|
|
3754
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/documentURL) */
|
|
3755
|
+
readonly documentURL: string;
|
|
3756
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/effectiveDirective) */
|
|
3757
|
+
readonly effectiveDirective: string;
|
|
3758
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/lineNumber) */
|
|
3759
|
+
readonly lineNumber: number | null;
|
|
3760
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/originalPolicy) */
|
|
3761
|
+
readonly originalPolicy: string;
|
|
3762
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/referrer) */
|
|
3763
|
+
readonly referrer: string | null;
|
|
3764
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/sample) */
|
|
3765
|
+
readonly sample: string | null;
|
|
3766
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/sourceFile) */
|
|
3767
|
+
readonly sourceFile: string | null;
|
|
3768
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/statusCode) */
|
|
3769
|
+
readonly statusCode: number;
|
|
3770
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/toJSON) */
|
|
3771
|
+
toJSON(): any;
|
|
3772
|
+
}
|
|
3773
|
+
|
|
3774
|
+
declare var CSPViolationReportBody: {
|
|
3775
|
+
prototype: CSPViolationReportBody;
|
|
3776
|
+
new(): CSPViolationReportBody;
|
|
3777
|
+
};
|
|
3778
|
+
|
|
3742
3779
|
/**
|
|
3743
3780
|
* The **`CSSAnimation`** interface of the Web Animations API represents an Animation object.
|
|
3744
3781
|
*
|
|
@@ -12556,6 +12593,7 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle {
|
|
|
12556
12593
|
hreflang: string;
|
|
12557
12594
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/imageSizes) */
|
|
12558
12595
|
imageSizes: string;
|
|
12596
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/imageSrcset) */
|
|
12559
12597
|
imageSrcset: string;
|
|
12560
12598
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/integrity) */
|
|
12561
12599
|
integrity: string;
|
package/ts5.6/index.d.ts
CHANGED
|
@@ -3739,6 +3739,43 @@ declare var CDATASection: {
|
|
|
3739
3739
|
new(): CDATASection;
|
|
3740
3740
|
};
|
|
3741
3741
|
|
|
3742
|
+
/**
|
|
3743
|
+
* The `CSPViolationReportBody` interface is an extension of the Reporting API that represents the body of a Content Security Policy (CSP) violation report.
|
|
3744
|
+
*
|
|
3745
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody)
|
|
3746
|
+
*/
|
|
3747
|
+
interface CSPViolationReportBody extends ReportBody {
|
|
3748
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/blockedURL) */
|
|
3749
|
+
readonly blockedURL: string | null;
|
|
3750
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/columnNumber) */
|
|
3751
|
+
readonly columnNumber: number | null;
|
|
3752
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/disposition) */
|
|
3753
|
+
readonly disposition: SecurityPolicyViolationEventDisposition;
|
|
3754
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/documentURL) */
|
|
3755
|
+
readonly documentURL: string;
|
|
3756
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/effectiveDirective) */
|
|
3757
|
+
readonly effectiveDirective: string;
|
|
3758
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/lineNumber) */
|
|
3759
|
+
readonly lineNumber: number | null;
|
|
3760
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/originalPolicy) */
|
|
3761
|
+
readonly originalPolicy: string;
|
|
3762
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/referrer) */
|
|
3763
|
+
readonly referrer: string | null;
|
|
3764
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/sample) */
|
|
3765
|
+
readonly sample: string | null;
|
|
3766
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/sourceFile) */
|
|
3767
|
+
readonly sourceFile: string | null;
|
|
3768
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/statusCode) */
|
|
3769
|
+
readonly statusCode: number;
|
|
3770
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/toJSON) */
|
|
3771
|
+
toJSON(): any;
|
|
3772
|
+
}
|
|
3773
|
+
|
|
3774
|
+
declare var CSPViolationReportBody: {
|
|
3775
|
+
prototype: CSPViolationReportBody;
|
|
3776
|
+
new(): CSPViolationReportBody;
|
|
3777
|
+
};
|
|
3778
|
+
|
|
3742
3779
|
/**
|
|
3743
3780
|
* The **`CSSAnimation`** interface of the Web Animations API represents an Animation object.
|
|
3744
3781
|
*
|
|
@@ -12571,6 +12608,7 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle {
|
|
|
12571
12608
|
hreflang: string;
|
|
12572
12609
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/imageSizes) */
|
|
12573
12610
|
imageSizes: string;
|
|
12611
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/imageSrcset) */
|
|
12574
12612
|
imageSrcset: string;
|
|
12575
12613
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/integrity) */
|
|
12576
12614
|
integrity: string;
|