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

Update your repo #1

Open
wants to merge 2,412 commits into
base: latest
Choose a base branch
from
Open

Update your repo #1

wants to merge 2,412 commits into from
This pull request is big! We’re only showing the most recent 250 commits.

Commits on May 2, 2024

  1. deps: npm-profile@10.0.0

    lukekarrys committed May 2, 2024
    Configuration menu
    Copy the full SHA
    4cbc2d4 View commit details
    Browse the repository at this point in the history
  2. fix: run input.start around help and openining urls

    This also refactors auth and prompt related files to use
    promises and new npm-profile behavior
    lukekarrys committed May 2, 2024
    Configuration menu
    Copy the full SHA
    261ea19 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    63ef498 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8ded848 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2024

  1. Configuration menu
    Copy the full SHA
    2b7ec54 View commit details
    Browse the repository at this point in the history
  2. chore: template-oss-apply

    lukekarrys committed May 3, 2024
    Configuration menu
    Copy the full SHA
    9c4d3c4 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2024

  1. Configuration menu
    Copy the full SHA
    e39d422 View commit details
    Browse the repository at this point in the history

Commits on May 6, 2024

  1. fix: log if npm deprecate does not match any version (#7474)

    If the package specification does not match any
    existing version, a warning message is added to the log.
    
    ## References
    
    Ref #7472
    Closes #7180
    mbtools authored May 6, 2024
    Configuration menu
    Copy the full SHA
    ca1a68d View commit details
    Browse the repository at this point in the history
  2. feat: create exit handler class (#7442)

    This PR refactors `exit-handler.js` to be a class so that it can more
    easily track its internal state. It uses this state to now fully
    distinguish between 3 states: npm never being set, npm not loaded, and
    exit handler never called. There are some new error messages shown via
    console.error if we know we are in an unexpected state.
    
    This also continues the refactoring started in #7415 to separate
    concerns between `npm` and `CLI`. Identifying the error message and
    logging it have been move to `npm` but catching that error and setting
    the `process.exitCode` are still handled in `exit-handler.js` and
    `cli/entry.js`.
    
    It also moves `command.cmdExec` to `npm` since it never called from
    within any `command` instance. This lets `npm` only ever call
    `command.exec` or `command.workspaceExec` now.
    lukekarrys authored May 6, 2024
    Configuration menu
    Copy the full SHA
    1e375c1 View commit details
    Browse the repository at this point in the history
  3. fix: dont omit license from stored manifests (#7475)

    This has the effect of adding licenses back into the lockfiles.
    Based on code in shrinkwrap.js and inventory.js, it appears that
    lockfiles are supposed to store the license. It's likely that in
    practice this behavior has not been consistent due to fetching
    of minifed manifests and packuments.
    
    I also attempted to remove the license code from shrinkwrap but
    that caused many more tests to break. Plus I believe this is the
    intended behavior, to have licenses in lockfiles based on bug
    reports like #7384
    lukekarrys authored May 6, 2024
    Configuration menu
    Copy the full SHA
    effe910 View commit details
    Browse the repository at this point in the history

Commits on May 7, 2024

  1. deps: @npmcli/git@5.0.7

    lukekarrys committed May 7, 2024
    Configuration menu
    Copy the full SHA
    6dfaebb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8234412 View commit details
    Browse the repository at this point in the history
  3. deps: bin-links@4.0.4

    lukekarrys committed May 7, 2024
    Configuration menu
    Copy the full SHA
    43331e4 View commit details
    Browse the repository at this point in the history
  4. deps: cacache@18.0.3

    lukekarrys committed May 7, 2024
    Configuration menu
    Copy the full SHA
    f94d672 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    714e3e1 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4c5bf77 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    18c3b40 View commit details
    Browse the repository at this point in the history
  8. deps: nopt@7.2.1

    lukekarrys committed May 7, 2024
    Configuration menu
    Copy the full SHA
    e71f541 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    310a7a5 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    e2fdb65 View commit details
    Browse the repository at this point in the history
  11. deps: pacote@18.0.5

    lukekarrys committed May 7, 2024
    Configuration menu
    Copy the full SHA
    a9a6dcd View commit details
    Browse the repository at this point in the history
  12. deps: ssri@10.0.6

    lukekarrys committed May 7, 2024
    Configuration menu
    Copy the full SHA
    8b20f8c View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    7e15b6d View commit details
    Browse the repository at this point in the history
  14. deps: ignore-walk@6.0.5

    lukekarrys committed May 7, 2024
    Configuration menu
    Copy the full SHA
    552113e View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    d440011 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    18e5312 View commit details
    Browse the repository at this point in the history
  17. deps: minipass@7.1.0

    lukekarrys committed May 7, 2024
    Configuration menu
    Copy the full SHA
    dade2c8 View commit details
    Browse the repository at this point in the history
  18. deps: cmd-shim@6.0.3

    lukekarrys committed May 7, 2024
    Configuration menu
    Copy the full SHA
    419f9b9 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    ff6c5d1 View commit details
    Browse the repository at this point in the history
  20. deps: npm-bundled@3.0.1

    lukekarrys committed May 7, 2024
    Configuration menu
    Copy the full SHA
    2146e1f View commit details
    Browse the repository at this point in the history
  21. deps: promzard@1.0.2

    lukekarrys committed May 7, 2024
    Configuration menu
    Copy the full SHA
    26fefb8 View commit details
    Browse the repository at this point in the history
  22. deps: add lru-cache

    wraithgar committed May 7, 2024
    Configuration menu
    Copy the full SHA
    5b2317b View commit details
    Browse the repository at this point in the history
  23. fix: limit packument cache size based on heap size

    This adds a new packument cache that is an instance of `lru-cache`.
    It uses that package's ability to limit content based on size, and has
    some multipliers based on research to mostly correctly approximate the
    correlation between packument size and its memory usage.  It also limits
    the total size of the cache based on the actual heap available.
    
    Closes: #7276
    Related: npm/pacote#369
    wraithgar committed May 7, 2024
    Configuration menu
    Copy the full SHA
    722c0fa View commit details
    Browse the repository at this point in the history
  24. docs: add npm version to every local help output (#7479)

    Every page of npm help <x> display the local npm version.
    
    This pull request helps the local reader of the documentation to know
    which version of the documentation they are reading.
    
    ## References
    Closes: #7110
    klm-turing authored May 7, 2024
    Configuration menu
    Copy the full SHA
    268303c View commit details
    Browse the repository at this point in the history

Commits on May 8, 2024

  1. deps: semver@7.6.1

    lukekarrys authored and wraithgar committed May 8, 2024
    Configuration menu
    Copy the full SHA
    8d161a4 View commit details
    Browse the repository at this point in the history
  2. deps: pacote@18.0.6

    lukekarrys authored and wraithgar committed May 8, 2024
    Configuration menu
    Copy the full SHA
    ea0b07d View commit details
    Browse the repository at this point in the history
  3. chore: remove extra quotes from benchmark event_type (#7484)

    This will make them actually run again
    lukekarrys authored May 8, 2024
    Configuration menu
    Copy the full SHA
    1524cfd View commit details
    Browse the repository at this point in the history

Commits on May 9, 2024

  1. Configuration menu
    Copy the full SHA
    e9fdc9a View commit details
    Browse the repository at this point in the history
  2. chore: disable progress on shellout exit tests

    These tests assert what happens if a shellout command like exec throws unexpected errors by checking what is written to stderr. Progress also gets written to stderr but is not always deterministic due to the nature of calling it via setInterval. So this disables progress for these tests so the stderr assertions can be relied on to be the same.
    wraithgar committed May 9, 2024
    Configuration menu
    Copy the full SHA
    2ec2e75 View commit details
    Browse the repository at this point in the history
  3. chore: disable color in config tests

    The logging output was making bare string assertions fail
    wraithgar committed May 9, 2024
    Configuration menu
    Copy the full SHA
    67ebb66 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d3b9587 View commit details
    Browse the repository at this point in the history
  5. fix: avoid caching manifests as promises

    Originally this was in #7468:
    
    We backed off of it while we were rebuilding pacote's packument cache.
    
    Now that that's done we can assess this in isolation.  I think it makes
    sense.  The packument is cached here, all this is awaiting is
    normalization and ssri calculation.
    
    The only place this potentially does anything is in the premature
    loading of manifests in `#buildDepStep` when looking at problem edges.
    We can just wait till we need them and not throw a ton of requests in
    parallel before we actually need them.
    
    Removing the premature loading in problem edges will have to be a
    separate effort, as it is somehow load bearing
    wraithgar committed May 9, 2024
    Configuration menu
    Copy the full SHA
    56a27fa View commit details
    Browse the repository at this point in the history
  6. deps: path-scurry@1.11.0

    wraithgar committed May 9, 2024
    Configuration menu
    Copy the full SHA
    58f773c View commit details
    Browse the repository at this point in the history
  7. deps: glob@10.3.14

    wraithgar committed May 9, 2024
    Configuration menu
    Copy the full SHA
    f078c82 View commit details
    Browse the repository at this point in the history
  8. fix: dont write log file for completion commands (#7497)

    Since npm completion is implemented by calling npm completion -- arg1
    this will write a logfile for that command. I noticed this as I was trying
    to look through my logs for a recent command and found that it had been
    removed since I used enough tab completions to fill logs-max.
    lukekarrys authored May 9, 2024
    Configuration menu
    Copy the full SHA
    6d456bb View commit details
    Browse the repository at this point in the history
  9. docs: npm help json/global command on windows (#7496)

    On Windows, `npm help json` and `npm help global` attempt to display
    `npm-json.html` and `npm-global.html` files which leads to an error
    because these files have not been generated.
    
    This pull request duplicates the `package-json.md` and `folders.md`
    files in order to generate these files and make the above-mentioned
    commands functional.
    
    Closes: #7374
    
    Co-authored-by: Luke Karrys <luke@lukekarrys.com>
    klm-turing and lukekarrys authored May 9, 2024
    Configuration menu
    Copy the full SHA
    c3d2819 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2024

  1. Configuration menu
    Copy the full SHA
    e290352 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7c7fba4 View commit details
    Browse the repository at this point in the history
  3. docs: remove obsolete removal using make uninstall (#7502)

    - make uninstall is no longer possible using current source code
    - Fixes #7488
    
    Signed-off-by: Avinal Kumar <avinal.xlvii@gmail.com>
    
    
    
    
    ## References
    
    - Refer https://docs.npmjs.com/cli/v7/using-npm/removal#synopsis
    
    Signed-off-by: Avinal Kumar <avinal.xlvii@gmail.com>
    avinal authored May 10, 2024
    Configuration menu
    Copy the full SHA
    bdd2aae View commit details
    Browse the repository at this point in the history
  4. fix(config): be more aggressive about hiding protected values (#7504)

    Err on the side of not displaying things even if they're not valid
    config
    wraithgar authored May 10, 2024
    Configuration menu
    Copy the full SHA
    db62910 View commit details
    Browse the repository at this point in the history
  5. deps: semver@7.6.2

    lukekarrys authored and wraithgar committed May 10, 2024
    Configuration menu
    Copy the full SHA
    4e53e33 View commit details
    Browse the repository at this point in the history
  6. deps: @npmcli/fs@3.1.1

    lukekarrys authored and wraithgar committed May 10, 2024
    Configuration menu
    Copy the full SHA
    fd42986 View commit details
    Browse the repository at this point in the history
  7. deps: @sigstore/tuf@2.3.3

    lukekarrys authored and wraithgar committed May 10, 2024
    Configuration menu
    Copy the full SHA
    9064ffc View commit details
    Browse the repository at this point in the history
  8. deps: minipass@7.1.1

    lukekarrys authored and wraithgar committed May 10, 2024
    Configuration menu
    Copy the full SHA
    c2b28f9 View commit details
    Browse the repository at this point in the history
  9. deps: @sigstore/sign@2.3.1

    lukekarrys authored and wraithgar committed May 10, 2024
    Configuration menu
    Copy the full SHA
    e189873 View commit details
    Browse the repository at this point in the history
  10. chore: create single bug report issue template (#7505)

    This removes the v9 bug report template and changes the v10 template to
    specifically mention that it is for bugs for the latest release line.
    
    Previously we would bump these issue templates whenever we did a major
    release. I think it makes more sense to have only a single bug template
    most of the time and to add templates for old versions when we are
    offering bug fix support for them. Currently we don't offer bug fixes
    for the v9 release line.
    
    It also removes the `Release 10.x` label which I find to mostly add
    noise.
    I think it would be better to have no default release line label, and
    and instead manually add this label when we identify a bug that only
    affects a specific release line that we intend to fix. Or if we are
    supporting multiple versions then we can add the label to the bug
    template
    for old versions.
    lukekarrys authored May 10, 2024
    Configuration menu
    Copy the full SHA
    8add914 View commit details
    Browse the repository at this point in the history

Commits on May 11, 2024

  1. Configuration menu
    Copy the full SHA
    6f64148 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e40454c View commit details
    Browse the repository at this point in the history

Commits on May 13, 2024

  1. fix(refactor): create new error output primitives (#7515)

    These will be used to generate normal and json error messages in the
    same format from both commands and the exit handler.
    
    This also does a few others things:
    - makes `did-you-mean` take a package so it can be sync and called more
    easily from the error handlers
    - standardize all error messages with 2 space indentation to match the
    rest of npm
    lukekarrys authored May 13, 2024
    Configuration menu
    Copy the full SHA
    b54cdb8 View commit details
    Browse the repository at this point in the history

Commits on May 14, 2024

  1. docs: suggest correct bin entry (#7518)

    Our existing example present in npm doc was giving warning, so just
    modified that so that we will not get any warning .
    
    Closes: #7302
    Santoshraj2 authored May 14, 2024
    Configuration menu
    Copy the full SHA
    b2ce025 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    76aef74 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dcfc3de View commit details
    Browse the repository at this point in the history
  4. deps: glob@10.3.15

    wraithgar committed May 14, 2024
    Configuration menu
    Copy the full SHA
    cb85973 View commit details
    Browse the repository at this point in the history
  5. deps: path-scurry@1.11.1

    wraithgar committed May 14, 2024
    Configuration menu
    Copy the full SHA
    fec3c94 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    898bcfd View commit details
    Browse the repository at this point in the history
  7. deps: @tufjs/repo-mock@2.0.1

    Dev dep but it fixed the hoisting of @tufjs/models
    wraithgar committed May 14, 2024
    Configuration menu
    Copy the full SHA
    1cdc662 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    10256e8 View commit details
    Browse the repository at this point in the history
  9. docs : suggest correct entry to bin (#7524)

    Our existing example present in npm doc was giving warning.
    
    issue: #7302
    Santoshraj2 authored May 14, 2024
    Configuration menu
    Copy the full SHA
    aa5d7b1 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    badeac2 View commit details
    Browse the repository at this point in the history

Commits on May 15, 2024

  1. fix: add first param titles to logs where missing (#7533)

    The first argument to all `log.method()` calls gets formatted
    differently with a color. So calls to these should always be a short
    descriptive title or an empty string.
    lukekarrys authored May 15, 2024
    Configuration menu
    Copy the full SHA
    12f103c View commit details
    Browse the repository at this point in the history
  2. fix(refactor): use output buffer and error for more commands (#7513)

    This changes a bunch of commands to use the new `output.buffer`
    capabilities from `proc-log` as well as the `outputError` helper from
    `utils/output-error.js`.
    
    This also adds a few comments about future display related breaking
    changes that npm should make.
    
    There is some new behavior around `run-script` and how it outputs
    errors. It now displays the error for each workspace similar to how that
    error would get displayed when the process exits.
    lukekarrys authored May 15, 2024
    Configuration menu
    Copy the full SHA
    d5c3289 View commit details
    Browse the repository at this point in the history
  3. chore: release 10.8.0

    github-actions[bot] authored and lukekarrys committed May 15, 2024
    Configuration menu
    Copy the full SHA
    328f63c View commit details
    Browse the repository at this point in the history

Commits on May 16, 2024

  1. fix(view): dont immediately exit on first workspace 404 (#7508)

    Fixes: #5444
    
    This PR will continue running through all workspaces for `npm view` even
    when a workspace encounters an `E404` error. This usually happens when
    you run `npm view -ws` but have private workspaces. A future iteration
    could log a different message if an `E404` is encountered on a private
    workspace, but for this PR I wanted to keep it generic since there are a
    number of reasons a request for a package manifest could 404.
    lukekarrys authored May 16, 2024
    Configuration menu
    Copy the full SHA
    ef4c975 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3cefdf6 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2024

  1. fix: pass strings to JSON.stringify in --json mode (#7540)

    In refactoring this behavior previously plain strings were no longer
    being passed through JSON.stringify even in json mode. This commit
    changes that to the previous behavior which fixes the bug in `npm view`.
    This also required changing the behavior of `npm pkg` which relied on
    this.
    
    Fixes #7537
    lukekarrys authored May 17, 2024
    Configuration menu
    Copy the full SHA
    4dfc7d2 View commit details
    Browse the repository at this point in the history
  2. fix: remove json.stringify from all commands (#7541)

    This converts all remaining commands/utils to use the display layer for
    formatting their json output
    lukekarrys authored May 17, 2024
    Configuration menu
    Copy the full SHA
    61d5771 View commit details
    Browse the repository at this point in the history
  3. fix: refactor ls to use output.buffer for json (#7542)

    This has no functional difference but matches where
    we landed for the rest of the commands.
    lukekarrys authored May 17, 2024
    Configuration menu
    Copy the full SHA
    53cda32 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b1db070 View commit details
    Browse the repository at this point in the history

Commits on May 20, 2024

  1. Configuration menu
    Copy the full SHA
    9e6686b View commit details
    Browse the repository at this point in the history

Commits on May 22, 2024

  1. fix(cache): add both full and minified packument to cache (#7516)

    This will fix the `npm cache add` to cache package with same header as
    it's used in `npm install` by adding extra manifest call with
    `fullMetadata: true` while caching to match behaviour with install
    command which internally request manifest with fullMetadata.
    
    ## References
    Closes #7465
    milaninfy authored May 22, 2024
    Configuration menu
    Copy the full SHA
    9122fb6 View commit details
    Browse the repository at this point in the history

Commits on May 23, 2024

  1. Configuration menu
    Copy the full SHA
    7d89b55 View commit details
    Browse the repository at this point in the history

Commits on May 28, 2024

  1. docs: update publish docs: dist-tag + publish case (#7560)

    <!-- What / Why -->
    <!-- Describe the request in detail. What it does and why it's being
    changed. -->
    Updates `publish` command docs:
     - Refers to `npm tag` which is now `npm dist-tag`
     - Add docs specific for `npm publish --tag`
    
    ## References
    <!-- Examples:
      Related to #0
      Depends on #0
      Blocked by #0
      Fixes #0
      Closes #0
    -->
    davidlj95 authored May 28, 2024
    Configuration menu
    Copy the full SHA
    fd6479f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2d1d8d0 View commit details
    Browse the repository at this point in the history

Commits on May 29, 2024

  1. fix(utils/tar): index access while match is null (#7555) (#7556)

    Details explained in issue #7555
    
    Closes #7555
    NormanPerrin authored May 29, 2024
    Configuration menu
    Copy the full SHA
    8f94ae8 View commit details
    Browse the repository at this point in the history
  2. fix(publish): skip workspace packages marked private on publish (#7564)

    `npm publish --workspaces` will skip workspace packages marked as
    private in package.json.
    Currently it's skipping those packages only when you have configured
    auth for those packages, it would error out with `ENEEDAUTH` if it
    doesn't find the valid auth information.
    
    this fix checks for the private property before checking for auth for
    the packages that will essentially not going to get published.
    
    Fixes #7199
    milaninfy authored May 29, 2024
    Configuration menu
    Copy the full SHA
    e4c7a41 View commit details
    Browse the repository at this point in the history
  3. deps: ini@4.1.3

    wraithgar committed May 29, 2024
    Configuration menu
    Copy the full SHA
    6278fe4 View commit details
    Browse the repository at this point in the history
  4. deps: is-cidr@5.1.0

    wraithgar committed May 29, 2024
    Configuration menu
    Copy the full SHA
    2508a83 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5c6759d View commit details
    Browse the repository at this point in the history
  6. deps: glob@10.4.1

    wraithgar committed May 29, 2024
    Configuration menu
    Copy the full SHA
    18b42a4 View commit details
    Browse the repository at this point in the history
  7. deps: @sigstore/tuf@2.3.4

    wraithgar committed May 29, 2024
    Configuration menu
    Copy the full SHA
    41291ba View commit details
    Browse the repository at this point in the history
  8. deps: sigstore@2.3.1

    wraithgar committed May 29, 2024
    Configuration menu
    Copy the full SHA
    83fed2e View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    447a8d7 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    6574dc9 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    4b57b95 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    e3f0fd4 View commit details
    Browse the repository at this point in the history
  13. chore: fix snapshots for updated @npmcli/package-json

    Invalid scripts warnings are gone that should not be there
    wraithgar committed May 29, 2024
    Configuration menu
    Copy the full SHA
    2d84091 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    4a36d78 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    6b55646 View commit details
    Browse the repository at this point in the history
  16. chore: release 10.8.1

    github-actions[bot] authored and wraithgar committed May 29, 2024
    Configuration menu
    Copy the full SHA
    6109960 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2024

  1. Configuration menu
    Copy the full SHA
    4ef4830 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    04d6910 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d185c9b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    15be6dd View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    92e71e6 View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2024

  1. docs: Improve manpage section for package.json funding properties (

    …#7582)
    
    Small doc fix. Reviewing the section on `funding` on docs.npmjs.com, I
    noticed some odd code-block formatting, as well as some opportunities to
    clarify.
    
    The current weirdness:
    
    
    ![2024-06-02-214100_3840x2160_scrot](https://github.com/npm/cli/assets/205760/5f0a436f-5812-4a97-b4b9-b4183219d4dd)
    
    Glad to see string-or-object worked out.
    kemitchell authored Jun 3, 2024
    Configuration menu
    Copy the full SHA
    93883bb View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2024

  1. fix(exec): npx to run specified version if multiple version exist glo…

    …bally (#7587)
    
    When multiple version of the same package is exist globally either at
    top level or at any level as a sub dependency, even though the version
    specified does not exist at top level it was running top level bin since
    it matches the bin name.
    This fixes checks for depth of the found node along with already
    existing specs checks.
    
    Fixes: #7486
    milaninfy authored Jun 14, 2024
    Configuration menu
    Copy the full SHA
    71c6848 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2273183 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2024

  1. docs: use git+https in package.com url examples (#7615)

    - closes #7614
    
    ## Issue
    
    Examples in the
    [repository](https://docs.npmjs.com/cli/v10/configuring-npm/package-json#repository)
    section of the [npm CI > Configuring npm >
    package.json](https://docs.npmjs.com/cli/v10/configuring-npm/package-json)
    reference page use the protocol `https`. The examples are:
    
    ```json
    "url": "https://github.com/npm/cli.git"
    ```
    ```json
    "url": "https://github.com/facebook/react.git"
    ```
    
    Executing `npm pkg fix` in a repo with a `url` definition and `protocol`
    using `https` normalizes the protocol to `git+https`.
    
    Examples should be aligned with what `npm pkg fix` considers correct and
    should also be aligned to the list of valid protocols in the [Git URLs
    as
    Dependencies](https://docs.npmjs.com/cli/v10/configuring-npm/package-json#git-urls-as-dependencies)
    section, which states:
    
    > `<protocol>` is one of `git`, `git+ssh`, `git+http`, `git+https`, or
    `git+file`.
    
    ## Change
    
    1. `npm/cli.git`
        Change to
        ```json
        "url": "git+https://github.com/npm/cli.git"
        ```
    2. `facebook/react.git`
    Since the source example of
    https://github.com/facebook/react/blob/main/packages/react-dom/package.json
    does not use the correct `git+https` protocol, use instead
        ```json
        "url": "git+https://github.com/npm/cli.git",
        "directory": "workspaces/libnpmpublish"
        ```
    MikeMcC399 authored Jun 27, 2024
    Configuration menu
    Copy the full SHA
    55639ef View commit details
    Browse the repository at this point in the history
  2. fix(arborist): condition to include name field in package-lock fixed (#…

    …7602)
    
    When metadata is committed for the first time when there is no
    package-lock, when target node has the same name field value as target
    package name and link node also share the same name field, name field is
    omitted from lock file, in subsequent times when there is already a lock
    file, it reads target node with name field derived from realpath value
    of the node and included in lock file. this creates mismatch of lock
    file between installs.
    
    This PR adds additional condition to check if name derived from realpath
    is the same name as package and adds the name property.
    
    Fixes: #7166
    milaninfy authored Jun 27, 2024
    Configuration menu
    Copy the full SHA
    a8e666e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ac937d4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    29204c8 View commit details
    Browse the repository at this point in the history
  5. deps: @npmcli/redact@2.0.1

    wraithgar committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    6f0d7ce View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4646768 View commit details
    Browse the repository at this point in the history
  7. deps: glob@10.4.2

    wraithgar committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    8b8ce7a View commit details
    Browse the repository at this point in the history
  8. deps: debug@4.3.5

    wraithgar committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    941d0d7 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    7b584d3 View commit details
    Browse the repository at this point in the history
  10. deps: jackspeak@3.4.0

    wraithgar committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    e5451e1 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    3b8b111 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2024

  1. chore: remove .github/workflows/benchmark.yml (#7621)

    It has historically not worked very consistently and we don't have the
    bandwidth to keep fixing it.
    wraithgar authored Jul 1, 2024
    Configuration menu
    Copy the full SHA
    2490b49 View commit details
    Browse the repository at this point in the history
  2. fix(arborist): safeguard against null node.target in flag calculation (

    …#7579)
    
    <!-- What / Why -->
    If a node represents a symbolic link or a file dep (node.isLink is
    true), its target is expected to reference another node in the
    dependency tree. If the linking is not done correctly or is incomplete,
    node.target might be null.
    <!-- Describe the request in detail. What it does and why it's being
    changed. -->
    in this PR, a null check is added to ensure node.target is not null or
    before proceeding, which will prevent causing errors like:
    `npm error Cannot set properties of null (setting 'peer')` 
    
    ## References
      Related to #7065, 
      Fixes #6622, #5007,
      Closes #6622, #5007
    AmirSa12 authored Jul 1, 2024
    Configuration menu
    Copy the full SHA
    6f33d74 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2024

  1. fix: limit concurrent open files during 'npm cache verify' (#7631)

    This change solves #4783
    
    <!-- What / Why -->
    <!-- Describe the request in detail. What it does and why it's being
    changed. -->
    During 'npm cache verify', currently all the cache files are open at the
    same time, which will bring EMFILE error in an environment that limit
    max open files.
    This change limits the concurrent open files in garbageCollect() with
    p-map module to avoid this problem.
    
    ## References
      Fixes #4783
    oikumene authored Jul 9, 2024
    Configuration menu
    Copy the full SHA
    3101a40 View commit details
    Browse the repository at this point in the history
  2. deps: @npmcli/git@5.0.8

    wraithgar committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    1c8d41d View commit details
    Browse the repository at this point in the history
  3. deps: minimatch@9.0.5

    wraithgar committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    094c4ea View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    76dab91 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d8fa116 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5e4fa18 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1c1adae View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2024

  1. chore: release 10.8.2

    github-actions[bot] authored and wraithgar committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    dbe7d98 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2024

  1. fix: gracefully handle nonexistent global installation directory (#7640)

    Handle arborist error when loading and checking package in global tree.
    milaninfy authored Jul 11, 2024
    Configuration menu
    Copy the full SHA
    9214be9 View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2024

  1. fix: update lifecycle script list in run-script (#7679)

    This change updates the list of lifecycle scripts in the RunScript class
    to include important npm scripts that were previously missing.
    
    - add `prepare`, `prepublishOnly` scripts
    - add `dependencies` scripts
    - add `prepack` and `postpack` scripts
    - todo comments removed due to changes reflected
    
    <!-- What / Why -->
    <!-- Describe the request in detail. What it does and why it's being
    changed. -->
    
    
    ## References
    The documents I referenced are as follows:
    - https://docs.npmjs.com/cli/v10/using-npm/scripts
    
    <!-- Examples:
      Related to #0
      Depends on #0
      Blocked by #0
      Fixes #0
      Closes #0
    -->
    sonsurim authored Jul 24, 2024
    Configuration menu
    Copy the full SHA
    a947f25 View commit details
    Browse the repository at this point in the history
  2. chore: allow for longer timer values (#7683)

    Sometimes computers are slow
    wraithgar authored Jul 24, 2024
    Configuration menu
    Copy the full SHA
    86b05fc View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2024

  1. fix: always set exit code if exiting uncleanly (#7674)

    An erroneous assumption was that if this was explicitly set, then the
    exit was still intentional. This is not the case.
    
    Closes: #7672
    
    ---------
    
    Co-authored-by: Chris Sidi <hashtagchris@github.com>
    wraithgar and hashtagchris authored Jul 29, 2024
    Configuration menu
    Copy the full SHA
    4e81a6a View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2024

  1. fix(init): use locally installed version of given package (#7721)

    `npm init` calls `libnpmexec` with path and runPath, for most cases it
    would not matter but when we have a package installed locally on root
    and we want to run `npm init that-package -w workspace` it should
    identify that-package is installed and use that to init new workspace
    package. here the `path` is where node_modules are and `runPath` is cwd
    to run the command.
    Fixes: #7700
    milaninfy authored Aug 13, 2024
    Configuration menu
    Copy the full SHA
    91e46a3 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2024

  1. deps: node-gyp@10.2.0

    wraithgar committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    a303ddd View commit details
    Browse the repository at this point in the history
  2. deps: debug@4.3.6

    wraithgar committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    1a9ac86 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    12587fa View commit details
    Browse the repository at this point in the history
  4. deps: semver@7.6.3

    wraithgar committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    4e965ad View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a44ab26 View commit details
    Browse the repository at this point in the history
  6. deps: cacache@18.0.4

    wraithgar committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    2986f4e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    7342c24 View commit details
    Browse the repository at this point in the history
  8. deps: glob@10.4.5

    wraithgar committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    df58b0c View commit details
    Browse the repository at this point in the history
  9. deps: jackspeak@3.4.3

    wraithgar committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    d7e462b View commit details
    Browse the repository at this point in the history
  10. deps: lru-cache@10.4.3

    wraithgar committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    3fd7a48 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    ed4add1 View commit details
    Browse the repository at this point in the history
  12. docs: fix and update scoped configuration example (#7742)

    The [Auth related
    configuration](https://docs.npmjs.com/cli/v10/configuring-npm/npmrc#auth-related-configuration)
    docs contains a mistakenly commented configuration line.
    This PR makes the scope examples more clear by adding newlines and
    uncomment the valid configuration line.
    demedos authored Aug 21, 2024
    Configuration menu
    Copy the full SHA
    24d5350 View commit details
    Browse the repository at this point in the history
  13. fix(publish): consider package-spec when inside workspace dir (#7738)

    This PR fixes an issue where the `npm publish` command would fail when
    run from within a workspace directory with package-spec
    
    fixes: #7726
    milaninfy authored Aug 21, 2024
    Configuration menu
    Copy the full SHA
    2404c7e View commit details
    Browse the repository at this point in the history
  14. docs: update docs for npmrc and package-json (#7743)

    Updating Docs for 
    `npmrc` 
    - Updated example config, instead of `prefix` which can not be changed
    for project, instead added `cache` which can be used for all three
    config types project, user and global
     
     `package-json` 
    - added alias example in package-json docs, which can be used to define
    alias for a package
    
    closes: #6839
    closes: #7188
    milaninfy authored Aug 21, 2024
    Configuration menu
    Copy the full SHA
    e674987 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2024

  1. Configuration menu
    Copy the full SHA
    8035725 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1772276 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2024

  1. fix(docs): init usage description corrected (#7759)

    Updated `npm init <pkg-spec>` command usage documentation for npx
    equivalent command format `npx create-<pkg-spec>`
    Fixes: #7011
    milaninfy authored Aug 28, 2024
    Configuration menu
    Copy the full SHA
    7e61151 View commit details
    Browse the repository at this point in the history
  2. chore: release 10.8.3

    github-actions[bot] authored and wraithgar committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    ec105f4 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2024

  1. chore(deps): bump actions/download-artifact from 3 to 4 in /.github/w…

    …orkflows (#7764)
    
    Bumps
    [actions/download-artifact](https://github.com/actions/download-artifact)
    from 3 to .
    <details>
    <summary>Release notes</summary>
    <p><em>Sourced from <a
    href="https://github.com/actions/download-artifact/releases">actions/download-artifact's
    releases</a>.</em></p>
    <blockquote>
    <h2>v4.1.7</h2>
    <h2>What's Changed</h2>
    <ul>
    <li>Update <code>@​actions/artifact</code> dependency by <a
    href="https://github.com/bethanyj28"><code>@​bethanyj28</code></a> in <a
    href="https://redirect.github.com/actions/download-artifact/pull/325">actions/download-artifact#325</a></li>
    </ul>
    <p><strong>Full Changelog</strong>: <a
    href="https://github.com/actions/download-artifact/compare/v4.1.6...v4.1.7">https://github.com/actions/download-artifact/compare/v4.1.6...v4.1.7</a></p>
    <h2>v4.1.6</h2>
    <h2>What's Changed</h2>
    <ul>
    <li>updating <code>@actions/artifact</code> dependency to v2.1.6 by <a
    href="https://github.com/eggyhead"><code>@​eggyhead</code></a> in <a
    href="https://redirect.github.com/actions/download-artifact/pull/324">actions/download-artifact#324</a></li>
    </ul>
    <p><strong>Full Changelog</strong>: <a
    href="https://github.com/actions/download-artifact/compare/v4.1.5...v4.1.6">https://github.com/actions/download-artifact/compare/v4.1.5...v4.1.6</a></p>
    <h2>v4.1.5</h2>
    <h2>What's Changed</h2>
    <ul>
    <li>Update readme with v3/v2/v1 deprecation notice by <a
    href="https://github.com/robherley"><code>@​robherley</code></a> in <a
    href="https://redirect.github.com/actions/download-artifact/pull/322">actions/download-artifact#322</a></li>
    <li>Update dependencies <code>@actions/core</code> to v1.10.1 and
    <code>@actions/artifact</code> to v2.1.5</li>
    </ul>
    <p><strong>Full Changelog</strong>: <a
    href="https://github.com/actions/download-artifact/compare/v4.1.4...v4.1.5">https://github.com/actions/download-artifact/compare/v4.1.4...v4.1.5</a></p>
    <h2>v4.1.4</h2>
    <h2>What's Changed</h2>
    <ul>
    <li>Update <code>@​actions/artifact</code> by <a
    href="https://github.com/bethanyj28"><code>@​bethanyj28</code></a> in <a
    href="https://redirect.github.com/actions/download-artifact/pull/307">actions/download-artifact#307</a></li>
    </ul>
    <p><strong>Full Changelog</strong>: <a
    href="https://github.com/actions/download-artifact/compare/v4...v4.1.4">https://github.com/actions/download-artifact/compare/v4...v4.1.4</a></p>
    <h2>v4.1.3</h2>
    <h2>What's Changed</h2>
    <ul>
    <li>Update release-new-action-version.yml by <a
    href="https://github.com/konradpabjan"><code>@​konradpabjan</code></a>
    in <a
    href="https://redirect.github.com/actions/download-artifact/pull/292">actions/download-artifact#292</a></li>
    <li>Update toolkit dependency with updated unzip logic by <a
    href="https://github.com/bethanyj28"><code>@​bethanyj28</code></a> in <a
    href="https://redirect.github.com/actions/download-artifact/pull/299">actions/download-artifact#299</a></li>
    <li>Update <code>@​actions/artifact</code> by <a
    href="https://github.com/bethanyj28"><code>@​bethanyj28</code></a> in <a
    href="https://redirect.github.com/actions/download-artifact/pull/303">actions/download-artifact#303</a></li>
    </ul>
    <h2>New Contributors</h2>
    <ul>
    <li><a
    href="https://github.com/bethanyj28"><code>@​bethanyj28</code></a> made
    their first contribution in <a
    href="https://redirect.github.com/actions/download-artifact/pull/299">actions/download-artifact#299</a></li>
    </ul>
    <p><strong>Full Changelog</strong>: <a
    href="https://github.com/actions/download-artifact/compare/v4...v4.1.3">https://github.com/actions/download-artifact/compare/v4...v4.1.3</a></p>
    <h2>v4.1.2</h2>
    <ul>
    <li>Bump <code>@​actions/artifacts</code> to latest version to include
    <a href="https://redirect.github.com/actions/toolkit/pull/1648">updated
    GHES host check</a></li>
    </ul>
    <h2>v4.1.1</h2>
    <ul>
    <li>Fix transient request timeouts <a
    href="https://redirect.github.com/actions/download-artifact/issues/249">actions/download-artifact#249</a></li>
    <li>Bump <code>@actions/artifacts</code> to latest version</li>
    </ul>
    <h2>v4.1.0</h2>
    <h2>What's Changed</h2>
    <ul>
    <li>Some cleanup by <a
    href="https://github.com/robherley"><code>@​robherley</code></a> in <a
    href="https://redirect.github.com/actions/download-artifact/pull/247">actions/download-artifact#247</a></li>
    <li>Fix default for run-id by <a
    href="https://github.com/stchr"><code>@​stchr</code></a> in <a
    href="https://redirect.github.com/actions/download-artifact/pull/252">actions/download-artifact#252</a></li>
    </ul>
    <!-- raw HTML omitted -->
    </blockquote>
    <p>... (truncated)</p>
    </details>
    <details>
    <summary>Commits</summary>
    <ul>
    <li><a
    href="https://github.com/actions/download-artifact/commit/65a9edc5881444af0b9093a5e628f2fe47ea3b2e"><code>65a9edc</code></a>
    Merge pull request <a
    href="https://redirect.github.com/actions/download-artifact/issues/325">#325</a>
    from bethanyj28/main</li>
    <li><a
    href="https://github.com/actions/download-artifact/commit/fdd1595981c1a29187d3de99c28c28a166bc38f7"><code>fdd1595</code></a>
    licensed</li>
    <li><a
    href="https://github.com/actions/download-artifact/commit/c13dba102f4bb92b3f679fa086db9e2973960ca7"><code>c13dba1</code></a>
    update <code>@​actions/artifact</code> dependency</li>
    <li><a
    href="https://github.com/actions/download-artifact/commit/0daa75ebeac4617faeb127496dbd716b8bcce26e"><code>0daa75e</code></a>
    Merge pull request <a
    href="https://redirect.github.com/actions/download-artifact/issues/324">#324</a>
    from actions/eggyhead/use-artifact-v2.1.6</li>
    <li><a
    href="https://github.com/actions/download-artifact/commit/9c19ed7fe5d278cd354c7dfd5d3b88589c7e2395"><code>9c19ed7</code></a>
    Merge branch 'main' into eggyhead/use-artifact-v2.1.6</li>
    <li><a
    href="https://github.com/actions/download-artifact/commit/3d3ea8741ef44e86f7392b41e391bde3c36219bd"><code>3d3ea87</code></a>
    updating license</li>
    <li><a
    href="https://github.com/actions/download-artifact/commit/89af5db8211998d3ca691103a86b0b9362a94286"><code>89af5db</code></a>
    updating artifact package v2.1.6</li>
    <li><a
    href="https://github.com/actions/download-artifact/commit/b4aefff88e83a2676a730654e1ce3dce61880379"><code>b4aefff</code></a>
    Merge pull request <a
    href="https://redirect.github.com/actions/download-artifact/issues/323">#323</a>
    from actions/eggyhead/update-artifact-v215</li>
    <li><a
    href="https://github.com/actions/download-artifact/commit/8caf195ad4b1dee92908e23f56eeb0696f1dd42d"><code>8caf195</code></a>
    package lock update</li>
    <li><a
    href="https://github.com/actions/download-artifact/commit/d7a2ec411d177e8ca679ac5969b70be59c322700"><code>d7a2ec4</code></a>
    updating package version</li>
    <li>Additional commits viewable in <a
    href="https://github.com/actions/download-artifact/compare/v3...v4.1.7">compare
    view</a></li>
    </ul>
    </details>
    <br />
    
    
    [![Dependabot compatibility
    score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/download-artifact&package-manager=github_actions&previous-version=3&new-version=4.1.7)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
    
    Dependabot will resolve any conflicts with this PR as long as you don't
    alter it yourself. You can also trigger a rebase manually by commenting
    `@dependabot rebase`.
    
    [//]: # (dependabot-automerge-start)
    [//]: # (dependabot-automerge-end)
    
    ---
    
    <details>
    <summary>Dependabot commands and options</summary>
    <br />
    
    You can trigger Dependabot actions by commenting on this PR:
    - `@dependabot rebase` will rebase this PR
    - `@dependabot recreate` will recreate this PR, overwriting any edits
    that have been made to it
    - `@dependabot merge` will merge this PR after your CI passes on it
    - `@dependabot squash and merge` will squash and merge this PR after
    your CI passes on it
    - `@dependabot cancel merge` will cancel a previously requested merge
    and block automerging
    - `@dependabot reopen` will reopen this PR if it is closed
    - `@dependabot close` will close this PR and stop Dependabot recreating
    it. You can achieve the same result by closing it manually
    - `@dependabot show <dependency name> ignore conditions` will show all
    of the ignore conditions of the specified dependency
    - `@dependabot ignore this major version` will close this PR and stop
    Dependabot creating any more for this major version (unless you reopen
    the PR or upgrade to it yourself)
    - `@dependabot ignore this minor version` will close this PR and stop
    Dependabot creating any more for this minor version (unless you reopen
    the PR or upgrade to it yourself)
    - `@dependabot ignore this dependency` will close this PR and stop
    Dependabot creating any more for this dependency (unless you reopen the
    PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the
    [Security Alerts page](https://github.com/npm/cli/network/alerts).
    
    </details>
    
    ---------
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Gar <gar+gh@danger.computer>
    dependabot[bot] and wraithgar authored Sep 5, 2024
    Configuration menu
    Copy the full SHA
    fefd509 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2024

  1. docs: remove incorrect note about npm install (#7776)

    npm has not interpreted valid package names as local directories in a long time
    wraithgar authored Sep 11, 2024
    Configuration menu
    Copy the full SHA
    366c07e View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2024

  1. docs(package.json): add brief section on exports, link to Node.js docs (

    #7783)
    
    The package.json docs make no reference to the `exports` property, which
    seems like a huge omission
    
    This PR copies a little text from the node.js docs and links to them -
    not sure if it's a good solution, but it's a start
    wheresrhys authored Sep 17, 2024
    Configuration menu
    Copy the full SHA
    63d6a73 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2024

  1. fix: ping and doctor commands fix for checking if registry is online (#…

    …7789)
    
    Ping: Don't use cache so ping does not report ping sucess incorrectly if
    it's offline or no internet
    Doctor: Don't use cache for pinging the registry. 
    
    Fixes: #5870
    Fixes: #3576
    Fixes: #4112
    
    <details>
    <summary>Testing of ping and doctor </summary>
    
    ```sh
    # -- current npm last ping resuts in cached request replying PONG
    
    ~/workarea/npm-cli $ npm ping --registry=http://localhost:4873 -ddd
    npm verbose cli /Users/milaninfy/.nvm/versions/node/v22.9.0/bin/node /Users/milaninfy/.nvm/versions/node/v22.9.0/bin/npm
    npm info using npm@10.8.3
    npm info using node@v22.9.0
    npm silly config load:file:/Users/milaninfy/.nvm/versions/node/v22.9.0/lib/node_modules/npm/npmrc
    npm silly config load:file:/Users/milaninfy/workarea/npm-cli/.npmrc
    npm silly config load:file:/Users/milaninfy/.npmrc
    npm silly config load:file:/Users/milaninfy/.nvm/versions/node/v22.9.0/etc/npmrc
    npm verbose title npm ping
    npm verbose argv "ping" "--registry" "http://localhost:4873" "--loglevel" "silly"
    npm verbose logfile logs-max:10 dir:/Users/milaninfy/.npm/_logs/2024-09-26T20_37_04_583Z-
    npm verbose logfile /Users/milaninfy/.npm/_logs/2024-09-26T20_37_04_583Z-debug-0.log
    npm notice PING http://localhost:4873/
    npm silly logfile start cleaning logs, removing 1 files
    npm silly logfile done cleaning log files
    npm http fetch GET http://localhost:4873/-/ping?write=true attempt 1 failed with ECONNREFUSED
    npm http fetch GET http://localhost:4873/-/ping?write=true attempt 2 failed with ECONNREFUSED
    npm http fetch GET http://localhost:4873/-/ping?write=true attempt 3 failed with ECONNREFUSED
    npm http fetch GET 200 http://localhost:4873/-/ping?write=true 70045ms (cache stale)
    npm notice PONG 70046ms
    npm verbose cwd /Users/milaninfy/workarea/npm-cli
    npm verbose os Darwin 23.6.0
    npm verbose node v22.9.0
    npm verbose npm  v10.8.3
    npm verbose exit 0
    npm info ok
    
    
    # -- After the change npm last ping resuts in failure after retries
    
    ~/workarea/npm-cli $ lnpm ping --registry=http://localhost:4873 -ddd
    npm verbose cli /Users/milaninfy/.nvm/versions/node/v22.9.0/bin/node /Users/milaninfy/workarea/npm-cli/index.js
    npm info using npm@10.8.3
    npm info using node@v22.9.0
    npm silly config load:file:/Users/milaninfy/workarea/npm-cli/npmrc
    npm silly config load:file:/Users/milaninfy/workarea/npm-cli/.npmrc
    npm silly config load:file:/Users/milaninfy/.npmrc
    npm silly config load:file:/Users/milaninfy/.nvm/versions/node/v22.9.0/etc/npmrc
    npm verbose title npm ping
    npm verbose argv "ping" "--registry" "http://localhost:4873" "--loglevel" "silly"
    npm verbose logfile logs-max:10 dir:/Users/milaninfy/.npm/_logs/2024-09-26T20_38_51_059Z-
    npm verbose logfile /Users/milaninfy/.npm/_logs/2024-09-26T20_38_51_059Z-debug-0.log
    npm notice PING http://localhost:4873/
    npm silly logfile start cleaning logs, removing 1 files
    npm http fetch GET http://localhost:4873/-/ping?write=true attempt 1 failed with ECONNREFUSED
    npm silly logfile done cleaning log files
    npm http fetch GET http://localhost:4873/-/ping?write=true attempt 2 failed with ECONNREFUSED
    npm http fetch GET http://localhost:4873/-/ping?write=true attempt 3 failed with ECONNREFUSED
    npm verbose type system
    npm verbose stack FetchError: request to http://localhost:4873/-/ping?write=true failed, reason: 
    npm verbose stack     at ClientRequest.<anonymous> (/Users/milaninfy/workarea/npm-cli/node_modules/minipass-fetch/lib/index.js:130:14)
    npm verbose stack     at ClientRequest.emit (node:events:519:28)
    npm verbose stack     at emitErrorEvent (node:_http_client:103:11)
    npm verbose stack     at _destroy (node:_http_client:886:9)
    npm verbose stack     at onSocketNT (node:_http_client:906:5)
    npm verbose stack     at process.processTicksAndRejections (node:internal/process/task_queues:91:21)
    npm error code ECONNREFUSED
    npm error errno ECONNREFUSED
    npm error FetchError: request to http://localhost:4873/-/ping?write=true failed, reason: 
    npm error     at ClientRequest.<anonymous> (/Users/milaninfy/workarea/npm-cli/node_modules/minipass-fetch/lib/index.js:130:14)
    npm error     at ClientRequest.emit (node:events:519:28)
    npm error     at emitErrorEvent (node:_http_client:103:11)
    npm error     at _destroy (node:_http_client:886:9)
    npm error     at onSocketNT (node:_http_client:906:5)
    npm error     at process.processTicksAndRejections (node:internal/process/task_queues:91:21) {
    npm error   code: 'ECONNREFUSED',
    npm error   errno: 'ECONNREFUSED',
    npm error   type: 'system'
    npm error }
    npm error
    npm error If you are behind a proxy, please make sure that the
    npm error 'proxy' config is set properly.  See: 'npm help config'
    npm verbose cwd /Users/milaninfy/workarea/npm-cli
    npm verbose os Darwin 23.6.0
    npm verbose node v22.9.0
    npm verbose npm  v10.8.3
    npm verbose exit 1
    npm verbose code 1
    npm error A complete log of this run can be found in: /Users/milaninfy/.npm/_logs/2024-09-26T20_38_51_059Z-debug-0.log
    
    
    
    
    
    # -- npm doctor ping resuts in success due to cache hit
    
    
    ~/workarea/npm-cli $ npm doctor --registry=http://localhost:4873 -ddd
    npm verbose cli /Users/milaninfy/.nvm/versions/node/v22.9.0/bin/node /Users/milaninfy/.nvm/versions/node/v22.9.0/bin/npm
    npm info using npm@10.8.3
    npm info using node@v22.9.0
    npm silly config load:file:/Users/milaninfy/.nvm/versions/node/v22.9.0/lib/node_modules/npm/npmrc
    npm silly config load:file:/Users/milaninfy/workarea/npm-cli/.npmrc
    npm silly config load:file:/Users/milaninfy/.npmrc
    npm silly config load:file:/Users/milaninfy/.nvm/versions/node/v22.9.0/etc/npmrc
    npm verbose title npm doctor
    npm verbose argv "doctor" "--registry" "http://localhost:4873" "--loglevel" "silly"
    npm verbose logfile logs-max:10 dir:/Users/milaninfy/.npm/_logs/2024-09-26T20_40_30_672Z-
    npm verbose logfile /Users/milaninfy/.npm/_logs/2024-09-26T20_40_30_672Z-debug-0.log
    npm info doctor Running checkup
    Connecting to the registry
    npm info doctor Pinging registry
    npm silly logfile start cleaning logs, removing 1 files
    npm silly logfile done cleaning log files
    npm http fetch GET http://localhost:4873/-/ping?write=true attempt 1 failed with ECONNREFUSED
    npm http fetch GET 200 http://localhost:4873/-/ping?write=true 48ms (cache stale)
    Ok
    
    
    
    # -- after the changes npm doctor ping correctly resuts in failure after retires
    
    ~/workarea/npm-cli $ lnpm doctor --registry=http://localhost:4873 -ddd
    npm verbose cli /Users/milaninfy/.nvm/versions/node/v22.9.0/bin/node /Users/milaninfy/workarea/npm-cli/index.js
    npm info using npm@10.8.3
    npm info using node@v22.9.0
    npm silly config load:file:/Users/milaninfy/workarea/npm-cli/npmrc
    npm silly config load:file:/Users/milaninfy/workarea/npm-cli/.npmrc
    npm silly config load:file:/Users/milaninfy/.npmrc
    npm silly config load:file:/Users/milaninfy/.nvm/versions/node/v22.9.0/etc/npmrc
    npm verbose title npm doctor
    npm verbose argv "doctor" "--registry" "http://localhost:4873" "--loglevel" "silly"
    npm verbose logfile logs-max:10 dir:/Users/milaninfy/.npm/_logs/2024-09-26T20_41_05_904Z-
    npm verbose logfile /Users/milaninfy/.npm/_logs/2024-09-26T20_41_05_904Z-debug-0.log
    npm info doctor Running checkup
    Connecting to the registry
    npm info doctor Pinging registry
    npm silly logfile start cleaning logs, removing 1 files
    npm http fetch GET http://localhost:4873/-/ping?write=true attempt 1 failed with ECONNREFUSED
    npm silly logfile done cleaning log files
    npm http fetch GET http://localhost:4873/-/ping?write=true attempt 2 failed with ECONNREFUSED
    npm http fetch GET http://localhost:4873/-/ping?write=true attempt 3 failed with ECONNREFUSED
    Not ok
    request to http://localhost:4873/-/ping?write=true failed, reason: 
    
    ```
    
    </detail>
    milaninfy authored Sep 30, 2024
    Configuration menu
    Copy the full SHA
    6ca609e View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2024

  1. Configuration menu
    Copy the full SHA
    949d8f8 View commit details
    Browse the repository at this point in the history
  2. fix!: align libnpmversion to npm 10 node engine range

    BREAKING CHANGE: `libnpmversion` now supports node `^18.17.0 || >=20.5.0`
    reggi committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    d3c0b1e View commit details
    Browse the repository at this point in the history
  3. fix!: align libnpmteam to npm 10 node engine range

    BREAKING CHANGE: `libnpmteam` now supports node `^18.17.0 || >=20.5.0`
    reggi committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    61d9a90 View commit details
    Browse the repository at this point in the history
  4. fix!: align libnpmsearch to npm 10 node engine range

    BREAKING CHANGE: `libnpmsearch` now supports node `^18.17.0 || >=20.5.0`
    reggi committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    ecfa213 View commit details
    Browse the repository at this point in the history
  5. fix!: align libnpmpublish to npm 10 node engine range

    BREAKING CHANGE: `libnpmpublish` now supports node `^18.17.0 || >=20.5.0`
    reggi committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    96f4e4e View commit details
    Browse the repository at this point in the history
  6. fix!: align libnpmpack to npm 10 node engine range

    BREAKING CHANGE: `libnpmpack` now supports node `^18.17.0 || >=20.5.0`
    reggi committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    1b61379 View commit details
    Browse the repository at this point in the history
  7. fix!: align libnpmorg to npm 10 node engine range

    BREAKING CHANGE: `libnpmorg` now supports node `^18.17.0 || >=20.5.0`
    reggi committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    47f6f76 View commit details
    Browse the repository at this point in the history
  8. fix!: align libnpmhook to npm 10 node engine range

    BREAKING CHANGE: `libnpmhook` now supports node `^18.17.0 || >=20.5.0`
    reggi committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    0e69c92 View commit details
    Browse the repository at this point in the history
  9. fix!: align libnpmfund to npm 10 node engine range

    BREAKING CHANGE: `libnpmfund` now supports node `^18.17.0 || >=20.5.0`
    reggi committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    e7298de View commit details
    Browse the repository at this point in the history
  10. fix!: align libnpmexec to npm 10 node engine range

    BREAKING CHANGE: `libnpmexec` now supports node `^18.17.0 || >=20.5.0`
    reggi committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    a2c8016 View commit details
    Browse the repository at this point in the history
  11. fix!: align libnpmdiff to npm 10 node engine range

    BREAKING CHANGE: `libnpmdiff` now supports node `^18.17.0 || >=20.5.0`
    reggi committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    340a330 View commit details
    Browse the repository at this point in the history
  12. fix!: align libnpmaccess to npm 10 node engine range

    BREAKING CHANGE: `libnpmaccess` now supports node `^18.17.0 || >=20.5.0`
    reggi committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    73068d6 View commit details
    Browse the repository at this point in the history
  13. fix!: align @npmcli/config to npm 10 node engine range

    BREAKING CHANGE: `@npmcli/config` now supports node `^18.17.0 || >=20.5.0`
    reggi committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    f846ad3 View commit details
    Browse the repository at this point in the history
  14. fix!: align @npmcli/arborist to npm 10 node engine range

    BREAKING CHANGE: `@npmcli/arborist` now supports node `^18.17.0 || >=20.5.0`
    reggi committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    365580a View commit details
    Browse the repository at this point in the history
  15. deps: update @npmcli/fs@4.0.0

    reggi committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    dd90f9e View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    feac87c View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    2076368 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    81137fc View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    b80d048 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    538a4cc View commit details
    Browse the repository at this point in the history
  21. deps: update abbrev@3.0.0

    reggi committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    ddb8be0 View commit details
    Browse the repository at this point in the history
  22. deps: update cacache@19.0.1

    reggi committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    034c729 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    6deae9e View commit details
    Browse the repository at this point in the history
  24. deps: update ini@5.0.0

    reggi committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    f54b155 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    c4bed31 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    7214149 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    eae4f57 View commit details
    Browse the repository at this point in the history
  28. deps: update nopt@8.0.0

    reggi committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    105fa2b View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    8d4060a View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    be6ae96 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    591130d View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    50a7bc8 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    092f41f View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    5208f74 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    d13a20b View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    b28dbb1 View commit details
    Browse the repository at this point in the history
  37. deps: update pacote@19.0.0

    reggi committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    e7ab206 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    f9b2e18 View commit details
    Browse the repository at this point in the history
  39. deps: update proc-log@5.0.0

    reggi committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    f6909a0 View commit details
    Browse the repository at this point in the history
  40. deps: update read@4.0.0

    reggi committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    8b7dbc8 View commit details
    Browse the repository at this point in the history
  41. deps: update ssri@12.0.0

    reggi committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    8206c4f View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    b1c4770 View commit details
    Browse the repository at this point in the history
  43. deps: update which@5.0.0

    reggi committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    ab40dab View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    53ed632 View commit details
    Browse the repository at this point in the history
  45. deps: update @npmcli/git@6.0.1

    reggi committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    b84d907 View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    9cd6603 View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    820e983 View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    1e09334 View commit details
    Browse the repository at this point in the history
  49. Configuration menu
    Copy the full SHA
    2d7fc3d View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    1c25a1d View commit details
    Browse the repository at this point in the history
  51. Configuration menu
    Copy the full SHA
    75786ad View commit details
    Browse the repository at this point in the history
  52. deps: update bin-links@5.0.0

    reggi committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    99ccae3 View commit details
    Browse the repository at this point in the history
  53. deps: update proggy@3.0.0

    reggi committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    5795987 View commit details
    Browse the repository at this point in the history
  54. Configuration menu
    Copy the full SHA
    2072705 View commit details
    Browse the repository at this point in the history
  55. Configuration menu
    Copy the full SHA
    bb03036 View commit details
    Browse the repository at this point in the history
  56. Configuration menu
    Copy the full SHA
    43f2374 View commit details
    Browse the repository at this point in the history
  57. Configuration menu
    Copy the full SHA
    be1e6da View commit details
    Browse the repository at this point in the history
  58. deps: hoist minipass-fetch

    reggi committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    20dd44f View commit details
    Browse the repository at this point in the history
  59. Configuration menu
    Copy the full SHA
    60a7ee5 View commit details
    Browse the repository at this point in the history
  60. Configuration menu
    Copy the full SHA
    95e2cb1 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2024

  1. feat: devEngines (#7766)

    This PR adds a check for `devEngines` in the current projects
    `package.json` as defined in the spec here:
    
    openjs-foundation/package-metadata-interoperability-collab-space#15
    
    This PR utilizes a `checkDevEngines` function defined within
    `npm-install-checks` open here:
    npm/npm-install-checks#116
    
    The goal of this pr is to have a check for specific npm commands
    `install`, and `run` consult the `devEngines` property before execution
    and check if the current system / environment. For `npm ` the runtime
    will always be `node` and the `packageManager` will always be `npm`, if
    a project is defined as not those two envs and it's required we'll
    throw.
    
    > Note the current `engines` property is checked when you install your
    dependencies. Each packages `engines` are checked with your environment.
    However, `devEngines` operates on commands for maintainers of a package,
    service, project when install and run commands are executed and is meant
    to enforce / guide maintainers to all be using the same engine / env and
    or versions.
    reggi authored Oct 3, 2024
    Configuration menu
    Copy the full SHA
    4d57928 View commit details
    Browse the repository at this point in the history
  2. chore: release 10.9.0

    github-actions[bot] authored and wraithgar committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    977fd57 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    534ad77 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2024

  1. Configuration menu
    Copy the full SHA
    feb54f7 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2024

  1. fix(view): sort and truncate dist-tags (#7808)

    This sorts dist-tags by publish date so that newer tags show first,
    giving top priority to the `latest` tag.
    
    It also truncates the list in a similar manner to how dependencies are
    truncated.
    
    Needs tests.
    
    Before: 
    ![dist-tags list in npm view showing every tag shorted by
    version](https://github.com/user-attachments/assets/9a8b094f-f466-439c-927b-21dbeb896322)
    
    After:
    ![dist-tags list in npm view showing a truncated list sorted by publish
    date](https://github.com/user-attachments/assets/8727c387-21ed-4fe3-8f09-dc8b93bfe75f)
    wraithgar authored Oct 11, 2024
    Configuration menu
    Copy the full SHA
    70cd88d View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2024

  1. Configuration menu
    Copy the full SHA
    5a74478 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    95d009e View commit details
    Browse the repository at this point in the history
  3. fix!: for @npmcli/docs sets node engine range to ^20.17.0 || >=22.9.0

    BREAKING CHANGE: @npmcli/docs now supports node `^20.17.0 || >=22.9.0`
    reggi committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    4c8ba0a View commit details
    Browse the repository at this point in the history
  4. fix!: for @npmcli/smoke-tests sets node engine range to `^20.17.0 || …

    …>=22.9.0`
    
    BREAKING CHANGE: @npmcli/smoke-tests now supports node `^20.17.0 || >=22.9.0`
    reggi committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    e6a8a17 View commit details
    Browse the repository at this point in the history
  5. fix!: for @npmcli/mock-globals sets node engine range to `^20.17.0 ||…

    … >=22.9.0`
    
    BREAKING CHANGE: @npmcli/mock-globals now supports node `^20.17.0 || >=22.9.0`
    reggi committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    874c0eb View commit details
    Browse the repository at this point in the history
  6. fix!: for @npmcli/mock-registry sets node engine range to `^20.17.0 |…

    …| >=22.9.0`
    
    BREAKING CHANGE: @npmcli/mock-registry now supports node `^20.17.0 || >=22.9.0`
    reggi committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    802ea73 View commit details
    Browse the repository at this point in the history
  7. fix!: for libnpmversion sets node engine range to ^20.17.0 || >=22.9.0

    BREAKING CHANGE: libnpmversion now supports node `^20.17.0 || >=22.9.0`
    reggi committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    57eef8d View commit details
    Browse the repository at this point in the history
  8. fix!: for libnpmteam sets node engine range to ^20.17.0 || >=22.9.0

    BREAKING CHANGE: libnpmteam now supports node `^20.17.0 || >=22.9.0`
    reggi committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    9561fa7 View commit details
    Browse the repository at this point in the history
  9. fix!: for libnpmsearch sets node engine range to ^20.17.0 || >=22.9.0

    BREAKING CHANGE: libnpmsearch now supports node `^20.17.0 || >=22.9.0`
    reggi committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    2f2ee15 View commit details
    Browse the repository at this point in the history
  10. fix!: for libnpmpublish sets node engine range to ^20.17.0 || >=22.9.0

    BREAKING CHANGE: libnpmpublish now supports node `^20.17.0 || >=22.9.0`
    reggi committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    a2f8af0 View commit details
    Browse the repository at this point in the history
  11. fix!: for libnpmpack sets node engine range to ^20.17.0 || >=22.9.0

    BREAKING CHANGE: libnpmpack now supports node `^20.17.0 || >=22.9.0`
    reggi committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    f7b41a3 View commit details
    Browse the repository at this point in the history
  12. fix!: for libnpmorg sets node engine range to ^20.17.0 || >=22.9.0

    BREAKING CHANGE: libnpmorg now supports node `^20.17.0 || >=22.9.0`
    reggi committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    62c4604 View commit details
    Browse the repository at this point in the history
  13. fix!: for libnpmhook sets node engine range to ^20.17.0 || >=22.9.0

    BREAKING CHANGE: libnpmhook now supports node `^20.17.0 || >=22.9.0`
    reggi committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    10458ff View commit details
    Browse the repository at this point in the history
  14. fix!: for libnpmfund sets node engine range to ^20.17.0 || >=22.9.0

    BREAKING CHANGE: libnpmfund now supports node `^20.17.0 || >=22.9.0`
    reggi committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    44be07c View commit details
    Browse the repository at this point in the history
  15. fix!: for libnpmexec sets node engine range to ^20.17.0 || >=22.9.0

    BREAKING CHANGE: libnpmexec now supports node `^20.17.0 || >=22.9.0`
    reggi committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    2902d4c View commit details
    Browse the repository at this point in the history
  16. fix!: for libnpmdiff sets node engine range to ^20.17.0 || >=22.9.0

    BREAKING CHANGE: libnpmdiff now supports node `^20.17.0 || >=22.9.0`
    reggi committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    dab3042 View commit details
    Browse the repository at this point in the history
  17. fix!: for libnpmaccess sets node engine range to ^20.17.0 || >=22.9.0

    BREAKING CHANGE: libnpmaccess now supports node `^20.17.0 || >=22.9.0`
    reggi committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    687cfaf View commit details
    Browse the repository at this point in the history
  18. fix!: for @npmcli/config sets node engine range to `^20.17.0 || >=22.…

    …9.0`
    
    BREAKING CHANGE: @npmcli/config now supports node `^20.17.0 || >=22.9.0`
    reggi committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    6e11eb2 View commit details
    Browse the repository at this point in the history
  19. fix!: for @npmcli/arborist sets node engine range to `^20.17.0 || >=2…

    …2.9.0`
    
    BREAKING CHANGE: @npmcli/arborist now supports node `^20.17.0 || >=22.9.0`
    reggi committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    3ffc08b View commit details
    Browse the repository at this point in the history
  20. fix!: sets node engine range to ^20.17.0 || >=22.9.0

    BREAKING CHANGE: npm now supports node `^20.17.0 || >=22.9.0`
    reggi committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    3162620 View commit details
    Browse the repository at this point in the history
  21. chore: sets npm 11 to prerelase

    reggi committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    852dd8b View commit details
    Browse the repository at this point in the history
  22. fix: make pack and exec work with git hash refs (#7815)

    Passing arborist constructor to pacote.manifest call because internally
    when fetching git deps DirFetcher requires Arborist constructor from
    GitFetcher
    https://github.com/npm/pacote/blob/main/CHANGELOG.md#1400-pre3-2022-09-28
    
    - [x] Trying to add some tests 
    
    Fixes: #6723
    milaninfy authored Oct 14, 2024
    Configuration menu
    Copy the full SHA
    7f541e8 View commit details
    Browse the repository at this point in the history
  23. chore: add creation of a DEPENDENCIES.json file (#7824)

    adds a DEPENDENCIES.json for programatic use
    reggi authored Oct 14, 2024
    Configuration menu
    Copy the full SHA
    286739c View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2024

  1. deps!: bump sigstore from 2.x to 3.0.0

    BREAKING CHANGE: Attestations made by this package will no longer validate in npm versions prior to 10.6.0
    
    Signed-off-by: Brian DeHamer <bdehamer@github.com>
    bdehamer authored and wraithgar committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    7ee15bb View commit details
    Browse the repository at this point in the history
  2. deps: pacote@19.0.1

    wraithgar committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    f36dc59 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    720b4d8 View commit details
    Browse the repository at this point in the history
  4. fix: update libnpmpublish tests for sigstore 3.0.0

    Signed-off-by: Brian DeHamer <bdehamer@github.com>
    bdehamer authored and wraithgar committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    f75da94 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2024

  1. fix!: removes npm hook command

    BREAKING CHANGE: The `npm hook` command has been removed
    reggi authored Oct 16, 2024
    Configuration menu
    Copy the full SHA
    62c71e5 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2024

  1. fix: don't go into global mode if aliased to npmg (#7842)

    BREAKING CHANGE: npm will no longer switch to global mode if aliased to
    "npmg" or "npm-g" etc.
    
    [This
    code](03bd669)
    is a remnant from when npm defined `bin` entries for itself that
    included `npm_g` and `npm-g`.
    
    npm no longer defines these, and this code should have been removed when
    those entries were removed. To utilize this today one would have to
    manually alias npm themselves.
    
    What this code does today in practice is make local development very
    tricky, because if you (like me) use git worktrees, and have a worktree
    directory that ends in "g", npm will be in global mode when you invoke
    it as `node .`. This is very "magical" behavior and not at all
    intuitive.
    
    It's best if this just goes away. `npm -g` is explicit and does not
    require npm trying to guess if you really wanted to be in global mode or
    not.
    wraithgar authored Oct 17, 2024
    Configuration menu
    Copy the full SHA
    ecd2d23 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2024

  1. fix(pkg): display if any of multiple attributes exist (#7855)

    <!-- What / Why -->
    <!-- Describe the request in detail. What it does and why it's being
    changed. -->
    
    See #7854 for the why and more details.
    
    I changed the unwrap logic so that it only runs when the result contains
    one entry and the amount of arguments is one. Otherwise, when multiple
    arguments are provided the unwrap results in an undefined. Additionally,
    I think it makes sense to skip the unwrap logic when the result contains
    one entry and pkg has multiple arguments because you would expect an
    object.
    
    In the existing comment above the if-statement, it is mentioned the CLI
    should not unwrap at all. I chose not to do this because it is not clear
    to me if this is a final decision and has a large impact. However, if it
    is the desired direction, I am happy to do the work.
    
    ## References
    Fixes #7854
    Sanderovich authored Oct 18, 2024
    Configuration menu
    Copy the full SHA
    780afc5 View commit details
    Browse the repository at this point in the history