From 7043c9e11e83b09739c0b5e81f54743f13803831 Mon Sep 17 00:00:00 2001 From: Dylan Decrulle Date: Fri, 14 Apr 2023 11:20:26 +0200 Subject: [PATCH] update queen-v2 & bump version 03a16be fwt --- .github/workflows/ci.yaml | 8 +-- drama-queen/package.json | 2 +- package.json | 2 +- queen-v2/package.json | 4 +- .../lightOrchestrator/lightOrchestrator.js | 18 ++--- .../orchestratorManager.js | 28 ++++---- .../questionnaireForm/questionnaireForm.js | 10 +-- .../src/components/visualizer/visualizer.js | 28 ++++---- queen-v2/src/utils/api/fetcher.js | 4 +- queen-v2/src/utils/hook/api.js | 41 +++++++---- queen-v2/yarn.lock | 72 ++++++++++++------- queen/package.json | 2 +- 12 files changed, 122 insertions(+), 97 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 893ec1e..43c2f61 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -84,7 +84,7 @@ jobs: docker_drama: needs: check_if_version_upgraded environment: Main - if: needs.check_if_version_upgraded.outputs.is_drama_upgraded_version + if: needs.check_if_version_upgraded.outputs.is_drama_upgraded_version == 'true' runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -108,7 +108,7 @@ jobs: docker_queen: needs: check_if_version_upgraded environment: Main - if: needs.check_if_version_upgraded.outputs.is_queen_upgraded_version + if: needs.check_if_version_upgraded.outputs.is_queen_upgraded_version == 'true' runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -132,7 +132,7 @@ jobs: docker_queen_v2: needs: check_if_version_upgraded environment: Main - if: needs.check_if_version_upgraded.outputs.is_queen_v2_upgraded_version + if: needs.check_if_version_upgraded.outputs.is_queen_v2_upgraded_version == 'true' runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -156,7 +156,7 @@ jobs: release: runs-on: ubuntu-latest needs: check_if_version_upgraded - if: needs.check_if_version_upgraded.outputs.is_upgraded_version + if: needs.check_if_version_upgraded.outputs.is_upgraded_version == 'true' steps: - uses: actions/checkout@v3 with: diff --git a/drama-queen/package.json b/drama-queen/package.json index d06eb8c..4256222 100644 --- a/drama-queen/package.json +++ b/drama-queen/package.json @@ -1,7 +1,7 @@ { "name": "drama-queen", "private": true, - "version": "0.1.1", + "version": "0.1.0", "type": "module", "scripts": { "dev": "vite --port 5000 --strictPort", diff --git a/package.json b/package.json index 6e679c5..46fda5d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "drama-queen-container", "private": true, - "version": "1.0.1", + "version": "1.0.0", "workspaces": [ "drama-queen", "queen-v2", diff --git a/queen-v2/package.json b/queen-v2/package.json index d12193d..f2d94de 100644 --- a/queen-v2/package.json +++ b/queen-v2/package.json @@ -1,6 +1,6 @@ { "name": "queen-v2", - "version": "1.0.0-fix-nginx", + "version": "1.0.0-03a16be", "description": "Web application for the management of questionnaires powered by Lunatic", "repository": { "type": "git", @@ -12,7 +12,7 @@ "dependencies": { "@axa-fr/react-oidc-context": "^3.1.6", "@craco/craco": "^6.4.0", - "@inseefr/lunatic": "2.0.7-v2-main-2023-02-28-14-48-47", + "@inseefr/lunatic": "2.4.1", "@inseefr/trevas": "^0.1.16", "@material-ui/core": "^4.11.3", "@material-ui/icons": "^4.11.2", diff --git a/queen-v2/src/components/lightOrchestrator/lightOrchestrator.js b/queen-v2/src/components/lightOrchestrator/lightOrchestrator.js index 8e556a2..769911c 100644 --- a/queen-v2/src/components/lightOrchestrator/lightOrchestrator.js +++ b/queen-v2/src/components/lightOrchestrator/lightOrchestrator.js @@ -1,16 +1,15 @@ import * as lunatic from '@inseefr/lunatic'; -import React, { memo, useCallback, useEffect, useMemo, useRef, useState } from 'react'; -import { useAsyncValue, useLunaticFetcher } from 'utils/hook'; +import { memo, useCallback, useEffect, useMemo, useRef, useState } from 'react'; +import D from 'i18n'; +import { componentHasResponse } from 'utils/components/deduceState'; +import { LoopPanel } from './LoopPanel'; import ButtonContinue from './buttons/continue/index'; import { ComponentDisplayer } from './componentDisplayer'; -import D from 'i18n'; import Header from './header'; -import { LoopPanel } from './LoopPanel'; -import NavBar from './navBar'; -import { componentHasResponse } from 'utils/components/deduceState'; import { useStyles } from './lightOrchestrator.style'; +import NavBar from './navBar'; function onLogChange(response, value, args) { console.log('onChange', { response, value, args }); @@ -32,7 +31,7 @@ function LightOrchestrator({ readonly, pagination, source, - suggesters, + getReferentiel, missing = true, shortcut = true, autoSuggesterLoading, @@ -44,8 +43,6 @@ function LightOrchestrator({ definitiveQuit, }) { const { data } = surveyUnit; - const { lunaticFetcher } = useLunaticFetcher(); - const suggesterFetcher = useAsyncValue(lunaticFetcher); const classes = useStyles(); const lunaticStateRef = useRef(); @@ -87,8 +84,7 @@ function LightOrchestrator({ onChange: customHandleChange, preferences, autoSuggesterLoading, - suggesters, - suggesterFetcher, + getReferentiel, missing, shortcut, missingStrategy, diff --git a/queen-v2/src/components/orchestratorManager/orchestratorManager.js b/queen-v2/src/components/orchestratorManager/orchestratorManager.js index bd480d7..37f9f08 100644 --- a/queen-v2/src/components/orchestratorManager/orchestratorManager.js +++ b/queen-v2/src/components/orchestratorManager/orchestratorManager.js @@ -1,20 +1,19 @@ -import { COMPLETED, VALIDATED, useQuestionnaireState } from 'utils/hook/questionnaire'; -import { EventsManager, INIT_ORCHESTRATOR_EVENT, INIT_SESSION_EVENT } from 'utils/events'; -import { ORCHESTRATOR_COLLECT, ORCHESTRATOR_READONLY, READ_ONLY } from 'utils/constants'; -import React, { useCallback, useContext, useEffect, useMemo, useState } from 'react'; -import { useAPI, useAPIRemoteData, useAuth } from 'utils/hook'; +import { useCallback, useContext, useEffect, useMemo, useState } from 'react'; import { useHistory, useParams } from 'react-router-dom'; +import { ORCHESTRATOR_COLLECT, ORCHESTRATOR_READONLY, READ_ONLY } from 'utils/constants'; +import { EventsManager, INIT_ORCHESTRATOR_EVENT, INIT_SESSION_EVENT } from 'utils/events'; +import { useAPI, useAPIRemoteData, useAuth, useGetReferentiel } from 'utils/hook'; +import { COMPLETED, VALIDATED, useQuestionnaireState } from 'utils/hook/questionnaire'; import { AppContext } from 'components/app'; -import Error from 'components/shared/Error'; import LightOrchestrator from 'components/lightOrchestrator'; +import Error from 'components/shared/Error'; import NotFound from 'components/shared/not-found'; import Preloader from 'components/shared/preloader'; -import { buildSuggesterFromNomenclatures } from 'utils/questionnaire/nomenclatures'; -import { checkQuestionnaire } from 'utils/questionnaire'; -import paradataIdbService from 'utils/indexedbb/services/paradata-idb-service'; import { sendCloseEvent } from 'utils/communication'; +import paradataIdbService from 'utils/indexedbb/services/paradata-idb-service'; import surveyUnitIdbService from 'utils/indexedbb/services/surveyUnit-idb-service'; +import { checkQuestionnaire } from 'utils/questionnaire'; export const OrchestratorManager = () => { const { standalone, apiUrl } = useContext(AppContext); @@ -41,7 +40,7 @@ export const OrchestratorManager = () => { const { oidcUser } = useAuth(); const isAuthenticated = !!oidcUser?.profile; - const [suggesters, setSuggesters] = useState(null); + const { getReferentiel } = useGetReferentiel(); const [init, setInit] = useState(false); const [error, setError] = useState(null); @@ -66,14 +65,11 @@ export const OrchestratorManager = () => { }, [isAuthenticated, LOGGER, questionnaire]); useEffect(() => { - if (!init && questionnaire && surveyUnit && nomenclatures) { + if (!init && questionnaire && surveyUnit) { const { valid, error: questionnaireError } = checkQuestionnaire(questionnaire); if (valid) { setSource(questionnaire); - const suggestersBuilt = buildSuggesterFromNomenclatures(apiUrl)(nomenclatures); - setSuggesters(suggestersBuilt); setInit(true); - console.log('suggesters injection done'); LOGGER.log(INIT_ORCHESTRATOR_EVENT); } else { setError(questionnaireError); @@ -167,11 +163,11 @@ export const OrchestratorManager = () => { {![READ_ONLY, undefined].includes(readonlyParam) && } {loadingMessage && } {error && } - {!loadingMessage && !error && source && surveyUnit && suggesters && ( + {!loadingMessage && !error && source && surveyUnit && ( ({ root: { @@ -58,6 +59,7 @@ const QuestionnaireForm = () => { useEffect(() => { setQuestionnaire(selected ? QUESTIONNAIRE_EXAMPLE_URL(selected) : selected); setData(selected ? DATA_EXAMPLE_URL(selected) : selected); + setNomenclature(selected ? NOMENCLATURE_EXAMPLE_URL(selected) : selected); }, [selected]); const history = useHistory(); @@ -115,7 +117,7 @@ const QuestionnaireForm = () => { { const { apiUrl, standalone } = useContext(AppContext); @@ -18,16 +17,16 @@ const Visualizer = () => { const [error, setError] = useState(null); const [source, setSource] = useState(null); - const { questionnaireUrl, dataUrl, readonly } = useVisuQuery(); + const { questionnaireUrl, dataUrl, nomenclatures, readonly } = useVisuQuery(); const { surveyUnit: suData, questionnaire, - nomenclatures, loadingMessage, errorMessage, } = useRemoteData(questionnaireUrl, dataUrl); - const [suggesters, setSuggesters] = useState(null); + const { getReferentielForVizu } = useGetReferentiel(nomenclatures); + const history = useHistory(); useEffect(() => { @@ -45,17 +44,15 @@ const Visualizer = () => { }, [suData]); useEffect(() => { - if (questionnaireUrl && questionnaire && suData && nomenclatures) { + if (questionnaireUrl && questionnaire && suData) { const { valid, error: questionnaireError } = checkQuestionnaire(questionnaire); if (valid) { setSource(questionnaire); - const suggestersBuilt = buildSuggesterFromNomenclatures(apiUrl)(nomenclatures); - setSuggesters(suggestersBuilt); } else { setError(questionnaireError); } } - }, [questionnaireUrl, questionnaire, suData, apiUrl, nomenclatures]); + }, [questionnaireUrl, questionnaire, suData, apiUrl]); useEffect(() => { if (errorMessage) setError(errorMessage); @@ -85,11 +82,12 @@ const Visualizer = () => { <> {loadingMessage && } {error && } - {questionnaireUrl && source && surveyUnit && suggesters && ( + {questionnaireUrl && source && surveyUnit && ( { } }; -export const getFetcherForLunatic = token => async (url, options) => { +export const getFetcherForLunatic = token => (url, options) => { const otherHeader = options?.headers || {}; return fetch(url, { ...options, headers: token ? { ...otherHeader, Authorization: `Bearer ${token}` } : otherHeader, - }); + }).then(r => r.json()); }; diff --git a/queen-v2/src/utils/hook/api.js b/queen-v2/src/utils/hook/api.js index 3410701..0684f77 100644 --- a/queen-v2/src/utils/hook/api.js +++ b/queen-v2/src/utils/hook/api.js @@ -1,11 +1,11 @@ -import { DEFAULT_DATA_URL, OIDC } from 'utils/constants'; import { useCallback, useContext, useEffect, useState } from 'react'; +import { DEFAULT_DATA_URL, OIDC } from 'utils/constants'; -import { API } from 'utils/api'; import { AppContext } from 'components/app'; import Dictionary from 'i18n'; -import clearAllData from 'utils/indexedbb/services/allTables-idb-service'; +import { API } from 'utils/api'; import { getFetcherForLunatic } from 'utils/api/fetcher'; +import clearAllData from 'utils/indexedbb/services/allTables-idb-service'; import surveyUnitIdbService from 'utils/indexedbb/services/surveyUnit-idb-service'; import { useAsyncValue } from '.'; import { useAuth } from './auth'; @@ -31,18 +31,32 @@ const getErrorMessage = (response, type = 'q') => { return Dictionary.getUnknownError; }; -export const useLunaticFetcher = () => { - const { authenticationType, oidcUser } = useAuth(); +/** Nomenclatures params is optional, it is used only in vizualise mode */ +export const useGetReferentiel = nomenclatures => { + const { oidcUser } = useAuth(); + const { apiUrl } = useContext(AppContext); - const lunaticFetcher = useCallback( - (url, options) => { - const token = authenticationType === OIDC ? oidcUser?.access_token : null; - return getFetcherForLunatic(token)(url, options); + const getReferentiel = useCallback( + refName => { + const finalUrl = `${apiUrl}/api/nomenclature/${refName}`; + return getFetcherForLunatic(oidcUser?.accessToken)(finalUrl); + }, + [apiUrl, oidcUser] + ); + + const getReferentielForVizu = useCallback( + refName => { + if (nomenclatures && Object.keys(nomenclatures).includes(refName)) { + const finalUrl = nomenclatures[refName]; + return getFetcherForLunatic(oidcUser?.accessToken)(finalUrl); + } + // No nomenclature, return empty array to lunatic + return Promise.resolve([]); }, - [authenticationType, oidcUser] + [nomenclatures, oidcUser] ); - return { lunaticFetcher }; + return { getReferentiel, getReferentielForVizu }; }; export const useAPI = () => { @@ -204,7 +218,6 @@ export const useAPIRemoteData = (surveyUnitID, questionnaireID) => { export const useRemoteData = (questionnaireUrl, dataUrl) => { const { standalone } = useContext(AppContext); const [questionnaire, setQuestionnaire] = useState(null); - const [nomenclatures, setNomenclatures] = useState(null); const [surveyUnit, setSurveyUnit] = useState(null); const [loadingMessage, setLoadingMessage] = useState(null); @@ -214,7 +227,6 @@ export const useRemoteData = (questionnaireUrl, dataUrl) => { if (questionnaireUrl) { setErrorMessage(null); setQuestionnaire(null); - setNomenclatures(null); setSurveyUnit(null); const fakeToken = null; const load = async () => { @@ -225,7 +237,6 @@ export const useRemoteData = (questionnaireUrl, dataUrl) => { const qR = await API.getRequest(questionnaireUrl)(fakeToken); if (!qR.error) { setQuestionnaire(qR.data); - setNomenclatures([]); // fake nomenclatures for vizu setLoadingMessage(Dictionary.waintingData); const dR = await API.getRequest(dataUrl || DEFAULT_DATA_URL)(fakeToken); if (!dR.error) { @@ -242,5 +253,5 @@ export const useRemoteData = (questionnaireUrl, dataUrl) => { } }, [questionnaireUrl, dataUrl, standalone]); - return { loadingMessage, errorMessage, surveyUnit, questionnaire, nomenclatures }; + return { loadingMessage, errorMessage, surveyUnit, questionnaire }; }; diff --git a/queen-v2/yarn.lock b/queen-v2/yarn.lock index fbf50a3..80a46bd 100644 --- a/queen-v2/yarn.lock +++ b/queen-v2/yarn.lock @@ -2115,12 +2115,12 @@ dependencies: "@hapi/hoek" "^8.3.0" -"@inseefr/lunatic@2.0.7-v2-main-2023-02-28-14-48-47": - version "2.0.7-v2-main-2023-02-28-14-48-47" - resolved "https://registry.yarnpkg.com/@inseefr/lunatic/-/lunatic-2.0.7-v2-main-2023-02-28-14-48-47.tgz#4c67484e34852da7134aa98e57deadeddcd48d1b" - integrity sha512-UCH7ae+Y4YV4GLb5C58d4TBNsga3cyLzcNXF6++RwomYxDpPw9Sas2Q7GS5ZK4hNwTbgEyXkMGTWxw+kCn8VUg== +"@inseefr/lunatic@2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@inseefr/lunatic/-/lunatic-2.4.1.tgz#52908aeb688130821cb0a68bf53f3652a5232056" + integrity sha512-v9SSItM4bR/lrg3t/Cp0Xr7Y+esapqasXknV6c0rBb7wZ5SsH5DF0sF7OXbvNChcviEzs15LeIUvf1zhHzRP9Q== dependencies: - "@inseefr/trevas" "^0.1.16" + "@inseefr/trevas" "^0.1.17" "@inseefr/vtl-2.0-antlr-tools" "^0.1.0-bundle" antlr4 "4.11.0" classnames "^2.3.1" @@ -2132,10 +2132,10 @@ prop-types "^15.7.2" react-keyboard-event-handler "^1.5.4" react-markdown "^8.0.3" - react-number-format "^5.0.0-beta.4" + react-number-format "^5.1.3" react-tooltip "^4.2.15" remove-accents "^0.4.2" - sass "^1.32.2" + sass "^1.58.3" snowball "^0.3.1" string-tokenizer "^0.0.8" @@ -2149,6 +2149,16 @@ data-forge "^1.8.8" date-fns "^2.27.0" +"@inseefr/trevas@^0.1.17": + version "0.1.17" + resolved "https://registry.yarnpkg.com/@inseefr/trevas/-/trevas-0.1.17.tgz#747ee1b2c712b0d5b277760ea27ce1fb78f65415" + integrity sha512-hQ6mXtcID6kmbpQPuJpyjiBMzGnsC2MAFKIt3qjHBCpYOXbgzl+VteSi+Sj0q4J2EQAx45drIcIZdX7FOf4EUw== + dependencies: + "@inseefr/vtl-2.0-antlr-tools" "0.1.0" + antlr4 "4.8.0" + data-forge "^1.8.8" + date-fns "^2.27.0" + "@inseefr/vtl-2.0-antlr-tools@0.1.0", "@inseefr/vtl-2.0-antlr-tools@^0.1.0-bundle": version "0.1.0" resolved "https://registry.yarnpkg.com/@inseefr/vtl-2.0-antlr-tools/-/vtl-2.0-antlr-tools-0.1.0.tgz#5c2d13621b4cab0a092b45d9edd64d8062f348d9" @@ -4527,20 +4537,20 @@ chokidar@3.5.2: optionalDependencies: fsevents "~2.3.2" -"chokidar@>=2.0.0 <4.0.0": - version "3.5.1" - resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.1.tgz#ee9ce7bbebd2b79f49f304799d5468e31e14e68a" - integrity sha512-9+s+Od+W0VJJzawDma/gvBNQqkTiqYTWLuZoyAsivsI4AaWTCzHG06/TMjsf1cYe9Cb97UCEhjz7HvnPk2p/tw== +"chokidar@>=3.0.0 <4.0.0": + version "3.5.3" + resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.3.tgz#1cf37c8707b932bd1af1ae22c0432e2acd1903bd" + integrity sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw== dependencies: - anymatch "~3.1.1" + anymatch "~3.1.2" braces "~3.0.2" - glob-parent "~5.1.0" + glob-parent "~5.1.2" is-binary-path "~2.1.0" is-glob "~4.0.1" normalize-path "~3.0.0" - readdirp "~3.5.0" + readdirp "~3.6.0" optionalDependencies: - fsevents "~2.3.1" + fsevents "~2.3.2" chokidar@^2.1.8: version "2.1.8" @@ -6895,7 +6905,7 @@ fsevents@^1.2.7: bindings "^1.5.0" nan "^2.12.1" -fsevents@^2.1.2, fsevents@^2.1.3, fsevents@~2.3.1, fsevents@~2.3.2: +fsevents@^2.1.2, fsevents@^2.1.3, fsevents@~2.3.2: version "2.3.2" resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a" integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA== @@ -7567,6 +7577,11 @@ immer@8.0.1: resolved "https://registry.yarnpkg.com/immer/-/immer-8.0.1.tgz#9c73db683e2b3975c424fb0572af5889877ae656" integrity sha512-aqXhGP7//Gui2+UrEtvxZxSquQVXTpZ7KDxfCcKAF3Vysvw0CViVaW9RZ1j1xlIYqaaaipBoqdqeibkc18PNvA== +immutable@^4.0.0: + version "4.3.0" + resolved "https://registry.yarnpkg.com/immutable/-/immutable-4.3.0.tgz#eb1738f14ffb39fd068b1dbe1296117484dd34be" + integrity sha512-0AOCmOip+xgJwEVTQj1EfiDDOkPmuyllDuTuEX+DDXUgapLAsBIfkg3sxCYyCEA8mQqZrrxPUGjcOQ2JS3WLkg== + import-cwd@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/import-cwd/-/import-cwd-2.1.0.tgz#aa6cf36e722761285cb371ec6519f53e2435b0a9" @@ -11683,10 +11698,10 @@ react-markdown@^8.0.3: unist-util-visit "^4.0.0" vfile "^5.0.0" -react-number-format@^5.0.0-beta.4: - version "5.1.3" - resolved "https://registry.yarnpkg.com/react-number-format/-/react-number-format-5.1.3.tgz#5534f5141cea29e0fe889f76c73dfad11ddf2e17" - integrity sha512-N4XVBXDEIu9qVZIIwKTfCwhPh1fWx/i50I6XnMLsckj7OHi7A85+AMCzUmMCpx05usVVee14Rr/P7MUY0Pp2Kg== +react-number-format@^5.1.3: + version "5.1.4" + resolved "https://registry.yarnpkg.com/react-number-format/-/react-number-format-5.1.4.tgz#23057d94a4f1b08e12ee41328e86be929b60a791" + integrity sha512-QV7QHzHrk9ZS9V0bWkIwu6ywiXJt0www4/cXWEVEgwaNqthmOZl/Cf5O0ukEPlGZJJr06Jh3+CM4rZsvXn8cOg== dependencies: prop-types "^15.7.2" @@ -12460,12 +12475,14 @@ sass-loader@^10.0.5: schema-utils "^3.0.0" semver "^7.3.2" -sass@^1.32.2: - version "1.32.8" - resolved "https://registry.yarnpkg.com/sass/-/sass-1.32.8.tgz#f16a9abd8dc530add8834e506878a2808c037bdc" - integrity sha512-Sl6mIeGpzjIUZqvKnKETfMf0iDAswD9TNlv13A7aAF3XZlRPMq4VvJWBC2N2DXbp94MQVdNSFG6LfF/iOXrPHQ== +sass@^1.58.3: + version "1.62.0" + resolved "https://registry.yarnpkg.com/sass/-/sass-1.62.0.tgz#3686b2195b93295d20765135e562366b33ece37d" + integrity sha512-Q4USplo4pLYgCi+XlipZCWUQz5pkg/ruSSgJ0WRDSb/+3z9tXUOkQ7QPYn4XrhZKYAK4HlpaQecRwKLJX6+DBg== dependencies: - chokidar ">=2.0.0 <4.0.0" + chokidar ">=3.0.0 <4.0.0" + immutable "^4.0.0" + source-map-js ">=0.6.2 <2.0.0" sax@~1.2.4: version "1.2.4" @@ -12814,6 +12831,11 @@ source-list-map@^2.0.0: resolved "https://registry.yarnpkg.com/source-list-map/-/source-list-map-2.0.1.tgz#3993bd873bfc48479cca9ea3a547835c7c154b34" integrity sha512-qnQ7gVMxGNxsiL4lEuJwe/To8UnK7fAnmbGEEH8RpLouuKbeEm0lhbQVFIrNSuB+G7tVrAlVsZgETT5nljf+Iw== +"source-map-js@>=0.6.2 <2.0.0": + version "1.0.2" + resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.0.2.tgz#adbc361d9c62df380125e7f161f71c826f1e490c" + integrity sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw== + source-map-resolve@^0.5.0, source-map-resolve@^0.5.2: version "0.5.3" resolved "https://registry.yarnpkg.com/source-map-resolve/-/source-map-resolve-0.5.3.tgz#190866bece7553e1f8f267a2ee82c606b5509a1a" diff --git a/queen/package.json b/queen/package.json index 92b6617..eb3823b 100644 --- a/queen/package.json +++ b/queen/package.json @@ -1,6 +1,6 @@ { "name": "queen", - "version": "0.10.11-fix-nginx", + "version": "0.10.11-rc", "description": "Web application for the management of questionnaires powered by Lunatic", "repository": { "type": "git",