From 9d5b741784ae326015c7aecba89e0e84e19998bf Mon Sep 17 00:00:00 2001 From: alevis Date: Tue, 28 May 2019 17:35:05 -0700 Subject: [PATCH 1/2] Update pug from 2.0.0-beta11 to 2.0.3 to fix vulnerability --- bin/express-cli.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/express-cli.js b/bin/express-cli.js index d0c80b7f..dd6f752e 100755 --- a/bin/express-cli.js +++ b/bin/express-cli.js @@ -304,7 +304,7 @@ function createApplication (name, dir) { break case 'pug': app.locals.view = { engine: 'pug' } - pkg.dependencies.pug = '2.0.0-beta11' + pkg.dependencies.pug = '2.0.3' break case 'twig': app.locals.view = { engine: 'twig' } From 022f8e6d2b4882ace889728d2c1f0ec62a256729 Mon Sep 17 00:00:00 2001 From: alevis Date: Thu, 30 Apr 2020 22:23:53 -0700 Subject: [PATCH 2/2] Update pug to 2.0.4 --- bin/express-cli.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/express-cli.js b/bin/express-cli.js index dd6f752e..2742d320 100755 --- a/bin/express-cli.js +++ b/bin/express-cli.js @@ -304,7 +304,7 @@ function createApplication (name, dir) { break case 'pug': app.locals.view = { engine: 'pug' } - pkg.dependencies.pug = '2.0.3' + pkg.dependencies.pug = '2.0.4' break case 'twig': app.locals.view = { engine: 'twig' }