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

hadron-ipc

Package Overview
Dependencies
Maintainers
30
Versions
495
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hadron-ipc - npm Package Compare versions

Comparing version 2.4.0 to 2.5.0

index.d.ts

22

index.js

@@ -5,6 +5,20 @@ 'use strict';

if (isRenderer) {
module.exports = require('./lib/renderer');
} else {
module.exports = require('./lib/main');
let isElectron = false;
try {
isElectron = typeof require('electron') !== 'string';
} catch (err) { /* not electron */ }
function requireExportModule() {
if (!isElectron) {
if (process.env.NODE_ENV !== 'test') {
// eslint-disable-next-line no-console
console.warn('Unsupported environment for hadron-ipc');
}
return {};
}
return isRenderer ? require('./lib/renderer') : require('./lib/main');
}
module.exports = requireExportModule();

4

package.json
{
"name": "hadron-ipc",
"description": "Simplified IPC for electron apps.",
"version": "2.4.0",
"version": "2.5.0",
"scripts": {

@@ -38,3 +38,3 @@ "check": "npm run lint && npm run depcheck",

},
"gitHead": "e00da432655fbd1b723fd693527bf481f4c1e645"
"gitHead": "455c6523f99a08c6796480d59727b53bdfa441f0"
}
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