Socket
Socket
Sign inDemoInstall

dmg-builder

Package Overview
Dependencies
Maintainers
1
Versions
252
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dmg-builder - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

2

out/dmgLicense.d.ts

@@ -5,2 +5,2 @@ /// <reference types="debug" />

export declare const debug: _debug.IDebugger;
export declare function addLicenseToDmg(packager: PackageBuilder, dmgPath: string): Promise<void>;
export declare function addLicenseToDmg(packager: PackageBuilder, dmgPath: string): Promise<string | null>;

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

if (licenseFiles.length === 0) {
return;
return null;
}

@@ -71,2 +71,3 @@ const licenseButtonFiles = yield (0, (_licenseButtons || _load_licenseButtons()).getLicenseButtonsFile)(packager);

yield (0, (_builderUtil || _load_builderUtil()).exec)("hdiutil", ["flatten", dmgPath]);
return data;
});

@@ -73,0 +74,0 @@

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

args.push(dmgPath);
const attachResult = yield (0, (_builderUtil || _load_builderUtil()).exec)("hdiutil", args, { maxBuffer: 2 * 1024 * 1024 });
const attachResult = yield (0, (_builderUtil || _load_builderUtil()).exec)("hdiutil", args);
const deviceResult = attachResult == null ? null : /^(\/dev\/\w+)/.exec(attachResult);

@@ -31,0 +31,0 @@ const device = deviceResult == null || deviceResult.length !== 2 ? null : deviceResult[1];

@@ -18,3 +18,4 @@ "use strict";

const name = it.toLowerCase();
return name.startsWith("licenseButtons_") && (name.endsWith(".json") || name.endsWith(".yml"));
// noinspection SpellCheckingInspection
return name.startsWith("licensebuttons_") && (name.endsWith(".json") || name.endsWith(".yml"));
}), packager);

@@ -21,0 +22,0 @@ });

{
"name": "dmg-builder",
"version": "2.1.0",
"version": "2.1.1",
"main": "out/dmgUtil.js",

@@ -16,7 +16,7 @@ "author": "Vladimir Krivosheev",

"dependencies": {
"fs-extra-p": "^4.4.2",
"bluebird-lst": "^1.0.3",
"fs-extra-p": "^4.4.3",
"bluebird-lst": "^1.0.4",
"parse-color": "^1.0.0",
"builder-util": "^2.0.2",
"debug": "^3.0.1",
"builder-util": "^2.0.10",
"debug": "^3.1.0",
"iconv-lite": "^0.4.19",

@@ -23,0 +23,0 @@ "js-yaml": "^3.10.0"

Sorry, the diff of this file is not supported yet

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