normalize-package-data icon indicating copy to clipboard operation
normalize-package-data copied to clipboard

[QUESTION] Remove unkown fields?

Open myrne opened this issue 11 years ago • 1 comments

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 avatar Apr 08 '13 17:04 myrne

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.

myrne avatar Apr 08 '13 18:04 myrne