From 4a82a436cb79bab5347ff051b907f07843b060a6 Mon Sep 17 00:00:00 2001 From: Elinor Date: Wed, 24 Jan 2024 15:19:26 +0300 Subject: [PATCH 01/11] Chore: Update to 9.4.0 (#2959) --- .github/workflows/linter.yml | 1 + package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 27de075ef8..92bc913b4c 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -181,6 +181,7 @@ jobs: REACT_APP_NOMINATION_PERIOD: ${{secrets.REACT_APP_NOMINATION_PERIOD}} REACT_APP_COOLDOWN_PERIOD: ${{secrets.REACT_APP_COOLDOWN_PERIOD}} REACT_APP_USAGE_TIME: ${{secrets.REACT_APP_USAGE_TIME}} + CI: false id: builddeploy uses: Azure/static-web-apps-deploy@v0.0.1-preview with: diff --git a/package-lock.json b/package-lock.json index 2ad67433d0..f889715c68 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "graph-explorer-v2", - "version": "9.3.3", + "version": "9.4.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "graph-explorer-v2", - "version": "9.3.3", + "version": "9.4.0", "dependencies": { "@augloop/types-core": "file:packages/types-core-2.16.189.tgz", "@axe-core/webdriverjs": "4.8.1", diff --git a/package.json b/package.json index 978eee158c..ddce060908 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "graph-explorer-v2", - "version": "9.3.3", + "version": "9.4.0", "private": true, "dependencies": { "@augloop/types-core": "file:packages/types-core-2.16.189.tgz", From bfee40c1e0a2c954f437ed4e02524826b67d6555 Mon Sep 17 00:00:00 2001 From: Elinor Date: Fri, 26 Jan 2024 11:26:44 +0300 Subject: [PATCH 02/11] Fix: Remove lazy loading on feedback button (#2963) --- src/app/views/app-sections/FeedbackButton.tsx | 66 ---------- src/app/views/main-header/FeedbackButton.tsx | 118 +++++++----------- 2 files changed, 46 insertions(+), 138 deletions(-) delete mode 100644 src/app/views/app-sections/FeedbackButton.tsx diff --git a/src/app/views/app-sections/FeedbackButton.tsx b/src/app/views/app-sections/FeedbackButton.tsx deleted file mode 100644 index e66079a167..0000000000 --- a/src/app/views/app-sections/FeedbackButton.tsx +++ /dev/null @@ -1,66 +0,0 @@ -import { DirectionalHint, IconButton, IIconProps, TooltipHost } from '@fluentui/react'; -import { useState } from 'react'; -import { translateMessage } from '../../utils/translate-messages'; -import FeedbackForm from '../query-runner/request/feedback/FeedbackForm'; -import { ACCOUNT_TYPE } from '../../services/graph-constants'; -import { useAppSelector } from '../../../store'; - -export const FeedbackButton = () => { - const [enableSurvey, setEnableSurvey] = useState(false); - const { profile } = useAppSelector((state) => state); - - const feedbackIcon : IIconProps = { - iconName : 'Feedback' - } - const feedbackTitle = translateMessage('Feedback'); - const content =
{translateMessage('Feedback')}
- - const feedbackIconStyles = { - root:{ - height: '50px', - width: '50px' - } - } - const calloutProps = { - gapSpace: 0 - }; - const hostStyles = { root: { - display: 'inline-block' - } - }; - - const toggleSurvey = () => { - setEnableSurvey(prevState => !prevState); - } - - const disableSurvey = () => { - setEnableSurvey(false); - } - - return ( -
- {profile?.profileType !== ACCOUNT_TYPE.AAD && -
- - - - - -
- } -
- ) -} \ No newline at end of file diff --git a/src/app/views/main-header/FeedbackButton.tsx b/src/app/views/main-header/FeedbackButton.tsx index 921fded880..259291171d 100644 --- a/src/app/views/main-header/FeedbackButton.tsx +++ b/src/app/views/main-header/FeedbackButton.tsx @@ -1,52 +1,35 @@ -import { - getTheme, - IButton, - IconButton, - IIconProps, - TooltipHost -} from '@fluentui/react'; -import { useRef, useState, useEffect, lazy, Suspense } from 'react'; +import { getTheme, IButton, IconButton, IIconProps, TooltipHost } from '@fluentui/react'; +import { useRef, useState, useEffect } from 'react'; import { translateMessage } from '../../utils/translate-messages'; -const FeedbackForm = lazy( - () => - import( - /* webpackChunkName: "feedback-form" */ '../query-runner/request/feedback/FeedbackForm' - ) -); +import FeedbackForm from '../query-runner/request/feedback/FeedbackForm'; import { ACCOUNT_TYPE } from '../../services/graph-constants'; import { componentNames, eventTypes, telemetry } from '../../../telemetry'; import { useAppSelector } from '../../../store'; export const FeedbackButton = () => { const [enableSurvey, setEnableSurvey] = useState(false); - const [renderSurvey, setRenderSurvey] = useState(false); const { profile } = useAppSelector((state) => state); const currentTheme = getTheme(); - const feedbackIcon: IIconProps = { - iconName: 'Feedback' - }; + const feedbackIcon : IIconProps = { + iconName : 'Feedback' + } const feedbackTitle = translateMessage('Feedback'); - const content = ( -
{translateMessage('Feedback')}
- ); + const content =
{translateMessage('Feedback')}
- const feedbackButtonRef = useRef(null); - const isFirstSurveyRender = useRef(true); - useEffect(() => { - if (enableSurvey && !renderSurvey) { - setRenderSurvey(true); - } - if (isFirstSurveyRender.current) { - isFirstSurveyRender.current = false; + const feedbackButtonRef = useRef(null) + const isFirstRender = useRef(true); + useEffect( () => { + if (isFirstRender.current) { + isFirstRender.current = false; return; } - if (!enableSurvey) { + if(!enableSurvey){ feedbackButtonRef.current?.focus(); } - }, [enableSurvey, renderSurvey]); + },[enableSurvey]) const feedbackIconStyles = { - root: { + root:{ height: '50px', width: '50px', marginTop: '-8px', @@ -54,63 +37,54 @@ export const FeedbackButton = () => { background: `${currentTheme.palette.neutralLight} !important` } } - }; + } const calloutProps = { gapSpace: 0 }; - const hostStyles = { - root: { - display: 'inline-block' - } + const hostStyles = { root: { + display: 'inline-block' + } }; const activateSurvey = () => { setEnableSurvey(true); trackFeedbackButtonEvent(); - }; + } const disableSurvey = () => { setEnableSurvey(false); - }; + } const trackFeedbackButtonEvent = () => { telemetry.trackEvent(eventTypes.BUTTON_CLICK_EVENT, { ComponentName: componentNames.FEEDBACK_BUTTON }); - }; + } return (
- {profile?.profileType !== ACCOUNT_TYPE.AAD && ( -
- - - - {renderSurvey && ( - /* use null as a fallback as the feedback form renders in a different DOM sub-tree */ - - - - )} -
- )} + {profile?.profileType !== ACCOUNT_TYPE.AAD && +
+ + + + + +
+ }
- ); -}; + ) +} \ No newline at end of file From f6436931216f6df47f6215e24a6e5d7abcd81fde Mon Sep 17 00:00:00 2001 From: Elinor Date: Wed, 31 Jan 2024 11:44:22 +0300 Subject: [PATCH 03/11] Fix: Ignore aria rule on Sample Queries component (#2962) --- src/tests/accessibility/accessibility.spec.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tests/accessibility/accessibility.spec.ts b/src/tests/accessibility/accessibility.spec.ts index 6278ead175..522c14cf8f 100644 --- a/src/tests/accessibility/accessibility.spec.ts +++ b/src/tests/accessibility/accessibility.spec.ts @@ -26,7 +26,8 @@ test.describe('Accessibility', () => { 'landmark-unique', 'aria-allowed-attr', 'aria-required-children', - 'color-contrast' + 'color-contrast', + 'aria-conditional-attr' ]) .analyze(); accessibilityScan.setLegacyMode(false); From b3345d36b320d70cd8ec78de66018ad208925513 Mon Sep 17 00:00:00 2001 From: Charles Wahome Date: Wed, 31 Jan 2024 16:38:00 +0300 Subject: [PATCH 04/11] Chore: change workflow permissions (#2966) --- .github/workflows/combine-prs.yml | 118 ------------------------------ .github/workflows/cut-release.yml | 23 +----- .github/workflows/linter.yml | 4 + .github/workflows/projectbot.yml | 5 ++ 4 files changed, 13 insertions(+), 137 deletions(-) delete mode 100644 .github/workflows/combine-prs.yml diff --git a/.github/workflows/combine-prs.yml b/.github/workflows/combine-prs.yml deleted file mode 100644 index 166f968587..0000000000 --- a/.github/workflows/combine-prs.yml +++ /dev/null @@ -1,118 +0,0 @@ -name: 'Combine PRs' - -# This workflow will merge all dependabot PRs into one branch and open a new PR against dependabot-upgrades -on: - workflow_dispatch: - inputs: - branchPrefix: - description: 'Branch prefix to find combinable PRs based on' - required: true - default: 'dependabot/' - combineBranchName: - description: 'Name of the branch to combine PRs into' - required: true - default: 'dependabot-upgrades' - -jobs: - # Update dependabot-upgrades branch so that it's in sync with dev - merge-dev-dependabot-upgrades: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Set Git config - run: | - git config user.name github-actions - git config user.email github-actions@github.com - - - name: Merge dev to dependabot-upgrades - run: | - git fetch --unshallow - git pull origin - git checkout dependabot-upgrades - git merge --no-ff origin/dev --allow-unrelated-histories -m "Auto-merge dev to dependabot-upgrades" - git push - - # Get all PRs opened by dependabot - combine-prs: - runs-on: ubuntu-latest - steps: - - uses: actions/github-script@v3 - id: fetch-branch-names - name: Fetch branch names - with: - github-token: ${{secrets.GITHUB_TOKEN}} - script: | - const pulls = await github.paginate('GET /repos/:owner/:repo/pulls', { - owner: context.repo.owner, - repo: context.repo.repo - }); - branches = []; - prs = []; - base_branch = null; - for (const pull of pulls) { - const branch = pull['head']['ref']; - console.log('Pull for branch: ' + branch); - if (branch.startsWith('${{ github.event.inputs.branchPrefix }}')) { - console.log('Branch matched: ' + branch); - console.log('Adding branch to array: ' + branch); - branches.push(branch); - prs.push('#' + pull['number'] + ' ' + pull['title']); - } - } - - if (branches.length == 0) { - core.setFailed('No PRs/branches matched criteria'); - return; - } - - core.setOutput('base-branch', 'dev'); - core.setOutput('prs-string', prs.join('\n')); - - combined = branches.join(' ') - console.log('Combined: ' + combined); - return combined - - # Checks-out the repository under $GITHUB_WORKSPACE, so this job can access it - - uses: actions/checkout@v2.3.3 - with: - fetch-depth: 0 - - # Merges all dependabot PRs into the dependabot-upgrades branch - - name: Created combined branch - env: - BRANCHES_TO_COMBINE: ${{ steps.fetch-branch-names.outputs.result }} - COMBINE_BRANCH_NAME: ${{ github.event.inputs.combineBranchName }} - run: | - echo "$BRANCHES_TO_COMBINE" - sourcebranches="${BRANCHES_TO_COMBINE%\"}" - sourcebranches="${sourcebranches#\"}" - - git config pull.rebase false - git config user.name github-actions - git config user.email github-actions@github.com - - git fetch - git pull origin - git checkout $COMBINE_BRANCH_NAME - - git pull origin $sourcebranches --no-edit - git push -f origin $COMBINE_BRANCH_NAME - - # Opens a pull request to dev from dependabot-upgrades branch - - uses: actions/github-script@v3 - name: Create Combined Pull Request - env: - PRS_STRING: ${{ steps.fetch-branch-names.outputs.prs-string }} - with: - github-token: ${{secrets.GITHUB_TOKEN}} - script: | - const prString = process.env.PRS_STRING; - const body = 'This PR was created by the Combine PRs action by combining the following PRs:\n' + prString; - await github.pulls.create({ - owner: context.repo.owner, - repo: context.repo.repo, - title: 'Combined dependabot pull requests', - head: '${{ github.event.inputs.combineBranchName }}', - base: '${{ steps.fetch-branch-names.outputs.base-branch }}', - body: body - }); diff --git a/.github/workflows/cut-release.yml b/.github/workflows/cut-release.yml index a80bd1e2a7..986ca67f20 100644 --- a/.github/workflows/cut-release.yml +++ b/.github/workflows/cut-release.yml @@ -6,6 +6,10 @@ on: description: Release type (major/minor/patch) required: true +permissions: + pull-requests: write + contents: write + jobs: cut-release: name: Creates release branch and PRs into dev/master @@ -74,22 +78,3 @@ jobs: echo "NEW_VERSION=${newVersion}" >> $GITHUB_ENV echo "::set-output name=branchName::$branchName" - - - name: Create pull request into dev - uses: repo-sync/pull-request@v2 - if: ${{ github.event.inputs.release-type == 'major' || github.event.inputs.release-type == 'minor' }} - with: - source_branch: ${{ steps.create-release.outputs.branchName }} - destination_branch: "dev" - github_token: ${{ secrets.GITHUB_TOKEN }} - pr_title: "Chore: Update to ${{ env.NEW_VERSION }}" - pr_body: ${{ env.devPrBody }} - - - name: Create pull request into master - uses: repo-sync/pull-request@v2 - with: - source_branch: ${{ steps.create-release.outputs.branchName }} - destination_branch: "master" - github_token: ${{ secrets.GITHUB_TOKEN }} - pr_title: "Chore: Release ${{ env.NEW_VERSION }}" - pr_body: ${{ env.masterPrBody }} \ No newline at end of file diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 92bc913b4c..9d916999df 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -12,6 +12,10 @@ on: env: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} +permissions: + contents: write + pull-requests: write + jobs: install: name: Install node modules diff --git a/.github/workflows/projectbot.yml b/.github/workflows/projectbot.yml index 58157c8348..300eda311b 100644 --- a/.github/workflows/projectbot.yml +++ b/.github/workflows/projectbot.yml @@ -5,6 +5,11 @@ on: issues: types: - opened + +permissions: + issues: write + repository-projects: write + jobs: track_issue: runs-on: ubuntu-latest From 0b89772af2b21a5bf5e93989e24cf5bdaf32d474 Mon Sep 17 00:00:00 2001 From: Elinor Date: Thu, 8 Feb 2024 12:50:27 +0300 Subject: [PATCH 05/11] Chore: Update to 9.5.0 (#2995) --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index f889715c68..0699a1f728 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "graph-explorer-v2", - "version": "9.4.0", + "version": "9.5.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "graph-explorer-v2", - "version": "9.4.0", + "version": "9.5.0", "dependencies": { "@augloop/types-core": "file:packages/types-core-2.16.189.tgz", "@axe-core/webdriverjs": "4.8.1", diff --git a/package.json b/package.json index ddce060908..59157319d4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "graph-explorer-v2", - "version": "9.4.0", + "version": "9.5.0", "private": true, "dependencies": { "@augloop/types-core": "file:packages/types-core-2.16.189.tgz", From efe85e5eee869854d32a4ebdd1a83f59498f26ae Mon Sep 17 00:00:00 2001 From: Elinor Date: Mon, 12 Feb 2024 13:05:08 +0300 Subject: [PATCH 06/11] Fix: Failing playwright UI tests (#2996) --- config/webpackDevServer.config.js | 4 +++- .../views/query-response/QueryResponse.tsx | 2 +- .../views/query-runner/request/Request.tsx | 2 +- src/messages/GE.json | 4 +++- src/styles/index.scss | 1 + .../ui/anonymous-experiences/header.spec.ts | 23 ++++++++++--------- .../ui/anonymous-experiences/sidebar.spec.ts | 12 +++++----- .../responsiveness/mobile-responsive.spec.ts | 18 ++++++++------- 8 files changed, 37 insertions(+), 29 deletions(-) diff --git a/config/webpackDevServer.config.js b/config/webpackDevServer.config.js index 8ea4eb2fb7..12e45ceda3 100644 --- a/config/webpackDevServer.config.js +++ b/config/webpackDevServer.config.js @@ -45,7 +45,9 @@ module.exports = function (proxy, allowedHost) { port: sockPort }, overlay:{ - errors: true, + runtimeErrors: (error) => { + return (error.message !== 'ResizeObserver loop limit exceeded'); + }, warnings: false } }, diff --git a/src/app/views/query-response/QueryResponse.tsx b/src/app/views/query-response/QueryResponse.tsx index 0daadc91a3..d2a07514c5 100644 --- a/src/app/views/query-response/QueryResponse.tsx +++ b/src/app/views/query-response/QueryResponse.tsx @@ -107,7 +107,7 @@ const QueryResponse = () => { flex: 1 }} onScroll={onScroll}> {
{ test.describe('Settings button', () => { test('should change theme settings', async () => { - const settingsButton = page.locator('[aria-label="Settings"]'); + const settingsButton = page.getByLabel('Settings'); await settingsButton.click(); - const changeThemeButton = page.locator('button[role="menuitem"]:has-text("Change theme")'); + const changeThemeButton = page.getByRole('menuitem', { name: 'Change theme' }); await changeThemeButton.click(); await page.evaluate(() => document.fonts.ready); await page.waitForTimeout(200); expect(await page.screenshot({ clip: { x: 300, y: 0, width: 1920, height: 1080 } })).toMatchSnapshot(); await page.locator('text=Dark').click(); - const closeThemeDialogButton = page.locator('button:has-text("Close")'); + const closeThemeDialogButton = page.getByRole('button', { name: 'Close' }); await closeThemeDialogButton.click(); - await page.locator('[aria-label="Settings"]').click(); - await changeThemeButton.click(); - await page.locator('text=High contrast').click(); await page.evaluate(() => document.fonts.ready); await page.waitForTimeout(200); + await settingsButton.click(); + await changeThemeButton.click(); + await page.locator('text=High contrast').click(); expect(await page.screenshot({ clip: { x: 300, y: 0, width: 1920, height: 1080 } })).toMatchSnapshot(); await closeThemeDialogButton.click(); + await page.evaluate(() => document.fonts.ready); + await page.waitForTimeout(200); await settingsButton.click(); await changeThemeButton.click(); await page.locator('text=Light').click(); - await page.evaluate(() => document.fonts.ready); - await page.waitForTimeout(200); expect(await page.screenshot({ clip: { x: 300, y: 0, width: 1920, height: 1080 } })).toMatchSnapshot(); await page.locator('text=Close').click(); }); test('should get a sandbox with sample data', async () => { test.slow(); - await page.locator('[aria-label="Settings"]').click(); await page.evaluate(() => document.fonts.ready); - await page.waitForTimeout(700); + await page.waitForTimeout(200); + await page.getByLabel('Settings').click(); const [page1] = await Promise.all([ page.waitForEvent('popup'), - page.locator('text=Get a sandbox with sample data').click() + await page.getByRole('menuitem', { name: 'Get a sandbox with sample data' }).click() ]); expect(page1.url()).toBe('https://developer.microsoft.com/en-US/microsoft-365/dev-program'); }) diff --git a/src/tests/ui/anonymous-experiences/sidebar.spec.ts b/src/tests/ui/anonymous-experiences/sidebar.spec.ts index 42472f6dbc..ce9376ea8f 100644 --- a/src/tests/ui/anonymous-experiences/sidebar.spec.ts +++ b/src/tests/ui/anonymous-experiences/sidebar.spec.ts @@ -14,8 +14,8 @@ test.describe('Resources Explorer', () => { await page.evaluate(() => document.fonts.ready); await page.waitForTimeout(200); expect(await page.screenshot()).toMatchSnapshot(); - await page.locator('text=admin (5)').click(); - await page.locator('text=admin').nth(1).click(); + await page.getByLabel('admin (6)').click(); + await page.getByRole('link', { name: 'GET' }).click(); await page.waitForTimeout(200); await page.evaluate(() => document.fonts.ready); expect(await page.screenshot()).toMatchSnapshot(); @@ -79,18 +79,18 @@ test.describe.serial('Sample Query tab', () => { await page.evaluate(() => document.fonts.ready); await page.waitForTimeout(200); expect(await page.screenshot()).toMatchSnapshot(); - await page.locator('[placeholder="Search sample queries"]').click(); - await page.locator('[placeholder="Search sample queries"]').fill('drive'); + await page.getByPlaceholder('Search sample queries').click(); + await page.getByPlaceholder('Search sample queries').fill('drive'); await page.evaluate(() => document.fonts.ready); expect(await page.screenshot()).toMatchSnapshot(); await page.locator('[aria-label="list items in my drive"]').click(); await page.evaluate(() => document.fonts.ready); await page.waitForTimeout(200); expect(await page.screenshot()).toMatchSnapshot(); - await page.getByRole('row', { name: 'OneDrive has 5 results 4 of 6' }).getByRole('button', { name: 'expand collapse group' }).click(); + await page.getByLabel('OneDrive has 5 results 4 of').getByLabel('expand collapse group').click(); await page.evaluate(() => document.fonts.ready); expect(await page.screenshot()).toMatchSnapshot(); - await page.getByRole('gridcell', { name: 'my recent files' }).click(); + await page.getByLabel('getmy recent files').click(); await page.waitForTimeout(200); await page.evaluate(() => document.fonts.ready); }) diff --git a/src/tests/ui/responsiveness/mobile-responsive.spec.ts b/src/tests/ui/responsiveness/mobile-responsive.spec.ts index 03296e2571..28fac5d17e 100644 --- a/src/tests/ui/responsiveness/mobile-responsive.spec.ts +++ b/src/tests/ui/responsiveness/mobile-responsive.spec.ts @@ -51,7 +51,7 @@ test.describe('Sidebar navigation', () => { test.describe('Request area navigation', () => { test('should have permissions tab in overflow menu', async () => { - await page.getByRole('tablist').filter({hasText:'Request body' }).getByRole('button',{name: 'More items'}).click(); + await page.getByLabel('More request area items').click(); await page.getByRole('menuitem', { name: 'Modify permissions' }).click(); await page.evaluate(() => document.fonts.ready); await page.waitForTimeout(500); @@ -60,7 +60,7 @@ test.describe('Request area navigation', () => { }) test('should have access token tab in overflow menu', async () => { - await page.getByRole('tablist').filter({hasText:'Request body' }).getByRole('button',{name: 'More items'}).click(); + await page.getByLabel('More request area items').click(); await page.getByRole('menuitem', { name: 'Access token' }).click(); page.getByText('To view your access token, sign in to Graph Explorer.'); expect(await page.screenshot()).toMatchSnapshot(); @@ -68,7 +68,9 @@ test.describe('Request area navigation', () => { }); test.describe('Response area navigation', () => { test('should have code snippets tab in overflow menu', async () => { - await page.getByRole('tablist').filter({hasText:'Response preview'}).getByRole('button',{name:'More items' }).click(); + await page.evaluate(() => document.fonts.ready); + await page.waitForTimeout(200); + await page.getByLabel('More response area items').click(); await page.getByRole('menuitem', { name: 'Code snippets' }).click(); await page.getByRole('tab', { name: 'C# C#' }).click(); await page.evaluate(() => document.fonts.ready); @@ -82,7 +84,7 @@ test.describe('Response area navigation', () => { await page.getByRole('button', { name: 'Run query' }).click(); await page.evaluate(() => document.fonts.ready); await page.waitForTimeout(1000); - await page.getByRole('tablist').filter({ hasText: 'Response preview' }).getByRole('button', { name: 'More items' }).click(); + await page.getByLabel('More response area items').click(); await page.getByRole('menuitem', { name: 'Adaptive cards' }).click(); await page.getByRole('tabpanel', { name: 'Adaptive cards' }).getByRole('tab', { name: 'Card' }).click(); expect(page.getByText('Megan Bowen')).toBeDefined(); @@ -93,17 +95,17 @@ test.describe('Response area navigation', () => { expect(await page.screenshot()).toMatchSnapshot(); }) test('should have toolkit component tab in overflow menu', async () => { - await page.getByRole('tablist').filter({ hasText: 'Response preview' }).getByRole('button', { name: 'More items' }).click(); + await page.getByLabel('More response area items').click(); await page.getByRole('menuitem', { name: 'Toolkit component' }).click(); - await page.waitForTimeout(500); + await page.waitForTimeout(700); await page.evaluate(() => document.fonts.ready); expect(page.locator('text=Open this example in')).toBeDefined(); expect(await page.screenshot()).toMatchSnapshot(); }); test('should have expand component tab in overflow menu', async () => { - await page.getByRole('tablist').filter({ hasText: 'Response preview' }).getByRole('button', { name: 'More items' }).click(); + await page.getByLabel('More response area items').click(); await page.getByRole('menuitem', { name: 'Expand response' }).click(); - await page.getByRole('button', { name: 'More items' }).click(); + await page.getByRole('tab', { name: 'More items' }).click(); await page.getByRole('menuitem', { name: 'Code snippets' }).click(); await page.getByRole('tab', { name: 'C# C#' }).click(); await page.evaluate(() => document.fonts.ready); From d451983659dd7062d5bea864cf4cf7f708b6a097 Mon Sep 17 00:00:00 2001 From: Charles Wahome Date: Tue, 13 Feb 2024 15:24:17 +0300 Subject: [PATCH 07/11] Fix: failing permissions panel load (#3000) --- src/app/services/reducers/permissions-reducer.spec.ts | 5 ++++- src/app/services/reducers/permissions-reducer.ts | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/app/services/reducers/permissions-reducer.spec.ts b/src/app/services/reducers/permissions-reducer.spec.ts index 11a65b558f..329ea71c50 100644 --- a/src/app/services/reducers/permissions-reducer.spec.ts +++ b/src/app/services/reducers/permissions-reducer.spec.ts @@ -71,7 +71,10 @@ describe('Permissions reducer', () => { } const expectedState = { pending: { isSpecificPermissions: false, isFullPermissions: false }, - data: {}, + data: { + fullPermissions: [], + specificPermissions: [] + }, error: 'error' } diff --git a/src/app/services/reducers/permissions-reducer.ts b/src/app/services/reducers/permissions-reducer.ts index bb58c81bf6..9bbb1e56c3 100644 --- a/src/app/services/reducers/permissions-reducer.ts +++ b/src/app/services/reducers/permissions-reducer.ts @@ -43,7 +43,7 @@ export function scopes(state: IScopes = initialState, action: AppAction): any { return { pending: { isFullPermissions: false, isSpecificPermissions: false }, error: action.response, - data: {} + data: state.data }; case FETCH_URL_SCOPES_PENDING: return { From 724928c13e283aebb1bcb267a6ee09c67345ac90 Mon Sep 17 00:00:00 2001 From: Elinor Date: Tue, 27 Feb 2024 16:46:17 +0300 Subject: [PATCH 08/11] Chore: Dependabot upgrades for February (#3006) --- package-lock.json | 568 +++++++++++++++++++++++----------------------- package.json | 38 ++-- 2 files changed, 300 insertions(+), 306 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0699a1f728..f330870486 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,8 +9,8 @@ "version": "9.5.0", "dependencies": { "@augloop/types-core": "file:packages/types-core-2.16.189.tgz", - "@axe-core/webdriverjs": "4.8.1", - "@azure/msal-browser": "3.5.0", + "@axe-core/webdriverjs": "4.8.4", + "@azure/msal-browser": "3.10.0", "@babel/core": "7.23.3", "@babel/runtime": "7.23.8", "@fluentui/react": "8.112.5", @@ -18,7 +18,7 @@ "@microsoft/applicationinsights-react-js": "17.0.3", "@microsoft/applicationinsights-web": "3.0.5", "@microsoft/microsoft-graph-client": "3.0.7", - "@monaco-editor/react": "4.5.1", + "@monaco-editor/react": "4.6.0", "@ms-ofb/officebrowserfeedbacknpm": "file:packages/officebrowserfeedbacknpm-1.6.6.tgz", "adaptive-expressions": "4.21.4", "adaptivecards": "3.0.2", @@ -31,8 +31,8 @@ "bfj": "8.0.0", "bootstrap": "5.3.2", "case-sensitive-paths-webpack-plugin": "2.4.0", - "css-loader": "6.8.1", - "dotenv": "16.3.1", + "css-loader": "6.10.0", + "dotenv": "16.4.2", "dotenv-expand": "10.0.0", "eslint-config-react-app": "7.0.1", "eslint-plugin-react": "7.33.2", @@ -40,12 +40,12 @@ "express": "4.18.2", "expvariantassignmentsdk": "file:packages/expvariantassignmentsdk-1.0.0.tgz", "file-loader": "6.2.0", - "fork-ts-checker-webpack-plugin": "8.0.0", + "fork-ts-checker-webpack-plugin": "9.0.2", "fs-extra": "11.1.1", "guid-typescript": "1.0.9", "isomorphic-fetch": "3.0.0", "localforage": "1.10.0", - "mini-css-extract-plugin": "2.7.6", + "mini-css-extract-plugin": "2.8.0", "monaco-editor": "0.30.1", "monaco-editor-webpack-plugin": "6.0.0", "office-ui-fabric-core": "11.1.0", @@ -59,14 +59,14 @@ "react-redux": "8.1.3", "redux": "4.2.1", "redux-thunk": "2.4.2", - "resolve": "1.22.2", + "resolve": "1.22.8", "sass": "1.69.7", "sass-loader": "13.3.2", "style-loader": "3.3.3", "typescript": "5.3.3", "url": "0.11.1", "url-loader": "4.1.1", - "webpack": "5.88.2", + "webpack": "5.90.1", "webpack-dev-server": "4.15.1", "webpack-manifest-plugin": "5.0.0", "workbox-webpack-plugin": "7.0.0" @@ -75,22 +75,22 @@ "@axe-core/playwright": "4.7.3", "@playwright/test": "1.40.1", "@types/chromedriver": "81.0.1", - "@types/isomorphic-fetch": "0.0.36", - "@types/jest": "29.5.8", + "@types/isomorphic-fetch": "0.0.39", + "@types/jest": "29.5.12", "@types/lodash.debounce": "4.0.9", - "@types/react": "18.2.47", - "@types/react-dom": "18.2.15", + "@types/react": "18.2.55", + "@types/react-dom": "18.2.19", "@types/react-redux": "7.1.30", "@types/redux-logger": "3.0.11", "@types/redux-mock-store": "1.0.3", "@types/selenium-webdriver": "4.1.21", - "@typescript-eslint/eslint-plugin": "6.18.1", + "@typescript-eslint/eslint-plugin": "6.20.0", "@typescript-eslint/parser": "6.17.0", - "acorn": "8.10.0", + "acorn": "8.11.3", "babel-jest": "29.7.0", "chromedriver": "119.0.1", "eslint": "8.56.0", - "html-webpack-plugin": "5.5.3", + "html-webpack-plugin": "5.6.0", "jest": "29.7.0", "jest-canvas-mock": "2.5.2", "jest-environment-jsdom": "29.7.0", @@ -101,9 +101,9 @@ "react-dev-utils": "12.0.1", "redux-logger": "3.0.6", "redux-mock-store": "1.5.4", - "selenium-webdriver": "4.16.0", - "start-server-and-test": "2.0.1", - "ts-jest": "29.1.1" + "selenium-webdriver": "4.17.0", + "start-server-and-test": "2.0.3", + "ts-jest": "29.1.2" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -161,31 +161,31 @@ } }, "node_modules/@axe-core/webdriverjs": { - "version": "4.8.1", - "resolved": "https://registry.npmjs.org/@axe-core/webdriverjs/-/webdriverjs-4.8.1.tgz", - "integrity": "sha512-3rQiuxWqQNx7P05RC1pMfo3uppH62+KCKRUwA9zTgIBBPTqwQW7+VmvnsK7RLPeHZK6Y7DjvUPl1NnDqqmKbTQ==", + "version": "4.8.4", + "resolved": "https://registry.npmjs.org/@axe-core/webdriverjs/-/webdriverjs-4.8.4.tgz", + "integrity": "sha512-SdQN2YSQeV2BxW8kR9q7x+IjecTLI+tNsLN2RrqatYUUsWWE2PmrLjG/whgao1xtq3Zf9Te8VmLtp2RI7L/2/A==", "dependencies": { - "axe-core": "~4.8.2" + "axe-core": "~4.8.3" }, "peerDependencies": { "selenium-webdriver": ">3.0.0-beta || >=2.53.1 || >4.0.0-alpha" } }, "node_modules/@azure/msal-browser": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/@azure/msal-browser/-/msal-browser-3.5.0.tgz", - "integrity": "sha512-2NtMuel4CI3UEelCPKkNRXgKzpWEX48fvxIvPz7s0/sTcCaI08r05IOkH2GkXW+czUOtuY6+oGafJCpumnjRLg==", + "version": "3.10.0", + "resolved": "https://registry.npmjs.org/@azure/msal-browser/-/msal-browser-3.10.0.tgz", + "integrity": "sha512-mnmi8dCXVNZI+AGRq0jKQ3YiodlIC4W9npr6FCB9WN6NQT+6rq+cIlxgUb//BjLyzKsnYo+i4LROGeMyU+6v1A==", "dependencies": { - "@azure/msal-common": "14.4.0" + "@azure/msal-common": "14.7.1" }, "engines": { "node": ">=0.8.0" } }, "node_modules/@azure/msal-common": { - "version": "14.4.0", - "resolved": "https://registry.npmjs.org/@azure/msal-common/-/msal-common-14.4.0.tgz", - "integrity": "sha512-ffCymScQuMKVj+YVfwNI52A5Tu+uiZO2eTf+c+3TXxdAssks4nokJhtr+uOOMxH0zDi6d1OjFKFKeXODK0YLSg==", + "version": "14.7.1", + "resolved": "https://registry.npmjs.org/@azure/msal-common/-/msal-common-14.7.1.tgz", + "integrity": "sha512-v96btzjM7KrAu4NSEdOkhQSTGOuNUIIsUdB8wlyB9cdgl5KqEKnTonHUZ8+khvZ6Ap542FCErbnTyDWl8lZ2rA==", "engines": { "node": ">=0.8.0" } @@ -3961,9 +3961,9 @@ } }, "node_modules/@jridgewell/source-map": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.2.tgz", - "integrity": "sha512-m7O9o2uR8k2ObDysZYzdfhb08VuEml5oWGiosa1VdaPZ/A6QyPkAJuwN0Q1lhULOf6B7MtQmHENS743hWtCrgw==", + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.5.tgz", + "integrity": "sha512-UTYAUj/wviwdsMfzoSJspJxbkH5o1snzwX0//0ENX1u/55kkZZkcTZP6u9bwKGkv+dkk9at4m1Cpt0uY80kcpQ==", "dependencies": { "@jridgewell/gen-mapping": "^0.3.0", "@jridgewell/trace-mapping": "^0.3.9" @@ -3975,12 +3975,12 @@ "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==" }, "node_modules/@jridgewell/trace-mapping": { - "version": "0.3.18", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.18.tgz", - "integrity": "sha512-w+niJYzMHdd7USdiH2U6869nqhD2nbfZXND5Yp93qIbEmnDNk7PD48o+YchRVpzMU7M6jVCbenTR7PA1FLQ9pA==", + "version": "0.3.22", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.22.tgz", + "integrity": "sha512-Wf963MzWtA2sjrNt+g18IAln9lKnlRp+K2eH4jjIoF1wYeq3aMREpG09xhlhdzS0EjwU7qmUJYangWa+151vZw==", "dependencies": { - "@jridgewell/resolve-uri": "3.1.0", - "@jridgewell/sourcemap-codec": "1.4.14" + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" } }, "node_modules/@leichtgewicht/ip-codec": { @@ -4216,9 +4216,9 @@ } }, "node_modules/@monaco-editor/loader": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/@monaco-editor/loader/-/loader-1.3.3.tgz", - "integrity": "sha512-6KKF4CTzcJiS8BJwtxtfyYt9shBiEv32ateQ9T4UVogwn4HM/uPo9iJd2Dmbkpz8CM6Y0PDUpjnZzCwC+eYo2Q==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@monaco-editor/loader/-/loader-1.4.0.tgz", + "integrity": "sha512-00ioBig0x642hytVspPl7DbQyaSWRaolYie/UFNjoTdvoKPzo6xrXLhTk9ixgIKcLH5b5vDOjVNiGyY+uDCUlg==", "dependencies": { "state-local": "^1.0.6" }, @@ -4227,11 +4227,11 @@ } }, "node_modules/@monaco-editor/react": { - "version": "4.5.1", - "resolved": "https://registry.npmjs.org/@monaco-editor/react/-/react-4.5.1.tgz", - "integrity": "sha512-NNDFdP+2HojtNhCkRfE6/D6ro6pBNihaOzMbGK84lNWzRu+CfBjwzGt4jmnqimLuqp5yE5viHS2vi+QOAnD5FQ==", + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/@monaco-editor/react/-/react-4.6.0.tgz", + "integrity": "sha512-RFkU9/i7cN2bsq/iTkurMWOEErmYcY6JiQI3Jn+WeR/FGISH8JbHERjpS9oRuSOPvDMJI0Z8nJeKkbOs9sBYQw==", "dependencies": { - "@monaco-editor/loader": "^1.3.3" + "@monaco-editor/loader": "^1.4.0" }, "peerDependencies": { "monaco-editor": ">= 0.25.0 < 1", @@ -4254,14 +4254,6 @@ "whatwg-fetch": "^3.0.0" } }, - "node_modules/@ms-ofb/officebrowserfeedbacknpm/node_modules/@ms-ofb/officefloodgatecore": { - "version": "0.0.0", - "extraneous": true, - "inBundle": true, - "dependencies": { - "es6-promise": "4.2.8" - } - }, "node_modules/@ms-ofb/officebrowserfeedbacknpm/node_modules/tslib": { "version": "1.14.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", @@ -4417,9 +4409,9 @@ "integrity": "sha512-WiBSI6JBIhC6LRIsB2Kwh8DsGTlbBU+mLRxJmAe3LjHTdkDpwIbEOZgoXBbZilk/vlfjK8i6nKRAvIRn1XaIMw==" }, "node_modules/@sideway/address": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/@sideway/address/-/address-4.1.4.tgz", - "integrity": "sha512-7vwq+rOHVWjyXxVlR76Agnvhy8I9rpzjosTESvmhNeXOXdZZB15Fl+TI9x1SiHZH5Jv2wTGduSxFDIaq0m3DUw==", + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/@sideway/address/-/address-4.1.5.tgz", + "integrity": "sha512-IqO/DUQHUkPeixNQ8n0JA6102hT9CmaljNTPmQ1u8MEhBo/R4Q8eKLN/vGZxuebwOroDB4cbpjheD4+/sKFK4Q==", "dev": true, "dependencies": { "@hapi/hoek": "^9.0.0" @@ -4607,9 +4599,9 @@ } }, "node_modules/@types/estree": { - "version": "0.0.51", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.51.tgz", - "integrity": "sha512-CuPgU6f3eT/XgKKPqKd/gLZV1Xmvf1a2R5POBOGQa6uv82xpls89HU5zKeVoyR8XzHd1RGNOlQlvUe3CFkjWNQ==" + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz", + "integrity": "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==" }, "node_modules/@types/express": { "version": "4.17.17", @@ -4671,9 +4663,9 @@ } }, "node_modules/@types/isomorphic-fetch": { - "version": "0.0.36", - "resolved": "https://registry.npmjs.org/@types/isomorphic-fetch/-/isomorphic-fetch-0.0.36.tgz", - "integrity": "sha512-ulw4d+vW1HKn4oErSmNN2HYEcHGq0N1C5exlrMM0CRqX1UUpFhGb5lwiom5j9KN3LBJJDLRmYIZz1ghm7FIzZw==", + "version": "0.0.39", + "resolved": "https://registry.npmjs.org/@types/isomorphic-fetch/-/isomorphic-fetch-0.0.39.tgz", + "integrity": "sha512-I0gou/ZdA1vMG7t7gMzL7VYu2xAKU78rW9U1l10MI0nn77pEHq3tQqHQ8hMmXdMpBlkxZOorjI4sO594Z3kKJw==", "dev": true }, "node_modules/@types/istanbul-lib-coverage": { @@ -4698,9 +4690,9 @@ } }, "node_modules/@types/jest": { - "version": "29.5.8", - "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.5.8.tgz", - "integrity": "sha512-fXEFTxMV2Co8ZF5aYFJv+YeA08RTYJfhtN5c9JSv/mFEMe+xxjufCb+PHL+bJcMs/ebPUsBu+UNTEz+ydXrR6g==", + "version": "29.5.12", + "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.5.12.tgz", + "integrity": "sha512-eDC8bTvT/QhYdxJAulQikueigY5AsdBRH2yDKW3yveW7svY3+DzN84/2NUgkw10RTiJbWqZrTtoGVdYlvFJdLw==", "dev": true, "dependencies": { "expect": "^29.0.0", @@ -4810,9 +4802,9 @@ "integrity": "sha512-EEhsLsD6UsDM1yFhAvy0Cjr6VwmpMWqFBCb9w07wVugF7w9nfajxLuVmngTIpgS6svCnm6Vaw+MZhoDCKnOfsw==" }, "node_modules/@types/react": { - "version": "18.2.47", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.47.tgz", - "integrity": "sha512-xquNkkOirwyCgoClNk85BjP+aqnIS+ckAJ8i37gAbDs14jfW/J23f2GItAf33oiUPQnqNMALiFeoM9Y5mbjpVQ==", + "version": "18.2.55", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.55.tgz", + "integrity": "sha512-Y2Tz5P4yz23brwm2d7jNon39qoAtMMmalOQv6+fEFt1mT+FcM3D841wDpoUvFXhaYenuROCy3FZYqdTjM7qVyA==", "dependencies": { "@types/prop-types": "*", "@types/scheduler": "*", @@ -4820,9 +4812,9 @@ } }, "node_modules/@types/react-dom": { - "version": "18.2.15", - "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.15.tgz", - "integrity": "sha512-HWMdW+7r7MR5+PZqJF6YFNSCtjz1T0dsvo/f1BV6HkV+6erD/nA7wd9NM00KVG83zf2nJ7uATPO9ttdIPvi3gg==", + "version": "18.2.19", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.19.tgz", + "integrity": "sha512-aZvQL6uUbIJpjZk4U8JZGbau9KDeAwMfmhyWorxgBkqDIEf6ROjRozcmPIicqsUwPUjbkDfHKgGee1Lq65APcA==", "dependencies": { "@types/react": "*" } @@ -4984,16 +4976,16 @@ } }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "6.18.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.18.1.tgz", - "integrity": "sha512-nISDRYnnIpk7VCFrGcu1rnZfM1Dh9LRHnfgdkjcbi/l7g16VYRri3TjXi9Ir4lOZSw5N/gnV/3H7jIPQ8Q4daA==", + "version": "6.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.20.0.tgz", + "integrity": "sha512-fTwGQUnjhoYHeSF6m5pWNkzmDDdsKELYrOBxhjMrofPqCkoC2k3B2wvGHFxa1CTIqkEn88nlW1HVMztjo2K8Hg==", "dev": true, "dependencies": { "@eslint-community/regexpp": "^4.5.1", - "@typescript-eslint/scope-manager": "6.18.1", - "@typescript-eslint/type-utils": "6.18.1", - "@typescript-eslint/utils": "6.18.1", - "@typescript-eslint/visitor-keys": "6.18.1", + "@typescript-eslint/scope-manager": "6.20.0", + "@typescript-eslint/type-utils": "6.20.0", + "@typescript-eslint/utils": "6.20.0", + "@typescript-eslint/visitor-keys": "6.20.0", "debug": "^4.3.4", "graphemer": "^1.4.0", "ignore": "^5.2.4", @@ -5019,9 +5011,9 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types": { - "version": "6.18.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.18.1.tgz", - "integrity": "sha512-4TuMAe+tc5oA7wwfqMtB0Y5OrREPF1GeJBAjqwgZh1lEMH5PJQgWgHGfYufVB51LtjD+peZylmeyxUXPfENLCw==", + "version": "6.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.20.0.tgz", + "integrity": "sha512-MM9mfZMAhiN4cOEcUOEx+0HmuaW3WBfukBZPCfwSqFnQy0grXYtngKCqpQN339X3RrwtzspWJrpbrupKYUSBXQ==", "dev": true, "engines": { "node": "^16.0.0 || >=18.0.0" @@ -5032,13 +5024,13 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree": { - "version": "6.18.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.18.1.tgz", - "integrity": "sha512-fv9B94UAhywPRhUeeV/v+3SBDvcPiLxRZJw/xZeeGgRLQZ6rLMG+8krrJUyIf6s1ecWTzlsbp0rlw7n9sjufHA==", + "version": "6.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.20.0.tgz", + "integrity": "sha512-RnRya9q5m6YYSpBN7IzKu9FmLcYtErkDkc8/dKv81I9QiLLtVBHrjz+Ev/crAqgMNW2FCsoZF4g2QUylMnJz+g==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.18.1", - "@typescript-eslint/visitor-keys": "6.18.1", + "@typescript-eslint/types": "6.20.0", + "@typescript-eslint/visitor-keys": "6.20.0", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -5060,17 +5052,17 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils": { - "version": "6.18.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.18.1.tgz", - "integrity": "sha512-zZmTuVZvD1wpoceHvoQpOiewmWu3uP9FuTWo8vqpy2ffsmfCE8mklRPi+vmnIYAIk9t/4kOThri2QCDgor+OpQ==", + "version": "6.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.20.0.tgz", + "integrity": "sha512-/EKuw+kRu2vAqCoDwDCBtDRU6CTKbUmwwI7SH7AashZ+W+7o8eiyy6V2cdOqN49KsTcASWsC5QeghYuRDTyOOg==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", "@types/json-schema": "^7.0.12", "@types/semver": "^7.5.0", - "@typescript-eslint/scope-manager": "6.18.1", - "@typescript-eslint/types": "6.18.1", - "@typescript-eslint/typescript-estree": "6.18.1", + "@typescript-eslint/scope-manager": "6.20.0", + "@typescript-eslint/types": "6.20.0", + "@typescript-eslint/typescript-estree": "6.20.0", "semver": "^7.5.4" }, "engines": { @@ -5085,12 +5077,12 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys": { - "version": "6.18.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.18.1.tgz", - "integrity": "sha512-/kvt0C5lRqGoCfsbmm7/CwMqoSkY3zzHLIjdhHZQW3VFrnz7ATecOHR7nb7V+xn4286MBxfnQfQhAmCI0u+bJA==", + "version": "6.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.20.0.tgz", + "integrity": "sha512-E8Cp98kRe4gKHjJD4NExXKz/zOJ1A2hhZc+IMVD6i7w4yjIvh6VyuRI0gRtxAsXtoC35uGMaQ9rjI2zJaXDEAw==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.18.1", + "@typescript-eslint/types": "6.20.0", "eslint-visitor-keys": "^3.4.1" }, "engines": { @@ -5295,13 +5287,13 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "6.18.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.18.1.tgz", - "integrity": "sha512-BgdBwXPFmZzaZUuw6wKiHKIovms97a7eTImjkXCZE04TGHysG+0hDQPmygyvgtkoB/aOQwSM/nWv3LzrOIQOBw==", + "version": "6.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.20.0.tgz", + "integrity": "sha512-p4rvHQRDTI1tGGMDFQm+GtxP1ZHyAh64WANVoyEcNMpaTFn3ox/3CcgtIlELnRfKzSs/DwYlDccJEtr3O6qBvA==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.18.1", - "@typescript-eslint/visitor-keys": "6.18.1" + "@typescript-eslint/types": "6.20.0", + "@typescript-eslint/visitor-keys": "6.20.0" }, "engines": { "node": "^16.0.0 || >=18.0.0" @@ -5312,9 +5304,9 @@ } }, "node_modules/@typescript-eslint/scope-manager/node_modules/@typescript-eslint/types": { - "version": "6.18.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.18.1.tgz", - "integrity": "sha512-4TuMAe+tc5oA7wwfqMtB0Y5OrREPF1GeJBAjqwgZh1lEMH5PJQgWgHGfYufVB51LtjD+peZylmeyxUXPfENLCw==", + "version": "6.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.20.0.tgz", + "integrity": "sha512-MM9mfZMAhiN4cOEcUOEx+0HmuaW3WBfukBZPCfwSqFnQy0grXYtngKCqpQN339X3RrwtzspWJrpbrupKYUSBXQ==", "dev": true, "engines": { "node": "^16.0.0 || >=18.0.0" @@ -5325,12 +5317,12 @@ } }, "node_modules/@typescript-eslint/scope-manager/node_modules/@typescript-eslint/visitor-keys": { - "version": "6.18.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.18.1.tgz", - "integrity": "sha512-/kvt0C5lRqGoCfsbmm7/CwMqoSkY3zzHLIjdhHZQW3VFrnz7ATecOHR7nb7V+xn4286MBxfnQfQhAmCI0u+bJA==", + "version": "6.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.20.0.tgz", + "integrity": "sha512-E8Cp98kRe4gKHjJD4NExXKz/zOJ1A2hhZc+IMVD6i7w4yjIvh6VyuRI0gRtxAsXtoC35uGMaQ9rjI2zJaXDEAw==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.18.1", + "@typescript-eslint/types": "6.20.0", "eslint-visitor-keys": "^3.4.1" }, "engines": { @@ -5354,13 +5346,13 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "6.18.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.18.1.tgz", - "integrity": "sha512-wyOSKhuzHeU/5pcRDP2G2Ndci+4g653V43gXTpt4nbyoIOAASkGDA9JIAgbQCdCkcr1MvpSYWzxTz0olCn8+/Q==", + "version": "6.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.20.0.tgz", + "integrity": "sha512-qnSobiJQb1F5JjN0YDRPHruQTrX7ICsmltXhkV536mp4idGAYrIyr47zF/JmkJtEcAVnIz4gUYJ7gOZa6SmN4g==", "dev": true, "dependencies": { - "@typescript-eslint/typescript-estree": "6.18.1", - "@typescript-eslint/utils": "6.18.1", + "@typescript-eslint/typescript-estree": "6.20.0", + "@typescript-eslint/utils": "6.20.0", "debug": "^4.3.4", "ts-api-utils": "^1.0.1" }, @@ -5381,9 +5373,9 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types": { - "version": "6.18.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.18.1.tgz", - "integrity": "sha512-4TuMAe+tc5oA7wwfqMtB0Y5OrREPF1GeJBAjqwgZh1lEMH5PJQgWgHGfYufVB51LtjD+peZylmeyxUXPfENLCw==", + "version": "6.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.20.0.tgz", + "integrity": "sha512-MM9mfZMAhiN4cOEcUOEx+0HmuaW3WBfukBZPCfwSqFnQy0grXYtngKCqpQN339X3RrwtzspWJrpbrupKYUSBXQ==", "dev": true, "engines": { "node": "^16.0.0 || >=18.0.0" @@ -5394,13 +5386,13 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree": { - "version": "6.18.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.18.1.tgz", - "integrity": "sha512-fv9B94UAhywPRhUeeV/v+3SBDvcPiLxRZJw/xZeeGgRLQZ6rLMG+8krrJUyIf6s1ecWTzlsbp0rlw7n9sjufHA==", + "version": "6.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.20.0.tgz", + "integrity": "sha512-RnRya9q5m6YYSpBN7IzKu9FmLcYtErkDkc8/dKv81I9QiLLtVBHrjz+Ev/crAqgMNW2FCsoZF4g2QUylMnJz+g==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.18.1", - "@typescript-eslint/visitor-keys": "6.18.1", + "@typescript-eslint/types": "6.20.0", + "@typescript-eslint/visitor-keys": "6.20.0", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -5422,17 +5414,17 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils": { - "version": "6.18.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.18.1.tgz", - "integrity": "sha512-zZmTuVZvD1wpoceHvoQpOiewmWu3uP9FuTWo8vqpy2ffsmfCE8mklRPi+vmnIYAIk9t/4kOThri2QCDgor+OpQ==", + "version": "6.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.20.0.tgz", + "integrity": "sha512-/EKuw+kRu2vAqCoDwDCBtDRU6CTKbUmwwI7SH7AashZ+W+7o8eiyy6V2cdOqN49KsTcASWsC5QeghYuRDTyOOg==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", "@types/json-schema": "^7.0.12", "@types/semver": "^7.5.0", - "@typescript-eslint/scope-manager": "6.18.1", - "@typescript-eslint/types": "6.18.1", - "@typescript-eslint/typescript-estree": "6.18.1", + "@typescript-eslint/scope-manager": "6.20.0", + "@typescript-eslint/types": "6.20.0", + "@typescript-eslint/typescript-estree": "6.20.0", "semver": "^7.5.4" }, "engines": { @@ -5447,12 +5439,12 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys": { - "version": "6.18.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.18.1.tgz", - "integrity": "sha512-/kvt0C5lRqGoCfsbmm7/CwMqoSkY3zzHLIjdhHZQW3VFrnz7ATecOHR7nb7V+xn4286MBxfnQfQhAmCI0u+bJA==", + "version": "6.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.20.0.tgz", + "integrity": "sha512-E8Cp98kRe4gKHjJD4NExXKz/zOJ1A2hhZc+IMVD6i7w4yjIvh6VyuRI0gRtxAsXtoC35uGMaQ9rjI2zJaXDEAw==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.18.1", + "@typescript-eslint/types": "6.20.0", "eslint-visitor-keys": "^3.4.1" }, "engines": { @@ -5778,9 +5770,9 @@ } }, "node_modules/acorn": { - "version": "8.10.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.10.0.tgz", - "integrity": "sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw==", + "version": "8.11.3", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz", + "integrity": "sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==", "bin": { "acorn": "bin/acorn" }, @@ -6221,9 +6213,9 @@ } }, "node_modules/axe-core": { - "version": "4.8.2", - "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.8.2.tgz", - "integrity": "sha512-/dlp0fxyM3R8YW7MFzaHWXrf4zzbr0vaYb23VBFCl83R7nWNPg/yaQw2Dc8jzCMmDVLhSdzH8MjrsuIUuvX+6g==", + "version": "4.8.4", + "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.8.4.tgz", + "integrity": "sha512-CZLSKisu/bhJ2awW4kJndluz2HLZYIHh5Uy1+ZwDRkJi69811xgIXXfdU9HSLX0Th+ILrHj8qfL/5wzamsFtQg==", "engines": { "node": ">=4" } @@ -7387,18 +7379,18 @@ } }, "node_modules/css-loader": { - "version": "6.8.1", - "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-6.8.1.tgz", - "integrity": "sha512-xDAXtEVGlD0gJ07iclwWVkLoZOpEvAWaSyf6W18S2pOC//K8+qUDIx8IIT3D+HjnmkJPQeesOPv5aiUaJsCM2g==", + "version": "6.10.0", + "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-6.10.0.tgz", + "integrity": "sha512-LTSA/jWbwdMlk+rhmElbDR2vbtQoTBPr7fkJE+mxrHj+7ru0hUmHafDRzWIjIHTwpitWVaqY2/UWGRca3yUgRw==", "dependencies": { "icss-utils": "^5.1.0", - "postcss": "^8.4.21", + "postcss": "^8.4.33", "postcss-modules-extract-imports": "^3.0.0", - "postcss-modules-local-by-default": "^4.0.3", - "postcss-modules-scope": "^3.0.0", + "postcss-modules-local-by-default": "^4.0.4", + "postcss-modules-scope": "^3.1.1", "postcss-modules-values": "^4.0.0", "postcss-value-parser": "^4.2.0", - "semver": "^7.3.8" + "semver": "^7.5.4" }, "engines": { "node": ">= 12.13.0" @@ -7408,7 +7400,16 @@ "url": "https://opencollective.com/webpack" }, "peerDependencies": { + "@rspack/core": "0.x || 1.x", "webpack": "^5.0.0" + }, + "peerDependenciesMeta": { + "@rspack/core": { + "optional": true + }, + "webpack": { + "optional": true + } } }, "node_modules/css-prefers-color-scheme": { @@ -7911,14 +7912,14 @@ } }, "node_modules/dotenv": { - "version": "16.3.1", - "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.3.1.tgz", - "integrity": "sha512-IPzF4w4/Rd94bA9imS68tZBaYyBWSCE47V1RGuMrB94iyTOIEwRmVL2x/4An+6mETpLrKJ5hQkB8W4kFAadeIQ==", + "version": "16.4.2", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.2.tgz", + "integrity": "sha512-rZSSFxke7d9nYQ5NeMIwp5PP+f8wXgKNljpOb7KtH6SKW1cEqcXAz9VSJYVLKe7Jhup/gUYOkaeSVyK8GJ+nBg==", "engines": { "node": ">=12" }, "funding": { - "url": "https://github.com/motdotla/dotenv?sponsor=1" + "url": "https://dotenvx.com" } }, "node_modules/dotenv-expand": { @@ -9827,14 +9828,14 @@ } }, "node_modules/fork-ts-checker-webpack-plugin": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/fork-ts-checker-webpack-plugin/-/fork-ts-checker-webpack-plugin-8.0.0.tgz", - "integrity": "sha512-mX3qW3idpueT2klaQXBzrIM/pHw+T0B/V9KHEvNrqijTq9NFnMZU6oreVxDYcf33P8a5cW+67PjodNHthGnNVg==", + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/fork-ts-checker-webpack-plugin/-/fork-ts-checker-webpack-plugin-9.0.2.tgz", + "integrity": "sha512-Uochze2R8peoN1XqlSi/rGUkDQpRogtLFocP9+PGu68zk1BDAKXfdeCdyVZpgTk8V8WFVQXdEz426VKjXLO1Gg==", "dependencies": { "@babel/code-frame": "^7.16.7", "chalk": "^4.1.2", "chokidar": "^3.5.3", - "cosmiconfig": "^7.0.1", + "cosmiconfig": "^8.2.0", "deepmerge": "^4.2.2", "fs-extra": "^10.0.0", "memfs": "^3.4.1", @@ -9890,6 +9891,11 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, + "node_modules/fork-ts-checker-webpack-plugin/node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" + }, "node_modules/fork-ts-checker-webpack-plugin/node_modules/chalk": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", @@ -9921,6 +9927,31 @@ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" }, + "node_modules/fork-ts-checker-webpack-plugin/node_modules/cosmiconfig": { + "version": "8.3.6", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.3.6.tgz", + "integrity": "sha512-kcZ6+W5QzcJ3P1Mt+83OUv/oHFqZHIx8DuxG6eZ5RGMERoLqp4BuGjhHLYGK+Kf5XVkQvqBSmAy/nGWN3qDgEA==", + "dependencies": { + "import-fresh": "^3.3.0", + "js-yaml": "^4.1.0", + "parse-json": "^5.2.0", + "path-type": "^4.0.0" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/d-fischer" + }, + "peerDependencies": { + "typescript": ">=4.9.5" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, "node_modules/fork-ts-checker-webpack-plugin/node_modules/fs-extra": { "version": "10.1.0", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz", @@ -9942,6 +9973,17 @@ "node": ">=8" } }, + "node_modules/fork-ts-checker-webpack-plugin/node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, "node_modules/fork-ts-checker-webpack-plugin/node_modules/json-schema-traverse": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", @@ -10537,9 +10579,9 @@ } }, "node_modules/html-webpack-plugin": { - "version": "5.5.3", - "resolved": "https://registry.npmjs.org/html-webpack-plugin/-/html-webpack-plugin-5.5.3.tgz", - "integrity": "sha512-6YrDKTuqaP/TquFH7h4srYWsZx+x6k6+FbsTm0ziCwGHDP78Unr1r9F/H4+sGmMbX08GQcJ+K64x55b+7VM/jg==", + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/html-webpack-plugin/-/html-webpack-plugin-5.6.0.tgz", + "integrity": "sha512-iwaY4wzbe48AfKLZ/Cc8k0L+FKG6oSNRaZ8x5A/T/IVDGyXcbHncM9TdDa93wn0FsSm82FhTKW7f3vS61thXAw==", "dev": true, "dependencies": { "@types/html-minifier-terser": "^6.0.0", @@ -10556,7 +10598,16 @@ "url": "https://opencollective.com/html-webpack-plugin" }, "peerDependencies": { + "@rspack/core": "0.x || 1.x", "webpack": "^5.20.0" + }, + "peerDependenciesMeta": { + "@rspack/core": { + "optional": true + }, + "webpack": { + "optional": true + } } }, "node_modules/htmlparser2": { @@ -10902,11 +10953,11 @@ } }, "node_modules/is-core-module": { - "version": "2.9.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.9.0.tgz", - "integrity": "sha512-+5FPy5PnwmO3lvfMb0AsoPaBG+5KHUI0wYFXOtYPnVVVspTFUuMZNfNaNVRt3FZadstu2c8x23vykRW/NBoU6A==", + "version": "2.13.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz", + "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==", "dependencies": { - "has": "^1.0.3" + "hasown": "^2.0.0" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -13313,14 +13364,14 @@ } }, "node_modules/joi": { - "version": "17.9.2", - "resolved": "https://registry.npmjs.org/joi/-/joi-17.9.2.tgz", - "integrity": "sha512-Itk/r+V4Dx0V3c7RLFdRh12IOjySm2/WGPMubBT92cQvRfYZhPM2W0hZlctjj72iES8jsRCwp7S/cRmWBnJ4nw==", + "version": "17.12.1", + "resolved": "https://registry.npmjs.org/joi/-/joi-17.12.1.tgz", + "integrity": "sha512-vtxmq+Lsc5SlfqotnfVjlViWfOL9nt/avKNbKYizwf6gsCfq9NYY/ceYRMFD8XDdrjJ9abJyScWmhmIiy+XRtQ==", "dev": true, "dependencies": { - "@hapi/hoek": "^9.0.0", - "@hapi/topo": "^5.0.0", - "@sideway/address": "^4.1.3", + "@hapi/hoek": "^9.3.0", + "@hapi/topo": "^5.1.0", + "@sideway/address": "^4.1.5", "@sideway/formula": "^3.0.1", "@sideway/pinpoint": "^2.0.0" } @@ -13910,11 +13961,12 @@ } }, "node_modules/mini-css-extract-plugin": { - "version": "2.7.6", - "resolved": "https://registry.npmjs.org/mini-css-extract-plugin/-/mini-css-extract-plugin-2.7.6.tgz", - "integrity": "sha512-Qk7HcgaPkGG6eD77mLvZS1nmxlao3j+9PkrT9Uc7HAE1id3F41+DdBRYRYkbyfNRGzm8/YWtzhw7nVPmwhqTQw==", + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/mini-css-extract-plugin/-/mini-css-extract-plugin-2.8.0.tgz", + "integrity": "sha512-CxmUYPFcTgET1zImteG/LZOy/4T5rTojesQXkSNBiquhydn78tfbCE9sjIjnJ/UcjNjOC1bphTCCW5rrS7cXAg==", "dependencies": { - "schema-utils": "^4.0.0" + "schema-utils": "^4.0.0", + "tapable": "^2.2.1" }, "engines": { "node": ">= 12.13.0" @@ -13944,9 +13996,12 @@ } }, "node_modules/minimist": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", - "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==" + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } }, "node_modules/monaco-editor": { "version": "0.30.1", @@ -13998,9 +14053,9 @@ } }, "node_modules/nanoid": { - "version": "3.3.6", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.6.tgz", - "integrity": "sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==", + "version": "3.3.7", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", + "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==", "funding": [ { "type": "github", @@ -14598,9 +14653,9 @@ } }, "node_modules/postcss": { - "version": "8.4.31", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.31.tgz", - "integrity": "sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==", + "version": "8.4.33", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.33.tgz", + "integrity": "sha512-Kkpbhhdjw2qQs2O2DGX+8m5OVqEcbB9HRBvuYM9pgrjEFUg30A9LmXNlTAUj4S9kgtGyrMbTzVjH7E+s5Re2yg==", "funding": [ { "type": "opencollective", @@ -14616,7 +14671,7 @@ } ], "dependencies": { - "nanoid": "^3.3.6", + "nanoid": "^3.3.7", "picocolors": "^1.0.0", "source-map-js": "^1.0.2" }, @@ -15079,9 +15134,9 @@ } }, "node_modules/postcss-modules-local-by-default": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/postcss-modules-local-by-default/-/postcss-modules-local-by-default-4.0.3.tgz", - "integrity": "sha512-2/u2zraspoACtrbFRnTijMiQtb4GW4BvatjaG/bCjYQo8kLTdevCUlwuBHx2sCnSyrI3x3qj4ZK1j5LQBgzmwA==", + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/postcss-modules-local-by-default/-/postcss-modules-local-by-default-4.0.4.tgz", + "integrity": "sha512-L4QzMnOdVwRm1Qb8m4x8jsZzKAaPAgrUF1r/hjDR2Xj7R+8Zsf97jAlSQzWtKx5YNiNGN8QxmPFIc/sh+RQl+Q==", "dependencies": { "icss-utils": "^5.0.0", "postcss-selector-parser": "^6.0.2", @@ -15095,9 +15150,9 @@ } }, "node_modules/postcss-modules-scope": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/postcss-modules-scope/-/postcss-modules-scope-3.0.0.tgz", - "integrity": "sha512-hncihwFA2yPath8oZ15PZqvWGkWf+XUfQgUGamS4LqoP1anQLOsOJw0vr7J7IwLpoY9fatA2qiGUGmuZL0Iqlg==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/postcss-modules-scope/-/postcss-modules-scope-3.1.1.tgz", + "integrity": "sha512-uZgqzdTleelWjzJY+Fhti6F3C9iF1JR/dODLs/JDefozYcKTBCdD8BIl6nNPbTbcLnGrk56hzwZC2DaGNvYjzA==", "dependencies": { "postcss-selector-parser": "^6.0.4" }, @@ -16271,11 +16326,11 @@ "integrity": "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==" }, "node_modules/resolve": { - "version": "1.22.2", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.2.tgz", - "integrity": "sha512-Sb+mjNHOULsBv818T40qSPeRiuWLyaGMa5ewydRLFimneixmVy2zdivRl+AF6jaYPC8ERxGDmFSiqui6SfPd+g==", + "version": "1.22.8", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", + "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", "dependencies": { - "is-core-module": "^2.11.0", + "is-core-module": "^2.13.0", "path-parse": "^1.0.7", "supports-preserve-symlinks-flag": "^1.0.0" }, @@ -16324,17 +16379,6 @@ "node": ">=10" } }, - "node_modules/resolve/node_modules/is-core-module": { - "version": "2.12.1", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.12.1.tgz", - "integrity": "sha512-Q4ZuBAe2FUsKtyQJoQHlvP8OvBERxO3jEmy1I7hcRXcJBGGHFh/aJBswbXuS9sgrDH2QUO8ilkwNPHvHMd8clg==", - "dependencies": { - "has": "^1.0.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/retry": { "version": "0.13.1", "resolved": "https://registry.npmjs.org/retry/-/retry-0.13.1.tgz", @@ -16599,9 +16643,9 @@ "integrity": "sha512-mEugaLK+YfkijB4fx0e6kImuJdCIt2LxCRcbEYPqRGCs4F2ogyfZU5IAZRdjCP8JPq2AtdNoC/Dux63d9Kiryg==" }, "node_modules/selenium-webdriver": { - "version": "4.16.0", - "resolved": "https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-4.16.0.tgz", - "integrity": "sha512-IbqpRpfGE7JDGgXHJeWuCqT/tUqnLvZ14csSwt+S8o4nJo3RtQoE9VR4jB47tP/A8ArkYsh/THuMY6kyRP6kuA==", + "version": "4.17.0", + "resolved": "https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-4.17.0.tgz", + "integrity": "sha512-e2E+2XBlGepzwgFbyQfSwo9Cbj6G5fFfs9MzAS00nC99EewmcS2rwn2MwtgfP7I5p1e7DYv4HQJXtWedsu6DvA==", "dependencies": { "jszip": "^3.10.1", "tmp": "^0.2.1", @@ -16694,9 +16738,9 @@ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" }, "node_modules/serialize-javascript": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.1.tgz", - "integrity": "sha512-owoXEFjWRllis8/M1Q+Cw5k8ZH40e3zhp/ovX+Xr/vi1qj6QesbyXXViFbpNvWvPNAD62SutwEXavefrLJWj7w==", + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.2.tgz", + "integrity": "sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g==", "dependencies": { "randombytes": "^2.1.0" } @@ -17004,9 +17048,9 @@ } }, "node_modules/start-server-and-test": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/start-server-and-test/-/start-server-and-test-2.0.1.tgz", - "integrity": "sha512-8PFo4DLLLCDMuS51/BEEtE1m9CAXw1LNVtZSS1PzkYQh6Qf9JUwM4huYeSoUumaaoAyuwYBwCa9OsrcpMqcOdQ==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/start-server-and-test/-/start-server-and-test-2.0.3.tgz", + "integrity": "sha512-QsVObjfjFZKJE6CS6bSKNwWZCKBG6975/jKRPPGFfFh+yOQglSeGXiNWjzgQNXdphcBI9nXbyso9tPfX4YAUhg==", "dev": true, "dependencies": { "arg": "^5.0.2", @@ -17016,7 +17060,7 @@ "execa": "5.1.1", "lazy-ass": "1.6.0", "ps-tree": "1.2.0", - "wait-on": "7.0.1" + "wait-on": "7.2.0" }, "bin": { "server-test": "src/bin/start.js", @@ -17387,12 +17431,12 @@ } }, "node_modules/terser": { - "version": "5.14.2", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.14.2.tgz", - "integrity": "sha512-oL0rGeM/WFQCUd0y2QrWxYnq7tfSuKBiqTjRPWrRgB46WD/kiwHwF8T23z78H6Q6kGCuuHcPB+KULHRdxvVGQA==", + "version": "5.27.0", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.27.0.tgz", + "integrity": "sha512-bi1HRwVRskAjheeYl291n3JC4GgO/Ty4z1nVs5AAsmonJulGxpSektecnNedrwK9C7vpvVtcX3cw00VSLt7U2A==", "dependencies": { - "@jridgewell/source-map": "^0.3.2", - "acorn": "^8.5.0", + "@jridgewell/source-map": "^0.3.3", + "acorn": "^8.8.2", "commander": "^2.20.0", "source-map-support": "~0.5.20" }, @@ -17404,15 +17448,15 @@ } }, "node_modules/terser-webpack-plugin": { - "version": "5.3.9", - "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.9.tgz", - "integrity": "sha512-ZuXsqE07EcggTWQjXUj+Aot/OMcD0bMKGgF63f7UxYcu5/AJF53aIpK1YoP5xR9l6s/Hy2b+t1AM0bLNPRuhwA==", + "version": "5.3.10", + "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.10.tgz", + "integrity": "sha512-BKFPWlPDndPs+NGGCr1U59t0XScL5317Y0UReNrHaw9/FwhPENlq6bfgs+4yPfyP51vqC1bQ4rp1EfXW5ZSH9w==", "dependencies": { - "@jridgewell/trace-mapping": "^0.3.17", + "@jridgewell/trace-mapping": "^0.3.20", "jest-worker": "^27.4.5", "schema-utils": "^3.1.1", "serialize-javascript": "^6.0.1", - "terser": "^5.16.8" + "terser": "^5.26.0" }, "engines": { "node": ">= 10.13.0" @@ -17436,15 +17480,6 @@ } } }, - "node_modules/terser-webpack-plugin/node_modules/@jridgewell/source-map": { - "version": "0.3.5", - "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.5.tgz", - "integrity": "sha512-UTYAUj/wviwdsMfzoSJspJxbkH5o1snzwX0//0ENX1u/55kkZZkcTZP6u9bwKGkv+dkk9at4m1Cpt0uY80kcpQ==", - "dependencies": { - "@jridgewell/gen-mapping": "^0.3.0", - "@jridgewell/trace-mapping": "^0.3.9" - } - }, "node_modules/terser-webpack-plugin/node_modules/ajv": { "version": "6.12.6", "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", @@ -17490,23 +17525,6 @@ "url": "https://opencollective.com/webpack" } }, - "node_modules/terser-webpack-plugin/node_modules/terser": { - "version": "5.19.2", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.19.2.tgz", - "integrity": "sha512-qC5+dmecKJA4cpYxRa5aVkKehYsQKc+AHeKl0Oe62aYjBL8ZA33tTljktDHJSaxxMnbI5ZYw+o/S2DxxLu8OfA==", - "dependencies": { - "@jridgewell/source-map": "^0.3.3", - "acorn": "^8.8.2", - "commander": "^2.20.0", - "source-map-support": "~0.5.20" - }, - "bin": { - "terser": "bin/terser" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/test-exclude": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz", @@ -17628,9 +17646,9 @@ } }, "node_modules/ts-jest": { - "version": "29.1.1", - "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-29.1.1.tgz", - "integrity": "sha512-D6xjnnbP17cC85nliwGiL+tpoKN0StpgE0TeOjXQTU6MVCfsB4v7aW05CgQ/1OywGb0x/oy9hHFnN+sczTiRaA==", + "version": "29.1.2", + "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-29.1.2.tgz", + "integrity": "sha512-br6GJoH/WUX4pu7FbZXuWGKGNDuU7b8Uj77g/Sp7puZV6EXzuByl6JrECvm0MzVzSTkSHWTihsXt+5XYER5b+g==", "dev": true, "dependencies": { "bs-logger": "0.x", @@ -17646,7 +17664,7 @@ "ts-jest": "cli.js" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^16.10.0 || ^18.0.0 || >=20.0.0" }, "peerDependencies": { "@babel/core": ">=7.0.0-beta.0 <8", @@ -18126,16 +18144,16 @@ } }, "node_modules/wait-on": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/wait-on/-/wait-on-7.0.1.tgz", - "integrity": "sha512-9AnJE9qTjRQOlTZIldAaf/da2eW0eSRSgcqq85mXQja/DW3MriHxkpODDSUEg+Gri/rKEcXUZHe+cevvYItaog==", + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/wait-on/-/wait-on-7.2.0.tgz", + "integrity": "sha512-wCQcHkRazgjG5XoAq9jbTMLpNIjoSlZslrJ2+N9MxDsGEv1HnFoVjOCexL0ESva7Y9cu350j+DWADdk54s4AFQ==", "dev": true, "dependencies": { - "axios": "^0.27.2", - "joi": "^17.7.0", + "axios": "^1.6.1", + "joi": "^17.11.0", "lodash": "^4.17.21", - "minimist": "^1.2.7", - "rxjs": "^7.8.0" + "minimist": "^1.2.8", + "rxjs": "^7.8.1" }, "bin": { "wait-on": "bin/wait-on" @@ -18144,25 +18162,6 @@ "node": ">=12.0.0" } }, - "node_modules/wait-on/node_modules/axios": { - "version": "0.27.2", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz", - "integrity": "sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==", - "dev": true, - "dependencies": { - "follow-redirects": "^1.14.9", - "form-data": "^4.0.0" - } - }, - "node_modules/wait-on/node_modules/minimist": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", - "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", - "dev": true, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/walker": { "version": "1.0.8", "resolved": "https://registry.npmjs.org/walker/-/walker-1.0.8.tgz", @@ -18198,18 +18197,18 @@ "integrity": "sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE=" }, "node_modules/webpack": { - "version": "5.88.2", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.88.2.tgz", - "integrity": "sha512-JmcgNZ1iKj+aiR0OvTYtWQqJwq37Pf683dY9bVORwVbUrDhLhdn/PlO2sHsFHPkj7sHNQF3JwaAkp49V+Sq1tQ==", + "version": "5.90.1", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.90.1.tgz", + "integrity": "sha512-SstPdlAC5IvgFnhiRok8hqJo/+ArAbNv7rhU4fnWGHNVfN59HSQFaxZDSAL3IFG2YmqxuRs+IU33milSxbPlog==", "dependencies": { "@types/eslint-scope": "^3.7.3", - "@types/estree": "^1.0.0", + "@types/estree": "^1.0.5", "@webassemblyjs/ast": "^1.11.5", "@webassemblyjs/wasm-edit": "^1.11.5", "@webassemblyjs/wasm-parser": "^1.11.5", "acorn": "^8.7.1", "acorn-import-assertions": "^1.9.0", - "browserslist": "^4.14.5", + "browserslist": "^4.21.10", "chrome-trace-event": "^1.0.2", "enhanced-resolve": "^5.15.0", "es-module-lexer": "^1.2.1", @@ -18223,7 +18222,7 @@ "neo-async": "^2.6.2", "schema-utils": "^3.2.0", "tapable": "^2.1.1", - "terser-webpack-plugin": "^5.3.7", + "terser-webpack-plugin": "^5.3.10", "watchpack": "^2.4.0", "webpack-sources": "^3.2.3" }, @@ -18390,11 +18389,6 @@ "node": ">=10.13.0" } }, - "node_modules/webpack/node_modules/@types/estree": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.1.tgz", - "integrity": "sha512-LG4opVs2ANWZ1TJoKc937iMmNstM/d0ae1vNbnBvBhqCSezgVUOzcLCqbI5elV8Vy6WKwKjaqR+zO9VKirBBCA==" - }, "node_modules/webpack/node_modules/ajv": { "version": "6.12.6", "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", diff --git a/package.json b/package.json index 59157319d4..ee21dad626 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,8 @@ "private": true, "dependencies": { "@augloop/types-core": "file:packages/types-core-2.16.189.tgz", - "@axe-core/webdriverjs": "4.8.1", - "@azure/msal-browser": "3.5.0", + "@axe-core/webdriverjs": "4.8.4", + "@azure/msal-browser": "3.10.0", "@babel/core": "7.23.3", "@babel/runtime": "7.23.8", "@fluentui/react": "8.112.5", @@ -13,7 +13,7 @@ "@microsoft/applicationinsights-react-js": "17.0.3", "@microsoft/applicationinsights-web": "3.0.5", "@microsoft/microsoft-graph-client": "3.0.7", - "@monaco-editor/react": "4.5.1", + "@monaco-editor/react": "4.6.0", "@ms-ofb/officebrowserfeedbacknpm": "file:packages/officebrowserfeedbacknpm-1.6.6.tgz", "adaptive-expressions": "4.21.4", "adaptivecards": "3.0.2", @@ -26,8 +26,8 @@ "bfj": "8.0.0", "bootstrap": "5.3.2", "case-sensitive-paths-webpack-plugin": "2.4.0", - "css-loader": "6.8.1", - "dotenv": "16.3.1", + "css-loader": "6.10.0", + "dotenv": "16.4.2", "dotenv-expand": "10.0.0", "eslint-config-react-app": "7.0.1", "eslint-plugin-react": "7.33.2", @@ -35,12 +35,12 @@ "express": "4.18.2", "expvariantassignmentsdk": "file:packages/expvariantassignmentsdk-1.0.0.tgz", "file-loader": "6.2.0", - "fork-ts-checker-webpack-plugin": "8.0.0", + "fork-ts-checker-webpack-plugin": "9.0.2", "fs-extra": "11.1.1", "guid-typescript": "1.0.9", "isomorphic-fetch": "3.0.0", "localforage": "1.10.0", - "mini-css-extract-plugin": "2.7.6", + "mini-css-extract-plugin": "2.8.0", "monaco-editor": "0.30.1", "monaco-editor-webpack-plugin": "6.0.0", "office-ui-fabric-core": "11.1.0", @@ -54,14 +54,14 @@ "react-redux": "8.1.3", "redux": "4.2.1", "redux-thunk": "2.4.2", - "resolve": "1.22.2", + "resolve": "1.22.8", "sass": "1.69.7", "sass-loader": "13.3.2", "style-loader": "3.3.3", "typescript": "5.3.3", "url": "0.11.1", "url-loader": "4.1.1", - "webpack": "5.88.2", + "webpack": "5.90.1", "webpack-dev-server": "4.15.1", "webpack-manifest-plugin": "5.0.0", "workbox-webpack-plugin": "7.0.0" @@ -93,22 +93,22 @@ "@axe-core/playwright": "4.7.3", "@playwright/test": "1.40.1", "@types/chromedriver": "81.0.1", - "@types/isomorphic-fetch": "0.0.36", - "@types/jest": "29.5.8", + "@types/isomorphic-fetch": "0.0.39", + "@types/jest": "29.5.12", "@types/lodash.debounce": "4.0.9", - "@types/react": "18.2.47", - "@types/react-dom": "18.2.15", + "@types/react": "18.2.55", + "@types/react-dom": "18.2.19", "@types/react-redux": "7.1.30", "@types/redux-logger": "3.0.11", "@types/redux-mock-store": "1.0.3", "@types/selenium-webdriver": "4.1.21", - "@typescript-eslint/eslint-plugin": "6.18.1", + "@typescript-eslint/eslint-plugin": "6.20.0", "@typescript-eslint/parser": "6.17.0", - "acorn": "8.10.0", + "acorn": "8.11.3", "babel-jest": "29.7.0", "chromedriver": "119.0.1", "eslint": "8.56.0", - "html-webpack-plugin": "5.5.3", + "html-webpack-plugin": "5.6.0", "jest": "29.7.0", "jest-canvas-mock": "2.5.2", "jest-environment-jsdom": "29.7.0", @@ -119,9 +119,9 @@ "react-dev-utils": "12.0.1", "redux-logger": "3.0.6", "redux-mock-store": "1.5.4", - "selenium-webdriver": "4.16.0", - "start-server-and-test": "2.0.1", - "ts-jest": "29.1.1" + "selenium-webdriver": "4.17.0", + "start-server-and-test": "2.0.3", + "ts-jest": "29.1.2" }, "jestSonar": { "reportPath": "reports", From d251a6804891116ad7590177ccb0ef363be7f336 Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 27 Feb 2024 15:06:11 +0000 Subject: [PATCH 09/11] Bump version to 9.6.0 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index f330870486..bdb86d580f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "graph-explorer-v2", - "version": "9.5.0", + "version": "9.6.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "graph-explorer-v2", - "version": "9.5.0", + "version": "9.6.0", "dependencies": { "@augloop/types-core": "file:packages/types-core-2.16.189.tgz", "@axe-core/webdriverjs": "4.8.4", diff --git a/package.json b/package.json index ee21dad626..7bf96399b5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "graph-explorer-v2", - "version": "9.5.0", + "version": "9.6.0", "private": true, "dependencies": { "@augloop/types-core": "file:packages/types-core-2.16.189.tgz", From f26df60d123e297feacf5240072a0d7223953604 Mon Sep 17 00:00:00 2001 From: thewahome Date: Wed, 28 Feb 2024 10:26:00 +0300 Subject: [PATCH 10/11] reset permissions to initial state on error --- src/app/services/reducers/permissions-reducer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/services/reducers/permissions-reducer.ts b/src/app/services/reducers/permissions-reducer.ts index 9bbb1e56c3..80c6fc88a6 100644 --- a/src/app/services/reducers/permissions-reducer.ts +++ b/src/app/services/reducers/permissions-reducer.ts @@ -43,7 +43,7 @@ export function scopes(state: IScopes = initialState, action: AppAction): any { return { pending: { isFullPermissions: false, isSpecificPermissions: false }, error: action.response, - data: state.data + data: initialState.data }; case FETCH_URL_SCOPES_PENDING: return { From 9cc3524b808c7210ac5f76ee2b9180b436024c16 Mon Sep 17 00:00:00 2001 From: thewahome Date: Wed, 28 Feb 2024 10:37:14 +0300 Subject: [PATCH 11/11] fix failing tests --- src/app/services/reducers/permissions-reducer.spec.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/services/reducers/permissions-reducer.spec.ts b/src/app/services/reducers/permissions-reducer.spec.ts index 329ea71c50..4f8cf90b2c 100644 --- a/src/app/services/reducers/permissions-reducer.spec.ts +++ b/src/app/services/reducers/permissions-reducer.spec.ts @@ -72,8 +72,9 @@ describe('Permissions reducer', () => { const expectedState = { pending: { isSpecificPermissions: false, isFullPermissions: false }, data: { + specificPermissions: [], fullPermissions: [], - specificPermissions: [] + tenantWidePermissionsGrant: [] }, error: 'error' }