Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@node-red/runtime

Package Overview
Dependencies
Maintainers
2
Versions
113
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@node-red/runtime - npm Package Compare versions

Comparing version 0.20.0-beta.2 to 0.20.0-beta.3

7

lib/nodes/context/localfilesystem.js

@@ -212,2 +212,3 @@ /**

} else {
self._flushPendingWrites = function() { }
return fs.ensureDir(self.storageBaseDir);

@@ -223,2 +224,8 @@ }

this.flushInterval = 0;
self.writePromise = self.writePromise.then(function(){
return self._flushPendingWrites.call(self).catch(function(err) {
log.error(log._("context.localfilesystem.error-write",{message:err.toString()}));
});
});
}

@@ -225,0 +232,0 @@ return this.writePromise;

4

lib/nodes/index.js

@@ -154,4 +154,4 @@ /**

function installModule(module,version) {
var ex_module = registry.getModuleInfo(module);
var isUpgrade = !!ex_module;
var existingModule = registry.getModuleInfo(module);
var isUpgrade = !!existingModule;
return registry.installModule(module,version).then(function(info) {

@@ -158,0 +158,0 @@ if (isUpgrade) {

@@ -37,3 +37,3 @@ /**

var remaining = "";
var buffer = Buffer(length);
var buffer = Buffer.alloc(length);
while(read < size) {

@@ -67,3 +67,3 @@ read+=fs.readSync(fd,buffer,0,length);

var remaining = "";
var buffer = Buffer(length);
var buffer = Buffer.alloc(length);
while(read < size) {

@@ -70,0 +70,0 @@ var thisRead = fs.readSync(fd,buffer,0,length);

@@ -140,13 +140,17 @@ /**

// if it resolves to a dir - use it
var stat = fs.statSync(fspath.join(projectsDir,settings.flowFile));
if (stat && stat.isDirectory()) {
activeProject = settings.flowFile;
globalSettings.projects.activeProject = activeProject;
// Now check for a credentialSecret
if (settings.credentialSecret !== undefined) {
globalSettings.projects.projects[settings.flowFile] = {
credentialSecret: settings.credentialSecret
try {
var stat = fs.statSync(fspath.join(projectsDir,settings.flowFile));
if (stat && stat.isDirectory()) {
activeProject = settings.flowFile;
globalSettings.projects.activeProject = activeProject;
// Now check for a credentialSecret
if (settings.credentialSecret !== undefined) {
globalSettings.projects.projects[settings.flowFile] = {
credentialSecret: settings.credentialSecret
}
saveSettings = true;
}
saveSettings = true;
}
} catch(err) {
// Doesn't exist, handle as a flow file to be created
}

@@ -153,0 +157,0 @@ }

@@ -15,3 +15,4 @@ {

"disabled": "パレットエディタを無効化 : ユーザ設定",
"npm-not-found": "バレットエディタを無効化 : npmコマンドが見つかりません"
"npm-not-found": "パレットエディタを無効化 : npmコマンドが見つかりません",
"npm-too-old": "パレットエディタを無効化 : npmのバージョンが古過ぎます。npm 3.x以上が必要です"
},

@@ -18,0 +19,0 @@ "errors": "__count__ 個のノードの登録に失敗しました",

{
"name": "@node-red/runtime",
"version": "0.20.0-beta.2",
"version": "0.20.0-beta.3",
"license": "Apache-2.0",

@@ -19,4 +19,4 @@ "main": "./lib/index.js",

"dependencies": {
"@node-red/registry": "0.20.0-beta.2",
"@node-red/util": "0.20.0-beta.2",
"@node-red/registry": "0.20.0-beta.3",
"@node-red/util": "0.20.0-beta.3",
"clone": "2.1.2",

@@ -23,0 +23,0 @@ "express": "4.16.4",

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