New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.2 to 0.2.3

3

es/components/ActionButton.js

@@ -33,5 +33,4 @@ var _excluded = ["children", "followBrowserWindowOptions", "hideButtonWhileDisable"],

import { WINDOW_CLOSE, WINDOW_MAXIMIZE, WINDOW_MINIMIZE, WINDOW_STATE } from '../constants';
import remote from '@electron/remote';
var remote = window.require('@electron/remote');
var Max = function Max(_ref) {

@@ -38,0 +37,0 @@ var children = _ref.children,

@@ -14,2 +14,4 @@ "use strict";

var _remote = _interopRequireDefault(require("@electron/remote"));
var _excluded = ["children", "followBrowserWindowOptions", "hideButtonWhileDisable"],

@@ -19,2 +21,4 @@ _excluded2 = ["children", "followBrowserWindowOptions", "hideButtonWhileDisable"],

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); }

@@ -49,4 +53,2 @@

var remote = window.require('@electron/remote');
var Max = function Max(_ref) {

@@ -69,3 +71,3 @@ var children = _ref.children,

var _remote$getCurrentWin = remote.getCurrentWindow(),
var _remote$getCurrentWin = _remote.default.getCurrentWindow(),
isMaximizable = _remote$getCurrentWin.isMaximizable;

@@ -96,3 +98,3 @@

var _remote$getCurrentWin2 = remote.getCurrentWindow(),
var _remote$getCurrentWin2 = _remote.default.getCurrentWindow(),
isMinimizable = _remote$getCurrentWin2.isMinimizable;

@@ -121,3 +123,3 @@

var _remote$getCurrentWin3 = remote.getCurrentWindow(),
var _remote$getCurrentWin3 = _remote.default.getCurrentWindow(),
isClosable = _remote$getCurrentWin3.isClosable;

@@ -124,0 +126,0 @@

{
"name": "@electron-lab/title-bar",
"version": "0.2.2",
"version": "0.2.3",
"main": "lib/index.js",

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

],
"gitHead": "716baab71c4f53df585a6f0096bd21031e68aa6f",
"gitHead": "fd886fe060955228a874d4285fb557b9b8c46280",
"devDependencies": {

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

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