From 836a8ad8a0c9ef2e4019477892e9889413d33af4 Mon Sep 17 00:00:00 2001 From: Dennis Kigen Date: Tue, 19 Apr 2022 21:19:21 +0300 Subject: [PATCH 1/3] (refactor) Replace deprecated `useSessionUser` with `useSession` --- package.json | 2 +- .../appointments-form.component.tsx | 6 +- .../appointments/appointments-form.test.tsx | 3 +- .../visit/visit-form/visit-form.component.tsx | 4 +- .../src/offline/visit.ts | 4 +- .../conditions/conditions-form.component.tsx | 4 +- .../immunizations-form.component.tsx | 4 +- .../src/notes/visit-notes-form.component.tsx | 4 +- .../src/notes/visit-notes-form.test.tsx | 6 +- .../src/programs/programs-form.component.tsx | 4 +- .../vitals-biometrics-form.component.tsx | 6 +- yarn.lock | 224 ++++++++++-------- 12 files changed, 150 insertions(+), 121 deletions(-) diff --git a/package.json b/package.json index db7dc26913..e01fb4f129 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ }, "devDependencies": { "@jsenv/file-size-impact": "12.1.1", - "@openmrs/esm-framework": "next", + "@openmrs/esm-framework": "^3.2.1-pre.1134", "@swc/cli": "^0.1.57", "@swc/core": "^1.2.165", "@swc/jest": "^0.2.20", diff --git a/packages/esm-patient-appointments-app/src/appointments/appointments-form.component.tsx b/packages/esm-patient-appointments-app/src/appointments/appointments-form.component.tsx index c37efbc016..ced7592b9f 100644 --- a/packages/esm-patient-appointments-app/src/appointments/appointments-form.component.tsx +++ b/packages/esm-patient-appointments-app/src/appointments/appointments-form.component.tsx @@ -14,10 +14,10 @@ import { TimePicker, } from 'carbon-components-react'; import { amPm, convertTime12to24, DefaultWorkspaceProps } from '@openmrs/esm-patient-common-lib'; -import { useLocations, useSessionUser, showToast, showNotification, useLayoutType } from '@openmrs/esm-framework'; +import { useLocations, useSession, showToast, showNotification, useLayoutType } from '@openmrs/esm-framework'; import { appointmentsSearchUrl, createAppointment, useAppointmentService } from './appointments.resource'; -import styles from './appointments-form.scss'; import { AppointmentPayload } from '../types'; +import styles from './appointments-form.scss'; const appointmentTypes = [{ name: 'Scheduled' }, { name: 'WalkIn' }]; @@ -26,7 +26,7 @@ const AppointmentsForm: React.FC = ({ patientUuid, closeW const isTablet = useLayoutType() === 'tablet'; const { mutate } = useSWRConfig(); const locations = useLocations(); - const session = useSessionUser(); + const session = useSession(); const [appointmentNote, setAppointmentNote] = useState(''); const [selectedAppointmentType, setSelectedAppointmentType] = useState(''); const [selectedService, setSelectedService] = useState(''); diff --git a/packages/esm-patient-appointments-app/src/appointments/appointments-form.test.tsx b/packages/esm-patient-appointments-app/src/appointments/appointments-form.test.tsx index a1182764be..5904961fc8 100644 --- a/packages/esm-patient-appointments-app/src/appointments/appointments-form.test.tsx +++ b/packages/esm-patient-appointments-app/src/appointments/appointments-form.test.tsx @@ -27,9 +27,8 @@ jest.mock('@openmrs/esm-framework', () => { return { ...originalModule, - showToast: jest.fn(), useLocations: jest.fn().mockImplementation(() => mockLocations), - useSessionUser: jest.fn().mockImplementation(() => mockSessionDataResponse.data), + useSession: jest.fn().mockImplementation(() => mockSessionDataResponse.data), }; }); diff --git a/packages/esm-patient-chart-app/src/visit/visit-form/visit-form.component.tsx b/packages/esm-patient-chart-app/src/visit/visit-form/visit-form.component.tsx index 2cf65ac3e4..e5da74da51 100644 --- a/packages/esm-patient-chart-app/src/visit/visit-form/visit-form.component.tsx +++ b/packages/esm-patient-chart-app/src/visit/visit-form/visit-form.component.tsx @@ -25,7 +25,7 @@ import { showNotification, showToast, useLocations, - useSessionUser, + useSession, ExtensionSlot, NewVisitPayload, toOmrsIsoString, @@ -51,7 +51,7 @@ const StartVisitForm: React.FC = ({ patientUuid, closeWor const { t } = useTranslation(); const isTablet = useLayoutType() === 'tablet'; const locations = useLocations(); - const sessionUser = useSessionUser(); + const sessionUser = useSession(); const config = useConfig() as ChartConfig; const [contentSwitcherIndex, setContentSwitcherIndex] = useState(config.showRecommendedVisitTypeTab ? 0 : 1); const [isMissingVisitType, setIsMissingVisitType] = useState(false); diff --git a/packages/esm-patient-common-lib/src/offline/visit.ts b/packages/esm-patient-common-lib/src/offline/visit.ts index 81606bc3dd..e785ca2056 100644 --- a/packages/esm-patient-common-lib/src/offline/visit.ts +++ b/packages/esm-patient-common-lib/src/offline/visit.ts @@ -4,7 +4,7 @@ import { QueueItemDescriptor, queueSynchronizationItem, useConnectivity, - useSessionUser, + useSession, useVisit, Visit, } from '@openmrs/esm-framework'; @@ -67,7 +67,7 @@ export function useOfflineVisit(patientUuid: string): ReturnType { diff --git a/packages/esm-patient-conditions-app/src/conditions/conditions-form.component.tsx b/packages/esm-patient-conditions-app/src/conditions/conditions-form.component.tsx index 3854a0cc54..2ed1740ff4 100644 --- a/packages/esm-patient-conditions-app/src/conditions/conditions-form.component.tsx +++ b/packages/esm-patient-conditions-app/src/conditions/conditions-form.component.tsx @@ -11,7 +11,7 @@ import { showNotification, showToast, useLayoutType, - useSessionUser, + useSession, } from '@openmrs/esm-framework'; import { Tile, @@ -34,7 +34,7 @@ const searchTimeoutInMs = 500; const ConditionsForm: React.FC = ({ closeWorkspace, patientUuid }) => { const { t } = useTranslation(); const isTablet = useLayoutType() === 'tablet'; - const session = useSessionUser(); + const session = useSession(); const { mutate } = useSWRConfig(); const [clinicalStatus, setClinicalStatus] = React.useState('active'); const [endDate, setEndDate] = React.useState(null); diff --git a/packages/esm-patient-immunizations-app/src/immunizations/immunizations-form.component.tsx b/packages/esm-patient-immunizations-app/src/immunizations/immunizations-form.component.tsx index 28075edaf7..e28235060f 100644 --- a/packages/esm-patient-immunizations-app/src/immunizations/immunizations-form.component.tsx +++ b/packages/esm-patient-immunizations-app/src/immunizations/immunizations-form.component.tsx @@ -1,6 +1,6 @@ import React, { SyntheticEvent, useEffect, useState } from 'react'; import styles from './immunizations-form.scss'; -import { showNotification, showToast, useSessionUser, useVisit, useLayoutType } from '@openmrs/esm-framework'; +import { showNotification, showToast, useSession, useVisit, useLayoutType } from '@openmrs/esm-framework'; import { useTranslation } from 'react-i18next'; import { savePatientImmunization } from './immunizations.resource'; import { mapToFHIRImmunizationResource } from './immunization-mapper'; @@ -53,7 +53,7 @@ const ImmunizationsForm: React.FC = ({ patientUuid, close setFormState((state) => ({ ...state, [name]: value })); const { t } = useTranslation(); - const currentUser = useSessionUser(); + const currentUser = useSession(); const { currentVisit } = useVisit(patientUuid); const isTablet = useLayoutType() === 'tablet'; diff --git a/packages/esm-patient-notes-app/src/notes/visit-notes-form.component.tsx b/packages/esm-patient-notes-app/src/notes/visit-notes-form.component.tsx index e81e9d0582..e9b5c12ceb 100644 --- a/packages/esm-patient-notes-app/src/notes/visit-notes-form.component.tsx +++ b/packages/esm-patient-notes-app/src/notes/visit-notes-form.component.tsx @@ -26,7 +26,7 @@ import { showToast, useConfig, useLayoutType, - useSessionUser, + useSession, } from '@openmrs/esm-framework'; import { convertToObsPayload } from './visit-note.util'; import { fetchDiagnosisByName, fetchLocationByUuid, fetchProviderByUuid, saveVisitNote } from './visit-notes.resource'; @@ -46,7 +46,7 @@ const encountersCustomRepresentation = const VisitNotesForm: React.FC = ({ closeWorkspace, patientUuid }) => { const { t } = useTranslation(); const isTablet = useLayoutType() === 'tablet'; - const session = useSessionUser(); + const session = useSession(); const { mutate } = useSWRConfig(); const config = useConfig() as ConfigObject; const { clinicianEncounterRole, encounterNoteTextConceptUuid, encounterTypeUuid, formConceptUuid } = diff --git a/packages/esm-patient-notes-app/src/notes/visit-notes-form.test.tsx b/packages/esm-patient-notes-app/src/notes/visit-notes-form.test.tsx index 3dc5d5260d..c99546519d 100644 --- a/packages/esm-patient-notes-app/src/notes/visit-notes-form.test.tsx +++ b/packages/esm-patient-notes-app/src/notes/visit-notes-form.test.tsx @@ -2,7 +2,7 @@ import React from 'react'; import userEvent from '@testing-library/user-event'; import { screen, render, waitFor } from '@testing-library/react'; import { of } from 'rxjs/internal/observable/of'; -import { createErrorHandler, showNotification, showToast, useConfig, useSessionUser } from '@openmrs/esm-framework'; +import { createErrorHandler, showNotification, showToast, useConfig, useSession } from '@openmrs/esm-framework'; import { fetchDiagnosisByName, fetchLocationByUuid, fetchProviderByUuid, saveVisitNote } from './visit-notes.resource'; import { ConfigMock } from '../../../../__mocks__/chart-widgets-config.mock'; import { mockPatient } from '../../../../__mocks__/patient.mock'; @@ -29,7 +29,7 @@ const mockSaveVisitNote = saveVisitNote as jest.Mock; const mockShowNotification = showNotification as jest.Mock; const mockShowToast = showToast as jest.Mock; const mockUseConfig = useConfig as jest.Mock; -const mockUseSessionUser = useSessionUser as jest.Mock; +const mockUseSession = useSession as jest.Mock; jest.mock('lodash-es/debounce', () => jest.fn((fn) => fn)); @@ -58,7 +58,7 @@ describe('Visit notes form: ', () => { mockFetchProviderByUuid.mockResolvedValue(mockFetchProviderByUuidResponse); mockFetchDiagnosisByName.mockReturnValue(of(diagnosisSearchResponse.results)); mockUseConfig.mockReturnValue(ConfigMock); - mockUseSessionUser.mockReturnValue(mockSessionDataResponse); + mockUseSession.mockReturnValue(mockSessionDataResponse); }); it('renders the visit notes form with all the relevant fields and values', () => { diff --git a/packages/esm-patient-programs-app/src/programs/programs-form.component.tsx b/packages/esm-patient-programs-app/src/programs/programs-form.component.tsx index e6d362f7ba..b83075525d 100644 --- a/packages/esm-patient-programs-app/src/programs/programs-form.component.tsx +++ b/packages/esm-patient-programs-app/src/programs/programs-form.component.tsx @@ -9,7 +9,7 @@ import { createErrorHandler, showNotification, showToast, - useSessionUser, + useSession, useLocations, useLayoutType, } from '@openmrs/esm-framework'; @@ -35,7 +35,7 @@ import styles from './programs-form.scss'; const ProgramsForm: React.FC = ({ closeWorkspace, patientUuid }) => { const { t } = useTranslation(); const isTablet = useLayoutType() === 'tablet'; - const session = useSessionUser(); + const session = useSession(); const availableLocations = useLocations(); const { mutate } = useSWRConfig(); diff --git a/packages/esm-patient-vitals-app/src/vitals/vitals-biometrics-form/vitals-biometrics-form.component.tsx b/packages/esm-patient-vitals-app/src/vitals/vitals-biometrics-form/vitals-biometrics-form.component.tsx index 6e79d2d33e..27678121e5 100644 --- a/packages/esm-patient-vitals-app/src/vitals/vitals-biometrics-form/vitals-biometrics-form.component.tsx +++ b/packages/esm-patient-vitals-app/src/vitals/vitals-biometrics-form/vitals-biometrics-form.component.tsx @@ -8,15 +8,15 @@ import { showNotification, useConfig, useLayoutType, - useSessionUser, + useSession, } from '@openmrs/esm-framework'; import { DefaultWorkspaceProps, useVitalsConceptMetadata } from '@openmrs/esm-patient-common-lib'; import { Column, Grid, Row, Button, ButtonSet, Form } from 'carbon-components-react'; import { calculateBMI, isInNormalRange } from './vitals-biometrics-form.utils'; import { savePatientVitals } from '../vitals.resource'; import { ConfigObject } from '../../config-schema'; -import styles from './vitals-biometrics-form.component.scss'; import VitalsBiometricInput from './vitals-biometrics-input.component'; +import styles from './vitals-biometrics-form.component.scss'; export interface PatientVitalsAndBiometrics { systolicBloodPressure: string; @@ -34,7 +34,7 @@ export interface PatientVitalsAndBiometrics { const VitalsAndBiometricForms: React.FC = ({ patientUuid, closeWorkspace }) => { const { t } = useTranslation(); const isTablet = useLayoutType() === 'tablet'; - const session = useSessionUser(); + const session = useSession(); const config = useConfig() as ConfigObject; const { cache, mutate }: { cache: any; mutate: Function } = useSWRConfig(); const { data: conceptUnits, conceptMetadata } = useVitalsConceptMetadata(); diff --git a/yarn.lock b/yarn.lock index 8863fb2326..da0d26e64e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3244,14 +3244,6 @@ dependencies: "@octokit/openapi-types" "^11.2.0" -"@openmrs/esm-api@^3.2.1-pre.1105": - version "3.2.1-pre.1105" - resolved "https://registry.yarnpkg.com/@openmrs/esm-api/-/esm-api-3.2.1-pre.1105.tgz#4bbf0c822ef83cd4bc26dffda97466b88a23ae93" - integrity sha512-KMsDg6th8BKaR6PM7Qqw0LxMxUMnkMPM4VTaTZv6ugEW5a2LLtEFgp17cUBaalM4Wvqa2c7GPmVCI6pgFt9IgQ== - dependencies: - fhir.js "0.0.22" - lodash-es "^4.17.21" - "@openmrs/esm-api@^3.2.1-pre.1118": version "3.2.1-pre.1118" resolved "https://registry.yarnpkg.com/@openmrs/esm-api/-/esm-api-3.2.1-pre.1118.tgz#77754a1eff7c4044ec04543c34b76db0fb3e3a74" @@ -3260,6 +3252,14 @@ fhir.js "0.0.22" lodash-es "^4.17.21" +"@openmrs/esm-api@^3.2.1-pre.1134": + version "3.2.1-pre.1134" + resolved "https://registry.yarnpkg.com/@openmrs/esm-api/-/esm-api-3.2.1-pre.1134.tgz#a631ee51ccdae250f99f5c601269be0f63bd92fa" + integrity sha512-RdJ70F0S9Bw7SrRP44Ril+E3M+oe2zAfS2MA2d4iIPeo6fwSaoogNOt96fcdeavP1P0ShMhvYwNKQFAU42dlrg== + dependencies: + fhir.js "0.0.22" + lodash-es "^4.17.21" + "@openmrs/esm-app-shell@3.2.1-pre.1118": version "3.2.1-pre.1118" resolved "https://registry.yarnpkg.com/@openmrs/esm-app-shell/-/esm-app-shell-3.2.1-pre.1118.tgz#bcbce1c4ee234d1b556e75a4228fb6dff127ce3d" @@ -3288,13 +3288,6 @@ workbox-strategies "^6.1.5" workbox-window "^6.1.5" -"@openmrs/esm-breadcrumbs@^3.2.1-pre.1105": - version "3.2.1-pre.1105" - resolved "https://registry.yarnpkg.com/@openmrs/esm-breadcrumbs/-/esm-breadcrumbs-3.2.1-pre.1105.tgz#55c34458b343c0246d0ef01bd391e2f7a01ca512" - integrity sha512-ICodprgYxLhymLSgo+DfLGJOwBy1BCx50eAPibpOeZcezZRmeC/FisdVInAT5sVleiPMVa23KDaIruLzANV/pA== - dependencies: - path-to-regexp "6.1.0" - "@openmrs/esm-breadcrumbs@^3.2.1-pre.1118": version "3.2.1-pre.1118" resolved "https://registry.yarnpkg.com/@openmrs/esm-breadcrumbs/-/esm-breadcrumbs-3.2.1-pre.1118.tgz#e229e201982bf42cd72a72651205320be8010b29" @@ -3302,12 +3295,12 @@ dependencies: path-to-regexp "6.1.0" -"@openmrs/esm-config@^3.2.1-pre.1105": - version "3.2.1-pre.1105" - resolved "https://registry.yarnpkg.com/@openmrs/esm-config/-/esm-config-3.2.1-pre.1105.tgz#0ae156b49136ad504bfa0092d2ad1eda667c5e37" - integrity sha512-3jHugxkmzMq2InnlgmOOjAMvCuuJcjKxGdEbTwdgyzw1fDdIufFbSttdAN0vE/CGgeYvMJpqYTBclN0kLKXCCw== +"@openmrs/esm-breadcrumbs@^3.2.1-pre.1134": + version "3.2.1-pre.1134" + resolved "https://registry.yarnpkg.com/@openmrs/esm-breadcrumbs/-/esm-breadcrumbs-3.2.1-pre.1134.tgz#aec82fad9bdaa4fad55255411722679b57959fae" + integrity sha512-nMZRUIpuxvPouP378nE+59WMjrS/N3eZ8Ke8Hi53LIRk4V77aG2ukIxfLfgE7wMg1h8XzAXP04ubeoufY+vH/w== dependencies: - ramda "^0.26.1" + path-to-regexp "6.1.0" "@openmrs/esm-config@^3.2.1-pre.1118": version "3.2.1-pre.1118" @@ -3316,22 +3309,22 @@ dependencies: ramda "^0.26.1" -"@openmrs/esm-error-handling@^3.2.1-pre.1105": - version "3.2.1-pre.1105" - resolved "https://registry.yarnpkg.com/@openmrs/esm-error-handling/-/esm-error-handling-3.2.1-pre.1105.tgz#06f1e6b090dd66aeccfbb668d56a7fd4eb1787ec" - integrity sha512-GSEgp8wPfWre6ZVbbQDR8ExIajuCcnfBWICkYukgyuJivaeC+XXS8mpXnfpxmFDuQ0GrH4iQP2QzcrjzH28sAg== +"@openmrs/esm-config@^3.2.1-pre.1134": + version "3.2.1-pre.1134" + resolved "https://registry.yarnpkg.com/@openmrs/esm-config/-/esm-config-3.2.1-pre.1134.tgz#a830056d79cbaf1f898f9eb9168489548bf5f3af" + integrity sha512-jBWJQxWvAI90BuFv7mKRYXo9Ne+ImdV6Rb3lseZpAKeHqSWZzugaKdmJhBeLHadxuMZLZSmVxfjYigpgvck06Q== + dependencies: + ramda "^0.26.1" "@openmrs/esm-error-handling@^3.2.1-pre.1118": version "3.2.1-pre.1118" resolved "https://registry.yarnpkg.com/@openmrs/esm-error-handling/-/esm-error-handling-3.2.1-pre.1118.tgz#eaf73e114fb58ffa5d37a16fe4ccce73c555da75" integrity sha512-DBXoTKWPiffaa6UCy+ZToXBUsdPXFMoDn7nRWJvyLQ8z9xdzK+76XAWm1GOA1nfnaFree+FwZU9kGTN9VlHKhw== -"@openmrs/esm-extensions@^3.2.1-pre.1105": - version "3.2.1-pre.1105" - resolved "https://registry.yarnpkg.com/@openmrs/esm-extensions/-/esm-extensions-3.2.1-pre.1105.tgz#c81f2e135fa0289ec8830b4160288ba12bd04691" - integrity sha512-Jkhy6nbRUuy8JMelbpiOn7z4br6DcsVTJ7+9jZnriFHS0LPE/KG+wDjLN975qbG7JH/HpmMrKh7XUX4IC/xgcA== - dependencies: - lodash-es "^4.17.21" +"@openmrs/esm-error-handling@^3.2.1-pre.1134": + version "3.2.1-pre.1134" + resolved "https://registry.yarnpkg.com/@openmrs/esm-error-handling/-/esm-error-handling-3.2.1-pre.1134.tgz#a58e706714ee1594153a07f95a9e7be4331b0676" + integrity sha512-/VbIw1WTDfi+DnPVUPLBgALDolpInDiZ8mmfTsNi3EK2XLhLy4gP/uZWqbeIDzH4nzdO8RPTVnhqu81vN+1m7g== "@openmrs/esm-extensions@^3.2.1-pre.1118": version "3.2.1-pre.1118" @@ -3340,6 +3333,13 @@ dependencies: lodash-es "^4.17.21" +"@openmrs/esm-extensions@^3.2.1-pre.1134": + version "3.2.1-pre.1134" + resolved "https://registry.yarnpkg.com/@openmrs/esm-extensions/-/esm-extensions-3.2.1-pre.1134.tgz#28b9851acc6a4979c285aff17e3cf461e78d40f8" + integrity sha512-6zqaEL7WIc2VSdFdLAu51wNd3SEfWgsq+JQ36i9g5e1YnTJQadC9+ZeU2c6ob4TjwMtyRi95PdyUwPaoIH7WXg== + dependencies: + lodash-es "^4.17.21" + "@openmrs/esm-framework@^3.2.1-pre.1118": version "3.2.1-pre.1118" resolved "https://registry.yarnpkg.com/@openmrs/esm-framework/-/esm-framework-3.2.1-pre.1118.tgz#9a1c75209e83e29d44c07713544c4b9933e7f8f4" @@ -3358,43 +3358,33 @@ "@openmrs/esm-utils" "^3.2.1-pre.1118" dayjs "^1.10.7" -"@openmrs/esm-framework@next": - version "3.2.1-pre.1105" - resolved "https://registry.yarnpkg.com/@openmrs/esm-framework/-/esm-framework-3.2.1-pre.1105.tgz#fef1a3139a9fa84eed6a83115ab682c5e0ed0a37" - integrity sha512-/dHnNjvPknB8wnFf1B/unC7gKcuyG086kTByyNev3TJc1HJOTSa4Eoro9yj04J5Rg9qJgPOu0g5vXXlrHVv8vg== - dependencies: - "@openmrs/esm-api" "^3.2.1-pre.1105" - "@openmrs/esm-breadcrumbs" "^3.2.1-pre.1105" - "@openmrs/esm-config" "^3.2.1-pre.1105" - "@openmrs/esm-error-handling" "^3.2.1-pre.1105" - "@openmrs/esm-extensions" "^3.2.1-pre.1105" - "@openmrs/esm-globals" "^3.2.1-pre.1105" - "@openmrs/esm-offline" "^3.2.1-pre.1105" - "@openmrs/esm-react-utils" "^3.2.1-pre.1105" - "@openmrs/esm-state" "^3.2.1-pre.1105" - "@openmrs/esm-styleguide" "^3.2.1-pre.1105" - "@openmrs/esm-utils" "^3.2.1-pre.1105" +"@openmrs/esm-framework@^3.2.1-pre.1134": + version "3.2.1-pre.1134" + resolved "https://registry.yarnpkg.com/@openmrs/esm-framework/-/esm-framework-3.2.1-pre.1134.tgz#3a859eb624aa1b731a9cc29103f1e3fbc6d3d5d8" + integrity sha512-TFPjCih/cRzY0gxLXiqsf/flKLRHhjdqCzhDsw3nR4pRS3aEF87sOBCLDJHKSiRGb3EEADNcOp5M566YwiC+Vg== + dependencies: + "@openmrs/esm-api" "^3.2.1-pre.1134" + "@openmrs/esm-breadcrumbs" "^3.2.1-pre.1134" + "@openmrs/esm-config" "^3.2.1-pre.1134" + "@openmrs/esm-error-handling" "^3.2.1-pre.1134" + "@openmrs/esm-extensions" "^3.2.1-pre.1134" + "@openmrs/esm-globals" "^3.2.1-pre.1134" + "@openmrs/esm-offline" "^3.2.1-pre.1134" + "@openmrs/esm-react-utils" "^3.2.1-pre.1134" + "@openmrs/esm-state" "^3.2.1-pre.1134" + "@openmrs/esm-styleguide" "^3.2.1-pre.1134" + "@openmrs/esm-utils" "^3.2.1-pre.1134" dayjs "^1.10.7" -"@openmrs/esm-globals@^3.2.1-pre.1105": - version "3.2.1-pre.1105" - resolved "https://registry.yarnpkg.com/@openmrs/esm-globals/-/esm-globals-3.2.1-pre.1105.tgz#f290197e96e2fade336ae0220834b0697f20d839" - integrity sha512-5K/uGzY4+l0v4L/BHBgdw+ivK0Smio0SomOxUCjabDkZO+Kdyklnm1wKmIkE0pIzZJYBzNm6GXNutU8HEf1uQg== - "@openmrs/esm-globals@^3.2.1-pre.1118": version "3.2.1-pre.1118" resolved "https://registry.yarnpkg.com/@openmrs/esm-globals/-/esm-globals-3.2.1-pre.1118.tgz#19b98907dcd7d8cb226b944f74786ec0ea166d56" integrity sha512-+LS0GJ7qEvSNcOIcSk70ljSCkPTkhCy4YNvgPiGUFLhERvKXRwovtiY8ZiBL6fHDQ/Je8Y1zRSGqtCRX/GdDbw== -"@openmrs/esm-offline@^3.2.1-pre.1105": - version "3.2.1-pre.1105" - resolved "https://registry.yarnpkg.com/@openmrs/esm-offline/-/esm-offline-3.2.1-pre.1105.tgz#25d5777c91b9dec4f36f5857033bfeffd27fe73f" - integrity sha512-CGZbTvXI6HkVSVdXM0WQqZRshNxACK9I74QCpHiCOuzFvmgU2GNvA5cVSew1lQzLqBLY/bCNO/+tuHrKwPifhg== - dependencies: - dexie "^3.0.3" - lodash-es "4.17.21" - uuid "^8.3.2" - workbox-window "^6.1.5" +"@openmrs/esm-globals@^3.2.1-pre.1134": + version "3.2.1-pre.1134" + resolved "https://registry.yarnpkg.com/@openmrs/esm-globals/-/esm-globals-3.2.1-pre.1134.tgz#235b3e33c2da055cad32e116263998fcf9ea72ac" + integrity sha512-FFvkHEL4cNMPxv7acHYkz2ZkAKbqaKHls4s5B5T0bZCBszSjyEeOhUox9pc8BbzalOZg4tIA0pglkbxN7qjgkQ== "@openmrs/esm-offline@^3.2.1-pre.1118": version "3.2.1-pre.1118" @@ -3406,14 +3396,15 @@ uuid "^8.3.2" workbox-window "^6.1.5" -"@openmrs/esm-react-utils@^3.2.1-pre.1105": - version "3.2.1-pre.1105" - resolved "https://registry.yarnpkg.com/@openmrs/esm-react-utils/-/esm-react-utils-3.2.1-pre.1105.tgz#8108bcca68f427c67d489a68d410fcad0b9d6cc8" - integrity sha512-2o74EbXTjqdUMOYIWaxeuUArpy2D8vMngdalhsqCrsxhcakeMBE1A+D7v87qioswKdQ95c85aKkUwyNhzosuXA== +"@openmrs/esm-offline@^3.2.1-pre.1134": + version "3.2.1-pre.1134" + resolved "https://registry.yarnpkg.com/@openmrs/esm-offline/-/esm-offline-3.2.1-pre.1134.tgz#9e9beb6dacb2ae7fa25c7ad126429fe3d223aac4" + integrity sha512-COrGH/f7+sc2g1z/PGfxO5HiES1Nmaj+ozRjF7tdLF7goCtwJkbUgOfU7I3kcXOSSomM44pzPkBoV0xzRzd8aQ== dependencies: - lodash-es "^4.17.21" - single-spa-react "^4.1.1" - swr "^1.2.2" + dexie "^3.0.3" + lodash-es "4.17.21" + uuid "^8.3.2" + workbox-window "^6.1.5" "@openmrs/esm-react-utils@^3.2.1-pre.1118": version "3.2.1-pre.1118" @@ -3424,12 +3415,14 @@ single-spa-react "^4.1.1" swr "^1.2.2" -"@openmrs/esm-state@^3.2.1-pre.1105": - version "3.2.1-pre.1105" - resolved "https://registry.yarnpkg.com/@openmrs/esm-state/-/esm-state-3.2.1-pre.1105.tgz#9b75af74a7dcd8b92d31f6802d51c93cbfd52da4" - integrity sha512-2Kx/q/LV1aUCkWhBOJaZk1FJOqScFgHHOnxwYsEAp64dZTJeodGyEwnFxdr6VOsav9LGhDjfXnHKg1ovK86/sA== +"@openmrs/esm-react-utils@^3.2.1-pre.1134": + version "3.2.1-pre.1134" + resolved "https://registry.yarnpkg.com/@openmrs/esm-react-utils/-/esm-react-utils-3.2.1-pre.1134.tgz#937f612fee998d988731fd32445606b2c504f7e7" + integrity sha512-0cnx7v9XG30UW8IlDcDF9Cq9fNfLo+cwXyOIYcP05H946TG6dniZvD9LYFBPmJ0+rxhofv+Ca+u/iAZ2UYeBjQ== dependencies: - unistore "^3.5.2" + lodash-es "^4.17.21" + single-spa-react "^4.1.1" + swr "^1.2.2" "@openmrs/esm-state@^3.2.1-pre.1118": version "3.2.1-pre.1118" @@ -3438,14 +3431,12 @@ dependencies: unistore "^3.5.2" -"@openmrs/esm-styleguide@^3.2.1-pre.1105": - version "3.2.1-pre.1105" - resolved "https://registry.yarnpkg.com/@openmrs/esm-styleguide/-/esm-styleguide-3.2.1-pre.1105.tgz#99a4ee9e61ae8477a896a120497e4e307f29f69a" - integrity sha512-k0N2VG5U03IfOJxlEgHWY3d9Heqq79aelsFhDrTnFge1BdXRFwPASCv9u9LylOCMiKHdqGNSG3my2ioq3nuOjA== +"@openmrs/esm-state@^3.2.1-pre.1134": + version "3.2.1-pre.1134" + resolved "https://registry.yarnpkg.com/@openmrs/esm-state/-/esm-state-3.2.1-pre.1134.tgz#3f69fce31e54fbfa0a9a72a6907f577673e14c9d" + integrity sha512-HsStqKj2eeb6wXb4XdmpZEq0yXTK0ei+nSYqYJAwYdu5APHkXKmiQh+4f1FMO5I8YfSNutbzWkBxS5omEH1jUg== dependencies: - "@carbon/charts" "^0.41.57" - carbon-components-react "7.31.0" - lodash-es "^4.17.21" + unistore "^3.5.2" "@openmrs/esm-styleguide@^3.2.1-pre.1118": version "3.2.1-pre.1118" @@ -3456,12 +3447,14 @@ carbon-components-react "7.31.0" lodash-es "^4.17.21" -"@openmrs/esm-utils@^3.2.1-pre.1105": - version "3.2.1-pre.1105" - resolved "https://registry.yarnpkg.com/@openmrs/esm-utils/-/esm-utils-3.2.1-pre.1105.tgz#90bdfd297919a2e0c2366734e5061f8da90a6c18" - integrity sha512-u8mSFaPZw5jxwKv/EhBhuntgNIXOtMoFajsZvKxlOYk4P66jroXwAfJnULa2BbAn0LlU0dhxu4ZlzqFiUfci3w== +"@openmrs/esm-styleguide@^3.2.1-pre.1134": + version "3.2.1-pre.1134" + resolved "https://registry.yarnpkg.com/@openmrs/esm-styleguide/-/esm-styleguide-3.2.1-pre.1134.tgz#ae3dac5347173771672ae60a8d5d6f020ef36cae" + integrity sha512-yGscNCCu+ZurMJhlS17nRRu+MAJf400f3V+f1Bm8LLZvnHstU6vTcsvkvp1NfdVNlPqPGAiPvRbbRynJKGmfrw== dependencies: - semver "^7.3.2" + "@carbon/charts" "^0.41.57" + carbon-components-react "7.31.0" + lodash-es "^4.17.21" "@openmrs/esm-utils@^3.2.1-pre.1118": version "3.2.1-pre.1118" @@ -3470,6 +3463,13 @@ dependencies: semver "^7.3.2" +"@openmrs/esm-utils@^3.2.1-pre.1134": + version "3.2.1-pre.1134" + resolved "https://registry.yarnpkg.com/@openmrs/esm-utils/-/esm-utils-3.2.1-pre.1134.tgz#c04a11058f2353abc966a10964b03f801965eeca" + integrity sha512-3EieZEkabWPB8nmBjsDEQip81Ar7YqwRm0gz2jQnfqYVJziqODkxBJOmKibHIG0GwDxMM4Uc/nddTZwL8RMDIw== + dependencies: + semver "^7.3.2" + "@openmrs/webpack-config@^3.2.1-pre.1118": version "3.2.1-pre.1118" resolved "https://registry.yarnpkg.com/@openmrs/webpack-config/-/webpack-config-3.2.1-pre.1118.tgz#eaca2cce95bea3473fe3b7e5f8796d1845b0145f" @@ -4055,9 +4055,9 @@ integrity sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ== "@types/node@*": - version "17.0.23" - resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.23.tgz#3b41a6e643589ac6442bdbd7a4a3ded62f33f7da" - integrity sha512-UxDxWn7dl97rKVeVS61vErvw086aCYhDLyvRQZ5Rk65rZKepaFdm53GeqXaKBuOhED4e9uWq34IC3TdSdJJ2Gw== + version "17.0.25" + resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.25.tgz#527051f3c2f77aa52e5dc74e45a3da5fb2301448" + integrity sha512-wANk6fBrUwdpY4isjWrKTufkrXdu1D2YHCot2fD/DfWxF5sMrVSA+KN7ydckvaTCh0HiqX9IVl0L5/ZoXg5M7w== "@types/node@16.9.1": version "16.9.1" @@ -7752,11 +7752,16 @@ dateformat@^3.0.0: resolved "https://registry.yarnpkg.com/dateformat/-/dateformat-3.0.3.tgz#a6e37499a4d9a9cf85ef5872044d62901c9889ae" integrity sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q== -dayjs@^1.10.4, dayjs@^1.10.7, dayjs@^1.8.36: +dayjs@^1.10.4, dayjs@^1.8.36: version "1.11.0" resolved "https://registry.yarnpkg.com/dayjs/-/dayjs-1.11.0.tgz#009bf7ef2e2ea2d5db2e6583d2d39a4b5061e805" integrity sha512-JLC809s6Y948/FuCZPm5IX8rRhQwOiyMb2TfVVQEixG7P8Lm/gt5S7yoQZmC8x1UehI9Pb7sksEt4xx14m+7Ug== +dayjs@^1.10.7: + version "1.11.1" + resolved "https://registry.yarnpkg.com/dayjs/-/dayjs-1.11.1.tgz#90b33a3dda3417258d48ad2771b415def6545eb0" + integrity sha512-ER7EjqVAMkRRsxNCC5YqJ9d9VQYuWdGt7aiH2qA5R5wt8ZmWaP2dLUSIK6y/kVzLMlmh1Tvu5xUf4M/wdGJ5KA== + de-indent@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/de-indent/-/de-indent-1.0.2.tgz#b2038e846dc33baa5796128d0804b455b8c1e21d" @@ -9026,9 +9031,9 @@ fb-watchman@^2.0.0: bser "2.1.1" fecha@^4.2.0: - version "4.2.1" - resolved "https://registry.yarnpkg.com/fecha/-/fecha-4.2.1.tgz#0a83ad8f86ef62a091e22bb5a039cd03d23eecce" - integrity sha512-MMMQ0ludy/nBs1/o0zVOiKTpG7qMbonKUzjJgQFEuvq6INZ1OraKPRAWkBq5vlKLOUMpmNYG1JoN3oDPUQ9m3Q== + version "4.2.3" + resolved "https://registry.yarnpkg.com/fecha/-/fecha-4.2.3.tgz#4d9ccdbc61e8629b259fdca67e65891448d569fd" + integrity sha512-OP2IUU6HeYKJi3i0z4A19kHMQoLVs4Hc+DPqqxI2h/DPZHTm/vjsfC6P0b4jCMy14XizLBqvndQ+UilD7707Jw== fhir.js@0.0.22: version "0.0.22" @@ -12309,9 +12314,9 @@ lru-cache@^6.0.0: yallist "^4.0.0" lru-cache@^7.4.0: - version "7.8.0" - resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-7.8.0.tgz#649aaeb294a56297b5cbc5d70f198dcc5ebe5747" - integrity sha512-AmXqneQZL3KZMIgBpaPTeI6pfwh+xQ2vutMsyqOu1TBdEXFZgpG/80wuJ531w2ZN7TI0/oc8CPxzh/DKQudZqg== + version "7.8.1" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-7.8.1.tgz#68ee3f4807a57d2ba185b7fd90827d5c21ce82bb" + integrity sha512-E1v547OCgJvbvevfjgK9sNKIVXO96NnsTsFPBlg4ZxjhsJSODoH9lk8Bm0OxvHNm6Vm5Yqkl/1fErDxhYL8Skg== lz-string@^1.4.4: version "1.4.4" @@ -15767,7 +15772,14 @@ semver@^7.0.0, semver@^7.1.1, semver@^7.1.3, semver@^7.2.1: dependencies: lru-cache "^6.0.0" -semver@^7.3.2, semver@^7.3.4, semver@^7.3.5: +semver@^7.3.2: + version "7.3.7" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.7.tgz#12c5b649afdbf9049707796e22a4028814ce523f" + integrity sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g== + dependencies: + lru-cache "^6.0.0" + +semver@^7.3.4, semver@^7.3.5: version "7.3.6" resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.6.tgz#5d73886fb9c0c6602e79440b97165c29581cbb2b" integrity sha512-HZWqcgwLsjaX1HBD31msI/rXktuIhS+lWvdE4kN9z+8IVT4Itc7vqU2WvYsyD6/sjYCt4dEKH/m1M3dwI9CC5w== @@ -16700,11 +16712,16 @@ swc-loader@^0.1.15: dependencies: loader-utils "^2.0.0" -swr@^1.1.2, swr@^1.2.2: +swr@^1.1.2: version "1.2.2" resolved "https://registry.yarnpkg.com/swr/-/swr-1.2.2.tgz#6cae09928d30593a7980d80f85823e57468fac5d" integrity sha512-ky0BskS/V47GpW8d6RU7CPsr6J8cr7mQD6+do5eky3bM0IyJaoi3vO8UhvrzJaObuTlGhPl2szodeB2dUd76Xw== +swr@^1.2.2: + version "1.3.0" + resolved "https://registry.yarnpkg.com/swr/-/swr-1.3.0.tgz#c6531866a35b4db37b38b72c45a63171faf9f4e8" + integrity sha512-dkghQrOl2ORX9HYrMDtPa7LTVHJjCTeZoB1dqTbnnEDlSvN8JEKpYIYurDfvbQFUUS8Cg8PceFVZNkW0KNNYPw== + symbol-observable@3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-3.0.0.tgz#eea8f6478c651018e059044268375c408c15c533" @@ -18382,6 +18399,11 @@ workbox-core@6.5.2, workbox-core@^6.1.5: resolved "https://registry.yarnpkg.com/workbox-core/-/workbox-core-6.5.2.tgz#f5e06a22c6cb4651d3e13107443d972fdbd47364" integrity sha512-IlxLGQf+wJHCR+NM0UWqDh4xe/Gu6sg2i4tfZk6WIij34IVk9BdOQgi6WvqSHd879jbQIUgL2fBdJUJyAP5ypQ== +workbox-core@6.5.3: + version "6.5.3" + resolved "https://registry.yarnpkg.com/workbox-core/-/workbox-core-6.5.3.tgz#bca038a9ef0d7a634a6db2a60f45313ed22ac249" + integrity sha512-Bb9ey5n/M9x+l3fBTlLpHt9ASTzgSGj6vxni7pY72ilB/Pb3XtN+cZ9yueboVhD5+9cNQrC9n/E1fSrqWsUz7Q== + workbox-expiration@6.5.2: version "6.5.2" resolved "https://registry.yarnpkg.com/workbox-expiration/-/workbox-expiration-6.5.2.tgz#ee6ed755a220a0b375d67831f9237e4dcbccb59c" @@ -18473,7 +18495,7 @@ workbox-webpack-plugin@^6.4.1: webpack-sources "^1.4.3" workbox-build "6.5.2" -workbox-window@6.5.2, workbox-window@^6.1.5: +workbox-window@6.5.2: version "6.5.2" resolved "https://registry.yarnpkg.com/workbox-window/-/workbox-window-6.5.2.tgz#46d6412cd57039bdf3d5dd914ad21fb3f98fe980" integrity sha512-2kZH37r9Wx8swjEOL4B8uGM53lakMxsKkQ7mOKzGA/QAn/DQTEZGrdHWtypk2tbhKY5S0jvPS+sYDnb2Z3378A== @@ -18481,6 +18503,14 @@ workbox-window@6.5.2, workbox-window@^6.1.5: "@types/trusted-types" "^2.0.2" workbox-core "6.5.2" +workbox-window@^6.1.5: + version "6.5.3" + resolved "https://registry.yarnpkg.com/workbox-window/-/workbox-window-6.5.3.tgz#4ade70056cb73477ef1cd8fea7cfd0ecbd825c7f" + integrity sha512-GnJbx1kcKXDtoJBVZs/P7ddP0Yt52NNy4nocjBpYPiRhMqTpJCNrSL+fGHZ/i/oP6p/vhE8II0sA6AZGKGnssw== + dependencies: + "@types/trusted-types" "^2.0.2" + workbox-core "6.5.3" + worker-farm@^1.7.0: version "1.7.0" resolved "https://registry.yarnpkg.com/worker-farm/-/worker-farm-1.7.0.tgz#26a94c5391bbca926152002f69b84a4bf772e5a8" From 170d9e086bab06932cc6bf5af1a1067ed7c68f9a Mon Sep 17 00:00:00 2001 From: Dennis Kigen Date: Tue, 19 Apr 2022 21:26:44 +0300 Subject: [PATCH 2/3] Restore `next` version of @openmrs/esm-framework --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e01fb4f129..db7dc26913 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ }, "devDependencies": { "@jsenv/file-size-impact": "12.1.1", - "@openmrs/esm-framework": "^3.2.1-pre.1134", + "@openmrs/esm-framework": "next", "@swc/cli": "^0.1.57", "@swc/core": "^1.2.165", "@swc/jest": "^0.2.20", From dbde73d415b4c84b4e60e577e7ae75385264bc2a Mon Sep 17 00:00:00 2001 From: Dennis Kigen Date: Wed, 20 Apr 2022 00:52:36 +0300 Subject: [PATCH 3/3] Bump @openmrs/esm-framework --- yarn.lock | 120 +++++++++++++++++++++++++++--------------------------- 1 file changed, 60 insertions(+), 60 deletions(-) diff --git a/yarn.lock b/yarn.lock index da0d26e64e..20d181008f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3252,10 +3252,10 @@ fhir.js "0.0.22" lodash-es "^4.17.21" -"@openmrs/esm-api@^3.2.1-pre.1134": - version "3.2.1-pre.1134" - resolved "https://registry.yarnpkg.com/@openmrs/esm-api/-/esm-api-3.2.1-pre.1134.tgz#a631ee51ccdae250f99f5c601269be0f63bd92fa" - integrity sha512-RdJ70F0S9Bw7SrRP44Ril+E3M+oe2zAfS2MA2d4iIPeo6fwSaoogNOt96fcdeavP1P0ShMhvYwNKQFAU42dlrg== +"@openmrs/esm-api@^3.2.1-pre.1143": + version "3.2.1-pre.1143" + resolved "https://registry.yarnpkg.com/@openmrs/esm-api/-/esm-api-3.2.1-pre.1143.tgz#f4074b55eefc1c90b43d5d87dc15f76f9fdbde77" + integrity sha512-5AjsyCC4UKSZVMLuYr0mKImT9CNXxisjUWDl/U0O13KjWBWclUH9eofG5V38GfcepIr64JhM1C3H67wP0qdCqw== dependencies: fhir.js "0.0.22" lodash-es "^4.17.21" @@ -3295,10 +3295,10 @@ dependencies: path-to-regexp "6.1.0" -"@openmrs/esm-breadcrumbs@^3.2.1-pre.1134": - version "3.2.1-pre.1134" - resolved "https://registry.yarnpkg.com/@openmrs/esm-breadcrumbs/-/esm-breadcrumbs-3.2.1-pre.1134.tgz#aec82fad9bdaa4fad55255411722679b57959fae" - integrity sha512-nMZRUIpuxvPouP378nE+59WMjrS/N3eZ8Ke8Hi53LIRk4V77aG2ukIxfLfgE7wMg1h8XzAXP04ubeoufY+vH/w== +"@openmrs/esm-breadcrumbs@^3.2.1-pre.1143": + version "3.2.1-pre.1143" + resolved "https://registry.yarnpkg.com/@openmrs/esm-breadcrumbs/-/esm-breadcrumbs-3.2.1-pre.1143.tgz#7dd32d228e803627e47f2f49950a2cdaf1dc7b1d" + integrity sha512-91IL5MbvmGvqsjqE5kLUbPuuwylSNG8SA/X3679MQGYJr3V1u0WmRLbiZgEfeebiJAcWMKRrB/n0r5tMLZBMBg== dependencies: path-to-regexp "6.1.0" @@ -3309,10 +3309,10 @@ dependencies: ramda "^0.26.1" -"@openmrs/esm-config@^3.2.1-pre.1134": - version "3.2.1-pre.1134" - resolved "https://registry.yarnpkg.com/@openmrs/esm-config/-/esm-config-3.2.1-pre.1134.tgz#a830056d79cbaf1f898f9eb9168489548bf5f3af" - integrity sha512-jBWJQxWvAI90BuFv7mKRYXo9Ne+ImdV6Rb3lseZpAKeHqSWZzugaKdmJhBeLHadxuMZLZSmVxfjYigpgvck06Q== +"@openmrs/esm-config@^3.2.1-pre.1143": + version "3.2.1-pre.1143" + resolved "https://registry.yarnpkg.com/@openmrs/esm-config/-/esm-config-3.2.1-pre.1143.tgz#8410f91124a8ad6003295ce47c8f5b870dd5affc" + integrity sha512-M4+Lpa/bC+oOirbErWleI+dqY78PIsOiqDbsnGSICa4Z7nNZYecnboNA9c81zaiD943yQMQTFlrCSkRF+7c6fg== dependencies: ramda "^0.26.1" @@ -3321,10 +3321,10 @@ resolved "https://registry.yarnpkg.com/@openmrs/esm-error-handling/-/esm-error-handling-3.2.1-pre.1118.tgz#eaf73e114fb58ffa5d37a16fe4ccce73c555da75" integrity sha512-DBXoTKWPiffaa6UCy+ZToXBUsdPXFMoDn7nRWJvyLQ8z9xdzK+76XAWm1GOA1nfnaFree+FwZU9kGTN9VlHKhw== -"@openmrs/esm-error-handling@^3.2.1-pre.1134": - version "3.2.1-pre.1134" - resolved "https://registry.yarnpkg.com/@openmrs/esm-error-handling/-/esm-error-handling-3.2.1-pre.1134.tgz#a58e706714ee1594153a07f95a9e7be4331b0676" - integrity sha512-/VbIw1WTDfi+DnPVUPLBgALDolpInDiZ8mmfTsNi3EK2XLhLy4gP/uZWqbeIDzH4nzdO8RPTVnhqu81vN+1m7g== +"@openmrs/esm-error-handling@^3.2.1-pre.1143": + version "3.2.1-pre.1143" + resolved "https://registry.yarnpkg.com/@openmrs/esm-error-handling/-/esm-error-handling-3.2.1-pre.1143.tgz#b90edd85db3ee4c63d67193946cf7cc5b326405a" + integrity sha512-elWe2vmn7Umn+rNciXJnup0/hSeFu0vJH+G/sQdTjQclBPliivUFQgCL1iQ8W/2DwBZaRn6b8I5aIn7tznBSNw== "@openmrs/esm-extensions@^3.2.1-pre.1118": version "3.2.1-pre.1118" @@ -3333,10 +3333,10 @@ dependencies: lodash-es "^4.17.21" -"@openmrs/esm-extensions@^3.2.1-pre.1134": - version "3.2.1-pre.1134" - resolved "https://registry.yarnpkg.com/@openmrs/esm-extensions/-/esm-extensions-3.2.1-pre.1134.tgz#28b9851acc6a4979c285aff17e3cf461e78d40f8" - integrity sha512-6zqaEL7WIc2VSdFdLAu51wNd3SEfWgsq+JQ36i9g5e1YnTJQadC9+ZeU2c6ob4TjwMtyRi95PdyUwPaoIH7WXg== +"@openmrs/esm-extensions@^3.2.1-pre.1143": + version "3.2.1-pre.1143" + resolved "https://registry.yarnpkg.com/@openmrs/esm-extensions/-/esm-extensions-3.2.1-pre.1143.tgz#b640bdf59adb237224dea1556fd703238686d954" + integrity sha512-OfxeEgry2GZBEKYY49z9QtQP6Jjg4evRy0dQFZVyoF8baOY7d6TOlDptEOPllwqsBFp+/IiT6Kys4UnfssaGJA== dependencies: lodash-es "^4.17.21" @@ -3358,22 +3358,22 @@ "@openmrs/esm-utils" "^3.2.1-pre.1118" dayjs "^1.10.7" -"@openmrs/esm-framework@^3.2.1-pre.1134": - version "3.2.1-pre.1134" - resolved "https://registry.yarnpkg.com/@openmrs/esm-framework/-/esm-framework-3.2.1-pre.1134.tgz#3a859eb624aa1b731a9cc29103f1e3fbc6d3d5d8" - integrity sha512-TFPjCih/cRzY0gxLXiqsf/flKLRHhjdqCzhDsw3nR4pRS3aEF87sOBCLDJHKSiRGb3EEADNcOp5M566YwiC+Vg== - dependencies: - "@openmrs/esm-api" "^3.2.1-pre.1134" - "@openmrs/esm-breadcrumbs" "^3.2.1-pre.1134" - "@openmrs/esm-config" "^3.2.1-pre.1134" - "@openmrs/esm-error-handling" "^3.2.1-pre.1134" - "@openmrs/esm-extensions" "^3.2.1-pre.1134" - "@openmrs/esm-globals" "^3.2.1-pre.1134" - "@openmrs/esm-offline" "^3.2.1-pre.1134" - "@openmrs/esm-react-utils" "^3.2.1-pre.1134" - "@openmrs/esm-state" "^3.2.1-pre.1134" - "@openmrs/esm-styleguide" "^3.2.1-pre.1134" - "@openmrs/esm-utils" "^3.2.1-pre.1134" +"@openmrs/esm-framework@^3.2.1-pre.1143": + version "3.2.1-pre.1143" + resolved "https://registry.yarnpkg.com/@openmrs/esm-framework/-/esm-framework-3.2.1-pre.1143.tgz#63e28d0b2025f4ccc5b69ce389f57e94f947cdc6" + integrity sha512-XCYxBKIq3/14mBPuABhQduF9vF+oqEDQ6E8+Z7Y36Vj0RVmrfBkjyD15OFcraGUdifIbFXZZfgoeRblyC6Xpzw== + dependencies: + "@openmrs/esm-api" "^3.2.1-pre.1143" + "@openmrs/esm-breadcrumbs" "^3.2.1-pre.1143" + "@openmrs/esm-config" "^3.2.1-pre.1143" + "@openmrs/esm-error-handling" "^3.2.1-pre.1143" + "@openmrs/esm-extensions" "^3.2.1-pre.1143" + "@openmrs/esm-globals" "^3.2.1-pre.1143" + "@openmrs/esm-offline" "^3.2.1-pre.1143" + "@openmrs/esm-react-utils" "^3.2.1-pre.1143" + "@openmrs/esm-state" "^3.2.1-pre.1143" + "@openmrs/esm-styleguide" "^3.2.1-pre.1143" + "@openmrs/esm-utils" "^3.2.1-pre.1143" dayjs "^1.10.7" "@openmrs/esm-globals@^3.2.1-pre.1118": @@ -3381,10 +3381,10 @@ resolved "https://registry.yarnpkg.com/@openmrs/esm-globals/-/esm-globals-3.2.1-pre.1118.tgz#19b98907dcd7d8cb226b944f74786ec0ea166d56" integrity sha512-+LS0GJ7qEvSNcOIcSk70ljSCkPTkhCy4YNvgPiGUFLhERvKXRwovtiY8ZiBL6fHDQ/Je8Y1zRSGqtCRX/GdDbw== -"@openmrs/esm-globals@^3.2.1-pre.1134": - version "3.2.1-pre.1134" - resolved "https://registry.yarnpkg.com/@openmrs/esm-globals/-/esm-globals-3.2.1-pre.1134.tgz#235b3e33c2da055cad32e116263998fcf9ea72ac" - integrity sha512-FFvkHEL4cNMPxv7acHYkz2ZkAKbqaKHls4s5B5T0bZCBszSjyEeOhUox9pc8BbzalOZg4tIA0pglkbxN7qjgkQ== +"@openmrs/esm-globals@^3.2.1-pre.1143": + version "3.2.1-pre.1143" + resolved "https://registry.yarnpkg.com/@openmrs/esm-globals/-/esm-globals-3.2.1-pre.1143.tgz#a4f243d88e82a86a40e0cdca344431d0d1284edc" + integrity sha512-FbgtV37L7PpHWb0my/na1/muYe8cPSQRHI0XbRMHUAiCcqyq4Zed8dE0a6sXf/UrP3kFRlU5+ZDHyLnEsCXxAw== "@openmrs/esm-offline@^3.2.1-pre.1118": version "3.2.1-pre.1118" @@ -3396,10 +3396,10 @@ uuid "^8.3.2" workbox-window "^6.1.5" -"@openmrs/esm-offline@^3.2.1-pre.1134": - version "3.2.1-pre.1134" - resolved "https://registry.yarnpkg.com/@openmrs/esm-offline/-/esm-offline-3.2.1-pre.1134.tgz#9e9beb6dacb2ae7fa25c7ad126429fe3d223aac4" - integrity sha512-COrGH/f7+sc2g1z/PGfxO5HiES1Nmaj+ozRjF7tdLF7goCtwJkbUgOfU7I3kcXOSSomM44pzPkBoV0xzRzd8aQ== +"@openmrs/esm-offline@^3.2.1-pre.1143": + version "3.2.1-pre.1143" + resolved "https://registry.yarnpkg.com/@openmrs/esm-offline/-/esm-offline-3.2.1-pre.1143.tgz#0b69cf5b949c6c3993ae05b462bad72f2090bb29" + integrity sha512-qgXeDzH44sBv7FjO90AbkqyFCKBw8f2sGv9yviOqmhPIJmsdbnLalLt9eWpBE7SLTUnKhn13iy93/+QHqrkdBg== dependencies: dexie "^3.0.3" lodash-es "4.17.21" @@ -3415,10 +3415,10 @@ single-spa-react "^4.1.1" swr "^1.2.2" -"@openmrs/esm-react-utils@^3.2.1-pre.1134": - version "3.2.1-pre.1134" - resolved "https://registry.yarnpkg.com/@openmrs/esm-react-utils/-/esm-react-utils-3.2.1-pre.1134.tgz#937f612fee998d988731fd32445606b2c504f7e7" - integrity sha512-0cnx7v9XG30UW8IlDcDF9Cq9fNfLo+cwXyOIYcP05H946TG6dniZvD9LYFBPmJ0+rxhofv+Ca+u/iAZ2UYeBjQ== +"@openmrs/esm-react-utils@^3.2.1-pre.1143": + version "3.2.1-pre.1143" + resolved "https://registry.yarnpkg.com/@openmrs/esm-react-utils/-/esm-react-utils-3.2.1-pre.1143.tgz#99899ea673564e19afbd600b3c0d79ed62bb3111" + integrity sha512-hYK0fiaHRNen3naAqJYfEcOpY8gXODWWQOdMq0yxXsl2CDko1c4/RePwQxVe29dAOXNMOHf8n/tIssfypwp5Og== dependencies: lodash-es "^4.17.21" single-spa-react "^4.1.1" @@ -3431,10 +3431,10 @@ dependencies: unistore "^3.5.2" -"@openmrs/esm-state@^3.2.1-pre.1134": - version "3.2.1-pre.1134" - resolved "https://registry.yarnpkg.com/@openmrs/esm-state/-/esm-state-3.2.1-pre.1134.tgz#3f69fce31e54fbfa0a9a72a6907f577673e14c9d" - integrity sha512-HsStqKj2eeb6wXb4XdmpZEq0yXTK0ei+nSYqYJAwYdu5APHkXKmiQh+4f1FMO5I8YfSNutbzWkBxS5omEH1jUg== +"@openmrs/esm-state@^3.2.1-pre.1143": + version "3.2.1-pre.1143" + resolved "https://registry.yarnpkg.com/@openmrs/esm-state/-/esm-state-3.2.1-pre.1143.tgz#3f27bdf8dbdaf822e7d40e82930417bb7ebc992a" + integrity sha512-2EnvzEUU9PHqfWt68CJxOYaXaTfYqem+7yn1JPoT/+4M9cECiLmmgbmArnp/QbEQ1zAfahXBCO291xAhGgdq9g== dependencies: unistore "^3.5.2" @@ -3447,10 +3447,10 @@ carbon-components-react "7.31.0" lodash-es "^4.17.21" -"@openmrs/esm-styleguide@^3.2.1-pre.1134": - version "3.2.1-pre.1134" - resolved "https://registry.yarnpkg.com/@openmrs/esm-styleguide/-/esm-styleguide-3.2.1-pre.1134.tgz#ae3dac5347173771672ae60a8d5d6f020ef36cae" - integrity sha512-yGscNCCu+ZurMJhlS17nRRu+MAJf400f3V+f1Bm8LLZvnHstU6vTcsvkvp1NfdVNlPqPGAiPvRbbRynJKGmfrw== +"@openmrs/esm-styleguide@^3.2.1-pre.1143": + version "3.2.1-pre.1143" + resolved "https://registry.yarnpkg.com/@openmrs/esm-styleguide/-/esm-styleguide-3.2.1-pre.1143.tgz#706b475d314678ce71318c38c705111ce7315732" + integrity sha512-CCj3/tndm0ng+yL8qpurwfzzZhNVGI4rqkkaKRtCXWimEd3llzYZrVF1de+yLYnAxriF1Eo4Y4BCZdkkpl4xyQ== dependencies: "@carbon/charts" "^0.41.57" carbon-components-react "7.31.0" @@ -3463,10 +3463,10 @@ dependencies: semver "^7.3.2" -"@openmrs/esm-utils@^3.2.1-pre.1134": - version "3.2.1-pre.1134" - resolved "https://registry.yarnpkg.com/@openmrs/esm-utils/-/esm-utils-3.2.1-pre.1134.tgz#c04a11058f2353abc966a10964b03f801965eeca" - integrity sha512-3EieZEkabWPB8nmBjsDEQip81Ar7YqwRm0gz2jQnfqYVJziqODkxBJOmKibHIG0GwDxMM4Uc/nddTZwL8RMDIw== +"@openmrs/esm-utils@^3.2.1-pre.1143": + version "3.2.1-pre.1143" + resolved "https://registry.yarnpkg.com/@openmrs/esm-utils/-/esm-utils-3.2.1-pre.1143.tgz#a2f7656fbda44b3299af2360f5046c0b6fc62c7b" + integrity sha512-UjggkNTPh641aHSGUmZmsV3NHQLHui20TStYYujXnz+6mCNAYyqoM/j+9hyhG0onfP6bZIbQHjfGzYcMpl3Xdg== dependencies: semver "^7.3.2"