Skip to content

Commit 43ca92e

Browse files
committed
chore: update dependencies
BREAKING CHANGE: Peer dependencies updated
1 parent a64b8f0 commit 43ca92e

File tree

3 files changed

+2568
-2522
lines changed

3 files changed

+2568
-2522
lines changed

package.json

Lines changed: 33 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@
3434
"homepage": "https://frontend-collective.github.io/react-sortable-tree/",
3535
"bugs": "https://github.com/frontend-collective/react-sortable-tree/issues",
3636
"authors": [
37-
"Chris Fritz"
37+
"Fritz",
38+
"Wei Wei Wu"
3839
],
3940
"license": "MIT",
4041
"jest": {
@@ -69,64 +70,62 @@
6970
"> 1%"
7071
],
7172
"dependencies": {
72-
"frontend-collective-react-dnd-scrollzone": "^1.0.2",
7373
"lodash.isequal": "^4.5.0",
7474
"prop-types": "^15.6.1",
75-
"react-dnd": "^9.4.0",
7675
"react-dnd-html5-backend": "^10.0.2",
77-
"react-lifecycles-compat": "^3.0.4",
76+
"react-dnd-scrollzone": "^5.0.0",
7877
"react-virtualized": "^9.21.2"
7978
},
8079
"peerDependencies": {
81-
"react": "^16.3.0",
82-
"react-dnd": "^7.3.0",
83-
"react-dom": "^16.3.0"
80+
"react": "^16.11.0",
81+
"react-dnd": "^10.0.2",
82+
"react-dom": "^16.11.0"
8483
},
8584
"devDependencies": {
86-
"@babel/cli": "^7.7.0",
87-
"@babel/core": "^7.7.2",
85+
"@babel/cli": "^7.8.4",
86+
"@babel/core": "^7.8.4",
8887
"@babel/plugin-transform-modules-commonjs": "^7.1.0",
89-
"@babel/preset-env": "^7.7.1",
90-
"@babel/preset-react": "^7.7.0",
91-
"@storybook/addon-options": "^5.2.6",
92-
"@storybook/addon-storyshots": "^5.2.6",
93-
"@storybook/react": "^5.2.6",
88+
"@babel/preset-env": "^7.8.4",
89+
"@babel/preset-react": "^7.8.3",
90+
"@rollup/plugin-commonjs": "^11.0.2",
91+
"@rollup/plugin-node-resolve": "^7.1.1",
92+
"@storybook/addon-options": "^5.3.13",
93+
"@storybook/addon-storyshots": "^5.3.13",
94+
"@storybook/react": "^5.3.13",
95+
"@types/react": "^16.9.19",
9496
"autoprefixer": "^9.7.1",
95-
"babel-core": "^7.0.0-bridge.0",
96-
"babel-eslint": "^10.0.3",
97-
"babel-jest": "^24.9.0",
98-
"babel-loader": "^8.0.4",
99-
"codesandbox": "~2.1.10",
97+
"babel-loader": "8",
98+
"codesandbox": "~2.1.12",
10099
"coveralls": "^3.0.1",
101-
"cross-env": "^6.0.3",
102-
"enzyme": "^3.10.0",
100+
"cross-env": "^7.0.0",
101+
"enzyme": "^3.11.0",
103102
"enzyme-adapter-react-16": "^1.14.0",
104-
"eslint": "^6.6.0",
103+
"eslint": "^6.8.0",
105104
"eslint-config-airbnb": "^18.0.1",
106-
"eslint-config-prettier": "^6.5.0",
107-
"eslint-plugin-import": "^2.18.2",
105+
"eslint-config-prettier": "^6.10.0",
106+
"eslint-plugin-import": "^2.20.1",
108107
"eslint-plugin-jsx-a11y": "^6.2.3",
109-
"eslint-plugin-react": "^7.16.0",
110-
"gh-pages": "^2.1.1",
111-
"jest": "^24.9.0",
108+
"eslint-plugin-react": "^7.18.3",
109+
"eslint-plugin-react-hooks": "^1.7.0",
110+
"gh-pages": "^2.2.0",
111+
"jest": "^25.1.0",
112112
"jest-enzyme": "^7.1.2",
113113
"parcel-bundler": "^1.12.4",
114114
"prettier": "^1.19.1",
115115
"react": "^16.11.0",
116116
"react-addons-shallow-compare": "^15.6.2",
117+
"react-dnd": "^10.0.2",
117118
"react-dnd-test-backend": "^10.0.2",
118-
"react-dnd-touch-backend": "^9.4.0",
119+
"react-dnd-touch-backend": "^10.0.2",
119120
"react-dom": "^16.11.0",
120121
"react-hot-loader": "^4.12.17",
121122
"react-sortable-tree-theme-file-explorer": "^2.0.0",
122123
"react-test-renderer": "^16.11.0",
123-
"rimraf": "^3.0.0",
124-
"rollup": "^1.27.0",
124+
"rimraf": "^3.0.2",
125+
"rollup": "^1.31.1",
125126
"rollup-plugin-babel": "^4.0.3",
126-
"rollup-plugin-commonjs": "^10.1.0",
127-
"rollup-plugin-node-resolve": "^5.2.0",
128-
"rollup-plugin-postcss": "^2.0.3",
129-
"standard-version": "^7.0.0"
127+
"rollup-plugin-postcss": "^2.0.6",
128+
"standard-version": "^7.1.0"
130129
},
131130
"keywords": [
132131
"react",

src/react-sortable-tree.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import withScrolling, {
99
} from 'frontend-collective-react-dnd-scrollzone';
1010
import { DndProvider, DndContext } from 'react-dnd';
1111
import HTML5Backend from 'react-dnd-html5-backend';
12-
import { polyfill } from 'react-lifecycles-compat';
1312
import 'react-virtualized/styles.css';
1413
import TreeNode from './tree-node';
1514
import NodeRendererDefault from './node-renderer-default';
@@ -936,8 +935,6 @@ ReactSortableTree.defaultProps = {
936935
rowDirection: 'ltr',
937936
};
938937

939-
polyfill(ReactSortableTree);
940-
941938
const SortableTreeWithoutDndContext = props => (
942939
<DndContext.Consumer>
943940
{({ dragDropManager }) =>

0 commit comments

Comments
 (0)