react-dnd
Advanced tools
Comparing version 2.4.0 to 2.5.1
@@ -109,3 +109,3 @@ 'use strict'; | ||
ref: function ref(child) { | ||
return _this2.child = child; | ||
_this2.child = child; | ||
} | ||
@@ -112,0 +112,0 @@ })); |
@@ -78,3 +78,4 @@ 'use strict'; | ||
children: _propTypes2.default.element.isRequired, | ||
window: _propTypes2.default.object }, _class.defaultProps = { | ||
window: _propTypes2.default.object // eslint-disable-line react/forbid-prop-types | ||
}, _class.defaultProps = { | ||
window: undefined | ||
@@ -81,0 +82,0 @@ }, _class.childContextTypes = _DragDropContext.CHILD_CONTEXT_TYPES, _class.displayName = 'DragDropContextProvider', _class.contextTypes = { |
@@ -144,3 +144,3 @@ 'use strict'; | ||
ref: function ref(child) { | ||
return _this2.child = child; | ||
_this2.child = child; | ||
} | ||
@@ -147,0 +147,0 @@ })); |
{ | ||
"name": "react-dnd", | ||
"version": "2.4.0", | ||
"version": "2.5.1", | ||
"description": "Drag and Drop for React", | ||
"main": "lib/index.js", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/react-dnd/react-dnd.git" | ||
}, | ||
"license": "MIT", | ||
@@ -18,12 +22,11 @@ "scripts": { | ||
"disposables": "^1.0.1", | ||
"dnd-core": "^2.4.0", | ||
"hoist-non-react-statics": "^1.2.0", | ||
"dnd-core": "^2.5.1", | ||
"hoist-non-react-statics": "^2.1.0", | ||
"invariant": "^2.1.0", | ||
"lodash": "^4.2.0", | ||
"prop-types": "^15.5.8" | ||
"prop-types": "^15.5.10" | ||
}, | ||
"peerDependencies": { | ||
"react": "^0.14.0 || ^15.0.0-0" | ||
}, | ||
"devDependencies": {} | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
29
3
355080
7261
7
+ Addedhoist-non-react-statics@2.5.5(transitive)
- Removedhoist-non-react-statics@1.2.0(transitive)
Updateddnd-core@^2.5.1
Updatedprop-types@^15.5.10