Socket
Socket
Sign inDemoInstall

@electron-forge/publisher-electron-release-server

Package Overview
Dependencies
Maintainers
5
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@electron-forge/publisher-electron-release-server - npm Package Compare versions

Comparing version 7.2.0 to 7.3.0

6

dist/PublisherERS.js

@@ -62,5 +62,5 @@ "use strict";

const artifacts = makeResult.artifacts.filter((artifactPath) => path_1.default.basename(artifactPath).toLowerCase() !== 'releases');
const versions = await (await authFetch('api/version')).json();
const versions = await (await authFetch('versions/sorted')).json();
// Find the version with the same name and flavor
const existingVersion = versions.find((version) => version.name === packageJSON.version && version.flavor.name === flavor);
const existingVersion = versions['items'].find((version) => version.name === packageJSON.version && version.flavor.name === flavor);
let channel = 'stable';

@@ -132,2 +132,2 @@ if (config.channel) {

exports.PublisherERS = PublisherERS;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUHVibGlzaGVyRVJTLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL1B1Ymxpc2hlckVSUy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSxnREFBd0I7QUFFeEIsbUVBQWlGO0FBRWpGLGtEQUEwQjtBQUMxQiwwREFBaUM7QUFDakMsd0RBQTBCO0FBQzFCLDREQUF1RTtBQUl2RSxNQUFNLENBQUMsR0FBRyxJQUFBLGVBQUssRUFBQyw0QkFBNEIsQ0FBQyxDQUFDO0FBaUI5QyxNQUFNLG1CQUFtQixHQUFHLEtBQUssRUFBRSxHQUFnQixFQUFFLElBQWtCLEVBQXFCLEVBQUU7SUFDNUYsTUFBTSxNQUFNLEdBQUcsTUFBTSxJQUFBLG9CQUFLLEVBQUMsR0FBRyxFQUFFLElBQUksQ0FBQyxDQUFDO0lBQ3RDLElBQUksTUFBTSxDQUFDLEVBQUUsRUFBRTtRQUNiLHdDQUF3QztRQUN4QyxPQU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DaEQsUUFBUSxJQUFJLENBQUMsQ0FBQztnQkFDZCxnQkFBZ0IsRUFBRSxDQUFDO1lBQ3JCLENBQUMsQ0FBQyxDQUNILENBQUM7U0FDSDtJQUNILENBQUM7Q0FDRjtBQTdHRCwrQkE2R0M7QUFFUSxvQ0FBWSJ9
{
"name": "@electron-forge/publisher-electron-release-server",
"version": "7.2.0",
"version": "7.3.0",
"description": "Electron release server publisher for Electron Forge",

@@ -21,4 +21,4 @@ "repository": "https://github.com/electron/forge",

"dependencies": {
"@electron-forge/publisher-base": "7.2.0",
"@electron-forge/shared-types": "7.2.0",
"@electron-forge/publisher-base": "7.3.0",
"@electron-forge/shared-types": "7.3.0",
"debug": "^4.3.1",

@@ -36,3 +36,3 @@ "form-data": "^4.0.0",

],
"gitHead": "30af3b2a7f2e209ec7a3fed877ca7bbb96555e2a"
"gitHead": "81160c598e2249f3adfe4dd5f966fbc55d03b82b"
}

@@ -29,2 +29,9 @@ import path from 'path';

interface ERSVersionSorted {
total: number;
offset: number;
page: number;
items: ERSVersion[];
}
const fetchAndCheckStatus = async (url: RequestInfo, init?: RequestInit): Promise<Response> => {

@@ -90,5 +97,6 @@ const result = await fetch(url, init);

const versions: ERSVersion[] = await (await authFetch('api/version')).json();
const versions: ERSVersionSorted = await (await authFetch('versions/sorted')).json();
// Find the version with the same name and flavor
const existingVersion = versions.find((version) => version.name === packageJSON.version && version.flavor.name === flavor);
const existingVersion = versions['items'].find((version) => version.name === packageJSON.version && version.flavor.name === flavor);

@@ -95,0 +103,0 @@ let channel = 'stable';

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc