Skip to content

fix: dlx should work with minimumeReleaseAge set#10038

Merged
zkochan merged 1 commit intomainfrom
fix/10037
Oct 2, 2025
Merged

fix: dlx should work with minimumeReleaseAge set#10038
zkochan merged 1 commit intomainfrom
fix/10037

Conversation

@zkochan
Copy link
Copy Markdown
Member

@zkochan zkochan commented Oct 2, 2025

close #10037

@zkochan zkochan requested a review from Copilot October 2, 2025 14:21
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes an issue where pnpm dlx would fail when the minimumReleaseAge configuration option is set. The fix ensures that the publishedBy parameter is properly calculated and passed to package resolution.

  • Adds calculation of publishedBy date based on minimumReleaseAge configuration
  • Passes the publishedBy parameter to the package resolution function

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
exec/plugin-commands-script-runners/src/dlx.ts Implements the fix by calculating and passing the publishedBy parameter for package resolution
.changeset/proud-llamas-clap.md Documents the bug fix in the changelog

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@zkochan zkochan merged commit fddd85b into main Oct 2, 2025
13 checks passed
@zkochan zkochan deleted the fix/10037 branch October 2, 2025 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pnpm dlx resolve respecting minimumReleaseAge

2 participants