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

electron-drag-drop

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electron-drag-drop - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

8

lib/drag.js

@@ -70,3 +70,3 @@ 'use strict';

// NOTE: do not excludeSelf, some panel recieve this message to enable/disable drop element
ipcPlus.sendToWins('drag:start', {
ipcPlus.sendToWins('electron-drag-drop:drag-start', {
type: type,

@@ -85,3 +85,3 @@ items: items,

// NOTE: do not excludeSelf, some panel recieve this message to enable/disable drop element
ipcPlus.sendToWins('drag:end');
ipcPlus.sendToWins('electron-drag-drop:drag-end');
};

@@ -235,3 +235,3 @@

ipcRenderer.on('drag:start', (event, info) => {
ipcRenderer.on('electron-drag-drop:drag-start', (event, info) => {
_dragging = true;

@@ -243,3 +243,3 @@ _type = info.type;

ipcRenderer.on('drag:end', () => {
ipcRenderer.on('electron-drag-drop:drag-end', () => {
_dragging = false;

@@ -246,0 +246,0 @@ _type = '';

{
"name": "electron-drag-drop",
"version": "1.0.1",
"version": "1.0.2",
"description": "Easily manipulate drag and drop in Electron.",

@@ -28,6 +28,6 @@ "main": "index.js",

"mocha": "^3.2.0",
"spectron": "3.4.1"
"spectron": "^3.6.0"
},
"dependencies": {
"electron-ipc-plus": "^1.2.3",
"electron-ipc-plus": "^1.3.3",
"electron-platform": "^1.2.0",

@@ -34,0 +34,0 @@ "path-plus": "^1.0.0"

@@ -8,6 +8,6 @@ const {app, BrowserWindow} = require('electron');

center: true,
width: 800,
height: 600
width: 400,
height: 300
});
win.loadURL('file://' + __dirname + '/index.html');
});
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