Skip to content
This repository was archived by the owner on Nov 26, 2025. It is now read-only.

Conversation

@premshree
Copy link

@premshree premshree commented Jul 12, 2017

Express 4 removes all built-in middleware (except express.static) from its core [1]. This patch updates supergrep to play well with it. I've updated the minimum Express requirement in package.json but I'm not sure how versioning is handled for releases.

I know this project is archived, but... ¯\(ツ)

[1] https://expressjs.com/en/guide/migrating-4.html#core-changes

app.use(express.logger());
app.use(express.bodyParser());
app.use(logger('dev'));
app.use(bodyParser.json());
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm unclear which specific bodyParser is being used and needed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant