@block65/hello-http
Advanced tools
+4
-2
@@ -12,3 +12,3 @@ #!/usr/bin/env node | ||
| app.set('etag', false); | ||
| app.get('/', (req, res) => { | ||
| app.use('/', (req, res, next) => { | ||
| res.set({ | ||
@@ -20,4 +20,6 @@ 'content-security-policy': "default-src 'none'; frame-ancestors 'none'", | ||
| }); | ||
| return res.send({ greet: 'Hola, Mundo!' }); | ||
| next(); | ||
| }); | ||
| app.get('/', (req, res) => res.send({ greet: 'Hola, Mundo!' })); | ||
| app.get('/health', (req, res) => res.send({ status: 'OK' })); | ||
| app.listen(port, () => console.log(`Listening at http://localhost:${port}`)); |
+1
-1
| { | ||
| "name": "@block65/hello-http", | ||
| "version": "1.0.1", | ||
| "version": "1.0.2", | ||
| "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
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
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
2066
4.93%23
9.52%