@block65/hello-http
Advanced tools
+6
-1
@@ -5,2 +5,3 @@ #!/usr/bin/env node | ||
| const express = require("express"); | ||
| const https = require("https"); | ||
| const app = express(); | ||
@@ -24,2 +25,6 @@ const port = process.env.PORT || 3000; | ||
| app.get('/health', (req, res) => res.send({ status: 'OK' })); | ||
| app.listen(port, () => console.log(`Listening at http://localhost:${port}`)); | ||
| const httpsServer = https.createServer({ | ||
| cert: process.env.CERTIFICATE, | ||
| key: process.env.CERTIFICATE_PRIVATE_KEY, | ||
| }, app); | ||
| httpsServer.listen(port, () => console.log(`Listening at https://localhost:${port}`)); |
+1
-1
| { | ||
| "name": "@block65/hello-http", | ||
| "version": "1.0.2", | ||
| "version": "1.0.3", | ||
| "private": false, | ||
@@ -5,0 +5,0 @@ "license": "UNLICENSED", |
Explicitly Unlicensed Item
LicenseSomething was found which is explicitly marked as unlicensed.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 3 instances in 1 package
Unidentified License
LicenseSomething that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
Explicitly Unlicensed Item
LicenseSomething was found which is explicitly marked as unlicensed.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Unidentified License
LicenseSomething that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
2238
8.33%28
21.74%4
100%1
Infinity%