@types/css-tree
Advanced tools
Comparing version 2.3.4 to 2.3.5
@@ -530,2 +530,14 @@ export interface CssLocation { | ||
export interface WalkContext { | ||
/** | ||
* Stops traversal. No visitor function will be invoked once this value is | ||
* returned by a visitor. | ||
*/ | ||
break: symbol; | ||
/** | ||
* Prevent the current node from being iterated. No visitor function will be | ||
* invoked for its properties or children nodes; note that this value only | ||
* has an effect for enter visitor as leave visitor invokes after iterating | ||
* over all node's properties and children. | ||
*/ | ||
skip: symbol; | ||
root: CssNode; | ||
@@ -605,3 +617,15 @@ stylesheet: StyleSheet | null; | ||
export function walk(ast: CssNode, options: EnterOrLeaveFn | WalkOptions): void; | ||
export const walk: { | ||
(ast: CssNode, options: EnterOrLeaveFn | WalkOptions): void; | ||
/** | ||
* Stops traversal. No visitor function will be invoked once this value is returned by a visitor. | ||
*/ | ||
readonly break: symbol; | ||
/** | ||
* Prevent the current node from being iterated. No visitor function will be invoked for its properties or children | ||
* nodes; note that this value only has an effect for enter visitor as leave visitor invokes after iterating over | ||
* all node's properties and children. | ||
*/ | ||
readonly skip: symbol; | ||
}; | ||
@@ -608,0 +632,0 @@ export type FindFn = (this: WalkContext, node: CssNode, item: ListItem<CssNode>, list: List<CssNode>) => boolean; |
{ | ||
"name": "@types/css-tree", | ||
"version": "2.3.4", | ||
"version": "2.3.5", | ||
"description": "TypeScript definitions for css-tree", | ||
@@ -28,4 +28,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/css-tree", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "88bc7f806c6b2957181a0aa7bae149c9dcf598dea6ee154125580aeb101b2b10", | ||
"typeScriptVersion": "4.5" | ||
"typesPublisherContentHash": "0939d52e5ecf963720a15775eb9fae8a4eed7eaeaef468779190a4b0f3811a0c", | ||
"typeScriptVersion": "4.6" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Mon, 06 Nov 2023 22:41:05 GMT | ||
* Last updated: Mon, 08 Jan 2024 14:35:54 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ |
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
25508
793