Skip to content

Commit

Permalink
STRIPES-678 pin moment to ~2.24 (#1255)
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 2, 2020
1 parent 2b16284 commit 4982fa2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Change history for stripes-components

## 6.1.1 (IN-PROGRESS)
## 6.2.0 (IN-PROGRESS)

* Fix issue with `initialStatus` prop on Accordions not working.
* Fix bug with impossibility to use mouse to set Associated Service Point for Fee/Fine Owner. Refs UIU-1539.
Expand All @@ -13,6 +13,7 @@
* Added `centerContent `-prop for `<Pane>`. Refs STCOM-618.
* Allowed `to`, `href` and `labelStrings` props to be passed as functions to `defaultRowFormatter`. Refs STDTC-8.
* Pane resizing is suppressed when Panes are overlapped. Fixes STCOM-673, STCOM-674.
* Pin `moment` at `~2.24.0`. Refs STRIPES-678.

## [6.1.0](https://github.com/folio-org/stripes-components/tree/v6.1.0) (2020-03-16)
[Full Changelog](https://github.com/folio-org/stripes-components/compare/v6.0.0...v6.1.0)
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
"json2csv": "^4.2.1",
"lodash": "^4.17.4",
"memoize-one": "^5.0.0",
"moment": "^2.17.1",
"moment": "~2.24.0",
"moment-range": "^3.0.3",
"moment-timezone": "^0.5.14",
"normalize.css": "^7.0.0",
Expand All @@ -125,5 +125,8 @@
"react-hot-loader": "^4.0.0",
"react-intl": "^2.5.0",
"react-router-dom": "^4.1.1"
},
"resolutions": {
"moment": "~2.24.0"
}
}

0 comments on commit 4982fa2

Please sign in to comment.