@types/parse5
Advanced tools
Comparing version 0.0.29 to 0.0.30
@@ -1,4 +0,4 @@ | ||
// Type definitions for parse5 2.1.5 | ||
// Type definitions for parse5 2.2.0 | ||
// Project: https://github.com/inikulin/parse5 | ||
// Definitions by: Nico Jansen <https://github.com/nicojs> | ||
// Definitions by: Nico Jansen <https://github.com/nicojs>, Meirion Hughes <https://github.com/MeirionHughes> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -8,3 +8,2 @@ | ||
import * as stream from "stream"; | ||
@@ -49,2 +48,3 @@ import * as events from "events"; | ||
value: string; | ||
prefix?: string; | ||
} | ||
@@ -131,6 +131,6 @@ | ||
* Listener function has 4 parameters: | ||
* Tag name, List of attributes in the { key: String, value: String } form, selfClosing boolean | ||
* Tag name, List of attributes in the { name: String, value: String, prefix?: String } form, selfClosing boolean | ||
* and start tag source code location info. Available if location info is enabled in SAXParserOptions. | ||
*/ | ||
on(event: 'startTag', listener: (name: string, attrs: Attribute[], selfClosing: boolean, location?: StartTagLocationInfo) => void): this; | ||
on(event: 'startTag', listener: (name: string, attrs: ASTAttribute[], selfClosing: boolean, location?: StartTagLocationInfo) => void): this; | ||
/** | ||
@@ -137,0 +137,0 @@ * Raised when parser encounters an end tag. |
{ | ||
"name": "@types/parse5", | ||
"version": "0.0.29", | ||
"description": "TypeScript definitions for parse5 2.1.5", | ||
"version": "0.0.30", | ||
"description": "TypeScript definitions for parse5 2.2.0", | ||
"license": "MIT", | ||
"author": "Nico Jansen <https://github.com/nicojs>", | ||
"author": "Nico Jansen <https://github.com/nicojs>, Meirion Hughes <https://github.com/MeirionHughes>", | ||
"main": "", | ||
@@ -8,0 +8,0 @@ "repository": { |
@@ -5,3 +5,3 @@ # Installation | ||
# Summary | ||
This package contains type definitions for parse5 2.1.5 (https://github.com/inikulin/parse5). | ||
This package contains type definitions for parse5 2.2.0 (https://github.com/inikulin/parse5). | ||
@@ -12,3 +12,3 @@ # Details | ||
Additional Details | ||
* Last updated: Fri, 19 Aug 2016 15:08:23 GMT | ||
* Last updated: Mon, 22 Aug 2016 17:52:12 GMT | ||
* File structure: ProperModule | ||
@@ -20,2 +20,2 @@ * Library Dependencies: node | ||
# Credits | ||
These definitions were written by Nico Jansen <https://github.com/nicojs>. | ||
These definitions were written by Nico Jansen <https://github.com/nicojs>, Meirion Hughes <https://github.com/MeirionHughes>. |
{ | ||
"authors": "Nico Jansen <https://github.com/nicojs>", | ||
"authors": "Nico Jansen <https://github.com/nicojs>, Meirion Hughes <https://github.com/MeirionHughes>", | ||
"definitionFilename": "index.d.ts", | ||
@@ -13,3 +13,3 @@ "libraryDependencies": [ | ||
"libraryMinorVersion": "0", | ||
"libraryName": "parse5 2.1.5", | ||
"libraryName": "parse5 2.2.0", | ||
"typingsPackageName": "parse5", | ||
@@ -28,3 +28,3 @@ "projectName": "https://github.com/inikulin/parse5", | ||
"hasPackageJson": false, | ||
"contentHash": "10799e65f227a3eebe5426ee48abb44b13860903112fde373cd5ace350f33665" | ||
"contentHash": "13a648ab9bd920fc27f0961537d44d31a6938b6560a54734cf26da905ca091e5" | ||
} |
267
11429