@types/sizzle
Advanced tools
Comparing version 2.3.1 to 2.3.2
@@ -25,9 +25,9 @@ // Type definitions for sizzle 2.3 | ||
cacheLength: number; | ||
match: { [name: string]: RegExp; }; | ||
find: { [name: string]: Selectors.FindFunction; }; | ||
preFilter: { [name: string]: Selectors.PreFilterFunction; }; | ||
filter: { [name: string]: Selectors.FilterFunction; }; | ||
attrHandle: { [name: string]: Selectors.AttrHandleFunction; }; | ||
pseudos: { [name: string]: Selectors.PseudoFunction; }; | ||
setFilters: { [name: string]: Selectors.SetFilterFunction; }; | ||
match: Selectors.Matches; | ||
find: Selectors.FindFunctions; | ||
preFilter: Selectors.PreFilterFunctions; | ||
filter: Selectors.FilterFunctions; | ||
attrHandle: Selectors.AttrHandleFunctions; | ||
pseudos: Selectors.PseudoFunctions; | ||
setFilters: Selectors.SetFilterFunctions; | ||
createPseudo(fn: Selectors.CreatePseudoFunction): Selectors.PseudoFunction; | ||
@@ -37,2 +37,6 @@ } | ||
namespace Selectors { | ||
interface Matches { | ||
[name: string]: RegExp; | ||
} | ||
interface FindFunction { | ||
@@ -42,2 +46,6 @@ (match: RegExpMatchArray, context: Element | Document, isXML: boolean): Element[] | void; | ||
interface FindFunctions { | ||
[name: string]: FindFunction; | ||
} | ||
interface PreFilterFunction { | ||
@@ -47,2 +55,6 @@ (match: RegExpMatchArray): string[]; | ||
interface PreFilterFunctions { | ||
[name: string]: PreFilterFunction; | ||
} | ||
interface FilterFunction { | ||
@@ -52,2 +64,6 @@ (element: string, ...matches: string[]): boolean; | ||
interface FilterFunctions { | ||
[name: string]: FilterFunction; | ||
} | ||
interface AttrHandleFunction { | ||
@@ -57,2 +73,6 @@ (elem: any, casePreservedName: string, isXML: boolean): string; | ||
interface AttrHandleFunctions { | ||
[name: string]: AttrHandleFunction; | ||
} | ||
interface PseudoFunction { | ||
@@ -62,4 +82,4 @@ (elem: Element): boolean; | ||
interface CreatePseudoFunction { | ||
(...args: any[]): PseudoFunction; | ||
interface PseudoFunctions { | ||
[name: string]: PseudoFunction; | ||
} | ||
@@ -70,3 +90,11 @@ | ||
} | ||
interface SetFilterFunctions { | ||
[name: string]: SetFilterFunction; | ||
} | ||
interface CreatePseudoFunction { | ||
(...args: any[]): PseudoFunction; | ||
} | ||
} | ||
} |
{ | ||
"name": "@types/sizzle", | ||
"version": "2.3.1", | ||
"version": "2.3.2", | ||
"description": "TypeScript definitions for sizzle", | ||
@@ -16,8 +16,8 @@ "license": "MIT", | ||
"type": "git", | ||
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
}, | ||
"scripts": {}, | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "f2d940f16044677f522751f51d87c8b1ae229c0509b51e9d01f6c32e1bc68286", | ||
"typesPublisherContentHash": "8d6f2e333bcb6c7fa99469e7e62dcef4c794dc432ce09634cae186cbcc333d0e", | ||
"typeScriptVersion": "2.3" | ||
} |
@@ -8,6 +8,6 @@ # Installation | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sizzle | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sizzle | ||
Additional Details | ||
* Last updated: Thu, 09 Nov 2017 15:17:54 GMT | ||
* Last updated: Sat, 06 Oct 2018 20:51:02 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: Sizzle |
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
5044
74