@porterjs/express
Advanced tools
+2
-2
| { | ||
| "name": "@porterjs/express", | ||
| "version": "2.0.1", | ||
| "version": "2.0.4", | ||
| "description": "porter express package", | ||
@@ -32,3 +32,3 @@ "repository": { | ||
| }, | ||
| "gitHead": "6e0bab7ec5606069e1d75c02f8ac86fc421b7e4f" | ||
| "gitHead": "b59eb970c0729b1834fa6c022611b325c56f7010" | ||
| } |
@@ -176,3 +176,3 @@ process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0"; | ||
| const { | ||
| productName, host, port, secure, openBrowser, compress, staticMap, staticQueryMap, proxy | ||
| productName, host, port, secure, openBrowser, compress, staticMap, staticQueryMap, proxy, serverPath | ||
| } = expressConfig; | ||
@@ -247,3 +247,3 @@ | ||
| theServer.keepAliveTimeout = 0; // FIX for Node 8 issue: https://github.com/glenjamin/webpack-hot-middleware/issues/210 | ||
| const url = `${secure ? 'https://' : 'http://'}${host}:${port}/`; | ||
| const url = `${secure ? 'https://' : 'http://'}${host}:${port}${serverPath}/`; | ||
| logger.log(`===> ${productName} on port ${port} in ${mode} mode. ${openBrowser ? 'Opening' : 'Open up'} ${url} in your browser.`); | ||
@@ -250,0 +250,0 @@ if (openBrowser) { |
Network access
Supply chain riskThis module accesses the network.
Found 2 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 2 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
10876
0.23%5
25%