New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@block65/hello-http

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@block65/hello-http - npm Package Compare versions

Comparing version
1.0.1
to
1.0.2
+4
-2
dist/index.js

@@ -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}`));
{
"name": "@block65/hello-http",
"version": "1.0.1",
"version": "1.0.2",
"private": false,

@@ -5,0 +5,0 @@ "license": "UNLICENSED",