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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

buffer: cleanup handling different types buffers #54439

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ronag
Copy link
Member

@ronag ronag commented Aug 18, 2024

No description provided.

@nodejs-github-bot nodejs-github-bot added buffer Issues and PRs related to the buffer subsystem. needs-ci PRs that need a full CI run. labels Aug 18, 2024
Copy link

codecov bot commented Aug 18, 2024

Codecov Report

Attention: Patch coverage is 69.49153% with 18 lines in your changes missing coverage. Please review.

Project coverage is 87.27%. Comparing base (e4f61de) to head (4a17f1f).
Report is 3 commits behind head on main.

Files Patch % Lines
lib/buffer.js 69.49% 15 Missing and 3 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #54439      +/-   ##
==========================================
- Coverage   87.33%   87.27%   -0.06%     
==========================================
  Files         648      648              
  Lines      182321   182331      +10     
  Branches    34971    34968       -3     
==========================================
- Hits       159222   159135      -87     
- Misses      16374    16455      +81     
- Partials     6725     6741      +16     
Files Coverage Δ
lib/buffer.js 92.80% <69.49%> (-3.91%) ⬇️

... and 21 files with indirect coverage changes

Comment on lines -47 to -50
TypedArrayPrototypeGetBuffer,
TypedArrayPrototypeGetByteLength,
TypedArrayPrototypeGetByteOffset,
TypedArrayPrototypeGetLength,
Copy link
Member

Choose a reason for hiding this comment

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

Are these no longer needed (in regards to primordials)?

'Buffer',
'TypedArray',
'DataView',
'ArrayBuffer',

Choose a reason for hiding this comment

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

duplicated 'ArrayBuffer' element

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
buffer Issues and PRs related to the buffer subsystem. needs-ci PRs that need a full CI run.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants