@types/sanitize-html 2.6.2 → 2.8.1

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: Tue, 11 Jan 2022 22:31:52 GMT
11
+ * Last updated: Thu, 02 Mar 2023 08:32:41 GMT
12
12
  * Dependencies: [@types/htmlparser2](https://npmjs.com/package/@types/htmlparser2)
13
13
  * Global values: none
14
14
 
sanitize-html/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // Type definitions for sanitize-html 2.6
1
+ // Type definitions for sanitize-html 2.8
2
2
  // Project: https://github.com/punkave/sanitize-html
3
3
  // Definitions by: Rogier Schouten <https://github.com/rogierschouten>
4
4
  // Afshin Darian <https://github.com/afshin>
@@ -48,6 +48,7 @@ declare namespace sanitize {
48
48
  attribs: { [index: string]: string };
49
49
  text: string;
50
50
  tagPosition: number;
51
+ mediaChildren: string[];
51
52
  }
52
53
 
53
54
  // tslint:disable-next-line:interface-name
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/sanitize-html",
3
- "version": "2.6.2",
3
+ "version": "2.8.1",
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",
@@ -65,8 +65,8 @@
65
65
  },
66
66
  "scripts": {},
67
67
  "dependencies": {
68
- "htmlparser2": "^6.0.0"
68
+ "htmlparser2": "^8.0.0"
69
69
  },
70
- "typesPublisherContentHash": "c0b6e90be2aad08c81ae4b7dbc1533fe4bb122353f3ffe5e0244453619d7b399",
71
- "typeScriptVersion": "3.8"
70
+ "typesPublisherContentHash": "da591a56107410800601c7753613244a4696749357bca7a2517a9c4440dc6a84",
71
+ "typeScriptVersion": "4.2"
72
72
  }