Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(writeEarlyHints): handle object-format early hints #202

Merged
merged 7 commits into from Oct 17, 2022
Merged

Conversation

danielroe
Copy link
Member

subsequent to previous implementation, nodejs/node#44820 made format object-based. this pr aligns h3 with node's current implementation

before nodejs/node#44874 is released, we also have to manually replace crossorigin attribute 馃う

@danielroe danielroe added the bug Something isn't working label Oct 17, 2022
@danielroe danielroe requested a review from pi0 October 17, 2022 20:18
@danielroe danielroe self-assigned this Oct 17, 2022
@codecov
Copy link

codecov bot commented Oct 17, 2022

Codecov Report

Merging #202 (d732e7c) into main (47a507a) will decrease coverage by 1.58%.
The diff coverage is 9.37%.

@@            Coverage Diff             @@
##             main     #202      +/-   ##
==========================================
- Coverage   78.55%   76.97%   -1.59%     
==========================================
  Files          19       19              
  Lines        1054     1077      +23     
  Branches      208      208              
==========================================
+ Hits          828      829       +1     
- Misses        226      248      +22     
Impacted Files Coverage 螖
src/utils/response.ts 66.92% <9.37%> (-13.85%) 猬囷笍

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

src/utils/response.ts Outdated Show resolved Hide resolved
@pi0 pi0 changed the title fix: handle object-format early hints feat(writeEarlyHints): handle object-format early hints Oct 17, 2022
src/utils/response.ts Outdated Show resolved Hide resolved
Copy link
Member

@pi0 pi0 left a comment

Choose a reason for hiding this comment

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

tried locally on nuxt3

@pi0 pi0 merged commit e899ecb into main Oct 17, 2022
@pi0 pi0 deleted the fix/obj-hints branch October 17, 2022 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants