Skip to content

Commit

Permalink
Merge pull request #972 from folio-org/v2.24.2
Browse files Browse the repository at this point in the history
Release v2.24.2
  • Loading branch information
zburke authored Sep 24, 2019
2 parents cfaa045 + 7a9ff73 commit 3dc656a
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 4 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@folio/users",
"version": "2.24.1",
"version": "2.24.2",
"description": "User management",
"repository": "folio-org/ui-users",
"publishConfig": {
Expand Down Expand Up @@ -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",
Expand Down
15 changes: 15 additions & 0 deletions test/bigtest/helpers/turn-off-warnings.js
Original file line number Diff line number Diff line change
@@ -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);
};
}
3 changes: 3 additions & 0 deletions test/bigtest/index.js
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 3dc656a

Please sign in to comment.