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

@electron/universal

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@electron/universal - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

8

dist/cjs/asar-utils.js

@@ -27,2 +27,7 @@ "use strict";

]);
const MACHO_UNIVERSAL_MAGIC = new Set([
// universal
0xcafebabe,
0xbebafeca,
]);
exports.detectAsarMode = async (appPath) => {

@@ -113,2 +118,5 @@ debug_1.d('checking asar mode of', appPath);

}
if (MACHO_UNIVERSAL_MAGIC.has(x64Content.readUInt32LE(0)) && MACHO_UNIVERSAL_MAGIC.has(arm64Content.readUInt32LE(0))) {
continue;
}
if (!MACHO_MAGIC.has(x64Content.readUInt32LE(0))) {

@@ -115,0 +123,0 @@ throw new Error(`Can't reconcile two non-macho files ${file}`);

@@ -24,2 +24,7 @@ import * as asar from '@electron/asar';

]);
const MACHO_UNIVERSAL_MAGIC = new Set([
// universal
0xcafebabe,
0xbebafeca,
]);
export const detectAsarMode = async (appPath) => {

@@ -110,2 +115,5 @@ d('checking asar mode of', appPath);

}
if (MACHO_UNIVERSAL_MAGIC.has(x64Content.readUInt32LE(0)) && MACHO_UNIVERSAL_MAGIC.has(arm64Content.readUInt32LE(0))) {
continue;
}
if (!MACHO_MAGIC.has(x64Content.readUInt32LE(0))) {

@@ -112,0 +120,0 @@ throw new Error(`Can't reconcile two non-macho files ${file}`);

2

package.json
{
"name": "@electron/universal",
"version": "1.4.0",
"version": "1.4.1",
"description": "Utility for creating Universal macOS applications from two x64 and arm64 Electron applications",

@@ -5,0 +5,0 @@ "main": "dist/cjs/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