react-dnd
Advanced tools
Comparing version 2.2.3 to 2.2.4
@@ -53,4 +53,6 @@ 'use strict'; | ||
return _this2.context.window; | ||
} else if (typeof window !== 'undefined') { | ||
return window; | ||
} | ||
return window; | ||
return undefined; | ||
}; | ||
@@ -57,0 +59,0 @@ |
{ | ||
"name": "react-dnd", | ||
"version": "2.2.3", | ||
"version": "2.2.4", | ||
"description": "Drag and Drop for React", | ||
"main": "lib/index.js", | ||
"license": "MIT", | ||
"scripts": { | ||
"clean": "rimraf lib && rimraf 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": "npm-run-all --parallel bundle:* babel", | ||
"test": "npm-run-all clean build", | ||
"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" | ||
@@ -17,3 +18,3 @@ }, | ||
"disposables": "^1.0.1", | ||
"dnd-core": "^2.2.3", | ||
"dnd-core": "^2.2.4", | ||
"hoist-non-react-statics": "^1.2.0", | ||
@@ -20,0 +21,0 @@ "invariant": "^2.1.0", |
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
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
3
341485
28
6952
Updateddnd-core@^2.2.4