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

@flowfuse/nr-launcher

Package Overview
Dependencies
Maintainers
0
Versions
214
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@flowfuse/nr-launcher - npm Package Compare versions

Comparing version 2.8.1-27ea96b-202409181458.0 to 2.8.1-44eb2a4-202409231501.0

12

lib/runtimeSettings.js

@@ -173,8 +173,12 @@ const path = require('path')

staticSetting.path = path.normalize(path.join(settings.storageDir, staticSetting.path))
if (staticSetting.path.startsWith(settings.storageDir)) {
httpStatic.push(staticSetting)
if (staticSetting.path.startsWith(settings.storageDir) && staticSetting.root) {
httpStatic.push('{' +
'path: ' + JSON.stringify(staticSetting.path) + ',' +
'root: ' + JSON.stringify(staticSetting.root) +
(authMiddlewareRequired ? ', middleware: flowforgeAuthMiddleware' : '') +
'}')
}
})
if (httpStatic.length > 0) {
projectSettings.httpStatic = httpStatic
projectSettings.httpStatic = '[' + httpStatic.join(', ') + ']'
}

@@ -379,3 +383,3 @@ }

${projectSettings.uibuilder ? 'uibuilder: ' + JSON.stringify(projectSettings.uibuilder) + ',' : ''}
${projectSettings.httpStatic ? 'httpStatic: ' + JSON.stringify(projectSettings.httpStatic) : ''}
${projectSettings.httpStatic ? 'httpStatic: ' + projectSettings.httpStatic : ''}
}

@@ -382,0 +386,0 @@ `

@@ -29,2 +29,14 @@ (function () {

}
const interceptLogOutClick = (url) => {
document.querySelector('#usermenu-item-logout')
.addEventListener('click', (e) => {
e.preventDefault()
e.stopPropagation()
if (context.shouldEmitInsteadOfRedirect) {
window.parent.postMessage({
type: 'logout'
}, '*')
}
})
}

@@ -106,3 +118,3 @@ function changeFavicon (src) {

}
interceptLogOutClick()
interceptLogoClick(projectURL)

@@ -109,0 +121,0 @@ })

{
"name": "@flowfuse/nr-launcher",
"version": "2.8.1-27ea96b-202409181458.0",
"version": "2.8.1-44eb2a4-202409231501.0",
"description": "FlowFuse Launcher for running Node-RED",

@@ -5,0 +5,0 @@ "exports": {

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