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.4.5 to 6.4.6

20

6.4.4/index.js

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

var idMap = {};
var idMap = (function() {
var _idMap = {};
return {
get: function(key) {
return _idMap[key];
},
set: function(key, value) {
_idMap[key] = value;
}
};
})();

@@ -87,7 +97,11 @@ var listViewDefault = require("text!./listViewDefault.json");

var newID = guid();
component.id = idMap[oldID] = newID;
component.id = newID;
idMap.set(oldID, newID);
});
components.forEach(function(c) {
if (c.source && c.source.id) {
c.source.id = idMap[c.source.id];
// TODO: Remove
if (!idMap.get(c.source.id))
debugger;
c.source.id = idMap.get(c.source.id);
}

@@ -94,0 +108,0 @@ });

5

AutoUpdatePages.js

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

var path = require("path");
var versions = require("./versions");

@@ -83,2 +82,3 @@ /**

var self = this;
var versions = self.versions;
var pagePath = path.join(PGX_PATH, pageName);

@@ -144,3 +144,3 @@ self.fs.readFile(pagePath, function(err, content) {

function AutoUpdatePages(modules, editorVersion) {
function AutoUpdatePages(modules, versions, editorVersion) {
this.fs = modules.fs;

@@ -150,2 +150,3 @@ this.tabManager = modules.tabManager;

this.dotObject = modules.dotObject;
this.versions = versions;
this.editorVersion = editorVersion;

@@ -152,0 +153,0 @@ }

{
"name": "@smartface/smartface.updater",
"version": "6.4.5",
"version": "6.4.6",
"description": "SmartfaceCloud Updater plugin",

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

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

tabManager: tabManager
}, editorVersion);
}, versions, editorVersion);

@@ -53,0 +53,0 @@ autoUpdatePages.isUpdateRequired(function(shouldUpdate) {

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