@schemastore/content-security-policy-report-2 0.0.2 → 0.0.4

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.
Files changed (3) hide show
  1. package/README.md +22 -6
  2. package/index.d.ts +2 -2
  3. package/package.json +4 -4
package/README.md CHANGED
@@ -1,12 +1,28 @@
1
- # Installation
2
- > `npm install --save @schemastore/content-security-policy-report-2`
1
+ # Type definitions for content-security-policy-report-2
2
+
3
+ ## Installation
4
+
5
+ ```
6
+ npm i @schemastore/content-security-policy-report-2
7
+ yarn add @schemastore/content-security-policy-report-2
8
+ ```
9
+
10
+ ## Summary
3
11
 
4
- # Summary
5
12
  This package contains type definitions for content-security-policy-report-2.
6
13
 
7
- ## Details
8
- Files were exported from https://github.com/ffflorian/schemastore-updater/tree/main/schemas/content-security-policy-report-2.
14
+ ## Usage
15
+
16
+ ```ts
17
+ import * as content_security_policy_report_2 from '@schemastore/content-security-policy-report-2';
18
+ ```
19
+
20
+ ## Note
21
+
22
+ The definitions were auto-generated by [schemastore-updater](https://github.com/ffflorian/schemastore-updater) using [`json-schema-to-typescript`](https://www.npmjs.com/package/json-schema-to-typescript).
9
23
 
10
24
  ## Additional Details
11
- * Last updated: Wed, Apr 20, 2022, 07:13:19 GMT
25
+
26
+ * [Schema source](https://github.com/SchemaStore/schemastore/tree/master/src/schemas/json/content-security-policy-report-2)
27
+ * Last updated: Fri, Jun 30, 2023, 21:03:58 GMT
12
28
  * Dependencies: none
package/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- /* tslint:disable */
1
+ /* eslint-disable */
2
2
  /**
3
3
  * This file was automatically generated by json-schema-to-typescript.
4
4
  * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
@@ -50,6 +50,6 @@ export interface JSONSchemaForContentSecurityPolicyLevel2ViolationReports {
50
50
  * The column number in source-file on which the violation occurred.
51
51
  */
52
52
  "column-number"?: number;
53
- [k: string]: unknown;
53
+ [k: string]: unknown | undefined;
54
54
  };
55
55
  }
package/package.json CHANGED
@@ -7,8 +7,8 @@
7
7
  "name": "@schemastore/content-security-policy-report-2",
8
8
  "repository": "https://github.com/ffflorian/schemastore-updater/tree/main/schemas/content-security-policy-report-2",
9
9
  "scripts": {},
10
- "typesPublisherContentHash": "408698fb3daf6251cb4eb894a99842d442547a7b2e8670d77eb5d6a52f59889d",
10
+ "typeScriptVersion": "2.2",
11
11
  "types": "index.d.ts",
12
- "version": "0.0.2",
13
- "typeScriptVersion": "2.2"
14
- }
12
+ "typesPublisherContentHash": "def5aae1e3a34b8af5378a038ba9db5f63061ae94067670368cedf524bfc6dc1",
13
+ "version": "0.0.4"
14
+ }