New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-dnd-multi-backend

Package Overview
Dependencies
Maintainers
1
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-dnd-multi-backend - npm Package Compare versions

Comparing version 3.0.2 to 3.0.3

lib/objectAssign.js

19

lib/MultiBackend.js

@@ -6,3 +6,10 @@ 'use strict';

});
exports.default = undefined;
var _objectAssign = require('./objectAssign');
var _objectAssign2 = _interopRequireDefault(_objectAssign);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }

@@ -190,3 +197,9 @@

var newEvent = new event.constructor(event.type, event);
var newEvent = null;
try {
newEvent = new event.constructor(event.type, event);
} catch (_e) {
newEvent = document.createEvent('Event');
newEvent.initEvent(event.type, event.bubbles, event.cancelable);
}
event.target.dispatchEvent(newEvent);

@@ -216,6 +229,6 @@ }

var options = Object.assign({ backends: [] }, sourceOptions || {});
var options = (0, _objectAssign2.default)({ backends: [] }, sourceOptions || {});
if (options.backends.length < 1) {
throw new Error('You must specify at least one Backend, if you are coming from 2.x.x (or don\'t understand this error)\n see this guide: https://github.com/louisbrunner/react-dnd-multi-backend/tree/next#migrating-from-2xx');
throw new Error('You must specify at least one Backend, if you are coming from 2.x.x (or don\'t understand this error)\n see this guide: https://github.com/louisbrunner/react-dnd-multi-backend#migrating-from-2xx');
}

@@ -222,0 +235,0 @@

41

package.json
{
"name": "react-dnd-multi-backend",
"version": "3.0.2",
"version": "3.0.3",
"description": "Multi Backend system for React DnD",

@@ -41,5 +41,5 @@ "author": "Louis Brunner <louis.brunner.fr@gmail.com> (https://github.com/LouisBrunner)",

"devDependencies": {
"babel-cli": "^6.16.0",
"babel-cli": "^6.26.0",
"babel-eslint": "^7.0.0",
"babel-loader": "^6.2.5",
"babel-loader": "^7.1.2",
"babel-plugin-istanbul": "^4.0.0",

@@ -50,25 +50,26 @@ "babel-plugin-transform-class-properties": "^6.16.0",

"babel-preset-react": "^6.16.0",
"babel-register": "^6.24.0",
"chai": "^3.5.0",
"chai-enzyme": "^0.6.1",
"babel-register": "^6.26.0",
"chai": "^4.1.1",
"chai-enzyme": "^0.8.0",
"coveralls": "^2.12.0",
"enzyme": "^2.7.1",
"eslint": "^3.8.1",
"eslint-loader": "^1.6.1",
"eslint-plugin-react": "^6.10.2",
"jsdom": "^9.12.0",
"jsdom-global": "^2.1.1",
"mocha": "^3.2.0",
"enzyme": "^2.9.1",
"eslint": "^4.5.0",
"eslint-loader": "^1.9.0",
"eslint-plugin-react": "^7.3.0",
"jsdom": "^11.2.0",
"jsdom-global": "^3.0.2",
"mocha": "^3.5.0",
"mocha-jsdom": "^1.1.0",
"nyc": "^10.1.2",
"react": "*",
"nyc": "^11.1.0",
"object-assign": "^4.1.1",
"react": ">=15.3.0",
"react-addons-test-utils": "*",
"react-dom": "*",
"react-test-renderer": "^15.5.4",
"sinon": "^2.1.0",
"sinon-chai": "^2.9.0",
"sinon": "^3.2.1",
"sinon-chai": "^2.13.0",
"sinon-spy-utils": "^1.0.0",
"watch-run": "^1.2.5",
"webpack": "^2.2.1",
"webpack-dev-server": "^2.4.2",
"webpack": "^3.5.5",
"webpack-dev-server": "^2.7.1",
"webpack-merge": "^4.1.0"

@@ -80,4 +81,4 @@ },

"react-dnd-html5-backend": "*",
"react-dnd-touch-backend": "*"
"react-dnd-touch-backend": "^0.3.13"
}
}

@@ -14,3 +14,3 @@ # React DnD Multi Backend [![NPM Version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][coveralls-image]][coveralls-url] [![dependencies Status][deps-image]][deps-url] [![devDependencies Status][deps-dev-image]][deps-dev-url]

This is the **next** version of this package, see [Migrating from 2.x.x](#migrating-from-2xx) for instructions if you are coming from `react-dnd-multi-backend@2.x.x`.
See [Migrating from 2.x.x](#migrating-from-2xx) for instructions if you are coming from `react-dnd-multi-backend@2.x.x`.

@@ -23,3 +23,3 @@

```sh
npm install react-dnd-multi-backend@next
npm install react-dnd-multi-backend
```

@@ -26,0 +26,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc