Skip to content

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

Merged
pi0 merged 7 commits into
mainfrom
fix/obj-hints
Oct 17, 2022
Merged

feat(writeEarlyHints): handle object-format early hints#202
pi0 merged 7 commits into
mainfrom
fix/obj-hints

Conversation

@danielroe
Copy link
Copy Markdown
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
Copy Markdown

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.

Comment thread src/utils/response.ts Outdated
@pi0 pi0 changed the title fix: handle object-format early hints feat(writeEarlyHints): handle object-format early hints Oct 17, 2022
Comment thread src/utils/response.ts
Comment thread src/utils/response.ts Outdated
Copy link
Copy Markdown
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

2 participants