Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tree-visit

Package Overview
Dependencies
Maintainers
0
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tree-visit - npm Package Compare versions

Comparing version 0.4.1 to 0.4.2

4

lib/defineTree.d.ts

@@ -62,3 +62,3 @@ import { DiagramOptions } from './diagram';

appliedOptions: AppliedOptions;
constructor(getChildrenOrBaseOptions: BaseOptions<T> | ((node: T) => T[]), appliedOptions: AppliedOptions);
constructor(getChildrenOrBaseOptions: BaseOptions<T> | BaseOptions<T>['getChildren'], appliedOptions: AppliedOptions);
/**

@@ -128,3 +128,3 @@ * Returns the node's children.

}
export declare function defineTree<T>(getChildren: BaseOptions<T> | ((node: T) => T[])): Tree<T, {}>;
export declare function defineTree<T>(getChildren: BaseOptions<T> | BaseOptions<T>['getChildren']): Tree<T, {}>;
export {};
{
"name": "tree-visit",
"version": "0.4.1",
"version": "0.4.2",
"description": "A tree traversal library.",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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