Comparing version 4.0.0 to 4.0.2
@@ -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
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
205823
4644
6
+ Addedasap@^2.0.6
+ Addedasap@2.0.6(transitive)