Huge News!Announcing our $40M Series B led by Abstract Ventures.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-13 to 1.6.3-14

17

dist/autoUpdater/getReleaseStatus.js

@@ -22,7 +22,14 @@ "use strict";

const buildId = (0, getPackageJson_1.default)().tdBuildId;
const updateYamlPath = path.join(process.resourcesPath, "app-update.yml");
const updateYaml = yield readFlatYaml(updateYamlPath);
const autoUpdateUrl = updateYaml.url || "";
const isDev = autoUpdateUrl.includes("todesktop-builds-dev.") ||
autoUpdateUrl.includes("dl-dev.");
let isDev;
try {
const updateYamlPath = path.join(process.resourcesPath, "app-update.yml");
const updateYaml = yield readFlatYaml(updateYamlPath);
const autoUpdateUrl = updateYaml.url || "";
isDev =
autoUpdateUrl.includes("todesktop-builds-dev.") ||
autoUpdateUrl.includes("dl-dev.");
}
catch (e) {
isDev = false;
}
if (isDev) {

@@ -29,0 +36,0 @@ logger.debug("Running in dev mode, use api-dev server");

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

function callApi(event, data = {}) {
sendHttpRequest(config.apiUrl, Object.assign({ event }, data)).catch((e) => {
sendHttpRequest(config.apiUrl, Object.assign({ event, pid: process.pid }, data)).catch((e) => {
console.error("Smoke Test API:", e);

@@ -89,0 +89,0 @@ });

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

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

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

"name": "@todesktop/runtime",
"version": "1.6.3-13",
"version": "1.6.3-14",
"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