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/cli
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: libnpmpack-v5.0.0-pre.3
Choose a base ref
...
head repository: npm/cli
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: libnpmpack-v5.0.0-pre.4
Choose a head ref
  • 20 commits
  • 435 files changed
  • 6 contributors

Commits on Oct 17, 2022

  1. feat: do not alter file ownership

    BREAKING CHANGE: this package no longer attempts to change file ownership automatically
    nlf authored and lukekarrys committed Oct 17, 2022
    Configuration menu
    Copy the full SHA
    475e9b6 View commit details
    Browse the repository at this point in the history
  2. feat: do not alter file ownership

    BREAKING CHANGE: this package no longer attempts to change file ownership automatically
    nlf authored and lukekarrys committed Oct 17, 2022
    Configuration menu
    Copy the full SHA
    58065bc View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2022

  1. Configuration menu
    Copy the full SHA
    38dc7f6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    aa01072 View commit details
    Browse the repository at this point in the history
  3. fix: remove chownr and mkdirp-infer-owner

    closes npm/statusboard#540
    
    BREAKING CHANGE: npm will no longer attempt to modify ownership of files it creates
    nlf authored and lukekarrys committed Oct 18, 2022
    Configuration menu
    Copy the full SHA
    353b5bb View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2022

  1. feat: add --install-strategy=hoisted|nested|shallow, deprecate --glob…

    …al-style, --legacy-bundling (#5709)
    
    BREAKING CHANGE: deprecate boolean install flags in favor of `--install-strategy`
    * deprecate --global-style, --global now sets --install-strategy=shallow
    * deprecate --legacy-bundling, now sets --install-strategy=nested
    fritzy authored and lukekarrys committed Oct 19, 2022
    Configuration menu
    Copy the full SHA
    de2d33f View commit details
    Browse the repository at this point in the history
  2. fix: account for new npm-package-arg behavior

    `npm`, `npm@`, and `npm@*` are all now the same spec
    wraithgar authored and lukekarrys committed Oct 19, 2022
    Configuration menu
    Copy the full SHA
    1afe5ba View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2008ea6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5aa0c2d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e2e7622 View commit details
    Browse the repository at this point in the history
  6. feat: deprecated key, cert config options and updated registry sc…

    …oped auth docs
    fritzy authored and lukekarrys committed Oct 19, 2022
    Configuration menu
    Copy the full SHA
    f653785 View commit details
    Browse the repository at this point in the history
  7. chore: manually hoist latest versions of some of our deps

    I manually installed `@npmcli/fs` and `minipass-fetch` to the root of
    our the dependency tree so that the deduped version would now live at
    the root of `node_modules/` and any conflicting versions would be deduped
    inside of its nested parent `node_modules/` directory. Once this was
    locked in `package-lock.json` removing them from the `package.json` does
    not undo the hoisting and deduping.
    
    This has no effect on the resolved versions bundled with `npm` but it
    does make it easier to visually scan the output of `query` commands to
    be sure we are not inadvertently deduping dependencies in the future.
    lukekarrys committed Oct 19, 2022
    Configuration menu
    Copy the full SHA
    7b92544 View commit details
    Browse the repository at this point in the history
  8. feat: separate configs for --timing and --loglevel

    BREAKING CHANGE: `timing` and `loglevel` changes
    - `timing` has been removed as a value for `--loglevel`
    - `--timing` will show timing information regardless of
      `--loglevel`, except when `--silent`
    
    Closes npm/statusboard#455
    Closes npm/statusboard#454
    lukekarrys committed Oct 19, 2022
    Configuration menu
    Copy the full SHA
    332914b View commit details
    Browse the repository at this point in the history
  9. deps: [email protected]

    Previously, `npmlog` was attempting to enable the progress bar even when
    logs were paused. This displayed the most recent log (most often an
    error) for the rest of the process.
    
    Fixes #4527
    lukekarrys committed Oct 19, 2022
    Configuration menu
    Copy the full SHA
    88137a3 View commit details
    Browse the repository at this point in the history
  10. fix: npm hook ls duplicates hook name prefixes (#5295)

    * fix: duplicate hook names
    
    * fix: incorrect names in mocks
    gennadiygashev authored and lukekarrys committed Oct 19, 2022
    Configuration menu
    Copy the full SHA
    6ffa5b7 View commit details
    Browse the repository at this point in the history
  11. feat: refuse to set deprecated/invalid config (#5719)

    BREAKING CHANGE: `npm config set` will no longer accept deprecated or
    invalid config options.
    wraithgar authored and lukekarrys committed Oct 19, 2022
    Configuration menu
    Copy the full SHA
    be642c6 View commit details
    Browse the repository at this point in the history
  12. feat: output json formatted errors on stdout (#5716)

    This also adds a new output method `outputBuffer()` which will buffer
    all output until it is flushed in the exit handler. This allows the exit
    handler to catch any errors and append them to the output when in json
    mode. This was necessary to not introduce a regression in the case of
    #2150.
    
    BREAKING CHANGE: `npm` now outputs some json errors on stdout.
    Previously `npm` would output all json formatted errors on stderr,
    making it difficult to parse as the stderr stream usually has logs
    already written to it. In the future, `npm` will differentiate between
    errors and crashes. Errors, such as `E404` and `ERESOLVE`, will be
    handled and will continue to be output on stdout. In the case of a
    crash, `npm` will log the error as usual but will not attempt to display
    it as json, even in `--json` mode. Moving a case from the category of an
    error to a crash will not be considered a breaking change. For more
    information see npm/rfcs#482.
    
    Closes #2740
    Closes npm/statusboard#589
    lukekarrys committed Oct 19, 2022
    Configuration menu
    Copy the full SHA
    d3543e9 View commit details
    Browse the repository at this point in the history
  13. chore: remove legacy changelogs (#5723)

    Co-authored-by: Luke Karrys <[email protected]>
    wraithgar and lukekarrys committed Oct 19, 2022
    Configuration menu
    Copy the full SHA
    239ba8e View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    9e74d3e View commit details
    Browse the repository at this point in the history
  15. chore: release 9.0.0-pre.6

    github-actions[bot] authored and lukekarrys committed Oct 19, 2022
    Configuration menu
    Copy the full SHA
    2929899 View commit details
    Browse the repository at this point in the history
Loading