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

versatile-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

versatile-tree - npm Package Compare versions

Comparing version 1.3.4 to 1.3.5

.babelrc.json

2

.eslintrc.js

@@ -50,2 +50,4 @@ // [lock-all/] 🚫🚫🚫🚫🚫🚫🚫🚫🚫🚫🚫🚫🚫🚫🚫🚫🚫🚫🚫🚫🚫🚫🚫🚫🚫🚫🚫🚫🚫🚫🚫🚫🚫🚫🚫🚫🚫🚫🚫🚫🚫🚫🚫🚫🚫🚫🚫

'@typescript-eslint/no-empty-interface': 'off', // Disable empty interface error
'@typescript-eslint/no-explicit-any': 'warn', // Warn on any
'@typescript-eslint/no-unused-vars': 'warn', // Warn for unused vars
};

@@ -52,0 +54,0 @@ /** Rules specific to JS. */

4

dist/components/Example.d.ts

@@ -1,2 +0,2 @@

/// <reference types="react" />
import React from 'react';
import { DivProps } from 'react-html-props';

@@ -16,2 +16,2 @@ export interface ExampleProps extends DivProps {

*/
export declare const Example: ({ backgroundColor, label, ...props }: ExampleProps) => JSX.Element;
export declare const Example: ({ backgroundColor, label, ...props }: ExampleProps) => React.JSX.Element;
MIT License
Copyright © 2023 Justin Mahar https://github.com/justinmahar
Copyright © 2024 Justin Mahar https://github.com/justinmahar

@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy

{
"name": "versatile-tree",
"version": "1.3.4",
"version": "1.3.5",
"coreVersion": "3.0.5",
"author": "Justin Mahar <contact@justinmahar.com>",

@@ -13,5 +14,5 @@ "description": "A highly versatile tree structure for JavaScript.",

"start": "npm run storybook",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook",
"preship": "npm run build && git add dist && git diff-index --quiet HEAD || git commit -m \"Build, version, and publish.\" && npm version patch -m \"Build, version, and publish.\"",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"preship": "npm run build && git diff-index HEAD && npm version patch -m \"Build, version, and publish.\"",
"ship": "npm publish --access public",

@@ -57,29 +58,29 @@ "postship": "git push",

"devDependencies": {
"@babel/core": "^7.20.12",
"@mdx-js/react": "^1.6.22",
"@storybook/addon-actions": "^6.5.15",
"@storybook/addon-essentials": "^6.5.15",
"@storybook/addon-links": "^6.5.15",
"@storybook/builder-webpack5": "^6.5.15",
"@storybook/manager-webpack5": "^6.5.15",
"@storybook/react": "^6.5.15",
"@typescript-eslint/eslint-plugin": "^5.48.1",
"@typescript-eslint/parser": "^5.48.1",
"babel-loader": "^9.1.2",
"eslint": "^8.31.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.31.11",
"@storybook/addon-docs": "^7.6.12",
"@storybook/addon-essentials": "^7.6.12",
"@storybook/addon-viewport": "^7.6.12",
"@storybook/blocks": "^7.6.12",
"@storybook/react-webpack5": "^7.6.12",
"@storybook/react": "^7.6.12",
"@types/react": "^18.2.53",
"@typescript-eslint/eslint-plugin": "^6.20.0",
"@typescript-eslint/parser": "^6.20.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-storybook": "^0.6.10",
"lockblocks": "^1.1.1",
"prettier": "^2.8.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-html-props": "^1.0.32",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-storybook": "^0.6.15",
"eslint": "^8.56.0",
"lockblocks": "^1.1.4",
"prettier": "^3.2.5",
"react-dom": "^18.2.0",
"react-html-props": "^2.0.3",
"react-markdown": "^8.0.3",
"replace-in-file": "^6.3.5",
"typescript": "^4.9.4",
"webpack": "^5.75.0"
"react": "^18.2.0",
"remark-gfm": "^3.0.1",
"replace-in-file": "^7.1.0",
"storybook": "^7.6.12",
"typescript": "^5.3.3",
"webpack": "^5.90.1"
}
}

@@ -10,5 +10,9 @@ <h2 align="center">

<a href="https://github.com/justinmahar/versatile-tree/" target="_blank" rel="noopener noreferrer"><img src="https://img.shields.io/badge/GitHub-Source-success" alt="View project on GitHub" /></a>&nbsp;
<a href="https://github.com/justinmahar/versatile-tree/actions?query=workflow%3ADeploy" target="_blank" rel="noopener noreferrer"><img src="https://github.com/justinmahar/versatile-tree/workflows/Deploy/badge.svg" alt="Deploy Status" /></a>&nbsp;
<a href="https://github.com/sponsors/justinmahar" target="_blank" rel="noopener noreferrer"><img src="https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%A4&logo=GitHub&color=%23fe8e86" alt="Sponsor"/></a>
<a href="https://github.com/justinmahar/versatile-tree/actions?query=workflow%3ADeploy" target="_blank" rel="noopener noreferrer"><img src="https://github.com/justinmahar/versatile-tree/workflows/Deploy/badge.svg" alt="Deploy Status" /></a>
</p>
<!-- [lock:donate-badges] 🚫--------------------------------------- -->
<p align="center">
<a href="https://ko-fi.com/justinmahar"><img src="https://img.shields.io/static/v1?label=Buy%20me%20a%20coffee&message=%E2%9D%A4&logo=KoFi&color=%23fe8e86" alt="Buy me a coffee" /></a>&nbsp;<a href="https://github.com/sponsors/justinmahar" target="_blank" rel="noopener noreferrer"><img src="https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%A4&logo=GitHub&color=%23fe8e86" alt="Sponsor"/></a>
</p>
<!-- [/lock:donate-badges] ---------------------------------------🚫 -->

@@ -52,21 +56,11 @@ ## Documentation

[lock:donate]::🚫---------------------------------------
<!-- [lock:donate] 🚫--------------------------------------- -->
## Demo - React-Based Tree Editor
See below for a demo using this library to power a React-based tree editor.
[👁️ View Demo - React-Based Tree Editor](https://justinmahar.github.io/react-bootstrap-tree-editor/?path=/story/stories-demo--demo)
<p>
<a href="https://justinmahar.github.io/react-bootstrap-tree-editor/?path=/story/stories-demo--demo"><img src="https://raw.githubusercontent.com/justinmahar/react-bootstrap-tree-editor/master/screenshots/demo.png" width="400" /></a>
</p>
## Donate
If this project helped you, please consider buying me a coffee. Your support is much appreciated!
If this project helped you, please consider buying me a coffee or sponsoring me. Your support is much appreciated!
<a href="https://paypal.me/thejustinmahar/5"><img src="https://justinmahar.github.io/versatile-tree/support/coffee-1.png" alt="Buy me a coffee" height="35" /></a> <a href="https://paypal.me/thejustinmahar/15"><img src="https://justinmahar.github.io/versatile-tree/support/coffee-3.png" alt="Buy me 3 coffees" height="35" /></a> <a href="https://paypal.me/thejustinmahar/25"><img src="https://justinmahar.github.io/versatile-tree/support/coffee-5.png" alt="Buy me 5 coffees" height="35" /></a>
<a href="https://ko-fi.com/justinmahar"><img src="https://img.shields.io/static/v1?label=Buy%20me%20a%20coffee&message=%E2%9D%A4&logo=KoFi&color=%23fe8e86" alt="Buy me a coffee" /></a>&nbsp;<a href="https://github.com/sponsors/justinmahar" target="_blank" rel="noopener noreferrer"><img src="https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%A4&logo=GitHub&color=%23fe8e86" alt="Sponsor"/></a>
[/lock:donate]::---------------------------------------🚫
<!-- [/lock:donate] ---------------------------------------🚫 -->

@@ -78,3 +72,2 @@ ## Table of Contents

- [Features include:](#features-include)
- [Demo - React-Based Tree Editor](#demo---react-based-tree-editor)
- [Donate](#donate)

@@ -1030,3 +1023,3 @@ - [Table of Contents](#table-of-contents)

[lock:typescript]::🚫---------------------------------------
<!-- [lock:typescript] 🚫--------------------------------------- -->

@@ -1037,5 +1030,5 @@ ## TypeScript

[/lock:typescript]::---------------------------------------🚫
<!-- [/lock:typescript] ---------------------------------------🚫 -->
[lock:icon]::🚫---------------------------------------
<!-- [lock:icon] 🚫--------------------------------------- -->

@@ -1046,5 +1039,5 @@ ## Icon Attribution

[/lock:icon]::---------------------------------------🚫
<!-- [/lock:icon] ---------------------------------------🚫 -->
[lock:contributing]::🚫---------------------------------------
<!-- [lock:contributing] 🚫--------------------------------------- -->

@@ -1059,3 +1052,3 @@ ## Contributing

[/lock:contributing]::---------------------------------------🚫
<!-- [/lock:contributing] --------------------------------------🚫 -->

@@ -1062,0 +1055,0 @@ ## ⭐ Found It Helpful? [Star It!](https://github.com/justinmahar/versatile-tree/stargazers)

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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