@rc-component/tree
Advanced tools
| import * as React from 'react'; | ||
| export type { ScrollTo } from 'rc-virtual-list/lib/List'; | ||
| export type { ScrollTo } from '@rc-component/virtual-list/lib/List'; | ||
| export interface TreeNodeProps<TreeDataType extends BasicDataNode = DataNode> { | ||
@@ -4,0 +4,0 @@ eventKey?: Key; |
+1
-1
@@ -7,3 +7,3 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
| import useLayoutEffect from "@rc-component/util/es/hooks/useLayoutEffect"; | ||
| import VirtualList from 'rc-virtual-list'; | ||
| import VirtualList from '@rc-component/virtual-list'; | ||
| import * as React from 'react'; | ||
@@ -10,0 +10,0 @@ import MotionTreeNode from "./MotionTreeNode"; |
| import * as React from 'react'; | ||
| export type { ScrollTo } from 'rc-virtual-list/lib/List'; | ||
| export type { ScrollTo } from '@rc-component/virtual-list/lib/List'; | ||
| export interface TreeNodeProps<TreeDataType extends BasicDataNode = DataNode> { | ||
@@ -4,0 +4,0 @@ eventKey?: Key; |
+2
-2
@@ -9,3 +9,3 @@ "use strict"; | ||
| var _useLayoutEffect = _interopRequireDefault(require("@rc-component/util/lib/hooks/useLayoutEffect")); | ||
| var _rcVirtualList = _interopRequireDefault(require("rc-virtual-list")); | ||
| var _virtualList = _interopRequireDefault(require("@rc-component/virtual-list")); | ||
| var React = _interopRequireWildcard(require("react")); | ||
@@ -226,3 +226,3 @@ var _MotionTreeNode = _interopRequireDefault(require("./MotionTreeNode")); | ||
| className: `${prefixCls}-indent-unit` | ||
| }))), /*#__PURE__*/React.createElement(_rcVirtualList.default, _extends({}, domProps, { | ||
| }))), /*#__PURE__*/React.createElement(_virtualList.default, _extends({}, domProps, { | ||
| data: mergedData, | ||
@@ -229,0 +229,0 @@ itemKey: itemKey, |
+3
-3
| { | ||
| "name": "@rc-component/tree", | ||
| "version": "1.0.2", | ||
| "version": "1.1.0", | ||
| "description": "tree ui component for react", | ||
@@ -51,4 +51,4 @@ "engines": { | ||
| "@rc-component/util": "^1.2.1", | ||
| "clsx": "^2.1.1", | ||
| "rc-virtual-list": "^3.5.1" | ||
| "@rc-component/virtual-list": "^1.0.1", | ||
| "clsx": "^2.1.1" | ||
| }, | ||
@@ -55,0 +55,0 @@ "devDependencies": { |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
312659
0.02%0
-100%+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed