@asamuzakjp/dom-selector
Advanced tools
Comparing version 0.16.4 to 0.17.0
@@ -28,5 +28,5 @@ { | ||
"benchmark": "^2.1.4", | ||
"c8": "^7.14.0", | ||
"c8": "^8.0.0", | ||
"chai": "^4.3.7", | ||
"eslint": "^8.42.0", | ||
"eslint": "^8.43.0", | ||
"eslint-config-standard": "^17.1.0", | ||
@@ -39,7 +39,7 @@ "eslint-plugin-jsdoc": "^46.2.6", | ||
"nwsapi": "^2.2.5", | ||
"sinon": "^15.1.0", | ||
"sinon": "^15.1.2", | ||
"typescript": "^5.1.3" | ||
}, | ||
"scripts": { | ||
"bench": "node benchmark/index.benchmark.js", | ||
"bench": "node benchmark/benchmark.js", | ||
"build": "npm run tsc && npm run lint && npm test", | ||
@@ -50,3 +50,3 @@ "lint": "eslint --fix .", | ||
}, | ||
"version": "0.16.4" | ||
"version": "0.17.0" | ||
} |
@@ -6,10 +6,11 @@ export class Matcher { | ||
_onError(e: Error): void; | ||
_getRoot(node: object): object; | ||
_prepare(): any[]; | ||
_getRoot(node?: object): object; | ||
_prepare(selector?: string): any[]; | ||
_matchSelector(ast: object, node: object): object; | ||
_findNodes(twig: object): object; | ||
_matchLeaves(leaves: object, node: object): boolean; | ||
_findNodes(twig: object, range: string): object; | ||
_collectNodes(range: string): any[]; | ||
_matchNodes(): object; | ||
_matchNodes(range: string): object; | ||
_find(range: string): object; | ||
_sortNodes(nodes: object, range: string): object; | ||
_sortNodes(nodes: object): any[]; | ||
matches(): boolean; | ||
@@ -33,3 +34,2 @@ closest(): object | null; | ||
export function createSelectorForNode(node?: object): string | null; | ||
export function factorial(n: number): number; | ||
export function isContentEditable(node?: object): boolean; | ||
@@ -41,3 +41,5 @@ export function isDescendant(node?: object, root?: object): boolean; | ||
export function matchClassSelector(ast?: object, node?: object): object | null; | ||
export function matchCombinator(combo?: object, prevNodes?: object, nextNodes?: object): object; | ||
export function matchCombinator(combo?: object, prevNodes?: object, nextNodes?: object, opt?: { | ||
filter?: string; | ||
}): object; | ||
export function matchDirectionPseudoClass(ast?: object, node?: object): object | null; | ||
@@ -44,0 +46,0 @@ export function matchIDSelector(ast?: object, node?: object): object | null; |
Sorry, the diff of this file is too big to display
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
90998
2822