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(utils): replace slick-core extend utils with node-extend #1277

Merged
merged 4 commits into from Dec 21, 2023

Conversation

ghiscoding
Copy link
Owner

the extend function that was added to SlickGrid core utils seems to be causing problems when Angular-Slickgrid are published on external website as per this issue: ghiscoding/Angular-Slickgrid#1334

  • the node-extend came from this popular npm package: https://github.com/justmoon/node-extend/blob/v1.2.0/test/index.js the reason, I reimplemented it in here is because the npm package is using old CJS syntax and is not ESM friendly, moving the code in here would be better with newer syntax and less CJS code, also less external dependencies

the `extend` function that was added to SlickGrid core utils seems to be causing problems when Angular-Slickgrid are published on external website as per this issue: ghiscoding/Angular-Slickgrid#1334
- the node-extend came from this popular npm package: https://github.com/justmoon/node-extend/blob/v1.2.0/test/index.js
the reason, I reimplemented it in here is because the npm package is using old CJS syntax and is not ESM friendly, moving the code in here would be better with newer syntax and less CJS code, also less external dependencies
Copy link

codecov bot commented Dec 21, 2023

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (abe256a) 88.0% compared to head (b5a0765) 88.0%.

Files Patch % Lines
packages/common/src/core/slickGrid.ts 50.0% 3 Missing ⚠️
packages/common/src/core/slickDataview.ts 75.0% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##           master   #1277     +/-   ##
========================================
+ Coverage    88.0%   88.0%   +0.1%     
========================================
  Files         197     198      +1     
  Lines       21354   21359      +5     
  Branches     7101    7104      +3     
========================================
+ Hits        18782   18795     +13     
+ Misses       2572    2564      -8     

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

@ghiscoding ghiscoding merged commit 3439118 into master Dec 21, 2023
5 checks passed
@ghiscoding ghiscoding deleted the feat/node-extend branch December 21, 2023 02:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant