electron-installer-common
Advanced tools
Comparing version 0.10.3 to 0.10.4
@@ -5,3 +5,3 @@ # `electron-installer-common` - Changes by Version | ||
[Unreleased]: https://github.com/electron-userland/electron-installer-common/compare/v0.10.3...master | ||
[Unreleased]: https://github.com/electron-userland/electron-installer-common/compare/v0.10.3...main | ||
@@ -8,0 +8,0 @@ ## [0.10.3] - 2020-08-25 |
{ | ||
"name": "electron-installer-common", | ||
"version": "0.10.3", | ||
"version": "0.10.4", | ||
"description": "Common functionality for creating distributable Electron apps", | ||
@@ -29,16 +29,15 @@ "author": "Mark Lee", | ||
"devDependencies": { | ||
"@typescript-eslint/eslint-plugin": "^3.0.0", | ||
"@typescript-eslint/parser": "^3.0.0", | ||
"@typescript-eslint/eslint-plugin": "^4.8.0", | ||
"@typescript-eslint/parser": "^4.8.0", | ||
"ava": "^3.0.0", | ||
"codecov": "^3.5.0", | ||
"eslint": "^7.1.0", | ||
"eslint-config-standard": "^14.0.0", | ||
"eslint-plugin-ava": "^11.0.0", | ||
"eslint-plugin-import": "^2.14.0", | ||
"eslint": "^7.12.1", | ||
"eslint-config-standard": "^16.0.0", | ||
"eslint-plugin-ava": "^12.0.0", | ||
"eslint-plugin-import": "^2.22.1", | ||
"eslint-plugin-node": "^11.0.0", | ||
"eslint-plugin-promise": "^4.0.1", | ||
"eslint-plugin-standard": "^4.0.0", | ||
"eslint-plugin-promise": "^5.1.0", | ||
"nyc": "^15.0.0", | ||
"sinon": "^9.0.0", | ||
"tsd": "^0.13.1", | ||
"sinon": "^11.1.0", | ||
"tsd": "^0.16.0", | ||
"typescript": "^4.0.2" | ||
@@ -48,3 +47,3 @@ }, | ||
"@malept/cross-spawn-promise": "^1.0.0", | ||
"asar": "^3.0.0", | ||
"@electron/asar": "^3.2.5", | ||
"debug": "^4.1.1", | ||
@@ -51,0 +50,0 @@ "fs-extra": "^9.0.0", |
# `electron-installer-common` | ||
[![Build Status](https://github.com/electron-userland/electron-installer-common/workflows/CI/badge.svg)](https://github.com/electron-userland/electron-installer-common/actions?query=workflow:CI) | ||
[![codecov](https://codecov.io/gh/electron-userland/electron-installer-common/branch/master/graph/badge.svg)](https://codecov.io/gh/electron-userland/electron-installer-common) | ||
[![codecov](https://codecov.io/gh/electron-userland/electron-installer-common/branch/main/graph/badge.svg)](https://codecov.io/gh/electron-userland/electron-installer-common) | ||
@@ -6,0 +6,0 @@ `electron-installer-common` provides common functionality for creating distributable Electron apps. |
@@ -78,2 +78,9 @@ 'use strict' | ||
/** | ||
* Determine whether libxtst6 is a necessary dependency, given the Electron version. | ||
*/ | ||
function getXtstDepends (version, dependencyMap) { | ||
return semver.lt(version, '11.0.0-beta.1') ? [dependencyMap.xtst] : [] | ||
} | ||
module.exports = { | ||
@@ -88,3 +95,2 @@ /** | ||
dependencyMap.nss, | ||
dependencyMap.xtst, | ||
dependencyMap.xdgUtils | ||
@@ -98,2 +104,3 @@ ].concat(getATSPIDepends(version, dependencyMap)) | ||
.concat(getXssDepends(version, dependencyMap)) | ||
.concat(getXtstDepends(version, dependencyMap)) | ||
}, | ||
@@ -109,2 +116,3 @@ getATSPIDepends, | ||
getXssDepends, | ||
getXtstDepends, | ||
@@ -111,0 +119,0 @@ /** |
@@ -81,2 +81,3 @@ import { CopyFilterAsync, CopyFilterSync } from 'fs-extra'; | ||
export function getXssDepends(version: string, dependencyMap: DependencyMap): string[]; | ||
export function getXtstDepends(version: string, dependencyMap: DependencyMap): string[]; | ||
export function hasSandboxHelper(appDir: string): boolean; | ||
@@ -83,0 +84,0 @@ export function mergeUserSpecified(data: Record<string, unknown>, dependencyKey: string, defaults: Record<string, unknown>): Record<string, unknown>; |
@@ -5,3 +5,3 @@ 'use strict' | ||
const asar = require('asar') | ||
const asar = require('@electron/asar') | ||
const fs = require('fs-extra') | ||
@@ -8,0 +8,0 @@ const glob = promisify(require('glob')) |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
45535
14
687
1
+ Added@electron/asar@^3.2.5
+ Added@electron/asar@3.2.18(transitive)
- Removedasar@^3.0.0
- Removed@types/glob@7.2.0(transitive)
- Removed@types/minimatch@5.1.2(transitive)
- Removedasar@3.2.0(transitive)
- Removedchromium-pickle-js@0.2.0(transitive)