Huge News!Announcing our $40M Series B led by Abstract Ventures.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.2 to 1.13.3

.prettierrc.json

19

package.json
{
"name": "electron-about-window",
"version": "1.13.2",
"version": "1.13.3",
"description": "'About App' window for Electron application",

@@ -12,3 +12,5 @@ "main": "src/index.js",

"stylelint": "stylelint styles/*.css",
"lint": "npm run tslint && npm run stylelint",
"check-formatting": "prettier --check '**/*.ts'",
"lint": "npm run tslint && npm run stylelint check-formatting",
"prettier": "prettier --write '**/*.ts'",
"example": "NODE_ENV=production electron ./example",

@@ -36,10 +38,11 @@ "debug": "electron ./example",

"devDependencies": {
"@types/node": "^12.6.6",
"electron": "^7.1.0",
"stylelint": "^10.1.0",
"stylelint-config-standard": "^18.3.0",
"tslint": "^5.18.0",
"typescript": "^3.5.3"
"@types/node": "^12.x",
"electron": "^9.0.2",
"prettier": "^2.0.5",
"stylelint": "^13.5.0",
"stylelint-config-standard": "^20.0.0",
"tslint": "^6.1.2",
"typescript": "^3.9.3"
},
"dependencies": {}
}

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

const path = require("path");
const app = electron_1.app || electron_1.remote.app;
const BrowserWindow = electron_1.BrowserWindow || electron_1.remote.BrowserWindow;
let window = null;

@@ -26,3 +28,3 @@ function loadPackageJson(pkg_path) {

}
const app_name = electron_1.app.name || electron_1.app.getName();
const app_name = app.name || app.getName();
for (const mod_path of module.paths) {

@@ -111,5 +113,6 @@ if (!path.isAbsolute(mod_path)) {

nodeIntegration: true,
enableRemoteModule: true,
},
}, info.win_options || {});
window = new (electron_1.BrowserWindow || electron_1.remote.BrowserWindow)(options);
window = new BrowserWindow(options);
window.once('closed', () => {

@@ -116,0 +119,0 @@ window = null;

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