Skip to content

Commit 1a5b0b2

Browse files
committed
chore(dev): upgrade devDeps
Bonus flowtype bugfix in 0.133!
1 parent 729d96d commit 1a5b0b2

File tree

4 files changed

+1601
-1758
lines changed

4 files changed

+1601
-1758
lines changed

.flowconfig

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[version]
2-
^0.126.0
2+
^0.133.0
33

44
[ignore]
55
.*/node_modules/@babel.*
@@ -17,11 +17,6 @@ all=warn
1717
implicit-inexact-object=error
1818

1919
[options]
20-
suppress_comment=\\(.\\|\n\\)*\\s*\\$FlowFixMe.*
21-
suppress_comment=\\(.\\|\n\\)*\\s*\\$FlowBug.*
22-
suppress_comment=\\(.\\|\n\\)*\\s*\\$FlowIgnore.*
23-
suppress_comment=\\(.\\|\n\\)*\\s*\\$FlowNewLine.*
24-
suppress_comment=\\(.\\|\n\\)*\\s*\\$FlowIssue
2520
suppress_type=$FlowFixMe
2621
esproposal.class_static_fields=enable
2722
esproposal.class_instance_fields=enable

lib/propTypes.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// @flow
22
import PropTypes from 'prop-types';
3-
import {DraggableCoreProps} from "react-draggable";
4-
import type {Element as ReactElement} from 'react';
3+
import {DraggableCore} from "react-draggable";
4+
import type {Element as ReactElement, ElementConfig} from 'react';
55

66
export type Axis = 'both' | 'x' | 'y' | 'none';
77
export type ResizeHandleAxis = 's' | 'w' | 'e' | 'n' | 'sw' | 'nw' | 'se' | 'ne';
@@ -27,7 +27,7 @@ export type Props = {|
2727
axis: Axis,
2828
children: ReactElement<any>,
2929
className?: ?string,
30-
draggableOpts?: ?DraggableCoreProps,
30+
draggableOpts?: ?ElementConfig<typeof DraggableCore>,
3131
height: number,
3232
handle?: ReactElement<any> | (resizeHandleAxis: ResizeHandleAxis) => ReactElement<any>,
3333
handleSize: [number, number],

package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -34,31 +34,31 @@
3434
},
3535
"homepage": "https://github.com/STRML/react-resizable",
3636
"devDependencies": {
37-
"@babel/cli": "^7.0.0",
38-
"@babel/core": "^7.0.0",
39-
"@babel/plugin-proposal-class-properties": "^7.0.0",
40-
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
41-
"@babel/preset-env": "^7.0.0",
42-
"@babel/preset-flow": "^7.0.0",
43-
"@babel/preset-react": "^7.0.0",
37+
"@babel/cli": "^7.11.6",
38+
"@babel/core": "^7.11.6",
39+
"@babel/plugin-proposal-class-properties": "^7.10.4",
40+
"@babel/plugin-proposal-object-rest-spread": "^7.11.0",
41+
"@babel/preset-env": "^7.11.5",
42+
"@babel/preset-flow": "^7.10.4",
43+
"@babel/preset-react": "^7.10.4",
4444
"babel-eslint": "^10.0.3",
4545
"babel-loader": "^8.0.6",
4646
"cross-env": "^7.0.2",
47-
"css-loader": "^3.2.0",
47+
"css-loader": "^4.2.2",
4848
"enzyme": "^3.11.0",
49-
"enzyme-adapter-react-16": "^1.15.2",
50-
"eslint": "^7.2.0",
51-
"eslint-plugin-react": "^7.16.0",
52-
"flow-bin": "^0.126.1",
53-
"jest": "^26.0.1",
54-
"lodash": "^4.17.15",
49+
"enzyme-adapter-react-16": "^1.15.4",
50+
"eslint": "^7.8.1",
51+
"eslint-plugin-react": "^7.20.6",
52+
"flow-bin": "^0.133.0",
53+
"jest": "^26.4.2",
54+
"lodash": "^4.17.20",
5555
"pre-commit": "^1.1.2",
5656
"react": "^16.10.2",
5757
"react-dom": "^16.10.2",
5858
"react-test-renderer": "^16.11.0",
5959
"style-loader": "^1.0.0",
60-
"webpack": "^4.41.2",
61-
"webpack-cli": "^3.3.9",
60+
"webpack": "^4.44.1",
61+
"webpack-cli": "^3.3.12",
6262
"webpack-dev-server": "^3.8.2"
6363
},
6464
"dependencies": {

0 commit comments

Comments
 (0)