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

feat: Assign pkgVersion and id of all child shim instances when using shim.makeSpecializedShim with a ConglomerateShim instance #1941

Merged
merged 1 commit into from Jan 10, 2024

Conversation

bizob2828
Copy link
Member

Description

In #1883 we added the ability to grab the version of the package via shim.pkgVersion. There was an oversight when you create a child shim via shim.makeSpecializedShim. It was not using the pkgVersion and id from the parent shim. This PR resolves that so if you are using a shim instance from shim.makeSpecializedShim, shim.pkgVersion will be present.

… shim.makeSpecializedShim with a ConglomerateShim instance
Copy link

codecov bot commented Jan 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (7d378aa) 97.02% compared to head (d9ca1c9) 97.02%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1941   +/-   ##
=======================================
  Coverage   97.02%   97.02%           
=======================================
  Files         215      215           
  Lines       40239    40247    +8     
=======================================
+ Hits        39040    39048    +8     
  Misses       1199     1199           
Flag Coverage Δ
integration-tests-16.x 78.89% <0.00%> (-0.03%) ⬇️
integration-tests-18.x 79.15% <0.00%> (-0.02%) ⬇️
integration-tests-20.x 79.17% <0.00%> (-0.02%) ⬇️
unit-tests-16.x 91.10% <100.00%> (+<0.01%) ⬆️
unit-tests-18.x 91.08% <100.00%> (+<0.01%) ⬆️
unit-tests-20.x 91.08% <100.00%> (+<0.01%) ⬆️
versioned-tests-16.x 73.94% <0.00%> (-0.04%) ⬇️
versioned-tests-18.x 73.96% <0.00%> (-0.04%) ⬇️
versioned-tests-20.x 73.97% <0.00%> (-0.04%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bizob2828 bizob2828 merged commit d3e393d into main Jan 10, 2024
48 checks passed
Node.js Engineering Board automation moved this from Needs PR Review to Done: Issues recently completed Jan 10, 2024
@bizob2828 bizob2828 deleted the fix-make-specialized-shim branch January 10, 2024 17:52
@github-actions github-actions bot mentioned this pull request Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Node.js Engineering Board
  
Done: Issues recently completed
Development

Successfully merging this pull request may close these issues.

None yet

2 participants