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

roosevelt

Package Overview
Dependencies
Maintainers
1
Versions
257
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

roosevelt - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

2

package.json

@@ -5,3 +5,3 @@ {

"author": "Eric Newport <kethinov@gmail.com>",
"version": "0.5.0",
"version": "0.5.1",
"homepage": "https://github.com/kethinov/roosevelt",

@@ -8,0 +8,0 @@ "license": "Creative Commons Attribution 4.0 International License",

module.exports = function(app) {
app.route('*').all(function(req, res) {
var model = require('global')(req, res);
var model = require('models/global')(req, res);
model.content.pageTitle = '{content.appTitle} - 404 not found';

@@ -5,0 +5,0 @@ model.host = req.host;

module.exports = function(app) {
app.route('/').get(function(req, res) {
var model = require('global')(req, res);
var model = require('models/global')(req, res);
model.content.hello = 'Hi! I\'m a variable trickling down through the MVC structure!';

@@ -5,0 +5,0 @@ model.content.picLabel = 'Here\'s a silly picture of Teddy Roosevelt:';

Sorry, the diff of this file is not supported yet

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