Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

otto-config

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

otto-config - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

11

lib/index.js

@@ -79,3 +79,3 @@

app.use(function (req, res, next) {
if (!options.powered_by) {
if (!config.powered_by) {
// Remove the Header

@@ -85,3 +85,3 @@ app.disable('x-powered-by');

} else {
res.setHeader('X-Powered-By', options.powered_by);
res.setHeader('X-Powered-By', config.powered_by);
}

@@ -119,2 +119,9 @@ next();

// Uptime Route (Debug)
if (config.uptime_route) {
app.get(config.uptime_route, function (req, res, next) {
res.status(200).send({ status : 'ok' });
});
}
return environment.NODE_ENV;

@@ -121,0 +128,0 @@

2

package.json
{
"name" : "otto-config",
"version" : "0.3.0",
"version" : "0.3.1",
"repository" : "https://github.com/ottojs/otto-config.git",

@@ -5,0 +5,0 @@ "main" : "./lib/index.js",

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