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

@wixc3/engine-electron

Package Overview
Dependencies
Maintainers
174
Versions
217
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wixc3/engine-electron - npm Package Compare versions

Comparing version 8.0.4 to 8.1.0

6

dist/initializers/electron-node.js

@@ -11,3 +11,3 @@ "use strict";

const initializeNodeEnvironmentInBrowser = async ({ communication, env, environmentStartupOptions, processOptions }) => {
const { id, dispose } = await engine_electron_commons_1.initializeNodeEnvironment({
const { id, dispose, onDisconnect } = await engine_electron_commons_1.initializeNodeEnvironment({
environmentStartupOptions,

@@ -17,6 +17,6 @@ env,

getApplicationMetaData,
processOptions
processOptions,
});
window.addEventListener('beforeunload', dispose);
return { id };
return { id, onDisconnect };
};

@@ -23,0 +23,0 @@ exports.initializeNodeEnvironmentInBrowser = initializeNodeEnvironmentInBrowser;

{
"name": "@wixc3/engine-electron",
"version": "8.0.4",
"version": "8.1.0",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "peerDependencies": {

@@ -21,3 +21,3 @@ import { ipcRenderer } from 'electron';

> = async ({ communication, env, environmentStartupOptions, processOptions }) => {
const { id, dispose } = await initializeNodeEnvironment({
const { id, dispose, onDisconnect } = await initializeNodeEnvironment({
environmentStartupOptions,

@@ -27,6 +27,6 @@ env,

getApplicationMetaData,
processOptions
processOptions,
});
window.addEventListener('beforeunload', dispose);
return { id };
return { id, onDisconnect };
};

@@ -33,0 +33,0 @@

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