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

electron-installer-common

Package Overview
Dependencies
Maintainers
4
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electron-installer-common - npm Package Compare versions

Comparing version 0.10.2 to 0.10.3

10

NEWS.md

@@ -5,4 +5,12 @@ # `electron-installer-common` - Changes by Version

[Unreleased]: https://github.com/electron-userland/electron-installer-common/compare/v0.10.2...master
[Unreleased]: https://github.com/electron-userland/electron-installer-common/compare/v0.10.3...master
## [0.10.3] - 2020-08-25
[0.10.3]: https://github.com/electron-userland/electron-installer-common/compare/v0.10.2...v0.10.3
### Added
* Support for Electron 10 Linux dependencies (#80)
## [0.10.2] - 2020-06-25

@@ -9,0 +17,0 @@

11

package.json
{
"name": "electron-installer-common",
"version": "0.10.2",
"version": "0.10.3",
"description": "Common functionality for creating distributable Electron apps",

@@ -26,4 +26,3 @@ "author": "Mark Lee",

"NEWS.md",
"src",
"src/index.d.ts"
"src"
],

@@ -37,3 +36,3 @@ "devDependencies": {

"eslint-config-standard": "^14.0.0",
"eslint-plugin-ava": "^10.0.0",
"eslint-plugin-ava": "^11.0.0",
"eslint-plugin-import": "^2.14.0",

@@ -45,4 +44,4 @@ "eslint-plugin-node": "^11.0.0",

"sinon": "^9.0.0",
"tsd": "^0.11.0",
"typescript": "^3.9.3"
"tsd": "^0.13.1",
"typescript": "^4.0.2"
},

@@ -49,0 +48,0 @@ "dependencies": {

@@ -71,2 +71,9 @@ 'use strict'

/**
* Determine whether libXss is a necessary dependency, given the Electron version.
*/
function getXssDepends (version, dependencyMap) {
return semver.lt(version, '10.0.0-beta.1') ? [dependencyMap.xss] : []
}
module.exports = {

@@ -81,3 +88,2 @@ /**

dependencyMap.nss,
dependencyMap.xss,
dependencyMap.xtst,

@@ -91,2 +97,3 @@ dependencyMap.xdgUtils

.concat(getXcbDri3Depends(version, dependencyMap))
.concat(getXssDepends(version, dependencyMap))
},

@@ -101,2 +108,3 @@ getATSPIDepends,

getXcbDri3Depends,
getXssDepends,

@@ -103,0 +111,0 @@ /**

@@ -80,2 +80,3 @@ import { CopyFilterAsync, CopyFilterSync } from 'fs-extra';

export function getXcbDri3Depends(version: string, dependencyMap: DependencyMap): string[];
export function getXssDepends(version: string, dependencyMap: DependencyMap): string[];
export function hasSandboxHelper(appDir: string): boolean;

@@ -82,0 +83,0 @@ export function mergeUserSpecified(data: Record<string, unknown>, dependencyKey: string, defaults: Record<string, unknown>): Record<string, unknown>;

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