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

dnd-core

Package Overview
Dependencies
Maintainers
1
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 0.3.0 to 0.3.1

dist-modules/__tests__/DragDropContext-test.js

8

modules/actions/DragDropActions.js

@@ -70,2 +70,3 @@ import { Actions } from 'flummox'

const { drop: dropActionId } = this.getActionIds();
const targetHandles = context

@@ -85,7 +86,8 @@ .getTargetHandles()

if (typeof dropResult === 'undefined') {
dropResult = index === 0 ? true : context.getDropResult();
dropResult = index === 0 ?
true :
context.getDropResult();
}
const actionId = this.getActionIds().drop;
this.dispatch(actionId, { dropResult });
this.dispatch(dropActionId, { dropResult });
});

@@ -92,0 +94,0 @@ }

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

@@ -5,0 +5,0 @@ "main": "dist-modules/index.js",

@@ -32,3 +32,3 @@ # dnd-core

![](http://i.imgur.com/NzjAu8a.png)
![](http://i.imgur.com/6l8CpxZ.png)

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