librariesio / bibliothecary

:notebook_with_decorative_cover: Libraries.io Package Manager Manifest Parsers
https://libraries.io/rubygems/bibliothecary
GNU Affero General Public License v3.0
90 stars 36 forks source link

NPM: omit "//" comment keys in package.json #555

Closed tiegz closed 2 years ago

tiegz commented 2 years ago

I stumbled across an obscure link to a mailing list that comments like this in package.json are valid, so we can skip them inside dependencies/etc when parsing deps.

  "//": [
    "XXX temporarily only run unit tests while v7 beta is in progress",
    "Remove the 'files' below once we're done porting old tests over"
  ],