Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dnd-core

Package Overview
Dependencies
Maintainers
3
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dnd-core - npm Package Compare versions

Comparing version 4.0.0 to 4.0.2

4

lib/HandlerRegistryImpl.js

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

var contracts_1 = require("./contracts");
// @ts-ignore
var asap_1 = __importDefault(require("asap"));
function getNextHandlerId(role) {

@@ -103,3 +105,3 @@ var id = getNextUniqueId_1.default().toString();

this.store.dispatch(registry_1.removeSource(sourceId));
setImmediate(function () {
asap_1.default(function () {
_this.dragSources.delete(sourceId);

@@ -106,0 +108,0 @@ _this.types.delete(sourceId);

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

@@ -22,2 +22,3 @@ "license": "BSD-3-Clause",

"@types/lodash": "^4.14.109",
"asap": "^2.0.6",
"invariant": "^2.2.4",

@@ -24,0 +25,0 @@ "lodash": "^4.17.10",

@@ -26,2 +26,4 @@ import { Store } from 'redux'

} from './contracts'
// @ts-ignore
import asap from 'asap'

@@ -133,3 +135,3 @@ function getNextHandlerId(role: HandlerRole): string {

this.store.dispatch(removeSource(sourceId))
setImmediate(() => {
asap(() => {
this.dragSources.delete(sourceId)

@@ -136,0 +138,0 @@ this.types.delete(sourceId)

@@ -5,4 +5,4 @@ {

"declaration": true,
"sourceMap": true,
"outDir": "./lib",
"sourceMap": true,
"outDir": "./lib",
"baseUrl": "./src"

@@ -9,0 +9,0 @@ },

Sorry, the diff of this file is not supported yet

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