Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/cliPublic
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 orlearn 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:v11.5.2
Choose a base ref
Loading
...
head repository:npm/cli
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare:v11.6.0
Choose a head ref
Loading
  • 11commits
  • 47files changed
  • 11contributors

Commits on Aug 4, 2025

  1. fix: ps1 scripts in powershell 5.1 (#8469)

    Fixes issue#8468: npm.ps1 and npx.ps1 fail on Windows PowerShell 5.1 when run in strict mode.
    @splatteredbits
    splatteredbits authoredAug 4, 2025
    Configuration menu
    Copy the full SHA
    5d82d0bView commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2025

  1. fix(arborist):#8472Keeps the registry protocol when modifying resol…

    …ve URL (#8473)Fix an issue where the configured registry protocol does not follow whenresolving a package resolved url.## ReferencesFixes#8472Co-authored-by: Jean-Philippe Boucher <jeanphilippe.boucher@cauca.ca>
    @Jeepsboucher
    Jeepsboucher andJean-Philippe Boucher authoredAug 19, 2025
    Configuration menu
    Copy the full SHA
    ed71acbView commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2025

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

Commits on Aug 27, 2025

  1. fix: installLinks works with transitive external file dependencies (#…

    …8534)fixes#8342WhatThis PR fixes an issue where npm fails to properly handle transitivefile dependencies when using the --install-links flag. Previously, whena file dependency had its own file dependencies, npm would fail toresolve them correctly, resulting in `ERR_MODULE_NOT_FOUND` errors.WhyWhen using `npm install --install-links` to install a local package thathas its own file dependencies, npm would attempt to resolve thetransitive dependencies relative to the installed location in`node_modules` rather than the original source location. This caused theinstallation to fail because the transitive dependencies couldn't befound at the incorrect path.For example, given this structure:Running `npm install --install-links ../b` from `mainpkg` would failbecause npm tried to find a relative to `b` instead of relative to theoriginal `b` source location.HowThe fix introduces logic to detect transitive file dependencies when`--install-links` is used and ensures they are resolved relative totheir parent's original source location:Detect transitive file dependencies: When a parent package was installed(not linked) due to `--install-links` and has file dependencies of itsown, those are identified as transitive file dependencies.Preserve original paths: The parent's resolved` field (e.g., file:../b)is used to determine the original source location.Correct path resolution: Transitive file dependencies are resolvedrelative to the parent's original location rather than its installedlocation in `node_modules`
    @owlstronaut
    owlstronaut authoredAug 27, 2025
    Configuration menu
    Copy the full SHA
    3b54e9cView commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2025

  1. Configuration menu
    Copy the full SHA
    9e5abf1View commit details
    Browse the repository at this point in the history
  2. fix: peer edge crash due to no parent or detached node (#8448)

    `node.parent` is resulting in `null` value somewhere in recursive/loopedcalls to `#loadPeerSet` method in building ideal tree.When circular peer ref of a top level dependency replaced/resolved withdifferent compatible version, it makes top level dependency to beremoved from it's parent ( node.parent = null ) since it's beenreplaced, so no longer need to proceed with further peer setexploration.fixes:#8261
    @milaninfy
    milaninfy authoredAug 28, 2025
    Configuration menu
    Copy the full SHA
    208c06eView commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5f18557View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2025

  1. fix(powershell): improve argument parsing (#8539)

    improve the argument parsing PS1 logic- support `& npm args` and `. npm args` properly- support syntax such as `C:\"Program Files"\nodejs\npm.ps1 args`**of course ^ for both npm and npx version of the script**Code Explanation: instead of getting the `CommandElements.Extent.Text`array and joining it with spaces right away, now it's getting the samearray and only capturing everything after the first element
    @alexsch01
    alexsch01 authoredSep 2, 2025
    Configuration menu
    Copy the full SHA
    dd4cee9View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2025

  1. feat: add support for optional env var replacements in .npmrc (#8359)

    <!-- What / Why -->This solves problem described in#8335 in a backwards-compatible way.<!-- Describe the request in detail. What it does and why it's beingchanged. -->This PR adds possibility to have env var replacements in .npmrc configswritten as `${VAR?}` which will cause them to get replaced with an emptystring if the variable is not defined. Old behavior where undefinedvariables are left unreplaced is not changed.## References<!-- Examples:  Related to #0  Depends on #0  Blocked by #0  Fixes #0  Closes #0-->Fixes#8335---------Co-authored-by: Michael Smith <owlstronaut@github.com>
    @aczekajski@owlstronaut
    aczekajski andowlstronaut authoredSep 3, 2025
    Configuration menu
    Copy the full SHA
    bdcc10dView commit details
    Browse the repository at this point in the history
  2. chore: fix pruner and reify tests for optional peer deps (#8540)

    While investigating CI failure in#8537,I found unrelated test failures when running locally on windows.`prune with lockfile with implicit optional peer dependencies` fixed byadding files to fixture `node_modules`, avoiding network, also reducedpackage lock to minimum and removed unhelpful snapshots`move aside symlink clutter` fixed by creating problematic symlink in`t.testdir()` instead of in `reifyPackages` hook---------Co-authored-by: Liam Mitchell <liam.mitchell@mendix.com>
    @liamcmitchell
    liamcmitchell andliamcmitchell authoredSep 3, 2025
    Configuration menu
    Copy the full SHA
    619d43eView commit details
    Browse the repository at this point in the history
  3. chore: release 11.6.0

    @github-actions@owlstronaut
    github-actions[bot] authored andowlstronaut committedSep 3, 2025
    Configuration menu
    Copy the full SHA
    3b30e0bView commit details
    Browse the repository at this point in the history
Loading

[8]ページ先頭

©2009-2025 Movatter.jp