To bump `pug` to latest >3.x.x

Open
#297 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript, pug
Domain
cli, security

Research direction

Start at bin/express-cli.js around line 307 and inspect where the pug dependency is declared. Update it from the vulnerable v2-beta range to the latest v3 release, then verify that the generator still runs and no longer installs the vulnerable version.

Written by the indexing model from the issue text.

Description

pug it's already in v3 since a few months ago. Some vulnerability issues are coming with the v2-beta version: https://github.com/oscard0m/express-boilerplate/pull/1

Is there any blocker to update this?
https://github.com/expressjs/generator/blob/d1f3fcc6ccc7ab8986fb3438c82ab1a1f20dc50d/bin/express-cli.js#L307

Dominant language
JavaScript
Stars
1.9k
Forks
548
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from expressjs/generator

All issues in expressjs/generator

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.