Skip to content

Commit

Permalink
STRIPES-678 pin moment to ~2.24 (#477)
Browse files Browse the repository at this point in the history
Pin `moment` at `~2.24.0` in light of multiple issues with `2.25.0`
([5489](moment/moment#5489), [5472](moment/moment#5472)).

The `resolutions` entry is necessary because `2.25` leaks in via
transitive deps.

Refs [STRIPES-678](https://issues.folio.org/browse/STRIPES-678)
  • Loading branch information
zburke committed May 5, 2020
1 parent 6d95261 commit c77d4dc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -5,6 +5,7 @@
* Change selected parton background color to increase color contrast. Refs UICHKOUT-603.
* Fix bug preventing continuation after cancelling checkout notes or multipiece modal. Fixes UICHKOUT-610, UICHKOUT-611.
* Show confirmation modal when item with withdrawn status is scanned. Refs UICHKOUT-605.
* Pin `moment` at `~2.24.0`. Refs STRIPES-678.

## [3.0.0](https://github.com/folio-org/ui-checkout/tree/v3.0.0) (2020-03-16)
[Full Changelog](https://github.com/folio-org/ui-checkout/compare/v2.0.0...v3.0.0)
Expand Down
5 changes: 4 additions & 1 deletion package.json
Expand Up @@ -109,7 +109,7 @@
"@folio/react-intl-safe-html": "^1.0.0",
"inactivity-timer": "^1.0.0",
"lodash": "^4.17.4",
"moment": "^2.0.0",
"moment": "~2.24.0",
"prop-types": "^15.5.10",
"react-audio-player": "^0.9.0",
"react-hot-loader": "^4.3.12",
Expand All @@ -123,5 +123,8 @@
},
"optionalDependencies": {
"@folio/plugin-find-user": "^2.0.0"
},
"resolutions": {
"moment": "~2.24.0"
}
}

0 comments on commit c77d4dc

Please sign in to comment.