@node-red/registry
Advanced tools
Comparing version 1.2.7 to 1.2.8
@@ -31,13 +31,15 @@ /** | ||
var validFiles = []; | ||
files.forEach(function(file) { | ||
var fullPath = fspath.join(path,file); | ||
var stats = fs.lstatSync(fullPath); | ||
if (stats.isDirectory()) { | ||
validFiles.push(file); | ||
promises.push(getFlowsFromPath(fullPath)); | ||
} else if (/\.json$/.test(file)){ | ||
validFiles.push(file); | ||
promises.push(Promise.resolve(file.split(".")[0])) | ||
} | ||
}) | ||
if (files) { | ||
files.forEach(function(file) { | ||
var fullPath = fspath.join(path,file); | ||
var stats = fs.lstatSync(fullPath); | ||
if (stats.isDirectory()) { | ||
validFiles.push(file); | ||
promises.push(getFlowsFromPath(fullPath)); | ||
} else if (/\.json$/.test(file)){ | ||
validFiles.push(file); | ||
promises.push(Promise.resolve(file.split(".")[0])) | ||
} | ||
}) | ||
} | ||
var i=0; | ||
@@ -44,0 +46,0 @@ Promise.all(promises).then(function(results) { |
{ | ||
"name": "@node-red/registry", | ||
"version": "1.2.7", | ||
"version": "1.2.8", | ||
"license": "Apache-2.0", | ||
@@ -19,3 +19,3 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@node-red/util": "1.2.7", | ||
"@node-red/util": "1.2.8", | ||
"semver": "6.3.0", | ||
@@ -22,0 +22,0 @@ "tar": "6.0.5", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
82245
2005
+ Added@node-red/util@1.2.8(transitive)
- Removed@node-red/util@1.2.7(transitive)
Updated@node-red/util@1.2.8