Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

Commit

Permalink
Bump deps.
Browse files Browse the repository at this point in the history
  • Loading branch information
nosferatu500 committed Oct 5, 2022
1 parent 466ff25 commit 664ab1c
Show file tree
Hide file tree
Showing 3 changed files with 1,014 additions and 1,077 deletions.
56 changes: 28 additions & 28 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,60 +70,60 @@
"lodash.isequal": "^4.5.0",
"react-dnd": "14.0.4",
"react-dnd-html5-backend": "^14.1.0",
"react-virtuoso": "^2.16.5"
"react-virtuoso": "^2.19.1"
},
"devDependencies": {
"@babel/core": "^7.18.9",
"@babel/eslint-parser": "^7.18.9",
"@babel/core": "^7.19.3",
"@babel/eslint-parser": "^7.19.1",
"@babel/helper-module-imports": "^7.18.6",
"@babel/plugin-transform-react-jsx": "^7.18.6",
"@babel/preset-env": "^7.18.9",
"@babel/types": "^7.18.9",
"@babel/plugin-transform-react-jsx": "^7.19.0",
"@babel/preset-env": "^7.19.3",
"@babel/types": "^7.19.3",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-node-resolve": "^13.3.0",
"@rollup/plugin-typescript": "^8.3.3",
"@rollup/plugin-node-resolve": "^14.1.0",
"@rollup/plugin-typescript": "^8.5.0",
"@storybook/addon-postcss": "^2.0.0",
"@storybook/addons": "^6.5.9",
"@storybook/react": "^6.5.9",
"@storybook/theming": "^6.5.9",
"@storybook/addons": "^6.5.12",
"@storybook/react": "^6.5.12",
"@storybook/theming": "^6.5.12",
"@types/babel-plugin-macros": "^2.8.5",
"@types/lodash.isequal": "^4.5.6",
"@types/react": "^17.0.47",
"@types/react": "^17.0.50",
"@types/react-dom": "^17.0.17",
"@typescript-eslint/eslint-plugin": "^5.30.7",
"@typescript-eslint/parser": "^5.30.7",
"@typescript-eslint/eslint-plugin": "^5.39.0",
"@typescript-eslint/parser": "^5.39.0",
"acorn-jsx": "^5.3.2",
"autoprefixer": "^10.4.7",
"autoprefixer": "^10.4.12",
"babel-plugin-macros": "^3.1.0",
"esbuild": "^0.14.49",
"eslint": "^8.20.0",
"esbuild": "^0.15.10",
"eslint": "^8.24.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-typescript": "^3.2.7",
"eslint-import-resolver-typescript": "^3.5.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsx-a11y": "^6.6.0",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-promise": "^6.0.1",
"eslint-plugin-react": "^7.31.8",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-sonarjs": "^0.13.0",
"eslint-plugin-storybook": "^0.6.1",
"eslint-plugin-unicorn": "^43.0.2",
"eslint-plugin-sonarjs": "^0.15.0",
"eslint-plugin-storybook": "^0.6.4",
"eslint-plugin-unicorn": "^44.0.0",
"json": "^11.0.0",
"postcss": "^8.4.14",
"postcss": "^8.4.17",
"prettier": "^2.7.1",
"prop-types": "^15.8.1",
"react": "^17.0.2",
"react-dnd-touch-backend": "^14.1.1",
"react-dom": "^17.0.2",
"rimraf": "^3.0.2",
"rollup": "^2.77.0",
"rollup-plugin-esbuild": "^4.9.1",
"rollup": "^2.79.1",
"rollup-plugin-esbuild": "^4.10.1",
"rollup-plugin-postcss": "^4.0.2",
"shx": "^0.3.4",
"tslib": "^2.4.0",
"typescript": "^4.7.4"
"typescript": "^4.8.4"
},
"peerDependencies": {
"react": ">=17.0.2",
Expand Down
2 changes: 1 addition & 1 deletion src/utils/tree-data-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -923,7 +923,7 @@ export const isDescendant = (older: TreeItem, younger: TreeItem): boolean => {
)
}

export const getDepth = (node: TreeItem, depth?: number = 0): number => {
export const getDepth = (node: TreeItem, depth = 0): number => {
if (!node.children) {
return depth
}
Expand Down
Loading

0 comments on commit 664ab1c

Please sign in to comment.