@types/sanitize-html 2.9.3 → 2.9.5

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.
sanitize-html/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for sanitize-html (https://github.com/pun
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sanitize-html.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Wed, 18 Oct 2023 11:45:06 GMT
11
+ * Last updated: Mon, 20 Nov 2023 23:36:24 GMT
12
12
  * Dependencies: [htmlparser2](https://npmjs.com/package/htmlparser2)
13
13
 
14
14
  # Credits
sanitize-html/index.d.ts CHANGED
@@ -21,7 +21,7 @@ declare namespace sanitize {
21
21
 
22
22
  type DisallowedTagsModes = "discard" | "escape" | "recursiveEscape";
23
23
 
24
- // tslint:disable-next-line:interface-name
24
+ // eslint-disable-next-line @typescript-eslint/naming-convention
25
25
  interface IDefaults {
26
26
  allowedAttributes: Record<string, AllowedAttribute[]>;
27
27
  allowedSchemes: string[];
@@ -34,7 +34,7 @@ declare namespace sanitize {
34
34
  selfClosing: string[];
35
35
  }
36
36
 
37
- // tslint:disable-next-line:interface-name
37
+ // eslint-disable-next-line @typescript-eslint/naming-convention
38
38
  interface IFrame {
39
39
  tag: string;
40
40
  attribs: { [index: string]: string };
@@ -43,7 +43,7 @@ declare namespace sanitize {
43
43
  mediaChildren: string[];
44
44
  }
45
45
 
46
- // tslint:disable-next-line:interface-name
46
+ // eslint-disable-next-line @typescript-eslint/naming-convention
47
47
  interface IOptions {
48
48
  allowedAttributes?: Record<string, AllowedAttribute[]> | false | undefined;
49
49
  allowedStyles?: { [index: string]: { [index: string]: RegExp[] } } | undefined;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/sanitize-html",
3
- "version": "2.9.3",
3
+ "version": "2.9.5",
4
4
  "description": "TypeScript definitions for sanitize-html",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sanitize-html",
6
6
  "license": "MIT",
@@ -67,6 +67,6 @@
67
67
  "dependencies": {
68
68
  "htmlparser2": "^8.0.0"
69
69
  },
70
- "typesPublisherContentHash": "daaa65fe8c36d438a5a9581c350df0bd64d02a798cd945a4cc13a96f5f3f6d6c",
70
+ "typesPublisherContentHash": "cbf9312b4d463795e96b0dba762e8b89ac70cd0f2f82b0970c082b2503555c33",
71
71
  "typeScriptVersion": "4.5"
72
72
  }