react-dnd-html5-backend
Advanced tools
Comparing version 7.4.4 to 7.5.0
@@ -191,3 +191,3 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
"use strict"; | ||
eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar _a;\nvar NativeTypes = __webpack_require__(/*! ../NativeTypes */ \"./src/NativeTypes.ts\");\nvar getDataFromDataTransfer_1 = __webpack_require__(/*! ./getDataFromDataTransfer */ \"./src/NativeDragSources/getDataFromDataTransfer.ts\");\nexports.nativeTypesConfig = (_a = {},\n _a[NativeTypes.FILE] = {\n exposeProperties: {\n files: function (dataTransfer) {\n return Array.prototype.slice.call(dataTransfer.files);\n },\n items: function (dataTransfer) { return dataTransfer.items; },\n },\n matchesTypes: ['Files'],\n },\n _a[NativeTypes.URL] = {\n exposeProperties: {\n urls: function (dataTransfer, matchesTypes) {\n return getDataFromDataTransfer_1.getDataFromDataTransfer(dataTransfer, matchesTypes, '').split('\\n');\n },\n },\n matchesTypes: ['Url', 'text/uri-list'],\n },\n _a[NativeTypes.TEXT] = {\n exposeProperties: {\n text: function (dataTransfer, matchesTypes) {\n return getDataFromDataTransfer_1.getDataFromDataTransfer(dataTransfer, matchesTypes, '');\n },\n },\n matchesTypes: ['Text', 'text/plain'],\n },\n _a);\n\n\n//# sourceURL=webpack://ReactDnDHTML5Backend/./src/NativeDragSources/nativeTypesConfig.ts?"); | ||
eval("\nvar _a;\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar NativeTypes = __webpack_require__(/*! ../NativeTypes */ \"./src/NativeTypes.ts\");\nvar getDataFromDataTransfer_1 = __webpack_require__(/*! ./getDataFromDataTransfer */ \"./src/NativeDragSources/getDataFromDataTransfer.ts\");\nexports.nativeTypesConfig = (_a = {},\n _a[NativeTypes.FILE] = {\n exposeProperties: {\n files: function (dataTransfer) {\n return Array.prototype.slice.call(dataTransfer.files);\n },\n items: function (dataTransfer) { return dataTransfer.items; },\n },\n matchesTypes: ['Files'],\n },\n _a[NativeTypes.URL] = {\n exposeProperties: {\n urls: function (dataTransfer, matchesTypes) {\n return getDataFromDataTransfer_1.getDataFromDataTransfer(dataTransfer, matchesTypes, '').split('\\n');\n },\n },\n matchesTypes: ['Url', 'text/uri-list'],\n },\n _a[NativeTypes.TEXT] = {\n exposeProperties: {\n text: function (dataTransfer, matchesTypes) {\n return getDataFromDataTransfer_1.getDataFromDataTransfer(dataTransfer, matchesTypes, '');\n },\n },\n matchesTypes: ['Text', 'text/plain'],\n },\n _a);\n\n\n//# sourceURL=webpack://ReactDnDHTML5Backend/./src/NativeDragSources/nativeTypesConfig.ts?"); | ||
@@ -194,0 +194,0 @@ /***/ }), |
"use strict"; | ||
var _a; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var _a; | ||
var NativeTypes = require("../NativeTypes"); | ||
@@ -5,0 +5,0 @@ var getDataFromDataTransfer_1 = require("./getDataFromDataTransfer"); |
{ | ||
"name": "react-dnd-html5-backend", | ||
"version": "7.4.4", | ||
"description": "HTML5 backend for React DnD", | ||
"main": "lib/cjs/index.js", | ||
"types": "lib/cjs/index.d.ts", | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/react-dnd/react-dnd.git" | ||
}, | ||
"scripts": { | ||
"clean": "rimraf lib dist", | ||
"transpile:cjs": "tsc -b tsconfig.cjs.json", | ||
"transpile:esm": "tsc -b tsconfig.esm.json", | ||
"transpile": "run-p transpile:*", | ||
"bundle:unmin": "webpack --mode development --output-filename=ReactDnDHTML5Backend.js", | ||
"bundle:min": "webpack --mode production --output-filename=ReactDnDHTML5Backend.min.js", | ||
"build": "run-p bundle:* transpile", | ||
"test": "run-s clean build", | ||
"start": "tsc -b tsconfig.esm.json -w --preserveWatchOutput" | ||
}, | ||
"dependencies": { | ||
"dnd-core": "^7.4.4" | ||
}, | ||
"devDependencies": { | ||
"@types/react": "^16.8.10", | ||
"npm-run-all": "^4.1.5", | ||
"react": "^16.8.6", | ||
"react-dnd-test-backend": "^7.4.4", | ||
"react-dom": "^16.8.6", | ||
"rimraf": "^2.6.3", | ||
"ts-loader": "^5.3.3", | ||
"typescript": "^3.4.1", | ||
"webpack": "^4.29.6", | ||
"webpack-cli": "^3.2.3" | ||
}, | ||
"gitHead": "5b58d291c6bcdb87c18cf3ad2a1d76b599a43c1f" | ||
"name": "react-dnd-html5-backend", | ||
"version": "7.5.0", | ||
"description": "HTML5 backend for React DnD", | ||
"main": "lib/cjs/index.js", | ||
"module": "lib/esm/index.js", | ||
"types": "lib/cjs/index.d.ts", | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/react-dnd/react-dnd.git" | ||
}, | ||
"scripts": { | ||
"clean": "rimraf lib dist", | ||
"transpile:cjs": "tsc -b tsconfig.cjs.json", | ||
"transpile:esm": "tsc -b tsconfig.esm.json", | ||
"transpile": "run-p transpile:*", | ||
"bundle:unmin": "webpack --mode development --output-filename=ReactDnDHTML5Backend.js", | ||
"bundle:min": "webpack --mode production --output-filename=ReactDnDHTML5Backend.min.js", | ||
"build": "run-p bundle:* transpile", | ||
"test": "run-s clean build", | ||
"start": "tsc -b tsconfig.esm.json -w --preserveWatchOutput" | ||
}, | ||
"dependencies": { | ||
"dnd-core": "^7.5.0" | ||
}, | ||
"devDependencies": { | ||
"@types/react": "^16.8.19", | ||
"npm-run-all": "^4.1.5", | ||
"react": "^16.8.6", | ||
"react-dnd-test-backend": "^7.5.0", | ||
"react-dom": "^16.8.6", | ||
"rimraf": "^2.6.3", | ||
"ts-loader": "^6.0.2", | ||
"typescript": "^3.5.1", | ||
"webpack": "^4.32.2", | ||
"webpack-cli": "^3.3.2" | ||
} | ||
} |
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
474590
65
Updateddnd-core@^7.5.0