New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

electron-react-titlebar

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electron-react-titlebar - npm Package Compare versions

Comparing version 0.3.0 to 0.4.0

3

lib/index.js

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

{ id: 'electron-app-title-bar', className: `electron-app-title-bar ${className || ''}` },
_react2.default.createElement('link', { href: __dirname + "/../assets/style.css", rel: 'stylesheet' }),
_react2.default.createElement('div', { className: 'resize-handle resize-handle-top' }),
_react2.default.createElement('div', { className: 'resize-handle resize-handle-left' }),
_react2.default.createElement('img', { className: 'icon', src: icon }),
typeof icon !== 'undefined' && _react2.default.createElement('img', { className: 'icon', src: icon }),
_react2.default.createElement(_menu.MenuBar, { menu: menu }),

@@ -31,0 +30,0 @@ _react2.default.createElement(_windowControls.WindowControls, { disableMinimize: disableMinimize, disableMaximize: disableMaximize })

{
"name": "electron-react-titlebar",
"version": "0.3.0",
"version": "0.4.0",
"description": "A github desktop style title bar component for electron.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -24,2 +24,3 @@ # electron-react-titlebar

import { TitleBar } from 'electron-react-titlebar'
import 'electron-react-titlebar/assets/style.css'

@@ -26,0 +27,0 @@ ReactDOM.render(

@@ -9,6 +9,5 @@ import React from 'react'

<div id="electron-app-title-bar" className={`electron-app-title-bar ${className || ''}`}>
<link href={__dirname + "/../assets/style.css"} rel="stylesheet" />
<div className="resize-handle resize-handle-top" />
<div className="resize-handle resize-handle-left" />
<img className="icon" src={icon} />
{typeof icon !== 'undefined' && <img className="icon" src={icon} />}
<MenuBar menu={menu} />

@@ -15,0 +14,0 @@ <WindowControls disableMinimize={disableMinimize} disableMaximize={disableMaximize} />

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