Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: npm/package-json
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.1.0
Choose a base ref
...
head repository: npm/package-json
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.1.1
Choose a head ref
  • 3 commits
  • 7 files changed
  • 2 contributors

Commits on Jun 6, 2023

  1. fix: make prepare and normalize have feature parity with legacy p…

    …ackages
    
    Due to npm/cli#6470, I added `read-package-json` and
    `read-package-json-fast` to this repo as dev deps to run the new tests
    from #31 against those packages. I found a few discrepancies which I
    fixed in this PR.
    
    Full list of changes are as follows:
    
    **`normalize` / `read-package-json-fast`**
    - convert `bundleDependencies: false` to `[]`
    
    **`prepare` / `read-package-json`**
    - ignore `directories.bin` if `bin` is present
    - walk up filesystem to look for git directory
    - log a warning for inaccessible bin entries but dont delete
    
    These changes will be tracked in npm/statusboard#487 to see if they
    should be made as breaking changes with npm 10.
    
    These legacy tests can be removed once we have decided to make these
    breaking changes.
    
    Ref: npm/cli#6470
    Fixes: #35
    lukekarrys committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    9e0859b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7fcfa5a View commit details
    Browse the repository at this point in the history
  3. chore: release 3.1.1

    github-actions[bot] authored and lukekarrys committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    1d474ef View commit details
    Browse the repository at this point in the history
Loading