From 55bbc567502c9cbb72a022c4676be690c3c92e25 Mon Sep 17 00:00:00 2001 From: Priyanka Terala Date: Mon, 26 Aug 2024 22:08:56 +0530 Subject: [PATCH 01/15] temporarily revert some code --- src/UserSearchContainer.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/UserSearchContainer.js b/src/UserSearchContainer.js index ca8790b..b1f42da 100644 --- a/src/UserSearchContainer.js +++ b/src/UserSearchContainer.js @@ -163,17 +163,17 @@ class UserSearchContainer extends React.Component { onNeedMoreData = (askAmount, index) => { const { resultOffset } = this.props.mutator; - let offset = index; - if (offset < askAmount) { - /* - This condition sets offset to 100 when there are less than 100 records in the current - paginated result in order to skip the first 100 records and make an API call to fetch next 100. - */ - offset = 100; - } + // let offset = index; + // if (offset < askAmount) { + // /* + // This condition sets offset to 100 when there are less than 100 records in the current + // paginated result in order to skip the first 100 records and make an API call to fetch next 100. + // */ + // offset = 100; + // } if (this.source) { - if (resultOffset && offset >= 0) { - this.source.fetchOffset(offset); + if (resultOffset && index >= 0) { + this.source.fetchOffset(index); } else { this.source.fetchMore(RESULT_COUNT_INCREMENT); } From 4a609c8f0573dac3f46d02cce8700209e0f20ba3 Mon Sep 17 00:00:00 2001 From: Priyanka Terala Date: Fri, 30 Aug 2024 12:49:14 +0530 Subject: [PATCH 02/15] UIPFU-81 - Add jest tests to Filters.js --- package.json | 1 + src/Filters.test.js | 80 +++++++++++++++++++++++++ test/jest/__mock__/currencyData.mock.js | 1 + test/jest/__mock__/index.js | 2 + test/jest/helpers/renderWithRouter.js | 29 +++++++++ 5 files changed, 113 insertions(+) create mode 100644 src/Filters.test.js create mode 100644 test/jest/__mock__/currencyData.mock.js create mode 100644 test/jest/helpers/renderWithRouter.js diff --git a/package.json b/package.json index 2d09b25..f722914 100644 --- a/package.json +++ b/package.json @@ -48,6 +48,7 @@ "eslint": "^7.32.0", "eslint-import-resolver-webpack": "^0.13.2", "faker": "^4.1.0", + "history": "^5.0.0", "inflected": "^2.0.4", "miragejs": "^0.1.40", "react": "^18.2.0", diff --git a/src/Filters.test.js b/src/Filters.test.js new file mode 100644 index 0000000..896546e --- /dev/null +++ b/src/Filters.test.js @@ -0,0 +1,80 @@ +import { screen } from '@folio/jest-config-stripes/testing-library/react'; +import userEvent from '@folio/jest-config-stripes/testing-library/user-event'; +import { FormattedMessage } from 'react-intl'; + +import renderWithRouter from 'helpers/renderWithRouter'; +import Filters from './Filters'; + +jest.unmock('@folio/stripes/components'); + +const renderFilters = (props) => renderWithRouter( + +); + +const props = { + onChangeHandlers : { + checkbox: jest.fn(), + }, + activeFilters: { + state: {}, + string: '', + }, + resultOffset: { + replace: jest.fn(), + update: jest.fn(), + }, + config:[ + { + label: , + name: 'active', + cql: 'active', + values: [ + { + name: 'inactive', + cql: 'false', + displayName: , + }, + { + name: 'active', + cql: 'true', + displayName: , + }, + ], + }, + { + label: , + name: 'pg', + cql: 'patronGroup', + values: [], + }, + ], +}; + +describe('Filters', () => { + beforeEach(() => { + renderFilters(props); + }); + + it('should render status filter groups', () => { + expect(screen.queryByText('ui-plugin-find-user.status')).toBeInTheDocument(); + }); + + it('should render patronGroup filter groups', () => { + expect(screen.queryByText('ui-plugin-find-user.information.patronGroup')).toBeInTheDocument(); + }); + + it('should render active status filter', () => { + expect(screen.queryByText('ui-plugin-find-user.active')).toBeInTheDocument(); + }); + + it('should render inactive status filter', () => { + expect(screen.getByText('ui-plugin-find-user.inactive')).toBeInTheDocument(); + }); + + it('should call changeHandler on clicking inactive checkbox', async () => { + const inActiveCheckbox = document.querySelector('[ id = "clickable-filter-active-inactive"]'); + await userEvent.click(inActiveCheckbox); + + expect(props.onChangeHandlers.checkbox).toHaveBeenCalled(); + }); +}); diff --git a/test/jest/__mock__/currencyData.mock.js b/test/jest/__mock__/currencyData.mock.js new file mode 100644 index 0000000..f791ffb --- /dev/null +++ b/test/jest/__mock__/currencyData.mock.js @@ -0,0 +1 @@ +jest.mock('currency-codes/data', () => ({ filter: () => [] })); diff --git a/test/jest/__mock__/index.js b/test/jest/__mock__/index.js index 1596784..52681f8 100644 --- a/test/jest/__mock__/index.js +++ b/test/jest/__mock__/index.js @@ -4,3 +4,5 @@ import './stripes.mock'; import './intl.mock'; import './stripesComponents.mock'; import './stripesSmartComponents.mock'; +import './currencyData.mock'; + diff --git a/test/jest/helpers/renderWithRouter.js b/test/jest/helpers/renderWithRouter.js new file mode 100644 index 0000000..b4f96f6 --- /dev/null +++ b/test/jest/helpers/renderWithRouter.js @@ -0,0 +1,29 @@ +import React from 'react'; +import { IntlProvider } from 'react-intl'; +import { CalloutContext } from '@folio/stripes/core'; +import { Router } from 'react-router-dom'; +import { render } from '@folio/jest-config-stripes/testing-library/react'; +import { createMemoryHistory } from 'history'; + +let rtlApi; + + +const renderWithRouter = (children, options = {}) => { + const history = createMemoryHistory(); + const renderFn = options.rerender ? rtlApi.rerender : render; + rtlApi = renderFn( + + { } }}> + + {children} + + + + ); + return { ...rtlApi, history }; +}; + +export default renderWithRouter; From 6ce37b014e1a0ec79a78c3d18ee7a92e9c36e09a Mon Sep 17 00:00:00 2001 From: Priyanka Terala Date: Fri, 30 Aug 2024 12:53:08 +0530 Subject: [PATCH 03/15] UIPFU-81 - revert previous temp change --- src/UserSearchContainer.js | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/src/UserSearchContainer.js b/src/UserSearchContainer.js index b1f42da..2ca0e08 100644 --- a/src/UserSearchContainer.js +++ b/src/UserSearchContainer.js @@ -163,17 +163,17 @@ class UserSearchContainer extends React.Component { onNeedMoreData = (askAmount, index) => { const { resultOffset } = this.props.mutator; - // let offset = index; - // if (offset < askAmount) { - // /* - // This condition sets offset to 100 when there are less than 100 records in the current - // paginated result in order to skip the first 100 records and make an API call to fetch next 100. - // */ - // offset = 100; - // } + let offset = index; + if (offset < askAmount) { + /* + This condition sets offset to 100 when there are less than 100 records in the current + paginated result in order to skip the first 100 records and make an API call to fetch next 100. + */ + offset = 100; + } if (this.source) { - if (resultOffset && index >= 0) { - this.source.fetchOffset(index); + if (resultOffset && offset >= 0) { + this.source.fetchOffset(offset); } else { this.source.fetchMore(RESULT_COUNT_INCREMENT); } @@ -230,7 +230,11 @@ class UserSearchContainer extends React.Component { return users; } + console.log('fetched users ', fetchedUsers); const filteredUnassignedUsers = fetchedUsers.filter(u => !assignedUserIds.includes(u.id)); + console.log('filtered unasigned users ', filteredUnassignedUsers); + const assignedUsersInFetchedUsers = fetchedUsers.filter(u => assignedUserIds.includes(u.id)); + console.log('asigned users in fetched users ', assignedUsersInFetchedUsers); users.records = filteredUnassignedUsers; users.count = this.source.totalCount() - assignedUsers.length; return users; From 46d1e8e49814fde988b268dd7253be46a037069f Mon Sep 17 00:00:00 2001 From: Priyanka Terala Date: Fri, 30 Aug 2024 13:17:27 +0530 Subject: [PATCH 04/15] UIPFU-81 - cleanup --- src/UserSearchContainer.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/UserSearchContainer.js b/src/UserSearchContainer.js index 2ca0e08..ca8790b 100644 --- a/src/UserSearchContainer.js +++ b/src/UserSearchContainer.js @@ -230,11 +230,7 @@ class UserSearchContainer extends React.Component { return users; } - console.log('fetched users ', fetchedUsers); const filteredUnassignedUsers = fetchedUsers.filter(u => !assignedUserIds.includes(u.id)); - console.log('filtered unasigned users ', filteredUnassignedUsers); - const assignedUsersInFetchedUsers = fetchedUsers.filter(u => assignedUserIds.includes(u.id)); - console.log('asigned users in fetched users ', assignedUsersInFetchedUsers); users.records = filteredUnassignedUsers; users.count = this.source.totalCount() - assignedUsers.length; return users; From 17e23dfe90f2a27cb396e62f34bd2e312b1f9c29 Mon Sep 17 00:00:00 2001 From: Priyanka Terala Date: Fri, 30 Aug 2024 13:49:40 +0530 Subject: [PATCH 05/15] UIPFU-81 - updated yarn lock file --- yarn.lock | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/yarn.lock b/yarn.lock index fc89476..cb07574 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1142,6 +1142,13 @@ dependencies: regenerator-runtime "^0.14.0" +"@babel/runtime@^7.7.6": + version "7.25.6" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.25.6.tgz#9afc3289f7184d8d7f98b099884c26317b9264d2" + integrity sha512-VBj9MYyDb9tuLq7yzqjgzt6Q+IBQLrGZfdjOekyEirZPHxXWoTSGUTMrpsfi58Up73d13NfYLv8HT9vmznjzhQ== + dependencies: + regenerator-runtime "^0.14.0" + "@babel/template@^7.22.15", "@babel/template@^7.24.0", "@babel/template@^7.3.3": version "7.24.0" resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.24.0.tgz#c6a524aa93a4a05d66aaf31654258fae69d87d50" @@ -6792,6 +6799,13 @@ history@^4.10.1, history@^4.6.3, history@^4.9.0: tiny-warning "^1.0.0" value-equal "^1.0.1" +history@^5.0.0: + version "5.3.0" + resolved "https://registry.yarnpkg.com/history/-/history-5.3.0.tgz#1548abaa245ba47992f063a0783db91ef201c73b" + integrity sha512-ZqaKwjjrAYUYfLG+htGaIIZ4nioX2L70ZUMIFysS3xvBsSG4x/n1V6TXV3N8ZYNuFGlDirFg32T7B6WOUPDYcQ== + dependencies: + "@babel/runtime" "^7.7.6" + hmac-drbg@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1" From 32e621a19a8d86310ac09c934921ee8b02ab8041 Mon Sep 17 00:00:00 2001 From: Priyanka Terala Date: Fri, 30 Aug 2024 13:51:40 +0530 Subject: [PATCH 06/15] UIPFU-81 - update change log md file --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index cc220dc..8408a80 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ * Create Jest test environment and setup initial mocks. Refs UIPFU-78. * Apply Prev/Next Pagination. Refs UIPFU-49. * Use keywords CQL field for keyword user search. Ref UIPFU-95. +* Add Jest unit tests for ui-plugin-find-user/src/Filters.js. Refs UIPFU-81. ## [7.1.1](https://github.com/folio-org/ui-plugin-find-user/tree/v7.1.1) (2024-05-03) [Full Changelog](https://github.com/folio-org/ui-plugin-find-user/compare/v7.1.0...v7.1.1) From 3fa040a590c3380e924ce3586b0b3e987b0b2ed4 Mon Sep 17 00:00:00 2001 From: Priyanka Terala Date: Tue, 3 Sep 2024 18:17:17 +0530 Subject: [PATCH 07/15] UIPFU-81 - update CI workflow to pick jest tests --- .github/workflows/build-npm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-npm.yml b/.github/workflows/build-npm.yml index 0bb3cfd..ee84395 100644 --- a/.github/workflows/build-npm.yml +++ b/.github/workflows/build-npm.yml @@ -18,7 +18,7 @@ on: [push, pull_request] jobs: github-actions-ci: env: - YARN_TEST_OPTIONS: '--karma.singleRun --karma.browsers ChromeDocker --karma.reporters mocha junit --coverage' + YARN_TEST_OPTIONS: '' SQ_ROOT_DIR: './src' COMPILE_TRANSLATION_FILES: 'true' PUBLISH_MOD_DESCRIPTOR: 'true' From b98ca266c635b23b78e90a2b4b9e3d6a35af3540 Mon Sep 17 00:00:00 2001 From: Priyanka Terala Date: Tue, 3 Sep 2024 18:55:31 +0530 Subject: [PATCH 08/15] UIPFU-81 - update test script --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f722914..dc0fb86 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "lint": "eslint .", "build-mod-descriptor": "stripes mod descriptor --full --strict | jq '.[]' > module-descriptor.json ", "formatjs-compile": "formatjs compile-folder --ast --format simple ./translations/ui-plugin-find-user ./translations/ui-plugin-find-user/compiled", - "test": "stripes test karma", + "test": "yarn run test:jest", "test:jest": "jest --ci --coverage --colors" }, "okapiInterfaces": { From 39fa303863a3796403a0b35f923c7550469364c0 Mon Sep 17 00:00:00 2001 From: Priyanka Terala Date: Tue, 3 Sep 2024 19:17:16 +0530 Subject: [PATCH 09/15] UIPFU-81 - include both jest and big test in test scripts --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index dc0fb86..ef377f4 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "lint": "eslint .", "build-mod-descriptor": "stripes mod descriptor --full --strict | jq '.[]' > module-descriptor.json ", "formatjs-compile": "formatjs compile-folder --ast --format simple ./translations/ui-plugin-find-user ./translations/ui-plugin-find-user/compiled", - "test": "yarn run test:jest", + "test": "yarn run test:jest && stripes test karma", "test:jest": "jest --ci --coverage --colors" }, "okapiInterfaces": { From e1be762ae8194a2502e4568dfe54ac84c2a6e343 Mon Sep 17 00:00:00 2001 From: Priyanka Terala Date: Wed, 4 Sep 2024 12:05:23 +0530 Subject: [PATCH 10/15] UIPFU-81 - remove big test in test scripts --- .github/workflows/build-npm-release.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-npm-release.yml b/.github/workflows/build-npm-release.yml index f929c6a..c44e655 100644 --- a/.github/workflows/build-npm-release.yml +++ b/.github/workflows/build-npm-release.yml @@ -21,7 +21,7 @@ jobs: github-actions-ci: if : ${{ startsWith(github.ref, 'refs/tags/v') }} env: - YARN_TEST_OPTIONS: '--karma.singleRun --karma.browsers ChromeDocker --karma.reporters mocha junit --coverage' + YARN_TEST_OPTIONS: '' SQ_ROOT_DIR: './src' COMPILE_TRANSLATION_FILES: 'true' PUBLISH_MOD_DESCRIPTOR: 'true' diff --git a/package.json b/package.json index ef377f4..dc0fb86 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "lint": "eslint .", "build-mod-descriptor": "stripes mod descriptor --full --strict | jq '.[]' > module-descriptor.json ", "formatjs-compile": "formatjs compile-folder --ast --format simple ./translations/ui-plugin-find-user ./translations/ui-plugin-find-user/compiled", - "test": "yarn run test:jest && stripes test karma", + "test": "yarn run test:jest", "test:jest": "jest --ci --coverage --colors" }, "okapiInterfaces": { From 8356f60737ec1d0b39dc13f3635a5f79f8559c7c Mon Sep 17 00:00:00 2001 From: Priyanka Terala Date: Wed, 4 Sep 2024 14:45:33 +0530 Subject: [PATCH 11/15] UIPFU-81 - address review comments --- src/Filters.test.js | 2 +- test/jest/helpers/renderWithRouter.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Filters.test.js b/src/Filters.test.js index 896546e..b358aff 100644 --- a/src/Filters.test.js +++ b/src/Filters.test.js @@ -72,7 +72,7 @@ describe('Filters', () => { }); it('should call changeHandler on clicking inactive checkbox', async () => { - const inActiveCheckbox = document.querySelector('[ id = "clickable-filter-active-inactive"]'); + const inActiveCheckbox = screen.getByRole('checkbox', { name: 'ui-plugin-find-user.inactive' }); await userEvent.click(inActiveCheckbox); expect(props.onChangeHandlers.checkbox).toHaveBeenCalled(); diff --git a/test/jest/helpers/renderWithRouter.js b/test/jest/helpers/renderWithRouter.js index b4f96f6..a35d672 100644 --- a/test/jest/helpers/renderWithRouter.js +++ b/test/jest/helpers/renderWithRouter.js @@ -7,7 +7,6 @@ import { createMemoryHistory } from 'history'; let rtlApi; - const renderWithRouter = (children, options = {}) => { const history = createMemoryHistory(); const renderFn = options.rerender ? rtlApi.rerender : render; From 70cc3c406f319e372f8389cf09d8ae29e34e50fe Mon Sep 17 00:00:00 2001 From: Priyanka Terala Date: Wed, 4 Sep 2024 14:47:34 +0530 Subject: [PATCH 12/15] UIPFU-81 - reorder imports --- src/Filters.test.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Filters.test.js b/src/Filters.test.js index b358aff..00bf6ba 100644 --- a/src/Filters.test.js +++ b/src/Filters.test.js @@ -1,6 +1,7 @@ +import { FormattedMessage } from 'react-intl'; + import { screen } from '@folio/jest-config-stripes/testing-library/react'; import userEvent from '@folio/jest-config-stripes/testing-library/user-event'; -import { FormattedMessage } from 'react-intl'; import renderWithRouter from 'helpers/renderWithRouter'; import Filters from './Filters'; From bc15aab559caff9801d94014f14c2447beeb354e Mon Sep 17 00:00:00 2001 From: Priyanka Terala Date: Wed, 4 Sep 2024 14:55:50 +0530 Subject: [PATCH 13/15] UIPFU-81 - upgrade actions/upload-artifact to v3 for Jest --- .github/workflows/build-npm-release.yml | 2 +- .github/workflows/build-npm.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-npm-release.yml b/.github/workflows/build-npm-release.yml index c44e655..30bcc1c 100644 --- a/.github/workflows/build-npm-release.yml +++ b/.github/workflows/build-npm-release.yml @@ -152,7 +152,7 @@ jobs: comment_title: Jest Unit Test Statistics - name: Publish Jest coverage report - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 if: always() with: name: jest-coverage-report diff --git a/.github/workflows/build-npm.yml b/.github/workflows/build-npm.yml index ee84395..c2cf4b4 100644 --- a/.github/workflows/build-npm.yml +++ b/.github/workflows/build-npm.yml @@ -95,7 +95,7 @@ jobs: comment_title: Jest Unit Test Statistics - name: Publish Jest coverage report - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 if: always() with: name: jest-coverage-report From 8b29fb025fc1b25eedadad0f42a75984db888760 Mon Sep 17 00:00:00 2001 From: Priyanka Terala Date: Wed, 4 Sep 2024 14:57:42 +0530 Subject: [PATCH 14/15] UIPFU-81 - upgrade actions/upload-artifact to v3 for Bigtest --- .github/workflows/build-npm-release.yml | 2 +- .github/workflows/build-npm.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-npm-release.yml b/.github/workflows/build-npm-release.yml index 30bcc1c..a17d880 100644 --- a/.github/workflows/build-npm-release.yml +++ b/.github/workflows/build-npm-release.yml @@ -170,7 +170,7 @@ jobs: comment_title: BigTest Unit Test Statistics - name: Publish BigTest coverage report - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 if: always() with: name: bigtest-coverage-report diff --git a/.github/workflows/build-npm.yml b/.github/workflows/build-npm.yml index c2cf4b4..b3362eb 100644 --- a/.github/workflows/build-npm.yml +++ b/.github/workflows/build-npm.yml @@ -113,7 +113,7 @@ jobs: comment_title: BigTest Unit Test Statistics - name: Publish BigTest coverage report - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 if: always() with: name: bigtest-coverage-report From cfbeb0b44ca1e2b69fd4f85dea3d0b0d5888c58c Mon Sep 17 00:00:00 2001 From: Priyanka Terala Date: Thu, 5 Sep 2024 11:27:56 +0530 Subject: [PATCH 15/15] UIPFU-81 - downgrade history package from v4 to v5 --- package.json | 2 +- yarn.lock | 16 +--------------- 2 files changed, 2 insertions(+), 16 deletions(-) diff --git a/package.json b/package.json index dc0fb86..e87aaf3 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "eslint": "^7.32.0", "eslint-import-resolver-webpack": "^0.13.2", "faker": "^4.1.0", - "history": "^5.0.0", + "history": "^4.0.0", "inflected": "^2.0.4", "miragejs": "^0.1.40", "react": "^18.2.0", diff --git a/yarn.lock b/yarn.lock index cb07574..3bb072b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1142,13 +1142,6 @@ dependencies: regenerator-runtime "^0.14.0" -"@babel/runtime@^7.7.6": - version "7.25.6" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.25.6.tgz#9afc3289f7184d8d7f98b099884c26317b9264d2" - integrity sha512-VBj9MYyDb9tuLq7yzqjgzt6Q+IBQLrGZfdjOekyEirZPHxXWoTSGUTMrpsfi58Up73d13NfYLv8HT9vmznjzhQ== - dependencies: - regenerator-runtime "^0.14.0" - "@babel/template@^7.22.15", "@babel/template@^7.24.0", "@babel/template@^7.3.3": version "7.24.0" resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.24.0.tgz#c6a524aa93a4a05d66aaf31654258fae69d87d50" @@ -6787,7 +6780,7 @@ highlight-words-core@^1.2.0: resolved "https://registry.yarnpkg.com/highlight-words-core/-/highlight-words-core-1.2.2.tgz#1eff6d7d9f0a22f155042a00791237791b1eeaaa" integrity sha512-BXUKIkUuh6cmmxzi5OIbUJxrG8OAk2MqoL1DtO3Wo9D2faJg2ph5ntyuQeLqaHJmzER6H5tllCDA9ZnNe9BVGg== -history@^4.10.1, history@^4.6.3, history@^4.9.0: +history@^4.0.0, history@^4.10.1, history@^4.6.3, history@^4.9.0: version "4.10.1" resolved "https://registry.yarnpkg.com/history/-/history-4.10.1.tgz#33371a65e3a83b267434e2b3f3b1b4c58aad4cf3" integrity sha512-36nwAD620w12kuzPAsyINPWJqlNbij+hpK1k9XRloDtym8mxzGYl2c17LnV6IAGB2Dmg4tEa7G7DlawS0+qjew== @@ -6799,13 +6792,6 @@ history@^4.10.1, history@^4.6.3, history@^4.9.0: tiny-warning "^1.0.0" value-equal "^1.0.1" -history@^5.0.0: - version "5.3.0" - resolved "https://registry.yarnpkg.com/history/-/history-5.3.0.tgz#1548abaa245ba47992f063a0783db91ef201c73b" - integrity sha512-ZqaKwjjrAYUYfLG+htGaIIZ4nioX2L70ZUMIFysS3xvBsSG4x/n1V6TXV3N8ZYNuFGlDirFg32T7B6WOUPDYcQ== - dependencies: - "@babel/runtime" "^7.7.6" - hmac-drbg@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1"