New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

authorize-headers.js

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

authorize-headers.js - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

test/e2e.js

5

package.json
{
"name": "authorize-headers.js",
"version": "1.0.3",
"version": "1.0.4",
"description": "Simple Express middleware to verify if a jsonwebtoken is valid",

@@ -18,3 +18,6 @@ "main": "authorize-headers.js",

"jsonwebtoken": "^7.2.1"
},
"devDependencies": {
"supertest": "^2.0.1"
}
}

6

test/index.js

@@ -18,6 +18,8 @@ var port = process.env.PORT || 3000;

response.status(200).send('Authorized token');
})
});
app.listen(port, function() {
console.log('Listening on port ' + port);
});
});
module.exports = app;
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