New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@todesktop/runtime

Package Overview
Dependencies
Maintainers
3
Versions
113
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@todesktop/runtime - npm Package Compare versions

Comparing version 1.6.3-8 to 1.6.3-9

14

dist/autoUpdater/getReleaseStatus.js

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

const updateYamlPath = path.join(process.resourcesPath, "app-update.yml");
const updateYaml = yield readFlatYam(updateYamlPath);
const updateYaml = yield readFlatYaml(updateYamlPath);
const autoUpdateUrl = updateYaml.url || "";

@@ -69,3 +69,3 @@ const isDev = autoUpdateUrl.includes("todesktop-builds-dev");

}
function readFlatYam(yamlPath) {
function readFlatYaml(yamlPath) {
return __awaiter(this, void 0, void 0, function* () {

@@ -77,11 +77,11 @@ const result = {};

for (const line of lines) {
const [key, value] = line.split(":").map((s) => s.trim());
result[key] = value;
const [key, ...parts] = line.split(":").map((s) => s.trim());
result[key] = parts.join(":");
}
return result;
}
catch (e) {
throw new Error(`Failed to read or parse YAML file at ${yamlPath}: ${e}`);
catch (_a) {
// When can't read, return an empty object
}
return result;
});
}

@@ -1,1 +0,1 @@

export declare const CLIENT_VERSION = "1.6.3-8";
export declare const CLIENT_VERSION = "1.6.3-9";
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CLIENT_VERSION = void 0;
exports.CLIENT_VERSION = "1.6.3-8";
exports.CLIENT_VERSION = "1.6.3-9";

@@ -7,3 +7,3 @@ {

"name": "@todesktop/runtime",
"version": "1.6.3-8",
"version": "1.6.3-9",
"license": "MIT",

@@ -10,0 +10,0 @@ "author": "ToDesktop <hi@todesktop.com> (https://www.todesktop.com/)",

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