node icon indicating copy to clipboard operation
node copied to clipboard

src: add a variant of ToV8Value()

Open Aditi-1400 opened this issue 9 months ago • 8 comments

Adds a variant of ToV8Value for array of primitives that do not need to throw during conversion - there is essentially no exceptions that can be thrown then you create an array of integers and you are only dealing with the one-size-fit-all abstraction of ToV8Value.

Aditi-1400 avatar Mar 21 '25 14:03 Aditi-1400

Codecov Report

Attention: Patch coverage is 90.47619% with 2 lines in your changes missing coverage. Please review.

Project coverage is 90.24%. Comparing base (922ce9d) to head (d037058). Report is 411 commits behind head on main.

Files with missing lines Patch % Lines
src/util-inl.h 86.66% 0 Missing and 2 partials :warning:
Additional details and impacted files
@@           Coverage Diff            @@
##             main   #57576    +/-   ##
========================================
  Coverage   90.23%   90.24%            
========================================
  Files         629      630     +1     
  Lines      184939   185080   +141     
  Branches    36232    36229     -3     
========================================
+ Hits       166885   167020   +135     
- Misses      11011    11031    +20     
+ Partials     7043     7029    -14     
Files with missing lines Coverage Δ
src/node_v8.cc 81.72% <100.00%> (+1.00%) :arrow_up:
src/util-inl.h 84.39% <86.66%> (+1.12%) :arrow_up:

... and 73 files with indirect coverage changes

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

codecov[bot] avatar Mar 21 '25 15:03 codecov[bot]

CI: https://ci.nodejs.org/job/node-test-pull-request/66047/

nodejs-github-bot avatar Apr 05 '25 15:04 nodejs-github-bot

CI: https://ci.nodejs.org/job/node-test-pull-request/66191/

nodejs-github-bot avatar Apr 10 '25 16:04 nodejs-github-bot

@anonrig Are you still blocking the PR? It's updated significantly and the helper is being used in a function.

joyeecheung avatar Apr 16 '25 14:04 joyeecheung

CI: https://ci.nodejs.org/job/node-test-pull-request/66316/

nodejs-github-bot avatar Apr 16 '25 16:04 nodejs-github-bot

CI: https://ci.nodejs.org/job/node-test-pull-request/66329/

nodejs-github-bot avatar Apr 17 '25 11:04 nodejs-github-bot

CI: https://ci.nodejs.org/job/node-test-pull-request/66546/

nodejs-github-bot avatar May 02 '25 14:05 nodejs-github-bot

CI: https://ci.nodejs.org/job/node-test-pull-request/66554/

nodejs-github-bot avatar May 03 '25 00:05 nodejs-github-bot

CI: https://ci.nodejs.org/job/node-test-pull-request/66688/

nodejs-github-bot avatar May 07 '25 15:05 nodejs-github-bot

CI: https://ci.nodejs.org/job/node-test-pull-request/66764 💚

nodejs-github-bot avatar May 12 '25 04:05 nodejs-github-bot

Landed in 28cbc4c9567f

jasnell avatar May 12 '25 22:05 jasnell