@node-red/runtime
Advanced tools
Comparing version 0.20.3 to 0.20.4
@@ -79,2 +79,3 @@ /** | ||
function runGitCommandWithAuth(args,cwd,auth,emit) { | ||
log.trace("runGitCommandWithAuth "+JSON.stringify(auth).replace(/("pass.*?"\s*:\s*").+?"/g,'$1[hidden]"')); | ||
return authResponseServer(auth).then(function(rs) { | ||
@@ -97,2 +98,3 @@ var commandEnv = clone(process.env); | ||
function runGitCommandWithSSHCommand(args,cwd,auth,emit) { | ||
log.trace("runGitCommandWithSSHCommand "+JSON.stringify(auth).replace(/("pass.*?"\s*:\s*").+?"/g,'$1[hidden]"')); | ||
return sshResponseServer(auth).then(function(rs) { | ||
@@ -99,0 +101,0 @@ var commandEnv = clone(process.env); |
@@ -38,4 +38,4 @@ /** | ||
var username = '__default'; | ||
if ( userObj && userObj.name ) { | ||
username = userObj.name; | ||
if ( userObj && userObj.username ) { | ||
username = userObj.username; | ||
} | ||
@@ -296,3 +296,3 @@ return username; | ||
this.package['node-red'] = this.package['node-red'] || { settings: {}}; | ||
if (data.files.hasOwnProperty('package') && data.files.package !== fspath.join(this.paths.root,"package.json")) { | ||
if (data.files.hasOwnProperty('package') && (data.files.package !== fspath.join(this.paths.root,"package.json") || !this.paths['package.json'])) { | ||
// We have a package file. It could be one that doesn't exist yet, | ||
@@ -299,0 +299,0 @@ // or it does exist and we need to load it. |
{ | ||
"name": "@node-red/runtime", | ||
"version": "0.20.3", | ||
"version": "0.20.4", | ||
"license": "Apache-2.0", | ||
@@ -19,4 +19,4 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@node-red/registry": "0.20.3", | ||
"@node-red/util": "0.20.3", | ||
"@node-red/registry": "0.20.4", | ||
"@node-red/util": "0.20.4", | ||
"clone": "2.1.2", | ||
@@ -23,0 +23,0 @@ "express": "4.16.4", |
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
440683
10645
+ Added@babel/runtime@7.26.0(transitive)
+ Added@node-red/registry@0.20.4(transitive)
+ Added@node-red/util@0.20.4(transitive)
+ Addedcommander@2.19.0(transitive)
+ Addedi18next@15.0.9(transitive)
+ Addedregenerator-runtime@0.14.1(transitive)
+ Addedsemver@6.0.0(transitive)
+ Addeduglify-js@3.5.3(transitive)
- Removed@node-red/registry@0.20.3(transitive)
- Removed@node-red/util@0.20.3(transitive)
- Removedcommander@2.17.1(transitive)
- Removedi18next@14.1.1(transitive)
- Removedsemver@5.6.0(transitive)
- Removeduglify-js@3.4.9(transitive)
Updated@node-red/registry@0.20.4
Updated@node-red/util@0.20.4