feat(core): enable thenable params processing for $ literals#1237
Merged
antongolub merged 7 commits intogoogle:mainfrom Jun 23, 2025
Merged
feat(core): enable thenable params processing for $ literals#1237antongolub merged 7 commits intogoogle:mainfrom
$ literals#1237antongolub merged 7 commits intogoogle:mainfrom
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR enables thenable parameter processing for shell literals by awaiting any thenable arguments before executing the command. Key changes include new tests to validate thenable resolution and error handling, updates to the core proxy and process execution logic in both TypeScript and CommonJS builds, and documentation updates describing the feature.
Reviewed Changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| test/core.test.js | Added tests for handling thenable arguments including successful resolution and error cases. |
| src/core.ts | Updated the $ proxy and ProcessPromise run callback to support thenable parameters. |
| docs/getting-started.md | Expanded documentation with examples showing the thenable parameter feature. |
| build/core.cjs | Applied similar thenable handling updates to the CommonJS build. |
| .size-limit.json | Updated bundle size limits. |
9732e09 to
a99e747
Compare
antonmedv
approved these changes
Jun 23, 2025
6917ff2 to
0fa8633
Compare
This was referenced Jul 17, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Before
After