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

express-generator

Package Overview
Dependencies
Maintainers
6
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-generator - npm Package Compare versions

Comparing version 4.10.0 to 4.11.0

templates/js/.npmignore

5

package.json
{
"name": "express-generator",
"description": "Express' application generator",
"version": "4.10.0",
"version": "4.11.0",
"author": "TJ Holowaychuk <tj@vision-media.ca>",

@@ -29,3 +29,4 @@ "contributors": [

"commander": "2.6.0",
"mkdirp": "0.5.0"
"mkdirp": "0.5.0",
"sorted-object": "1.0.0"
},

@@ -32,0 +33,0 @@ "main": "bin/express",

2

templates/js/routes/index.js

@@ -5,3 +5,3 @@ var express = require('express');

/* GET home page. */
router.get('/', function(req, res) {
router.get('/', function(req, res, next) {
res.render('index', { title: 'Express' });

@@ -8,0 +8,0 @@ });

@@ -5,3 +5,3 @@ var express = require('express');

/* GET users listing. */
router.get('/', function(req, res) {
router.get('/', function(req, res, next) {
res.send('respond with a resource');

@@ -8,0 +8,0 @@ });

Sorry, the diff of this file is not supported yet

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