Socket
Socket
Sign inDemoInstall

@types/css-tree

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/css-tree - npm Package Compare versions

Comparing version 2.3.4 to 2.3.5

26

css-tree/index.d.ts

@@ -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;

6

css-tree/package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc