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

@electron-lab/title-bar

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@electron-lab/title-bar - npm Package Compare versions

Comparing version 0.2.4-alpha.2 to 0.2.4-alpha.3

2

es/main.js
import { ipcMain } from 'electron';
import { WINDOW_CLOSE, WINDOW_MAXIMIZE, WINDOW_MINIMIZE, WINDOW_STATE, WINDOW_STATE_MAX, WINDOW_STATE_NORMAL } from './constants';
import * as remoteMain from '@electron/remote/main';
import _ from '@electron/remote';
_;
remoteMain.initialize();

@@ -7,0 +5,0 @@ export var initWindowListener = function initWindowListener(mainWindow) {

@@ -16,6 +16,2 @@ "use strict";

var _remote = _interopRequireDefault(require("@electron/remote"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }

@@ -25,3 +21,2 @@

_remote.default;
remoteMain.initialize();

@@ -28,0 +23,0 @@

4

package.json
{
"name": "@electron-lab/title-bar",
"version": "0.2.4-alpha.2",
"version": "0.2.4-alpha.3",
"main": "lib/index.js",

@@ -24,3 +24,3 @@ "module": "es/index.js",

],
"gitHead": "09abe24ad6d9876c99f651733495968abb8e1012",
"gitHead": "52e9dff6366aa51615549a464f8bd736ca1f4760",
"devDependencies": {

@@ -27,0 +27,0 @@ "jest": "^27.1.0"

@@ -13,8 +13,4 @@ import type { BrowserWindow } from 'electron';

import _ from '@electron/remote';
_;
remoteMain.initialize();
export const initWindowListener = (mainWindow: BrowserWindow): void => {

@@ -21,0 +17,0 @@ remoteMain.enable(mainWindow.webContents);

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