Skip to content
Permalink

Comparing changes

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

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: microsoft/rushstack
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: microsoft/rushstack
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: extract-web-client
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 13 commits
  • 45 files changed
  • 2 contributors

Commits on Jan 23, 2026

  1. feat(npm-check-fork): add npm registry type definitions

    Add INpmRegistryPackageResponse and INpmRegistryVersionMetadata interfaces
    to support the upcoming replacement of the package-json dependency with a
    local implementation using WebClient.
    
    - INpmRegistryVersionMetadata extends INpmCheckPackageVersion for backward
      compatibility
    - INpmRegistryPackageResponse models the full npm registry API response
    - Added JSDoc with links to npm registry API documentation
    TheLarkInn committed Jan 23, 2026
    Configuration menu
    Copy the full SHA
    9bb536c View commit details
    Browse the repository at this point in the history
  2. feat(npm-check-fork): add NpmRegistryClient for fetching package meta…

    …data
    
    Implement NpmRegistryClient class to replace external package-json dependency
    with a self-contained HTTP client using Node.js built-in modules.
    
    Features:
    - INpmRegistryClientOptions for configuring registry URL, user agent, timeout
    - INpmRegistryClientResult for consistent error handling
    - Automatic scoped package URL encoding (@scope/name -> @scope%2Fname)
    - Support for gzip/deflate response decompression
    - Proper error handling for 404, HTTP errors, network errors, and timeouts
    TheLarkInn committed Jan 23, 2026
    Configuration menu
    Copy the full SHA
    661c61c View commit details
    Browse the repository at this point in the history
  3. refactor(npm-check-fork): use NpmRegistryClient in GetLatestFromRegistry

    Replace package-json and throat dependencies with NpmRegistryClient for
    fetching npm registry metadata. Preserves existing version sorting and
    homepage extraction logic.
    
    Changes:
    - Remove package-json and throat imports
    - Add lazy-initialized module-level NpmRegistryClient instance
    - Update getNpmInfo to use fetchPackageMetadataAsync
    - Preserve lodash/semver version sorting
    - Preserve bestGuessHomepage extraction
    TheLarkInn committed Jan 23, 2026
    Configuration menu
    Copy the full SHA
    f2d8161 View commit details
    Browse the repository at this point in the history
  4. feat(npm-check-fork): add getNpmInfoBatch for concurrent package fetc…

    …hing
    
    Add batch fetching function to retrieve metadata for multiple packages
    concurrently with configurable concurrency limit.
    
    Features:
    - getNpmInfoBatch(packageNames, concurrency) returns Map<string, INpmRegistryInfo>
    - Default concurrency matches CPU count (like original throat behavior)
    - Processes packages in batches using Promise.all
    TheLarkInn committed Jan 23, 2026
    Configuration menu
    Copy the full SHA
    c290df2 View commit details
    Browse the repository at this point in the history
  5. refactor(npm-check-fork): remove package-json and throat dependencies

    Remove external dependencies that have been replaced by NpmRegistryClient:
    - package-json: replaced by NpmRegistryClient
    - throat: replaced by Promise.all batch processing
    
    Update tests to mock NpmRegistryClient instead of package-json.
    TheLarkInn committed Jan 23, 2026
    Configuration menu
    Copy the full SHA
    469eff6 View commit details
    Browse the repository at this point in the history
  6. test(npm-check-fork): add unit tests for NpmRegistryClient

    Add basic unit tests for NpmRegistryClient constructor options.
    Update GetLatestFromRegistry tests with improved module mocking.
    TheLarkInn committed Jan 23, 2026
    Configuration menu
    Copy the full SHA
    d509897 View commit details
    Browse the repository at this point in the history
  7. docs(npm-check-fork): update CHANGELOG for dependency replacement

    Document the removal of package-json and throat dependencies in favor of
    internal NpmRegistryClient implementation.
    TheLarkInn committed Jan 23, 2026
    Configuration menu
    Copy the full SHA
    6af0185 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2026

  1. cleanup from code review

    TheLarkInn committed Jan 24, 2026
    Configuration menu
    Copy the full SHA
    79cb08d View commit details
    Browse the repository at this point in the history
  2. remove ai outputs

    TheLarkInn committed Jan 24, 2026
    Configuration menu
    Copy the full SHA
    7099f87 View commit details
    Browse the repository at this point in the history
  3. rush change

    TheLarkInn committed Jan 24, 2026
    Configuration menu
    Copy the full SHA
    a5d6f04 View commit details
    Browse the repository at this point in the history
  4. DROP: rush update

    TheLarkInn committed Jan 24, 2026
    Configuration menu
    Copy the full SHA
    e53f643 View commit details
    Browse the repository at this point in the history
  5. Add WebClient extraction technical specification

    Agency committed Jan 24, 2026
    Configuration menu
    Copy the full SHA
    daada7c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    bbecc14 View commit details
    Browse the repository at this point in the history
Loading