Prepare Clearfetch 1.0.9 - #52
Merged
Merged
Conversation
- route method-helper option failures through onError and expand lifecycle and native transport coverage - add TypeScript 5/6/7 compatibility checks and a threshold-free benchmark harness - extract tested release provenance verification and align CI, documentation, and version metadata
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
- spy on both cloned response branches without delegating to pending tee cancellation promises - close single-chunk response fixtures while preserving original-body cancellation assertions
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.
Summary
onErrorhooksMotivation
Method helpers previously materialized request options before entering the centralized error boundary, so throwing getters or proxy traps could bypass
onError. This release aligns helper behavior with directrequest()calls and improves the evidence used to validate runtime, type, package, and release behavior.API behavior
Existing method-helper calls remain source-compatible. Failures thrown while reading helper options now reach configured
onErrorhooks before being rethrown.Validation
npm ci --ignore-scripts --no-audit --registry=https://registry.npmjs.orgnpm run check:lockfilenpm run lintnpm test(171 passing)npm run test:node-integrationnpm run benchmark:smokenpm run test:browser-likenpm run test:browser-realnpm run test:types-compatnpm run buildnpm run check:dependency-auditnpm run check:dependency-signaturesnpm run check:package-metadatanpm run check:pack-smoke -- --retainnpm run check:publish-dry-run -- release-artifact/*.tgzgit diff --check origin/main...HEADNo tag or publication is included in this PR.