Socket
Socket
Sign inDemoInstall

dnd-core

Package Overview
Dependencies
6
Maintainers
3
Versions
93
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 10.0.0 to 10.0.1

6

dist/cjs/HandlerRegistryImpl.js

@@ -8,4 +8,2 @@ "use strict";

var _asap = require("@react-dnd/asap");
var _invariant = require("@react-dnd/invariant");

@@ -21,2 +19,4 @@

var _asap = _interopRequireDefault(require("asap"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -169,3 +169,3 @@

this.store.dispatch((0, _registry.removeSource)(sourceId));
(0, _asap.asap)(function () {
(0, _asap.default)(function () {
_this.dragSources.delete(sourceId);

@@ -172,0 +172,0 @@

@@ -15,3 +15,2 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

import { asap } from '@react-dnd/asap';
import { invariant } from '@react-dnd/invariant';

@@ -22,2 +21,3 @@ import { addSource as _addSource, addTarget as _addTarget, removeSource as _removeSource, removeTarget as _removeTarget } from './actions/registry';

import { validateSourceContract, validateTargetContract, validateType } from './contracts';
import asap from 'asap';

@@ -24,0 +24,0 @@ function getNextHandlerId(role) {

@@ -1,2 +0,1 @@

import { asap } from '@react-dnd/asap';
import { invariant } from '@react-dnd/invariant';

@@ -7,2 +6,3 @@ import { addSource, addTarget, removeSource, removeTarget, } from './actions/registry';

import { validateSourceContract, validateTargetContract, validateType, } from './contracts';
import asap from 'asap';
function getNextHandlerId(role) {

@@ -9,0 +9,0 @@ const id = getNextUniqueId().toString();

{
"name": "dnd-core",
"version": "10.0.0",
"version": "10.0.1",
"description": "Drag and drop sans the GUI",

@@ -20,7 +20,8 @@ "license": "MIT",

"dependencies": {
"@react-dnd/asap": "^3.0.0",
"@react-dnd/invariant": "^2.0.0",
"@types/asap": "^2.0.0",
"asap": "^2.0.6",
"redux": "^4.0.4"
},
"gitHead": "6aa1fb15bd65e06e32ee2d43fa73f76d4822211f"
"gitHead": "9b59c2499ce3988eb42f01c9c929c6e9220d3ecc"
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc