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

electron-ipc

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-ipc - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

.npmignore

12

index.js

@@ -16,3 +16,3 @@ 'use strict'

MESSAGES[id] = {resolve, reject}
TARGET.send('handoff.request', id, ...args);
TARGET.send('handoff.request', id, ...args)
})

@@ -28,3 +28,3 @@ }

err.stack = response.stack
promiss.reject(err)
promise.reject(err)
}

@@ -35,3 +35,3 @@ delete MESSAGES[id]

TARGET.on('handoff.request', (event, id, ...args) => {
this.publish(...args).then(response => {
handoff.publish(...args).then(response => {
event.sender.send('handoff.response', id, true, response)

@@ -49,8 +49,8 @@ }).catch(err => {

subscribe (name, ...args) {
subscribe (...args) {
return handoff.subscribe(...args)
},
unsubscribe (name, ...args) {
return handoff.unsubscribe(name, ...args)
unsubscribe (...args) {
return handoff.unsubscribe(...args)
},

@@ -57,0 +57,0 @@

{
"name": "electron-ipc",
"version": "0.0.1",
"version": "0.0.2",
"description": "Easy promise-based IPC for Electron",

@@ -10,3 +10,3 @@ "main": "index.js",

"author": "",
"license": "ISC",
"license": "MIT",
"dependencies": {

@@ -13,0 +13,0 @@ "electron": "*",

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