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

@electron/packager

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@electron/packager - npm Package Compare versions

Comparing version 18.3.5 to 18.3.6

2

dist/mac.d.ts

@@ -140,3 +140,3 @@ /// <reference types="node" />

determinePlistFilesToUpdate(): Promise<LoadPlistParams[]>;
appRelativePath(p: string): string;
appRelativePlatformPath(p: string): string;
updatePlistFiles(): Promise<void>;

@@ -143,0 +143,0 @@ moveHelpers(): Promise<void>;

@@ -156,4 +156,4 @@ "use strict";

}
appRelativePath(p) {
return path_1.default.relative(this.contentsPath, p);
appRelativePlatformPath(p) {
return path_1.default.posix.relative(this.contentsPath, p);
}

@@ -160,0 +160,0 @@ async updatePlistFiles() {

@@ -59,3 +59,3 @@ import { FileRecord } from '@electron/asar';

copyPrebuiltAsar(): Promise<void>;
appRelativePath(p: string): string;
appRelativePlatformPath(p: string): string;
asarApp(): Promise<void>;

@@ -62,0 +62,0 @@ getAsarIntegrity(path: string): Pick<FileRecord['integrity'], 'algorithm' | 'hash'>;

@@ -116,3 +116,3 @@ "use strict";

this.asarIntegrity = {
[this.appRelativePath(this.appAsarPath)]: this.getAsarIntegrity(this.appAsarPath),
[this.appRelativePlatformPath(this.appAsarPath)]: this.getAsarIntegrity(this.appAsarPath),
};

@@ -195,4 +195,7 @@ }

}
appRelativePath(p) {
return path_1.default.relative(this.stagingPath, p);
appRelativePlatformPath(p) {
if (this.opts.platform === 'win32') {
return path_1.default.win32.relative(this.stagingPath, p);
}
return path_1.default.posix.relative(this.stagingPath, p);
}

@@ -207,3 +210,3 @@ async asarApp() {

this.asarIntegrity = {
[this.appRelativePath(this.appAsarPath)]: this.getAsarIntegrity(this.appAsarPath),
[this.appRelativePlatformPath(this.appAsarPath)]: this.getAsarIntegrity(this.appAsarPath),
};

@@ -210,0 +213,0 @@ await fs_extra_1.default.remove(this.originalResourcesAppDir);

{
"name": "@electron/packager",
"version": "18.3.5",
"version": "18.3.6",
"description": "Customize and package your Electron app with OS-specific bundles (.app, .exe, etc.) via JS or CLI",

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

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