react-dnd
Advanced tools
Comparing version 2.5.4 to 2.6.0
@@ -39,6 +39,6 @@ 'use strict'; | ||
/** | ||
* This property determines which window global to use for creating the DragDropManager. | ||
* If a window has been injected explicitly via props, that is used first. If it is available | ||
* as a context value, then use that, otherwise use the browser global. | ||
*/ | ||
* This property determines which window global to use for creating the DragDropManager. | ||
* If a window has been injected explicitly via props, that is used first. If it is available | ||
* as a context value, then use that, otherwise use the browser global. | ||
*/ | ||
var _this = _possibleConstructorReturn(this, (DragDropContextProvider.__proto__ || Object.getPrototypeOf(DragDropContextProvider)).call(this, props, context)); | ||
@@ -45,0 +45,0 @@ |
@@ -135,3 +135,3 @@ 'use strict'; | ||
var monitor = this.manager.getMonitor(); | ||
return collect(monitor); | ||
return collect(monitor, this.props); | ||
} | ||
@@ -138,0 +138,0 @@ }, { |
{ | ||
"name": "react-dnd", | ||
"version": "2.5.4", | ||
"description": "Drag and Drop for React", | ||
"main": "lib/index.js", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/react-dnd/react-dnd.git" | ||
}, | ||
"license": "BSD-3-Clause", | ||
"scripts": { | ||
"clean": "../../node_modules/.bin/rimraf lib dist", | ||
"bundle:unmin": "../../node_modules/.bin/webpack --output-filename=dist/ReactDnD.js", | ||
"bundle:min": "../../node_modules/.bin/webpack --output-filename=dist/ReactDnD.min.js --optimize-minimize", | ||
"babel": "../../node_modules/.bin/babel src --out-dir lib", | ||
"build": "../../node_modules/.bin/npm-run-all --parallel bundle:* babel", | ||
"test": "../../node_modules/.bin/npm-run-all clean build", | ||
"prepublish": "npm test" | ||
}, | ||
"dependencies": { | ||
"disposables": "^1.0.1", | ||
"dnd-core": "^2.5.4", | ||
"hoist-non-react-statics": "^2.1.0", | ||
"invariant": "^2.1.0", | ||
"lodash": "^4.2.0", | ||
"prop-types": "^15.5.10" | ||
}, | ||
"devDependencies": { | ||
"react": "^16.0.0" | ||
}, | ||
"peerDependencies": { | ||
"react": "*" | ||
} | ||
"name": "react-dnd", | ||
"version": "2.6.0", | ||
"description": "Drag and Drop for React", | ||
"main": "lib/index.js", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/react-dnd/react-dnd.git" | ||
}, | ||
"license": "BSD-3-Clause", | ||
"scripts": { | ||
"clean": "rimraf lib dist", | ||
"bundle:unmin": "webpack --output-filename=dist/ReactDnD.js", | ||
"bundle:min": "webpack --output-filename=dist/ReactDnD.min.js --optimize-minimize", | ||
"babel": "babel src --out-dir lib", | ||
"build": "run-p bundle:* babel", | ||
"test": "run-s clean build", | ||
"prepublish": "npm test" | ||
}, | ||
"dependencies": { | ||
"disposables": "^1.0.1", | ||
"dnd-core": "^2.6.0", | ||
"hoist-non-react-statics": "^2.1.0", | ||
"invariant": "^2.1.0", | ||
"lodash": "^4.2.0", | ||
"prop-types": "^15.5.10" | ||
}, | ||
"devDependencies": { | ||
"babel-cli": "^6.26.0", | ||
"babel-loader": "^7.1.1", | ||
"npm-run-all": "^4.1.2", | ||
"react": "^16.2.0", | ||
"rimraf": "^2.6.2", | ||
"webpack": "^3.1.0" | ||
}, | ||
"peerDependencies": { | ||
"react": "*" | ||
} | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
344594
7142
6
27
Updateddnd-core@^2.6.0