Socket
Socket
Sign inDemoInstall

dnd-core

Package Overview
Dependencies
5
Maintainers
3
Versions
93
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 10.0.1 to 10.0.2

4

dist/cjs/HandlerRegistryImpl.js

@@ -18,3 +18,3 @@ "use strict";

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

@@ -168,3 +168,3 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

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

@@ -171,0 +171,0 @@

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

import { validateSourceContract, validateTargetContract, validateType } from './contracts';
import asap from 'asap';
import { asap } from '@react-dnd/asap';

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

@@ -6,3 +6,3 @@ import { invariant } from '@react-dnd/invariant';

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

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

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

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

"dependencies": {
"@react-dnd/asap": "^4.0.0",
"@react-dnd/invariant": "^2.0.0",
"@types/asap": "^2.0.0",
"asap": "^2.0.6",
"redux": "^4.0.4"
},
"gitHead": "9b59c2499ce3988eb42f01c9c929c6e9220d3ecc"
"gitHead": "5d16ab043eb83d49c5b6964ce276d0a6c15210d5"
}

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