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

electron-about-window

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electron-about-window - npm Package Compare versions

Comparing version 1.13.4 to 1.14.0

2

index.d.ts

@@ -19,3 +19,3 @@ /// <reference types="electron" />

use_inner_html?: boolean;
use_version_info?: boolean;
use_version_info?: boolean | [string, string][];
show_close_button?: string;

@@ -22,0 +22,0 @@ }

{
"name": "electron-about-window",
"version": "1.13.4",
"version": "1.14.0",
"description": "'About App' window for Electron application",

@@ -37,11 +37,10 @@ "main": "src/index.js",

"devDependencies": {
"@types/node": "^12.x",
"electron": "^9.0.2",
"prettier": "^2.0.5",
"stylelint": "^13.5.0",
"stylelint-config-standard": "^20.0.0",
"@types/node": "^14.x",
"electron": "^12.0.0",
"prettier": "^2.2.1",
"stylelint": "^13.12.0",
"stylelint-config-standard": "^21.0.0",
"tslint": "^6.1.2",
"typescript": "^3.9.3"
},
"dependencies": {}
"typescript": "^4.2.3"
}
}

@@ -42,3 +42,3 @@ 'About This App' Window for [Electron](https://github.com/atom/electron) Apps

win_options?: BrowserWindowOptions;
use_version_info?: boolean;
use_version_info?: boolean | [string, string][];
show_close_button?: string;

@@ -94,3 +94,3 @@ }): BrowserWindow

| `product_name` | Name of the application **Optional** | string |
| `use_version_info` | If `false`, the versions of electron, chrome, node, and v8 will not be displayed. Default is `true`. **Optional** | boolean |
| `use_version_info` | If is `false`, nothing will be displayed, if is `true`, the versions of electron, chrome, node, and v8 will be displayed, if is an array of string tuple, its entries will be displayed. Default is `true`. **Optional** | boolean |
| `show_close_button` | If this is a valid string, a close button with this string be displayed. **Optional** | string |

@@ -97,0 +97,0 @@ | `about_page_dir` | Directory path which contains `about.html` which is rendered in 'About this app' window. **Optional** | string |

@@ -112,2 +112,3 @@ "use strict";

enableRemoteModule: true,
contextIsolation: false,
},

@@ -114,0 +115,0 @@ }, info.win_options || {});

@@ -61,6 +61,8 @@ "use strict";

}
if (info.use_version_info) {
if (!!info.use_version_info) {
const versions = document.querySelector('.versions');
const vs = process.versions;
for (const name of ['electron', 'chrome', 'node', 'v8']) {
const version_info = Array.isArray(info.use_version_info)
? info.use_version_info
: ['electron', 'chrome', 'node', 'v8'].map(e => [e, process.versions[e]]);
for (const [name, value] of version_info) {
const tr = document.createElement('tr');

@@ -71,3 +73,3 @@ const name_td = document.createElement('td');

const version_td = document.createElement('td');
version_td.innerText = ' : ' + vs[name];
version_td.innerText = ' : ' + value;
tr.appendChild(version_td);

@@ -74,0 +76,0 @@ versions.appendChild(tr);

Sorry, the diff of this file is not supported yet

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