@types/cheerio
Advanced tools
Comparing version 0.22.23 to 0.22.24
@@ -19,3 +19,3 @@ // Type definitions for Cheerio v0.22.0 | ||
declare namespace cheerio { | ||
type Element = TextElement | TagElement; | ||
type Element = TextElement | TagElement | CommentElement; | ||
@@ -50,2 +50,10 @@ interface TextElement { | ||
interface CommentElement { | ||
type: 'comment'; | ||
next: Element | null; | ||
prev: Element | null; | ||
parent: Element; | ||
data?: string; | ||
} | ||
type AttrFunction = (el: Element, i: number, currentValue: string) => any; | ||
@@ -52,0 +60,0 @@ |
{ | ||
"name": "@types/cheerio", | ||
"version": "0.22.23", | ||
"version": "0.22.24", | ||
"description": "TypeScript definitions for Cheerio", | ||
@@ -63,4 +63,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "1455d2000eb9a887a66b847bc41dbf2623dec11a692188de094eeb21ecd60fe1", | ||
"typeScriptVersion": "3.3" | ||
"typesPublisherContentHash": "b867759acbb6d5f83cf6fa95382fc9621f121ff847f3b97fd31ec982403a28f7", | ||
"typeScriptVersion": "3.4" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Tue, 08 Dec 2020 04:51:29 GMT | ||
* Last updated: Thu, 11 Feb 2021 21:37:43 GMT | ||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node) | ||
@@ -14,0 +14,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14901
253