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

@smartface/smartface.updater

Package Overview
Dependencies
Maintainers
7
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@smartface/smartface.updater - npm Package Compare versions

Comparing version 6.3.11 to 6.3.12

10

6.3.0/index.js

@@ -17,2 +17,4 @@ define(function(require, exports, module) {

const THEMES_PATH = "/themes";
var next = require("../6.3.2/index.js").updateWorkspace;

@@ -40,4 +42,7 @@ module.exports = {

var tabManager = params.tabManager;
var callbackCount = 0;
function callback() {}
function callback() {
++callbackCount === 3 && next(params);
}

@@ -108,2 +113,5 @@ function npmInstall() {

}
else {
next();
}
});

@@ -110,0 +118,0 @@ }

11

6.3.2/index.js
define(function(require, exports, module) {
"use strict";
module.exports = {
updateWorkspace: function(params) {
updateWorkspace: function(params, done) {
var fs = params.fs;

@@ -9,2 +10,3 @@ var tabManager = params.tabManager;

var oldSettingsPath = "/scripts/.settings.json";
var callbackCount = 0;

@@ -15,7 +17,9 @@ const path = require("path");

function callback() {}
function callback() {
//++callbackCount === 2 && next(params);
}
function updateAppJs() {
fs.readFile(APPJS_PATH, function(error, data) {
data = data.replace(".settings.json", "settings.json");
data = data.replace(/\.settings.json/g, "settings.json");
fs.writeFile(APPJS_PATH, data, callback);

@@ -40,2 +44,3 @@ });

});
!exists && callback();
});

@@ -42,0 +47,0 @@

{
"name": "@smartface/smartface.updater",
"version": "6.3.11",
"version": "6.3.12",
"description": "SmartfaceCloud Updater plugin",

@@ -5,0 +5,0 @@ "main": "smf.updater.js",

@@ -77,3 +77,3 @@ define(function(require, exports, module) {

Object.keys(versions).map(function(version) {
for (var version in versions) {
var isOldWs = wsVersion ?

@@ -91,4 +91,5 @@ compareVersions(version, wsVersion) === 1 :

});
break;
}
});
}

@@ -95,0 +96,0 @@ smfSettings.setSmfSetting("config.version", ideVersion);

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