Skip to content

Commit 005b7c8

Browse files
committed
bump deps.
1 parent b3996da commit 005b7c8

File tree

5 files changed

+279
-306
lines changed

5 files changed

+279
-306
lines changed

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nosferatu500/react-sortable-tree",
3-
"version": "4.0.0",
3+
"version": "4.0.1",
44
"description": "Drag-and-drop sortable component for nested data and hierarchies",
55
"main": "./index.js",
66
"types": "./index.d.ts",
@@ -75,7 +75,7 @@
7575
"@babel/eslint-parser": "^7.16.3",
7676
"@babel/helper-module-imports": "^7.16.0",
7777
"@babel/plugin-transform-react-jsx": "^7.16.0",
78-
"@babel/preset-env": "^7.16.0",
78+
"@babel/preset-env": "^7.16.4",
7979
"@babel/types": "^7.16.0",
8080
"@nosferatu500/theme-file-explorer": "^3.0.10",
8181
"@rollup/plugin-babel": "^5.3.0",
@@ -87,14 +87,14 @@
8787
"@storybook/theming": "^6.3.12",
8888
"@types/babel-plugin-macros": "^2.8.5",
8989
"@types/lodash.isequal": "^4.5.5",
90-
"@types/react": "^17.0.34",
90+
"@types/react": "^17.0.35",
9191
"@types/react-dom": "^17.0.11",
92-
"@typescript-eslint/eslint-plugin": "^5.3.1",
93-
"@typescript-eslint/parser": "^5.3.1",
92+
"@typescript-eslint/eslint-plugin": "^5.4.0",
93+
"@typescript-eslint/parser": "^5.4.0",
9494
"acorn-jsx": "^5.3.2",
9595
"autoprefixer": "^10.4.0",
9696
"babel-plugin-macros": "^3.1.0",
97-
"esbuild": "^0.13.13",
97+
"esbuild": "^0.13.14",
9898
"eslint": "^8.2.0",
9999
"eslint-config-airbnb": "^19.0.0",
100100
"eslint-config-airbnb-typescript": "^15.0.0",

postcss.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
module.exports = {
22
plugins: [
3-
// eslint-disable-next-line global-require
43
require('autoprefixer'),
54
],
65
};

src/tree-node.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,7 @@ const TreeNode: React.FC<TreeRendererProps> = (props) => {
178178
}
179179
}
180180

181-
let style
182-
style =
181+
const style =
183182
rowDirection === 'rtl'
184183
? { right: scaffoldBlockPxWidth * scaffoldBlockCount }
185184
: { left: scaffoldBlockPxWidth * scaffoldBlockCount }

src/tree-placeholder.tsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,7 @@ type TreePlaceholderProps = {
2020

2121
const TreePlaceholder = (props: TreePlaceholderProps) => {
2222
props = { ...defaultProps, ...props }
23-
const {
24-
children,
25-
connectDropTarget,
26-
treeId: _treeId,
27-
drop: _drop,
28-
...otherProps
29-
} = props
23+
const { children, connectDropTarget, treeId, drop, ...otherProps } = props
3024

3125
return connectDropTarget(
3226
<div>

0 commit comments

Comments
 (0)