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

Bump moment, pikaday and numbro to the latest version #6610

Merged
merged 3 commits into from Jan 14, 2020
Merged

Conversation

@budnix
Copy link
Member

budnix commented Jan 9, 2020

Context

Bump dependencies:

  • moment to fixed v2.24.0;
  • numbro to fixed v2.1.2;
  • pikaday to fixed v1.8.0;

comparing dist files it seems that after upgrading the handsontable.full.js file is lighter ~20kB.

How has this been tested?

  • Build a version
  • Check the size of the version
  • Build a version and install with wrappers, check their size
  • Browser e2e tests on Chrome, Firefox, Safari, Opera, Edge
    $ npm run test: e2e.dump
    file is on test/E2ERunner.html
  • Tests walkontable on Chrome, Firefox, Safari, Opera, Edge
    $ test: walkontable.dump
    file is on src/3rdparty/walkontable/test/SpecRunner.html
  • Check the numeric type editor
    • non-integer numbers, currency, commas, number format, formulas
    • repeat above after changing the keyboard language to American
    • and after changing the keyboard language to German
    • IME after changing the language to Chinese or Japanese
  • Click through key functions on a minified version (crud, move, formulas)
  • Click through key functions (crud, move, fixing, formulas) on wrappers
  • Validation check:
    • Has the number of licenses changed?
    • check key with incorrect date - when the license expires yesterday, today and tomorrow

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature or improvement (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Additional language file or change to the existing one (translations)

Related issue(s):

  1. #5159
  2. #6465
  3. #5159 Support newer versions of momentjs etc
  4. #6110 License suggestion for R community: rhandsontable
  5. #5790 RangeError: toFixed() digits arguments must be between 0 and 100
  6. #6582 We're not able to undo changes while using summary calculations and numeric cell data.
  7. #6423 The column type: data is not protected against pasting data using autoFill / fillHandle
  8. #5863 We get Maximum call stack size exceeded when enabling summaryCalculations and minSpareRows
  9. #5569 Numeric Type Does Not Work with Expected to Decimal
  10. #5344 [0.35.1+] Numeric cell type percentage format not calculated
  11. #5251 [3.0.0+] cell invalid after copy paste from excel in version PRO 4.0.0
  12. #4884 Searching uses values hidden by numericFormat
  13. #4396 Numbers parsed incorrectly if "." is thousands separator, "," decimal separator and decimal part not specified
  14. #4360 When changing cell type, cell editor does not dynamically change
  15. #4353 When the cell type is numeric, the formula does not work properly.
  16. #4119 Uncaught TypeError in date cell type with numeric value.
  17. #3402 Alter value before validation
  18. #2966 Cells function gets the property function in the col argument during validation
  19. #5848 Numeric cell type fails to validate -.n

Checklist:

  • My code follows the code style of this project,
  • My change requires a change to the documentation.
budnix added 3 commits Jan 9, 2020
@budnix budnix marked this pull request as ready for review Jan 9, 2020
@budnix budnix requested a review from pnowak Jan 9, 2020
@wojciechczerniak wojciechczerniak mentioned this pull request Jan 9, 2020
64 of 127 tasks complete
@budnix budnix changed the title Bump moment to (fixed) 2.24.0 Bump moment, pikaday and numbro to the latest version Jan 10, 2020
package.json Show resolved Hide resolved
@pnowak pnowak assigned budnix and unassigned pnowak Jan 10, 2020
@aninde

This comment has been minimized.

Copy link

aninde commented Jan 10, 2020

I added a checklist for testing and some issues that maybe can be fixed. I encourage you to comment and discuss how we can test it better.

@budnix budnix requested a review from aninde Jan 10, 2020
@pnowak pnowak self-requested a review Jan 13, 2020
@pnowak
pnowak approved these changes Jan 13, 2020
Copy link
Member

pnowak left a comment

LGTM 👍

@budnix

This comment has been minimized.

Copy link
Member Author

budnix commented Jan 13, 2020

@aninde Please review the PR as soon as you'll be ready. The PR is accepted by @pnowak.

@aninde

This comment has been minimized.

Copy link

aninde commented Jan 13, 2020

  1. After npm i there is npm audit

Screenshot 2020-01-13 at 14 19 55

@budnix

This comment has been minimized.

Copy link
Member Author

budnix commented Jan 13, 2020

  1. After npm i there is npm audit

Already fixed on the develop branch 4c0bdb0.

@aninde

This comment has been minimized.

Copy link

aninde commented Jan 14, 2020

I will test this pull request during code freeze.

@budnix

This comment has been minimized.

Copy link
Member Author

budnix commented Jan 14, 2020

I will test this pull request during code freeze.

Ok, so I'll merge the changes.

@budnix budnix merged commit f4e68a5 into develop Jan 14, 2020
2 checks passed
2 checks passed
continuous-integration/codeship Build succeeded
Details
security/snyk - package.json (krzysztofspilka) No new issues
Details
@budnix budnix deleted the feature/issue-5159 branch Jan 14, 2020
jansiegel added a commit that referenced this pull request Feb 3, 2020
* Bump moment to (fixed) 2.24.0
* Bump numbro to (fixed) 2.1.2
* Bump pikaday to (fixed) 1.8.0
@AMBudnik

This comment has been minimized.

Copy link
Contributor

AMBudnik commented Feb 3, 2020

Just to refer for tests.

Here are the changes for Numbro "numbro": "2.1.1" > "numbro": "2.1.2"

Fix #399: Update dependencies.
Fix #390: Small changes to doc comments.
Fix #328: Fixed unformat for non standard delimiters.

Pikaday "pikaday": "1.5.1" > "pikaday": "1.8.0" (including dependency changes)
https://github.com/Pikaday/Pikaday/releases

@aninde

This comment has been minimized.

Copy link

aninde commented Feb 3, 2020

Fix #328: Fixed unformat for non standard delimiters.

I reported it for @scarletfog and @jansiegel for RN material.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

4 participants
You can’t perform that action at this time.