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!: update dependenies to use lodash v4 #378

Merged
merged 26 commits into from
Oct 18, 2023

Conversation

shaveko
Copy link
Contributor

@shaveko shaveko commented Oct 5, 2023

related to https://oat-sa.atlassian.net/browse/ADF-1595

Description

Update of depnendencies to use lodash 4

Update code to be compatible with lodash v4 api

How to test

npm run test

@github-actions
Copy link

github-actions bot commented Oct 12, 2023

Coverage Report

Totals Coverage
Statements: 72.21% ( 5421 / 7507 )
Methods: 69.69% ( 1053 / 1511 )

@shaveko shaveko requested a review from yukipastelcat October 12, 2023 14:16
@shaveko shaveko requested a review from taopkorczak October 12, 2023 14:39
src/qtiCommonRenderer/helpers/Graphic.js Outdated Show resolved Hide resolved
src/qtiItem/core/Element.js Outdated Show resolved Hide resolved
src/qtiItem/core/Element.js Outdated Show resolved Hide resolved
src/qtiRunner/core/Renderer.js Outdated Show resolved Hide resolved
test/qtiCommonRenderer/interactions/associate/test.js Outdated Show resolved Hide resolved
Copy link
Contributor

@taopkorczak taopkorczak left a comment

Choose a reason for hiding this comment

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

Was only one error in code: vset.forEach(vset.remove()); Should be: vset.forEach(item => item.remove()); Other looks good for me.

shaveko and others added 7 commits October 13, 2023 16:32
Co-authored-by: Kirill Sedunov <[email protected]>
Signed-off-by: shaveko <[email protected]>
…nteraction.js

Co-authored-by: Kirill Sedunov <[email protected]>
Signed-off-by: shaveko <[email protected]>
Co-authored-by: Kirill Sedunov <[email protected]>
Signed-off-by: shaveko <[email protected]>
Co-authored-by: Kirill Sedunov <[email protected]>
Signed-off-by: shaveko <[email protected]>
Co-authored-by: Kirill Sedunov <[email protected]>
Signed-off-by: shaveko <[email protected]>
@shaveko
Copy link
Contributor Author

shaveko commented Oct 13, 2023

@yukipastelcat @taopkorczak Thanks for your review.

@yukipastelcat please check my comments on some of your questions and suggestions

@shaveko shaveko requested a review from yukipastelcat October 13, 2023 15:00
Copy link
Contributor

@jsconan jsconan left a comment

Choose a reason for hiding this comment

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

Tests pass. However, please also take care of the deprecated API: _.each() is replaced by _.forEach().

Review Checklist

  • New code is covered by tests (if applicable)
  • Tests are running successfully (old and new ones) on my local machine (if applicable)
  • New code respects code style rules
  • New code respects best practices
  • New code is not subject to concurrency issues (if applicable)
  • Feature is working correctly on my local machine (if applicable)
  • Acceptance criteria are respected
  • Pull request title and description are meaningful
  • Pull request's target is not master
  • Commits are following conventional commits
  • Commits messages are meaningful
  • Commits are atomic

Copy link
Contributor

@yukipastelcat yukipastelcat left a comment

Choose a reason for hiding this comment

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

Code is looking good, tests are passing, good job👍

  • New code is covered by tests (if applicable)
  • Tests are running successfully (old and new ones) on my local machine (if applicable)
  • New code is respecting code style rules
  • New code is respecting best practices
  • Feature is working correctly on my local machine (if applicable)
  • Acceptance criteria are respected
  • Pull request title and description are meaningful
  • Pull request's target is not master

@github-actions
Copy link

Version

🚨 Your pull request contains a BREAKING CHANGE, please be sure to communicate it.
❕ Some commits are not using the conventional commits formats. They will be ignored in version management.

Target Version 2.0.0
Last version 1.11.2

There are 1 BREAKING CHANGE, 1 feature, 16 fixes

@shaveko shaveko merged commit 8ebf506 into develop Oct 18, 2023
1 check passed
@shaveko shaveko deleted the feat/ADF-1595/update-lodash-v4 branch October 18, 2023 20:04
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.

4 participants