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

normalize #30

Closed
wants to merge 2 commits into from
Closed

normalize #30

wants to merge 2 commits into from

Commits on May 9, 2023

  1. Configuration menu
    Copy the full SHA
    cbb92b1 View commit details
    Browse the repository at this point in the history
  2. feat: add normalize function

    This brings in parity with `read-package-json-fast`, which is a
    normalization method intended for parsing package.json files inside of
    an existing node_modules.
    
    Tests were copied straight from that package to ensure functionality was
    compatible.  The only tests that weren't copied were the ones testing
    down into the bin normalization. That is delegated to a subdependency so
    these tests only ensure that *some* normalization is happening.
    Eventually as we consolidate our package.json reading libs, bin
    normalization can live in this package and be tested here.
    
    Finally, the errors that this package was throwing now include the
    metadata from the original errors (such as code) instead of making new
    errors with no context.
    wraithgar committed May 9, 2023
    Configuration menu
    Copy the full SHA
    4bba343 View commit details
    Browse the repository at this point in the history