Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QUESTION] Remove unkown fields? #5

Open
myrne opened this issue Apr 8, 2013 · 1 comment
Open

[QUESTION] Remove unkown fields? #5

myrne opened this issue Apr 8, 2013 · 1 comment
Labels

Comments

@myrne
Copy link
Contributor

myrne commented Apr 8, 2013

Currently, the code corrects known fields, but leaves unknown fields alone. Is it a goal to give people the ability to put arbitrary fields in package.json?

@myrne
Copy link
Contributor Author

myrne commented Apr 8, 2013

Another option is to warn about any unknown field.
An unknown field could indicate a typo that is not hard-coded into the module.

Or both warn and remove.

@darcyclarke darcyclarke changed the title Remove unkown fields? [QUESTION] Remove unkown fields? Jul 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants