Socket
Socket
Sign inDemoInstall

electron-updater

Package Overview
Dependencies
Maintainers
2
Versions
290
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electron-updater - npm Package Compare versions

Comparing version 4.6.4 to 4.6.5

6

CHANGELOG.md
## 4.3.0
## 4.6.5
### Patch Changes
- [#6381](https://github.com/electron-userland/electron-builder/pull/6381) [`828fcd37`](https://github.com/electron-userland/electron-builder/commit/828fcd378c2df28763893ef68f92d5b1a72fead3) Thanks [@zhanjinfeng](https://github.com/zhanjinfeng)! - fix: use `uname -a` to get arch instead of 'process.arch' in mac silicon
## 4.6.4

@@ -4,0 +10,0 @@

13

out/MacUpdater.js

@@ -44,3 +44,14 @@ "use strict";

}
const isArm64Mac = process.arch === "arm64" || isRosetta;
let isArm64Mac = false;
try {
this.debug("Checking for arm64 in uname");
const result = child_process_1.execFileSync("uname", ['-a'], { encoding: "utf8" });
const isArm = result.includes('ARM');
log.info(`Checked 'uname -a': arm64=${isArm}`);
isArm64Mac = isArm64Mac || isArm;
}
catch (e) {
log.warn(`uname shell command to check for arm64 failed: ${e}`);
}
isArm64Mac = isArm64Mac || process.arch === 'arm64' || isRosetta;
// allow arm64 macs to install universal or rosetta2(x64) - https://github.com/electron-userland/electron-builder/pull/5524

@@ -47,0 +58,0 @@ const isArm64 = (file) => { var _a; return file.url.pathname.includes("arm64") || ((_a = file.info.url) === null || _a === void 0 ? void 0 : _a.includes("arm64")); };

2

package.json
{
"name": "electron-updater",
"version": "4.6.4",
"version": "4.6.5",
"description": "Cross platform updater for electron applications",

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

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