Skip to content

Commit

Permalink
Jade --> Pug
Browse files Browse the repository at this point in the history
Completes conversion of Jade to Pug.  The version of Jade (3.1.0)
was years old and required dependencies with known security issues.
  • Loading branch information
jnfeinstein committed Jul 11, 2018
1 parent 4f4e7e5 commit a1dacc4
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 207 deletions.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ app.use(i18n.init);

// view engine setup
app.set('views', path.join(__dirname, 'views'));
app.set('view engine', 'jade');
app.set('view engine', 'pug');

// uncomment after placing your favicon in /public
//app.use(favicon(__dirname + '/public/favicon.ico'));
Expand Down
211 changes: 6 additions & 205 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"dotenv": "^5.0.1",
"express": "^4.13.0",
"i18n": "^0.8.3",
"jade": "^1.11.0",
"morgan": "^1.6.0",
"pug": "^2.0.0-rc.4",
"request": "^2.62.0",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit a1dacc4

Please sign in to comment.