diff --git a/CHANGELOG.md b/CHANGELOG.md index 9629d7a39..e92569a0a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # Change history for ui-users -## 2.24.2 (IN PROGRESS) +## [2.24.2](https://github.com/folio-org/ui-users/tree/v2.24.2) (2019-09-24) +[Full Changelog](https://github.com/folio-org/ui-users/compare/v2.24.1...v2.24.2) * Retrieve up to 1000 loans instead of 100. LIBRARIANS LOVE BOOKS! Refs CHAL-29. * Dedupe loan policy list before retrieving it. Refs CHAL-30. diff --git a/package.json b/package.json index 422b4e24a..a8a767fa8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@folio/users", - "version": "2.24.1", + "version": "2.24.2", "description": "User management", "repository": "folio-org/ui-users", "publishConfig": { @@ -630,9 +630,8 @@ "@bigtest/mocha": "^0.5.2", "@bigtest/react": "^0.1.2", "@folio/eslint-config-stripes": "^3.2.1", - "@folio/stripes": "^2.0.0", + "@folio/stripes": "~2.8.0", "@folio/stripes-cli": "^1.11.0", - "@folio/stripes-core": "^3.0.1", "babel-eslint": "^9.0.0", "babel-polyfill": "^6.26.0", "chai": "^4.2.0", diff --git a/test/bigtest/helpers/turn-off-warnings.js b/test/bigtest/helpers/turn-off-warnings.js new file mode 100644 index 000000000..3d8fda823 --- /dev/null +++ b/test/bigtest/helpers/turn-off-warnings.js @@ -0,0 +1,15 @@ +const warn = console.warn; +const blacklist = [ + /componentWillReceiveProps has been renamed/, + /componentWillUpdate has been renamed/, + /componentWillMount has been renamed/, +]; + +export default function turnOffWarnings() { + console.warn = function (...args) { + if (blacklist.some(rx => rx.test(args[0]))) { + return; + } + warn.apply(console, args); + }; +} diff --git a/test/bigtest/index.js b/test/bigtest/index.js index bdfb232d0..eaa081afc 100644 --- a/test/bigtest/index.js +++ b/test/bigtest/index.js @@ -1,4 +1,7 @@ import 'babel-polyfill'; +import turnOffWarnings from './helpers/turn-off-warnings'; + +turnOffWarnings(); // require all modules ending in "-test" from the current directory and // all subdirectories