diff --git a/.github/workflows/verify-pr.yml b/.github/workflows/verify-pr.yml index 9c11eb4bb..bf1637df2 100644 --- a/.github/workflows/verify-pr.yml +++ b/.github/workflows/verify-pr.yml @@ -78,13 +78,6 @@ jobs: - name: Test run: yarn d2-app-scripts test - env: - REPORTPORTAL_API_KEY: ${{ secrets.REPORTPORTAL_API_KEY }} - REPORTPORTAL_ENDPOINT: ${{ vars.REPORTPORTAL_ENDPOINT }} - REPORTPORTAL_PROJECT: ${{ vars.REPORTPORTAL_PROJECT }} - CI_BUILD_ID: ${{ github.sha }}-${{ github.workflow }}-${{ github.event_name }} - BRANCH_NAME: ${{ github.head_ref || github.ref_name }} - PR_TITLE: ${{ github.event_name == 'pull_request' && github.event.pull_request.title || format('Direct push to {0}', github.ref_name) }} call-workflow-e2e-prod: if: ${{ !contains(github.event.head_commit.message, '[skip ci]') }} @@ -97,6 +90,3 @@ jobs: username: ${{ secrets.CYPRESS_DHIS2_USERNAME }} password: ${{ secrets.CYPRESS_DHIS2_PASSWORD }} recordkey: ${{ secrets.CYPRESS_RECORD_KEY }} - reportportal_api_key: ${{ secrets.REPORTPORTAL_API_KEY }} - reportportal_endpoint: ${{ vars.REPORTPORTAL_ENDPOINT }} - reportportal_project: ${{ vars.REPORTPORTAL_PROJECT }} diff --git a/CHANGELOG.md b/CHANGELOG.md index c652ff86f..aaa03d5b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,17 @@ +## [100.7.8](https://github.com/dhis2/maps-app/compare/v100.7.7...v100.7.8) (2024-12-03) + + +### Bug Fixes + +* **translations:** sync translations from transifex (master) ([4cd5d45](https://github.com/dhis2/maps-app/commit/4cd5d456ce8669ef975c1fd4a0d0321c60685085)) + +## [100.7.7](https://github.com/dhis2/maps-app/compare/v100.7.6...v100.7.7) (2024-11-29) + + +### Bug Fixes + +* update 'No data' handling ([#3408](https://github.com/dhis2/maps-app/issues/3408)) ([d774e7a](https://github.com/dhis2/maps-app/commit/d774e7a2a849cf40bca3d039aca2d1c6ce1f5331)) + ## [100.7.6](https://github.com/dhis2/maps-app/compare/v100.7.5...v100.7.6) (2024-11-17) diff --git a/cypress.config.js b/cypress.config.js index d1e2ac60d..31b596bb7 100644 --- a/cypress.config.js +++ b/cypress.config.js @@ -23,34 +23,6 @@ async function setupNodeEvents(on, config) { module.exports = defineConfig({ projectId: 'r5jduj', - reporter: '@reportportal/agent-js-cypress', - reporterOptions: { - endpoint: process.env.REPORTPORTAL_ENDPOINT, - apiKey: process.env.REPORTPORTAL_API_KEY, - launch: 'maps_app', - project: process.env.REPORTPORTAL_PROJECT, - description: '', - autoMerge: true, - parallel: true, - debug: false, - restClientConfig: { - timeout: 660000, - }, - attributes: [ - { - key: 'version', - value: 'master', - }, - { - key: 'app_name', - value: 'maps-app', - }, - { - key: 'test_level', - value: 'e2e', - }, - ], - }, e2e: { setupNodeEvents, baseUrl: 'http://localhost:3000', diff --git a/cypress/elements/thematic_layer.js b/cypress/elements/thematic_layer.js index 432792c4b..4aed7bb38 100644 --- a/cypress/elements/thematic_layer.js +++ b/cypress/elements/thematic_layer.js @@ -48,10 +48,23 @@ export class ThematicLayer extends Layer { return this } + selectRelativePeriod(period) { + cy.get('[data-test="relative-period-select"]').click() + cy.contains(period).click() + + return this + } + selectPeriodType(periodType) { cy.get('[data-test="periodtypeselect"]').click() cy.contains(periodType).click() return this } + + selectIncludeNoDataOU() { + cy.contains('Include org units with no data').click() + + return this + } } diff --git a/cypress/integration/layers/thematiclayer.cy.js b/cypress/integration/layers/thematiclayer.cy.js index c4dc455fc..37028a313 100644 --- a/cypress/integration/layers/thematiclayer.cy.js +++ b/cypress/integration/layers/thematiclayer.cy.js @@ -6,7 +6,11 @@ import { expectContextMenuOptions, } from '../../elements/map_context_menu.js' import { ThematicLayer } from '../../elements/thematic_layer.js' -import { CURRENT_YEAR, getApiBaseUrl } from '../../support/util.js' +import { + CURRENT_YEAR, + getApiBaseUrl, + EXTENDED_TIMEOUT, +} from '../../support/util.js' const INDICATOR_NAME = 'VCCT post-test counselling rate' @@ -95,6 +99,73 @@ context('Thematic Layers', () => { getMaps().should('have.length', 1) }) + it('opens a thematic layer popup with data and nodata', () => { + Layer.openDialog('Thematic') + .selectIndicatorGroup('Stock') + .selectIndicator('BCG Stock PHU') + .selectTab('Period') + .selectRelativePeriod('This month') + .selectTab('Style') + .selectIncludeNoDataOU() + .selectTab('Org Units') + .unselectOuLevel('District') + .selectOuLevel('Facility') + + cy.getByDataTest('org-unit-tree-node') + .contains('Western Area') + .parents('[data-test="org-unit-tree-node"]') + .first() + .within(() => { + cy.getByDataTest('org-unit-tree-node-toggle').click() + }) + + cy.getByDataTest('org-unit-tree-node') + .contains('Rural Western Area') + .parents('[data-test="org-unit-tree-node"]') + .first() + .within(() => { + cy.getByDataTest('org-unit-tree-node-toggle').click() + }) + + // Value: 0 + cy.getByDataTest('org-unit-tree-node').contains('Tokeh MCHP').click() + + cy.getByDataTest('layeredit-addbtn').click() + + Layer.validateDialogClosed(true) + + cy.wait(5000) // eslint-disable-line cypress/no-unnecessary-waiting + cy.get('#dhis2-map-container') + .findByDataTest('dhis2-uicore-componentcover', EXTENDED_TIMEOUT) + .should('not.exist') + cy.get('.dhis2-map').click('center') //Click somewhere on the map + + cy.get('.maplibregl-popup').contains('Value: 0').should('be.visible') + + // Value: No data + cy.getByDataTest('layer-edit-button').click() + Layer.selectTab('Org Units') + + cy.getByDataTest('org-unit-tree-node').contains('Tokeh MCHP').click() + cy.getByDataTest('org-unit-tree-node') + .contains('Lakka Hospital') + .click() + + cy.getByDataTest('layeredit-addbtn').click() + + Layer.validateDialogClosed(true) + + cy.wait(5000) // eslint-disable-line cypress/no-unnecessary-waiting + cy.get('#dhis2-map-container') + .findByDataTest('dhis2-uicore-componentcover', EXTENDED_TIMEOUT) + .should('not.exist') + cy.get('.dhis2-map').click('center') //Click somewhere on the map + + cy.get('.maplibregl-popup') + .contains('Value: No data') + .should('be.visible') + }) + it('adds a thematic layer with split view period', () => { Layer.openDialog('Thematic') .selectIndicatorGroup('ANC') diff --git a/i18n/pt.po b/i18n/pt.po index f0ab43fde..1b63374db 100644 --- a/i18n/pt.po +++ b/i18n/pt.po @@ -8,15 +8,15 @@ # Gabriela Rodriguez , 2024 # Ge Joao , 2024 # Shelsea Chumaio, 2024 -# António Fernando Macaringue, 2024 # Helton Dias, 2024 +# António Fernando Macaringue, 2024 # msgid "" msgstr "" "Project-Id-Version: i18next-conv\n" "POT-Creation-Date: 2024-10-23T12:50:51.401Z\n" "PO-Revision-Date: 2019-06-25 18:35+0000\n" -"Last-Translator: Helton Dias, 2024\n" +"Last-Translator: António Fernando Macaringue, 2024\n" "Language-Team: Portuguese (https://app.transifex.com/hisp-uio/teams/100509/pt/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -109,14 +109,14 @@ msgid "Organisation unit location" msgstr "Localização da unidade organizacional" msgid "Fallback coordinate field" -msgstr "Campo de coordenadas de recurso" +msgstr "substituir Campo de coordenadas" msgid "Coordinate field" msgstr "Campo de coordenadas" msgid "Enrollment > event > tracked entity > org unit coordinate" msgstr "" -"Inscrição > evento > entidade controlada > coordenada da unidade " +"Inscrição > evento > entidade rastreada> coordenada da unidade " "organizacional" msgid "Event > org unit coordinate" @@ -202,7 +202,7 @@ msgid "Level" msgstr "Nível" msgid "Parent" -msgstr "Parentes" +msgstr "Pai" msgid "Type" msgstr "Tipo" @@ -229,7 +229,7 @@ msgid "Download" msgstr "Transferir" msgid "Exit download mode" -msgstr "Sair do modo de descarregamento" +msgstr "Sair do modo de tranferência" msgid "Download map" msgstr "Transferir mapas " @@ -246,7 +246,7 @@ msgstr "A descrição pode ser alterada no menu Ficheiro > Mudar o nome" msgid "" "Set the map description when you save the map or from File > Rename menu" msgstr "" -"Defina a descrição do mapa quando guardar o mapa ou a partir do menu " +"Escreva a descrição do mapa quando guardar o mapa ou a partir do menu " "Ficheiro > Mudar o nome" msgid "Show legend" @@ -263,7 +263,7 @@ msgstr "Incluir margens na transferência" msgid "Resize your browser window to change the map dimensions." msgstr "" -"Redimensione a janela do seu browser para alterar as dimensões do mapa." +"Redimensione a janela do seu navegador para alterar as dimensões do mapa." msgid "" "Map download is not supported by your browser. Try Google Chrome or Firefox." @@ -311,7 +311,7 @@ msgid "Earth Engine" msgstr "Earth Engine" msgid "feature" -msgstr "" +msgstr "caraterística" msgid "Edit {{name}} layer" msgstr "Editar a camada {{name}}" @@ -361,13 +361,13 @@ msgid "Unit" msgstr "Unidade" msgid "Spatial resolution" -msgstr "" +msgstr "Resolução espacial" msgid "Temporal resolution" -msgstr "" +msgstr "Resolução temporal" msgid "Temporal coverage" -msgstr "" +msgstr "Cobertura temporal" msgid "Source" msgstr "Fonte" @@ -406,7 +406,7 @@ msgid "Steps" msgstr "Passos" msgid "Facility buffer" -msgstr "" +msgstr "Buffer da Instalação" msgid "Org Units" msgstr "Unidades organizacionais" @@ -444,7 +444,7 @@ msgid "Event status" msgstr "Estado do evento " msgid "Boundary color" -msgstr "Cor do limite" +msgstr "Cor dos limites" msgid "Buffer" msgstr "Buffer" @@ -456,16 +456,16 @@ msgid "Buffer can't be combined with associated geometry." msgstr "O buffer não pode ser combinado com a geometria associada." msgid "Fill color" -msgstr "" +msgstr "Cor de preenchimento" msgid "Line/stroke color" -msgstr "" +msgstr "Cor da linha/traço" msgid "Line/stroke width" -msgstr "" +msgstr "Largura da linha/traço" msgid "Line/stroke width must be between 0-10." -msgstr "" +msgstr "A largura da linha/traço deve estar compreendida entre 0-10." msgid "Labels" msgstr "Etiquetas" @@ -477,7 +477,7 @@ msgid "Only show completed events" msgstr "Mostrar apenas eventos concluídos" msgid "Include org units with no data" -msgstr "Incluir unidades orgânicas sem dados" +msgstr "Incluir unidades organizacionais sem dados" msgid "Low radius" msgstr "Raio baixo" @@ -513,7 +513,7 @@ msgid "Program indicator is required" msgstr "Indicador de programa é obrigatório" msgid "Calculation is required" -msgstr "" +msgstr "É necessário efectuar um cálculo" msgid "Period is required" msgstr "Período é obrigatório" @@ -593,10 +593,10 @@ msgid "Relationship type" msgstr "Tipo de Relação" msgid "No data to show for this feature." -msgstr "" +msgstr "Não há dados a apresentar para esta caraterística." msgid "Feature profile" -msgstr "" +msgstr "Perfil da caraterística" msgid "Remove filter" msgstr "Remover filtro " @@ -614,15 +614,17 @@ msgid "Indicator group" msgstr "Grupo de Indicador" msgid "Manage available layer sources" -msgstr "" +msgstr "Gerir as fontes de camadas disponíveis" msgid "Configure available layer sources" -msgstr "" +msgstr "Configurar as fontes de camadas disponíveis" msgid "" "Choose which layer sources are available to add to maps. This selection " "applies to all users." msgstr "" +"Escolha quais as fontes de camadas disponíveis para adicionar aos mapas. " +"Esta seleção aplica-se a todos os utilizadores." msgid "Collapse" msgstr "Ocultar" @@ -640,7 +642,7 @@ msgid "Download Layer Data" msgstr "Transferir dados da camada" msgid "Downloading GeoJSON data for \"{{layerName}}\"" -msgstr "A tranferir dados GeoJSON para \"{{layerName}}\"" +msgstr "Transferindo dados GeoJSON para \"{{layerName}}\"" msgid "" "GeoJSON is supported by most GIS software, including QGIS and ArcGIS " @@ -666,7 +668,7 @@ msgstr "" "A exibição dividida não pode ser combinada com outros tipos de camada." msgid "Failed to load layer" -msgstr "" +msgstr "Falha no carregamento da camada" msgid "Loading layer" msgstr "Carregando Camada" @@ -681,7 +683,7 @@ msgid "Toggle visibility" msgstr "Alternar visibilidade" msgid "Layer is invalid" -msgstr "" +msgstr "A camada é inválida" msgid "Set layer opacity" msgstr "Definir opacidade da camada" @@ -690,7 +692,7 @@ msgid "More actions" msgstr "Mais acções" msgid "Toggle layer menu" -msgstr "" +msgstr "Alternar o menu de camadas" msgid "Hide data table" msgstr "Ocultar tabela de dados" @@ -720,7 +722,7 @@ msgid "Filters" msgstr "Filtros" msgid "{{layername}}: {{message}}" -msgstr "" +msgstr "{{layername}}: {{message}}" msgid "No data found" msgstr "Dado não encontrado" @@ -756,13 +758,13 @@ msgid "Latitude" msgstr "Latitude" msgid "Basemap could not be added: {{message}}" -msgstr "" +msgstr "Não foi possível adicionar o mapa de base: {{message}}" msgid "Not set" msgstr "Não definido" msgid "Could not retrieve event data" -msgstr "" +msgstr "Não foi possível recuperar os dados do evento" msgid "Organisation unit" msgstr "Unidade organizacional" @@ -774,7 +776,7 @@ msgid "No data" msgstr "Não ha dados" msgid "Could not retrieve tracked entity data" -msgstr "" +msgstr "Não foi possível recuperar os dados da entidade rastreada" msgid "Last updated" msgstr "Última actualização" @@ -793,7 +795,7 @@ msgid "All groups" msgstr "Todos os grupos" msgid "Loading data" -msgstr "Carregamento de dados" +msgstr "Carregando dados" msgid "acres" msgstr "acres" @@ -890,7 +892,7 @@ msgid "Use associated geometry" msgstr "Utilizar a geometria associada" msgid "None (default)" -msgstr "" +msgstr "Nenhum (predefinição)" msgid "No data found for this period." msgstr "Não foram encontrados dados para este período." @@ -1065,12 +1067,15 @@ msgid "" "Only for Sub-Saharan Africa, South and South-East Asia, Latin America and " "the Caribbean." msgstr "" +"Os contornos dos edifícios derivados de imagens de satélite de alta " +"resolução. Apenas para a África Subsariana, Sul e Sudeste Asiático, América " +"Latina e Caraíbas." msgid "" "Building counts are only available for smaller organisation unit areas." msgstr "" -"As contagens de edifícios só estão disponíveis para áreas de unidades " -"organizacionais mais pequenas." +"A contagem de edifícios só está disponível para unidades organizacionais com" +" áreas pequenas." msgid "" "Select a smaller area or single organization unit to see the count of " @@ -1083,13 +1088,13 @@ msgid "Number of buildings" msgstr "Número de edifícios" msgid "0.5 meter" -msgstr "" +msgstr "0,5 metros" msgid "Single point in time" -msgstr "" +msgstr "Ponto único no tempo" msgid "May 2023" -msgstr "" +msgstr "Maio de 2023" msgid "Elevation" msgstr "Elevação" @@ -1098,13 +1103,13 @@ msgid "Elevation above sea-level." msgstr "Elevação acima do nível do mar." msgid "meters" -msgstr "contadores" +msgstr "metros" msgid "~30 meters" -msgstr "" +msgstr "~30 metros" msgid "Febuary 2000" -msgstr "" +msgstr "Fevereiro de 2000" msgid "Landcover" msgstr "Cobertura do solo" @@ -1190,7 +1195,7 @@ msgid "people per km²" msgstr "População por km²" msgid "Estimated number of people living in an area." -msgstr "Estimated number of people living in an area." +msgstr "Número estimado de pessoas que vivem em uma área." msgid "people per hectare" msgstr "pessoas por hectare" @@ -1211,7 +1216,7 @@ msgstr "" "mensalmente, durante a 3ª semana do mês seguinte." msgid "Temperature MODIS" -msgstr "" +msgstr "Temperatura MODIS" msgid "°C during daytime" msgstr "° C durante o dia" @@ -1224,69 +1229,70 @@ msgstr "" "branco aparecerão em áreas com uma cobertura de nuvens persistente." msgid "Population age groups" -msgstr "Population age groups" +msgstr "Faixas etárias da população" msgid "" "Estimated number of people living in an area, grouped by age and gender." msgstr "" -"Estimated number of people living in an area, grouped by age and gender." +"Número estimado de pessoas que vivem em uma área, agrupadas por idade e " +"sexo." msgid "~100 meters" -msgstr "" +msgstr "~100 metros" msgid "Male 0 - 1 years" -msgstr "Homem 0 - 1 anos" +msgstr "Masculino 0 - 1 anos" msgid "Male 1 - 4 years" -msgstr "Homem 1 - 4 anos" +msgstr "Masculino 1 - 4 anos" msgid "Male 5 - 9 years" -msgstr "Homem 5 - 9 anos" +msgstr "Masculino 5 - 9 anos" msgid "Male 10 - 14 years" -msgstr "Homem 10 - 14 anos" +msgstr "Masculino 10 - 14 anos" msgid "Male 15 - 19 years" -msgstr "Homem 15 - 19 anos" +msgstr "Masculino 15 - 19 anos" msgid "Male 20 - 24 years" -msgstr "Homem 20 - 24 anos" +msgstr "Masculino 20 - 24 anos" msgid "Male 25 - 29 years" -msgstr "Homem 25 - 29 anos" +msgstr "Masculino 25 - 29 anos" msgid "Male 30 - 34 years" -msgstr "Homem 30 - 34 anos" +msgstr "Masculino 30 - 34 anos" msgid "Male 35 - 39 years" -msgstr "Homem 35 - 39 anos" +msgstr "Masculino 35 - 39 anos" msgid "Male 40 - 44 years" -msgstr "Homem 40 - 44 anos" +msgstr "Masculino 40 - 44 anos" msgid "Male 45 - 49 years" -msgstr "Homem 45 - 49 anos" +msgstr "Masculino 45 - 49 anos" msgid "Male 50 - 54 years" -msgstr "Homem 50 - 54 anos" +msgstr "Masculino 50 - 54 anos" msgid "Male 55 - 59 years" -msgstr "Homem 55 - 59 anos" +msgstr "Masculino 55 - 59 anos" msgid "Male 60 - 64 years" -msgstr "Homem 60 - 64 anos" +msgstr "Masculino 60 - 64 anos" msgid "Male 65 - 69 years" -msgstr "Homem 65 - 69 anos" +msgstr "Masculino 65 - 69 anos" msgid "Male 70 - 74 years" -msgstr "Homem 70 - 74 anos" +msgstr "Masculino 70 - 74 anos" msgid "Male 75 - 79 years" -msgstr "Homem 75 - 79 anos" +msgstr "Masculino 75 - 79 anos" msgid "Male 80 years and above" -msgstr "Homens com 80 anos ou mais" +msgstr "Masculino com 80 anos ou mais" msgid "Female 0 - 1 years" msgstr "Feminino 0 - 1 anos" @@ -1325,47 +1331,51 @@ msgid "Female 50 - 54 years" msgstr "Feminino 50 - 54 anos" msgid "Female 55 - 59 years" -msgstr "Mulher 55 - 59 anos" +msgstr "Feminino 55 - 59 anos" msgid "Female 60 - 64 years" -msgstr "Mulher 60 - 64 anos" +msgstr "Feminino 60 - 64 anos" msgid "Female 65 - 69 years" -msgstr "Mulher 65 - 69 anos" +msgstr "Feminino 65 - 69 anos" msgid "Female 70 - 74 years" -msgstr "Mulher 70 - 74 anos" +msgstr "Feminino 70 - 74 anos" msgid "Female 75 - 79 years" msgstr "Feminino 75 - 79 anos" msgid "Female 80 years and above" -msgstr "Mulheres com 80 anos ou mais" +msgstr "Feminino com 80 anos ou mais" msgid "Precipitation monthly" -msgstr "" +msgstr "Precipitação mensal" msgid "" "Accumulated liquid and frozen water, including rain and snow, that falls to " "the surface. Combines model data with observations from across the world." msgstr "" +"Água líquida e congelada acumulada, incluindo chuva e neve, que cai à " +"superfície. Combina dados de modelos com observações de todo o mundo." msgid "~11 kilometers" -msgstr "" +msgstr "~11 quilómetros" msgid "Monthly" msgstr "Mensal" msgid "Febuary 1950 - One month ago" -msgstr "" +msgstr "Fevereiro de 1950 - Um mês atrás" msgid "Temperature monthly" -msgstr "" +msgstr "Temperatura mensal" msgid "" "Temperature at 2m above the surface. Combines model data with observations " "from across the world." msgstr "" +"Temperatura a 2 m acima da superfície. Combina dados de modelos com " +"observações de todo o mundo." msgid "All" msgstr "Tudo" @@ -1455,13 +1465,13 @@ msgid "Cancelled" msgstr "Cancelado" msgid "Earth Engine layer" -msgstr "" +msgstr "Camada do Earth Engine" msgid "You don't have access to this layer data" msgstr "Não tem acesso a esta camada de dados" msgid "The event filter is not supported" -msgstr "" +msgstr "O filtro de eventos não é suportado" msgid "An unknown error occurred while reading layer data" msgstr "Ocorreu um erro desconhecido durante a leitura dos dados da camada" @@ -1476,13 +1486,14 @@ msgid "Facilities" msgstr "Instalações" msgid "No coordinates found for selected facilities" -msgstr "" +msgstr "Não foram encontradas coordenadas para as instalações selecionadas" msgid "There was a problem with this layer. Contact a system administrator." msgstr "" +"Houve um problema com esta camada. Contacte um administrador do sistema." msgid "Feature" -msgstr "" +msgstr "Caraterística" msgid "Polygon" msgstr "Poligono" @@ -1497,10 +1508,10 @@ msgid "Organisation units" msgstr "Unidades organizacionais" msgid "Org unit layer" -msgstr "" +msgstr "Camada da unidade organizacional" msgid "Data item was not found" -msgstr "" +msgstr "O item de dados não foi encontrado" msgid "Thematic layer" msgstr "Camada temática" @@ -1550,7 +1561,7 @@ msgid "Org units" msgstr "Unidades organizacionais" msgid "Facility" -msgstr "Unidade sanitaria" +msgstr "Instalação" msgid "Start date is invalid" msgstr "A data de início é inválida" diff --git a/jest.config.js b/jest.config.js index bfe87539f..6b45170f2 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,48 +1,3 @@ -const reportPortalConfig = [ - '@reportportal/agent-js-jest', - { - apiKey: process.env.REPORTPORTAL_API_KEY, - endpoint: process.env.REPORTPORTAL_ENDPOINT, - project: process.env.REPORTPORTAL_PROJECT, - launch: 'maps_app', - attributes: [ - { - key: 'dhis2_version', - value: 'master', - }, - { - key: 'app_name', - value: 'maps-app', - }, - { - key: 'test_level', - value: 'unit/integration', - }, - { - key: 'BRANCH_NAME', - value: process.env.BRANCH_NAME, - }, - { - key: 'CI_BUILD_ID', - value: process.env.CI_BUILD_ID, - }, - { - key: 'PR_TITLE', - value: process.env.PR_TITLE, - }, - ], - description: '', - debug: false, - }, -] - -const isDependabotPR = process.env.GITHUB_ACTOR === 'dependabot[bot]' -const isGithubActionsRun = process.env.CI === 'true' -const isReportPortalSetup = - process.env.REPORTPORTAL_API_KEY !== undefined && - process.env.REPORTPORTAL_ENDPOINT !== undefined && - process.env.REPORTPORTAL_PROJECT !== undefined - module.exports = { setupFilesAfterEnv: ['/config/testSetup.js'], collectCoverageFrom: ['src/**/*.js'], @@ -57,10 +12,5 @@ module.exports = { snapshotSerializers: ['enzyme-to-json/serializer'], testRunner: 'jest-circus/runner', - reporters: [ - 'default', - ...(isGithubActionsRun && isReportPortalSetup && !isDependabotPR - ? [reportPortalConfig] - : []), - ], + reporters: ['default'], } diff --git a/package.json b/package.json index 4d05ddbc4..d7d7dbc68 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "maps-app", - "version": "100.7.6", + "version": "100.7.8", "description": "DHIS2 Maps", "license": "BSD-3-Clause", "author": "Bjørn Sandvik", @@ -45,11 +45,9 @@ "@dhis2/app-runtime": "^3.11.2", "@dhis2/app-runtime-adapter-d2": "^1.1.0", "@dhis2/app-service-datastore": "^1.0.0-beta.3", - "@dhis2/maps-gl": "^4.0.0", + "@dhis2/maps-gl": "^4.0.1", "@dhis2/ui": "^9.13.0", "@krakenjs/post-robot": "^11.0.0", - "@reportportal/agent-js-cypress": "git+https://github.com/dhis2/agent-js-cypress.git#develop", - "@reportportal/agent-js-jest": "^5.0.7", "@testing-library/react-hooks": "^8.0.1", "abortcontroller-polyfill": "^1.7.5", "array-move": "^4.0.0", diff --git a/src/components/map/layers/ThematicLayer.js b/src/components/map/layers/ThematicLayer.js index 176f9028a..5d61c2122 100644 --- a/src/components/map/layers/ThematicLayer.js +++ b/src/components/map/layers/ThematicLayer.js @@ -179,7 +179,7 @@ class ThematicLayer extends Layer {
{indicator}
{periodName}
- {i18n.t('Value')}: {value ? value : i18n.t('No data')} + {i18n.t('Value')}: {value ?? i18n.t('No data')}
{aggregationType && aggregationType !== 'DEFAULT' && (
{aggregationType}
diff --git a/src/util/labels.js b/src/util/labels.js index 78be8dee7..c82e50db3 100644 --- a/src/util/labels.js +++ b/src/util/labels.js @@ -1,3 +1,4 @@ +import i18n from '@dhis2/d2-i18n' import { LABEL_FONT_SIZE, LABEL_FONT_STYLE, @@ -20,5 +21,6 @@ export const getLabelStyle = ({ lineHeight: parseInt(fontSize, 10) * 1.2 + 'px', color: cssColor(labelFontColor) || LABEL_FONT_COLOR, paddingTop: '10px', + labelNoData: i18n.t('No data'), } } diff --git a/yarn.lock b/yarn.lock index b83c489b8..939e300ea 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2351,10 +2351,10 @@ i18next "^10.3" moment "^2.24.0" -"@dhis2/maps-gl@^4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@dhis2/maps-gl/-/maps-gl-4.0.0.tgz#e97df2fbc78f787a0916224d7d54fb96b9c376db" - integrity sha512-TDEIBT6rFuEZGXnBxAqKhSmCXk3wtuCf/OrVZBKxT1qk0kHau71f3lzAXbWhYAuop8t6/DyJaIcQrUYMi1Xy3w== +"@dhis2/maps-gl@^4.0.1": + version "4.0.1" + resolved "https://registry.yarnpkg.com/@dhis2/maps-gl/-/maps-gl-4.0.1.tgz#227a856c9a5dd0a38a8a3ea0ebd6327872850f3e" + integrity sha512-4Q9zxzPhV81zSZyWYyX7iOufUvSfqHWjXkpYUqgPq8uxhpCNj9vVwb6l5FaU/0ZbWC+wusiYeMAkLvsUpoR51g== dependencies: "@mapbox/sphericalmercator" "^1.2.0" "@turf/area" "^6.5.0" @@ -3390,36 +3390,6 @@ "@react-hook/passive-layout-effect" "^1.2.0" "@react-hook/resize-observer" "^1.2.1" -"@reportportal/agent-js-cypress@git+https://github.com/dhis2/agent-js-cypress.git#develop": - version "5.1.4" - resolved "git+https://github.com/dhis2/agent-js-cypress.git#63ef44e29111c55e4d64209c837f6a3d5913437b" - dependencies: - "@reportportal/client-javascript" "^5.0.14" - glob "^7.2.3" - minimatch "^3.1.2" - mocha "^10.2.0" - node-ipc "9.1.1" - -"@reportportal/agent-js-jest@^5.0.7": - version "5.1.0" - resolved "https://registry.yarnpkg.com/@reportportal/agent-js-jest/-/agent-js-jest-5.1.0.tgz#03962537394ec88ff02214892de835c4436f845c" - integrity sha512-WQ02WIniJF5U6pz0E2//8LKWDJBpVNJs7vj0dajbnkc8tJHGyb2h/iZ2E4GAeHej7H1JuRNpIQzC4bi1pDPZqQ== - dependencies: - "@reportportal/client-javascript" "~5.1.4" - strip-ansi "^6.0.1" - -"@reportportal/client-javascript@^5.0.14", "@reportportal/client-javascript@~5.1.4": - version "5.1.4" - resolved "https://registry.yarnpkg.com/@reportportal/client-javascript/-/client-javascript-5.1.4.tgz#2f2a151fd2abed451835e96d6615ac6e81f2310d" - integrity sha512-Pk00dSYX8TANmEkg2CN06PxoSW1f83d1mew1M0kw5pDZOif+1cYrjy1E4HNrdLBoYhAH6oQIISvJSKc7K6A8fg== - dependencies: - axios "^1.6.8" - axios-retry "^4.1.0" - glob "^8.1.0" - ini "^2.0.0" - uniqid "^5.4.0" - uuid "^9.0.1" - "@rollup/plugin-babel@^5.2.0": version "5.3.1" resolved "https://registry.yarnpkg.com/@rollup/plugin-babel/-/plugin-babel-5.3.1.tgz#04bc0608f4aa4b2e4b1aebf284344d0f68fda283" @@ -4800,7 +4770,7 @@ ansi-align@^3.0.0: dependencies: string-width "^4.1.0" -ansi-colors@^4.1.1, ansi-colors@^4.1.3: +ansi-colors@^4.1.1: version "4.1.3" resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-4.1.3.tgz#37611340eb2243e70cc604cad35d63270d48781b" integrity sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw== @@ -5269,13 +5239,6 @@ axe-core@^4.9.1: resolved "https://registry.yarnpkg.com/axe-core/-/axe-core-4.10.0.tgz#d9e56ab0147278272739a000880196cdfe113b59" integrity sha512-Mr2ZakwQ7XUAjp7pAwQWRhhK8mQQ6JAaNWSjmjxil0R8BPioMtQsTLOolGYkji1rcL++3dCqZA3zWqpT+9Ew6g== -axios-retry@^4.1.0: - version "4.5.0" - resolved "https://registry.yarnpkg.com/axios-retry/-/axios-retry-4.5.0.tgz#441fdc32cedf63d6abd5de5d53db3667afd4c39b" - integrity sha512-aR99oXhpEDGo0UuAlYcn2iGRds30k366Zfa05XWScR9QaQD4JYiP3/1Qt1u7YlefUOK+cn0CcwoL1oefavQUlQ== - dependencies: - is-retry-allowed "^2.2.0" - axios@^0.25.0: version "0.25.0" resolved "https://registry.yarnpkg.com/axios/-/axios-0.25.0.tgz#349cfbb31331a9b4453190791760a8d35b093e0a" @@ -5283,12 +5246,12 @@ axios@^0.25.0: dependencies: follow-redirects "^1.14.7" -axios@^1.6.1, axios@^1.6.8: - version "1.7.3" - resolved "https://registry.yarnpkg.com/axios/-/axios-1.7.3.tgz#a1125f2faf702bc8e8f2104ec3a76fab40257d85" - integrity sha512-Ar7ND9pU99eJ9GpoGQKhKf58GpUOgnzuaB7ueNQ5BMi0p+LZ5oaEnfF999fAArcTIBwXTCHAmGcHOZJaWPq9Nw== +axios@^1.6.1: + version "1.6.2" + resolved "https://registry.yarnpkg.com/axios/-/axios-1.6.2.tgz#de67d42c755b571d3e698df1b6504cde9b0ee9f2" + integrity sha512-7i24Ri4pmDRfJTR7LDBhsOTtcm+9kjX5WiY1X3wIisx6G9So3pfMkEiU7emUBe46oceVImccTEM3k6C5dbVW8A== dependencies: - follow-redirects "^1.15.6" + follow-redirects "^1.15.0" form-data "^4.0.0" proxy-from-env "^1.1.0" @@ -5724,11 +5687,6 @@ browser-resolve@^2.0.0: dependencies: resolve "^1.17.0" -browser-stdout@^1.3.1: - version "1.3.1" - resolved "https://registry.yarnpkg.com/browser-stdout/-/browser-stdout-1.3.1.tgz#baa559ee14ced73452229bad7326467c61fabd60" - integrity sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw== - browserify-aes@^1.0.4, browserify-aes@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/browserify-aes/-/browserify-aes-1.2.0.tgz#326734642f403dabc3003209853bb70ad428ef48" @@ -6094,7 +6052,7 @@ camelcase@^5.0.0, camelcase@^5.3.1: resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320" integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== -camelcase@^6.0.0, camelcase@^6.2.0, camelcase@^6.2.1: +camelcase@^6.2.0, camelcase@^6.2.1: version "6.3.0" resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.3.0.tgz#5685b95eb209ac9c0c177467778c9c84df58ba9a" integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== @@ -6213,9 +6171,9 @@ cheerio@^1.0.0-rc.3: parse5-htmlparser2-tree-adapter "^7.0.0" chokidar@^3.3.0, chokidar@^3.4.0, chokidar@^3.4.2, chokidar@^3.5.3: - version "3.6.0" - resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.6.0.tgz#197c6cc669ef2a8dc5e7b4d97ee4e092c3eb0d5b" - integrity sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw== + version "3.5.3" + resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.3.tgz#1cf37c8707b932bd1af1ae22c0432e2acd1903bd" + integrity sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw== dependencies: anymatch "~3.1.2" braces "~3.0.2" @@ -7467,7 +7425,7 @@ debug@4, debug@^4.0.0, debug@^4.0.1, debug@^4.1.0, debug@^4.1.1, debug@^4.3.2, d dependencies: ms "2.1.2" -debug@4.3.6, debug@^4.3.1, debug@^4.3.5, debug@^4.3.6: +debug@4.3.6, debug@^4.3.1, debug@^4.3.6: version "4.3.6" resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.6.tgz#2ab2c38fbaffebf8aa95fdfe6d88438c7a13c52b" integrity sha512-O/09Bd4Z1fBrU4VzkhFqVgpPzaGbw6Sm9FEkBT1A/YBXQFGuuSxa1dN2nxgxS34JmKXqYx8CZAwEVoJFImUXIg== @@ -7499,11 +7457,6 @@ decamelize@^1.1.0, decamelize@^1.2.0: resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" integrity sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA== -decamelize@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-4.0.0.tgz#aa472d7bf660eb15f3494efd531cab7f2a709837" - integrity sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ== - decimal.js@^10.2.1, decimal.js@^10.3.1: version "10.4.3" resolved "https://registry.yarnpkg.com/decimal.js/-/decimal.js-10.4.3.tgz#1044092884d245d1b7f65725fa4ad4c6f781cc23" @@ -7759,7 +7712,7 @@ diff-sequences@^27.5.1: resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-27.5.1.tgz#eaecc0d327fd68c8d9672a1e64ab8dccb2ef5327" integrity sha512-k1gCAXAsNgLwEL+Y8Wvl+M6oEFj5bgazfZULpS5CneoPPXRaCCW7dm+q21Ky2VEE5X+VeRDBVg1Pcvvsr4TtNQ== -diff@^5.1.0, diff@^5.2.0: +diff@^5.1.0: version "5.2.0" resolved "https://registry.yarnpkg.com/diff/-/diff-5.2.0.tgz#26ded047cd1179b78b9537d5ef725503ce1ae531" integrity sha512-uIFDxqpRZGZ6ThOk84hEfqWoHx2devRFvpTZcTHur85vImfaxUbTW9Ryh4CpCuDnToOP1CEtXKIgytHBPVff5A== @@ -7993,11 +7946,6 @@ eastasianwidth@^0.2.0: resolved "https://registry.yarnpkg.com/eastasianwidth/-/eastasianwidth-0.2.0.tgz#696ce2ec0aa0e6ea93a397ffcf24aa7840c827cb" integrity sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA== -easy-stack@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/easy-stack/-/easy-stack-1.0.1.tgz#8afe4264626988cabb11f3c704ccd0c835411066" - integrity sha512-wK2sCs4feiiJeFXn3zvY0p41mdU5VUgbgs1rNsc/y5ngFUijdWd+iIN8eoyuZHKB8xN6BL4PdWmzqFmxNg6V2w== - ecc-jsbn@~0.1.1: version "0.1.2" resolved "https://registry.yarnpkg.com/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz#3a83a904e54353287874c564b7549386849a98c9" @@ -8808,11 +8756,6 @@ etag@~1.8.1: resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887" integrity sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg== -event-pubsub@4.3.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/event-pubsub/-/event-pubsub-4.3.0.tgz#f68d816bc29f1ec02c539dc58c8dd40ce72cb36e" - integrity sha512-z7IyloorXvKbFx9Bpie2+vMJKKx1fH1EN5yiTfp8CiLOTptSYy1g8H4yDpGlEdshL1PBiFtBHepF2cNsqeEeFQ== - event-stream@=3.3.4: version "3.3.4" resolved "https://registry.yarnpkg.com/event-stream/-/event-stream-3.3.4.tgz#4ab4c9a0f5a54db9338b4c34d86bfce8f4b35571" @@ -9332,11 +9275,6 @@ flat-cache@^5.0.0: flatted "^3.3.1" keyv "^4.5.4" -flat@^5.0.2: - version "5.0.2" - resolved "https://registry.yarnpkg.com/flat/-/flat-5.0.2.tgz#8ca6fe332069ffa9d324c327198c598259ceb241" - integrity sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ== - flatted@^3.2.9, flatted@^3.3.1: version "3.3.1" resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.3.1.tgz#21db470729a6734d4997002f439cb308987f567a" @@ -9355,16 +9293,11 @@ flush-write-stream@^1.0.2: inherits "^2.0.3" readable-stream "^2.3.6" -follow-redirects@^1.0.0, follow-redirects@^1.14.7: +follow-redirects@^1.0.0, follow-redirects@^1.14.7, follow-redirects@^1.15.0: version "1.15.9" resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.9.tgz#a604fa10e443bf98ca94228d9eebcc2e8a2c8ee1" integrity sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ== -follow-redirects@^1.15.6: - version "1.15.6" - resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.6.tgz#7f815c0cda4249c74ff09e95ef97c23b5fd0399b" - integrity sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA== - for-each@^0.3.3: version "0.3.3" resolved "https://registry.yarnpkg.com/for-each/-/for-each-0.3.3.tgz#69b447e88a0a5d32c3e7084f3f1710034b21376e" @@ -9796,7 +9729,7 @@ glob@^10.3.10: package-json-from-dist "^1.0.0" path-scurry "^1.11.1" -glob@^7.1.0, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6, glob@^7.2.3: +glob@^7.1.0, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6: version "7.2.3" resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== @@ -9808,7 +9741,7 @@ glob@^7.1.0, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6, gl once "^1.3.0" path-is-absolute "^1.0.0" -glob@^8.0.1, glob@^8.1.0: +glob@^8.0.1: version "8.1.0" resolved "https://registry.yarnpkg.com/glob/-/glob-8.1.0.tgz#d388f656593ef708ee3e34640fdfb99a9fd1c33e" integrity sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ== @@ -10610,7 +10543,7 @@ inherits@2.0.3: resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" integrity sha512-x00IRNXNy63jwGkJmzPigoySHbaqpNuzKbBOmzK+g2OdZpQ9w+sxCN+VSB3ja7IAge2OP2qpfxTjeNcyjmW1uw== -ini@2.0.0, ini@^2.0.0: +ini@2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/ini/-/ini-2.0.0.tgz#e5fd556ecdd5726be978fa1001862eacb0a94bc5" integrity sha512-7PnF4oN3CvZF23ADhA5wRaYEQpJ8qygSkbtTXWBeXWXmEVRXK+1ITciHWwHhsjv1TmW0MgacIv6hEi5pX5NQdA== @@ -11046,11 +10979,6 @@ is-plain-obj@^1.1.0: resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-1.1.0.tgz#71a50c8429dfca773c92a390a4a03b39fcd51d3e" integrity sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg== -is-plain-obj@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-2.1.0.tgz#45e42e37fccf1f40da8e5f76ee21515840c09287" - integrity sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA== - is-plain-obj@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-3.0.0.tgz#af6f2ea14ac5a646183a5bbdb5baabbc156ad9d7" @@ -11093,11 +11021,6 @@ is-relative@^1.0.0: dependencies: is-unc-path "^1.0.0" -is-retry-allowed@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/is-retry-allowed/-/is-retry-allowed-2.2.0.tgz#88f34cbd236e043e71b6932d09b0c65fb7b4d71d" - integrity sha512-XVm7LOeLpTW4jV19QSH38vkswxoLud8sQ57YwJVTPWdiaI9I8keEhGFpBlslyVsgdQy4Opg8QOLb8YRgsyZiQg== - is-root@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/is-root/-/is-root-2.1.0.tgz#809e18129cf1129644302a4f8544035d51984a9c" @@ -11863,18 +11786,6 @@ joi@^17.11.0: "@sideway/formula" "^3.0.1" "@sideway/pinpoint" "^2.0.0" -js-message@1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/js-message/-/js-message-1.0.5.tgz#2300d24b1af08e89dd095bc1a4c9c9cfcb892d15" - integrity sha512-hTqHqrm7jrZ+iN93QsKcNOTSgX3F+2NSgdnF+xvf8FfhC2MPqYRzzgXQ1LlhfyIzPTS6hL6Zea0/gIb6hktkHw== - -js-queue@2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/js-queue/-/js-queue-2.0.0.tgz#362213cf860f468f0125fc6c96abc1742531f948" - integrity sha512-SW0rTTG+TBPVD1Kp6HtnOr9kX3//EWA6qMlP2Y/WxbKsSNCBuJbWv3EDB5noKJBEkHYi2mDY+xqMn4Y0QHyjyg== - dependencies: - easy-stack "^1.0.0" - js-sha3@0.8.0: version "0.8.0" resolved "https://registry.yarnpkg.com/js-sha3/-/js-sha3-0.8.0.tgz#b9b7a5da73afad7dedd0f8c463954cbde6818840" @@ -12656,7 +12567,7 @@ lodash@^4.0.0, lodash@^4.17.11, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.1 resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== -log-symbols@^4.0.0, log-symbols@^4.1.0: +log-symbols@^4.0.0: version "4.1.0" resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-4.1.0.tgz#3fbdbb95b4683ac9fc785111e792e558d4abd503" integrity sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg== @@ -13118,7 +13029,7 @@ minimatch@^3.0.2, minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.1, minimatc dependencies: brace-expansion "^1.1.7" -minimatch@^5.0.1, minimatch@^5.1.0, minimatch@^5.1.6: +minimatch@^5.0.1, minimatch@^5.1.0: version "5.1.6" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-5.1.6.tgz#1cfcb8cf5522ea69952cd2af95ae09477f122a96" integrity sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g== @@ -13274,32 +13185,6 @@ mkdirp@^1.0.3, mkdirp@^1.0.4: resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e" integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== -mocha@^10.2.0: - version "10.7.0" - resolved "https://registry.yarnpkg.com/mocha/-/mocha-10.7.0.tgz#9e5cbed8fa9b37537a25bd1f7fb4f6fc45458b9a" - integrity sha512-v8/rBWr2VO5YkspYINnvu81inSz2y3ODJrhO175/Exzor1RcEZZkizgE2A+w/CAXXoESS8Kys5E62dOHGHzULA== - dependencies: - ansi-colors "^4.1.3" - browser-stdout "^1.3.1" - chokidar "^3.5.3" - debug "^4.3.5" - diff "^5.2.0" - escape-string-regexp "^4.0.0" - find-up "^5.0.0" - glob "^8.1.0" - he "^1.2.0" - js-yaml "^4.1.0" - log-symbols "^4.1.0" - minimatch "^5.1.6" - ms "^2.1.3" - serialize-javascript "^6.0.2" - strip-json-comments "^3.1.1" - supports-color "^8.1.1" - workerpool "^6.5.1" - yargs "^16.2.0" - yargs-parser "^20.2.9" - yargs-unparser "^2.0.0" - modify-values@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/modify-values/-/modify-values-1.0.1.tgz#b3939fa605546474e3e3e3c63d64bd43b4ee6022" @@ -13346,7 +13231,7 @@ ms@2.1.2: resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== -ms@2.1.3, ms@^2.0.0, ms@^2.1.1, ms@^2.1.2, ms@^2.1.3: +ms@2.1.3, ms@^2.0.0, ms@^2.1.1, ms@^2.1.2: version "2.1.3" resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== @@ -13526,15 +13411,6 @@ node-int64@^0.4.0: resolved "https://registry.yarnpkg.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b" integrity sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw== -node-ipc@9.1.1: - version "9.1.1" - resolved "https://registry.yarnpkg.com/node-ipc/-/node-ipc-9.1.1.tgz#4e245ed6938e65100e595ebc5dc34b16e8dd5d69" - integrity sha512-FAyICv0sIRJxVp3GW5fzgaf9jwwRQxAKDJlmNFUL5hOy+W4X/I5AypyHoq0DXXbo9o/gt79gj++4cMr4jVWE/w== - dependencies: - event-pubsub "4.3.0" - js-message "1.0.5" - js-queue "2.0.0" - node-releases@^2.0.18: version "2.0.18" resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.18.tgz#f010e8d35e2fe8d6b2944f03f70213ecedc4ca3f" @@ -16681,7 +16557,7 @@ serialize-javascript@^4.0.0: dependencies: randombytes "^2.1.0" -serialize-javascript@^6.0.0, serialize-javascript@^6.0.1, serialize-javascript@^6.0.2: +serialize-javascript@^6.0.0, serialize-javascript@^6.0.1: version "6.0.2" resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-6.0.2.tgz#defa1e055c83bf6d59ea805d8da862254eb6a6c2" integrity sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g== @@ -18427,11 +18303,6 @@ union-value@^1.0.0: is-extendable "^0.1.1" set-value "^2.0.1" -uniqid@^5.4.0: - version "5.4.0" - resolved "https://registry.yarnpkg.com/uniqid/-/uniqid-5.4.0.tgz#4e17bfcab66dfe33563411ae0c801f46ef964e66" - integrity sha512-38JRbJ4Fj94VmnC7G/J/5n5SC7Ab46OM5iNtSstB/ko3l1b5g7ALt4qzHFgGciFkyiRNtDXtLNb+VsxtMSE77A== - unique-filename@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/unique-filename/-/unique-filename-2.0.1.tgz#e785f8675a9a7589e0ac77e0b5c34d2eaeac6da2" @@ -18663,7 +18534,7 @@ uuid@^8.1.0, uuid@^8.3.2: resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2" integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg== -uuid@^9.0.0, uuid@^9.0.1: +uuid@^9.0.0: version "9.0.1" resolved "https://registry.yarnpkg.com/uuid/-/uuid-9.0.1.tgz#e188d4c8853cc722220392c424cd637f32293f30" integrity sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA== @@ -19302,11 +19173,6 @@ workbox-window@6.6.1: "@types/trusted-types" "^2.0.2" workbox-core "6.6.1" -workerpool@^6.5.1: - version "6.5.1" - resolved "https://registry.yarnpkg.com/workerpool/-/workerpool-6.5.1.tgz#060f73b39d0caf97c6db64da004cd01b4c099544" - integrity sha512-Fs4dNYcsdpYSAfVxhnl1L5zTksjvOJxtC5hzMNl+1t9B8hTJTdKDyZ5ju7ztgPy+ft9tBFXoOlDNiOT9WUXZlA== - "wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": version "7.0.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" @@ -19465,7 +19331,7 @@ yargs-parser@^13.1.2: camelcase "^5.0.0" decamelize "^1.2.0" -yargs-parser@^20.2.2, yargs-parser@^20.2.3, yargs-parser@^20.2.9: +yargs-parser@^20.2.2, yargs-parser@^20.2.3: version "20.2.9" resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.9.tgz#2eb7dc3b0289718fc295f362753845c41a0c94ee" integrity sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w== @@ -19475,16 +19341,6 @@ yargs-parser@^21.1.1: resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-21.1.1.tgz#9096bceebf990d21bb31fa9516e0ede294a77d35" integrity sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw== -yargs-unparser@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/yargs-unparser/-/yargs-unparser-2.0.0.tgz#f131f9226911ae5d9ad38c432fe809366c2325eb" - integrity sha512-7pRTIA9Qc1caZ0bZ6RYRGbHJthJWuakf+WmHK0rVeLkNrrGhfoabBNdue6kdINI6r4if7ocq9aD/n7xwKOdzOA== - dependencies: - camelcase "^6.0.0" - decamelize "^4.0.0" - flat "^5.0.2" - is-plain-obj "^2.1.0" - yargs@^13.1.0: version "13.3.2" resolved "https://registry.yarnpkg.com/yargs/-/yargs-13.3.2.tgz#ad7ffefec1aa59565ac915f82dccb38a9c31a2dd"