From c7b636ffe56572804b55540e57e235aa9fb13c30 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 21 Aug 2024 11:09:45 +0100 Subject: [PATCH 1/4] chore(deps): update all non-major dependencies (#1326) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | Type | Update | Pending | |---|---|---|---|---|---|---|---|---| | [@mui/x-data-grid](https://mui.com/x/react-data-grid/) ([source](https://togithub.com/mui/mui-x/tree/HEAD/packages/x-data-grid)) | [`7.12.1` -> `7.13.0`](https://renovatebot.com/diffs/npm/@mui%2fx-data-grid/7.12.1/7.13.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@mui%2fx-data-grid/7.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@mui%2fx-data-grid/7.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@mui%2fx-data-grid/7.12.1/7.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@mui%2fx-data-grid/7.12.1/7.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | dependencies | minor | | | [@mui/x-date-pickers](https://mui.com/x/react-date-pickers/) ([source](https://togithub.com/mui/mui-x/tree/HEAD/packages/x-date-pickers)) | [`7.12.1` -> `7.13.0`](https://renovatebot.com/diffs/npm/@mui%2fx-date-pickers/7.12.1/7.13.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@mui%2fx-date-pickers/7.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@mui%2fx-date-pickers/7.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@mui%2fx-date-pickers/7.12.1/7.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@mui%2fx-date-pickers/7.12.1/7.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | dependencies | minor | | | [github/codeql-action](https://togithub.com/github/codeql-action) | `v3.26.0` -> `v3.26.2` | [![age](https://developer.mend.io/api/mc/badges/age/github-tags/github%2fcodeql-action/v3.26.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/github-tags/github%2fcodeql-action/v3.26.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/github-tags/github%2fcodeql-action/v3.26.0/v3.26.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/github-tags/github%2fcodeql-action/v3.26.0/v3.26.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | action | patch | `v3.26.3` | | [highcharts](http://www.highcharts.com) ([source](https://togithub.com/highcharts/highcharts-dist)) | [`11.4.6` -> `11.4.7`](https://renovatebot.com/diffs/npm/highcharts/11.4.6/11.4.7) | [![age](https://developer.mend.io/api/mc/badges/age/npm/highcharts/11.4.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/highcharts/11.4.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/highcharts/11.4.6/11.4.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/highcharts/11.4.6/11.4.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | dependencies | patch | | | [lint-staged](https://togithub.com/lint-staged/lint-staged) | [`15.2.8` -> `15.2.9`](https://renovatebot.com/diffs/npm/lint-staged/15.2.8/15.2.9) | [![age](https://developer.mend.io/api/mc/badges/age/npm/lint-staged/15.2.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/lint-staged/15.2.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/lint-staged/15.2.8/15.2.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/lint-staged/15.2.8/15.2.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch | | | [typescript-eslint](https://typescript-eslint.io/packages/typescript-eslint) ([source](https://togithub.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint)) | [`8.0.1` -> `8.1.0`](https://renovatebot.com/diffs/npm/typescript-eslint/8.0.1/8.1.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/typescript-eslint/8.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/typescript-eslint/8.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/typescript-eslint/8.0.1/8.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/typescript-eslint/8.0.1/8.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | minor | `8.2.0` | | [vite](https://vitejs.dev) ([source](https://togithub.com/vitejs/vite/tree/HEAD/packages/vite)) | [`5.4.0` -> `5.4.1`](https://renovatebot.com/diffs/npm/vite/5.4.0/5.4.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vite/5.4.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite/5.4.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite/5.4.0/5.4.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite/5.4.0/5.4.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | patch | `5.4.2` | --- ### Release Notes
mui/mui-x (@​mui/x-data-grid) ### [`v7.13.0`](https://togithub.com/mui/mui-x/blob/HEAD/CHANGELOG.md#7130) [Compare Source](https://togithub.com/mui/mui-x/compare/v7.12.1...v7.13.0) *Aug 16, 2024* We'd like to offer a big thanks to the 12 contributors who made this release possible. Here are some highlights ✨: - đŸ’Ģ Allow to [edit the label](https://mui.com/x/react-tree-view/rich-tree-view/editing/) of Tree View's items. Item label editing - 🔧 Improve rows accessibility on the Data Grid features "Tree Data" and "Row Grouping". Certain "Row Grouping" accessibility updates will only be applied if experimental feature flag is enabled. See the [documentation](https://mui.com/x/react-data-grid/row-grouping/#accessibility-changes-in-v8) for more information. - 🌍 Improve Vietnamese (vi-VN) locale on the Data Grid - 🐞 Bugfixes ##### Data Grid ##### `@mui/x-data-grid@7.13.0` - \[DataGrid] Fix CSV export for `null` and `undefined` values ([#​14166](https://togithub.com/mui/mui-x/issues/14166)) [@​k-rajat19](https://togithub.com/k-rajat19) - \[DataGrid] Fix error logged during skeleton loading with nested data grid ([#​14186](https://togithub.com/mui/mui-x/issues/14186)) [@​KenanYusuf](https://togithub.com/KenanYusuf) - \[DataGrid] Remove needless check in `useGridStateInitialization` ([#​14181](https://togithub.com/mui/mui-x/issues/14181)) [@​k-rajat19](https://togithub.com/k-rajat19) - \[DataGrid] Add recipe for persisting filters in local storage ([#​14208](https://togithub.com/mui/mui-x/issues/14208)) [@​cherniavskii](https://togithub.com/cherniavskii) - \[l10n] Improve Vietnamese (vi-VN) locale ([#​14216](https://togithub.com/mui/mui-x/issues/14216)) [@​hungnd-casso](https://togithub.com/hungnd-casso) ##### `@mui/x-data-grid-pro@7.13.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link "Pro plan") Same changes as in `@mui/x-data-grid@7.13.0`, plus: - \[DataGridPro] Fix Tree Data and Row Grouping rows accessibility ([#​13623](https://togithub.com/mui/mui-x/issues/13623)) [@​arminmeh](https://togithub.com/arminmeh) ##### `@mui/x-data-grid-premium@7.13.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link "Premium plan") Same changes as in `@mui/x-data-grid-pro@7.13.0`. ##### Date and Time Pickers ##### `@mui/x-date-pickers@7.13.0` - \[pickers] Fix date and time merging to retain milliseconds ([#​14173](https://togithub.com/mui/mui-x/issues/14173)) [@​LukasTy](https://togithub.com/LukasTy) ##### `@mui/x-date-pickers-pro@7.13.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link "Pro plan") Same changes as in `@mui/x-date-pickers@7.13.0`. ##### Charts ##### `@mui/x-charts@7.13.0` - \[charts] Add `baseline` property to the `LineChart` `series` ([#​14153](https://togithub.com/mui/mui-x/issues/14153)) [@​JCQuintas](https://togithub.com/JCQuintas) - \[charts] Fix issue where tooltip would disappear on mouse click ([#​14187](https://togithub.com/mui/mui-x/issues/14187)) [@​alexfauquette](https://togithub.com/alexfauquette) - \[charts] Rename `CartesianContextProvider` to `CartesianProvider` ([#​14102](https://togithub.com/mui/mui-x/issues/14102)) [@​JCQuintas](https://togithub.com/JCQuintas) - \[charts] Support axis with the same value for all data points ([#​14191](https://togithub.com/mui/mui-x/issues/14191)) [@​alexfauquette](https://togithub.com/alexfauquette) ##### `@mui/x-date-charts-pro@7.0.0-alpha.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link "Pro plan") Same changes as in `@mui/x-charts@7.13.0`. ##### Tree View ##### `@mui/x-tree-view@7.13.0` - \[TreeView] Add label editing feature ([#​13388](https://togithub.com/mui/mui-x/issues/13388)) [@​noraleonte](https://togithub.com/noraleonte) - \[TreeView] Fix the parameters passed for the `canMoveItemToNewPosition` prop ([#​14176](https://togithub.com/mui/mui-x/issues/14176)) [@​flaviendelangle](https://togithub.com/flaviendelangle) ##### Docs - \[docs] Extract dataset in the Line chart docs ([#​14034](https://togithub.com/mui/mui-x/issues/14034)) [@​alexfauquette](https://togithub.com/alexfauquette) - \[docs] Remove redundant encoding in the mock data source server ([#​14185](https://togithub.com/mui/mui-x/issues/14185)) [@​MBilalShafi](https://togithub.com/MBilalShafi) - \[docs] Use Netflix financial results to document bar charts ([#​13991](https://togithub.com/mui/mui-x/issues/13991)) [@​alexfauquette](https://togithub.com/alexfauquette) - \[docs] Remove relience of abbreviations ([#​14226](https://togithub.com/mui/mui-x/issues/14226)) [@​oliviertassinari](https://togithub.com/oliviertassinari) ##### Core - \[core] Bump monorepo ([#​14141](https://togithub.com/mui/mui-x/issues/14141)) [@​Janpot](https://togithub.com/Janpot) - \[core] Fix ESLint issue ([#​14207](https://togithub.com/mui/mui-x/issues/14207)) [@​LukasTy](https://togithub.com/LukasTy) - \[core] Fix Netlify build cache issue ([#​14182](https://togithub.com/mui/mui-x/issues/14182)) [@​cherniavskii](https://togithub.com/cherniavskii) - \[code-infra] Refactor Netlify `cache-docs` plugin setup ([#​14105](https://togithub.com/mui/mui-x/issues/14105)) [@​LukasTy](https://togithub.com/LukasTy) - \[internals] Move utils needed for tree view virtualization to shared package ([#​14202](https://togithub.com/mui/mui-x/issues/14202)) [@​flaviendelangle](https://togithub.com/flaviendelangle)
github/codeql-action (github/codeql-action) ### [`v3.26.2`](https://togithub.com/github/codeql-action/compare/v3.26.1...v3.26.2) [Compare Source](https://togithub.com/github/codeql-action/compare/v3.26.1...v3.26.2) ### [`v3.26.1`](https://togithub.com/github/codeql-action/compare/v3.26.0...v3.26.1) [Compare Source](https://togithub.com/github/codeql-action/compare/v3.26.0...v3.26.1)
highcharts/highcharts-dist (highcharts) ### [`v11.4.7`](https://togithub.com/highcharts/highcharts-dist/compare/v11.4.6...v11.4.7) [Compare Source](https://togithub.com/highcharts/highcharts-dist/compare/v11.4.6...v11.4.7)
lint-staged/lint-staged (lint-staged) ### [`v15.2.9`](https://togithub.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1529) [Compare Source](https://togithub.com/lint-staged/lint-staged/compare/v15.2.8...v15.2.9) ##### Patch Changes - [#​1463](https://togithub.com/lint-staged/lint-staged/pull/1463) [`b69ce2d`](https://togithub.com/lint-staged/lint-staged/commit/b69ce2ddfd5a7ae576f4fef4afc60b8a81f3c945) Thanks [@​iiroj](https://togithub.com/iiroj)! - Set the maximum number of event listeners to the number of tasks. This should silence the console warning `MaxListenersExceededWarning: Possible EventEmitter memory leak detected`.
typescript-eslint/typescript-eslint (typescript-eslint) ### [`v8.1.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/typescript-eslint/CHANGELOG.md#810-2024-08-12) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v8.0.1...v8.1.0) ##### 🚀 Features - **typescript-eslint:** add JSDoc comments on generated configs ##### ❤ī¸ Thank You - Aly Thobani - Brad Zacher - James - Josh Goldberg ✨ - Joshua Chen - Olivier Zalmanski - YeonJuan - Yukihiro Hasegawa You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.
vitejs/vite (vite) ### [`v5.4.1`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small541-2024-08-15-small) - fix: `build.modulePreload.resolveDependencies` is optimizable ([#​16083](https://togithub.com/vitejs/vite/issues/16083)) ([e961b31](https://togithub.com/vitejs/vite/commit/e961b31493f8493277b46773156cc6e546b9c86b)), closes [#​16083](https://togithub.com/vitejs/vite/issues/16083) - fix: align CorsOptions.origin type with [@​types/cors](https://togithub.com/types/cors) ([#​17836](https://togithub.com/vitejs/vite/issues/17836)) ([1bda847](https://togithub.com/vitejs/vite/commit/1bda847329022d5279cfa2b51719dd19a161fd64)), closes [#​17836](https://togithub.com/vitejs/vite/issues/17836) - fix: typings for vite:preloadError ([#​17868](https://togithub.com/vitejs/vite/issues/17868)) ([6700594](https://togithub.com/vitejs/vite/commit/67005949999054ab3cd079890ed220bc359bcf62)), closes [#​17868](https://togithub.com/vitejs/vite/issues/17868) - fix(build): avoid re-define `__vite_import_meta_env__` ([#​17876](https://togithub.com/vitejs/vite/issues/17876)) ([e686d74](https://togithub.com/vitejs/vite/commit/e686d749d673c02ff4395971ac74340082da14e5)), closes [#​17876](https://togithub.com/vitejs/vite/issues/17876) - fix(deps): update all non-major dependencies ([#​17869](https://togithub.com/vitejs/vite/issues/17869)) ([d11711c](https://togithub.com/vitejs/vite/commit/d11711c7e4c082fd0400245bfdc766006fd38ac8)), closes [#​17869](https://togithub.com/vitejs/vite/issues/17869) - fix(lightningcss): search for assets with correct base path ([#​17856](https://togithub.com/vitejs/vite/issues/17856)) ([4e5ce3c](https://togithub.com/vitejs/vite/commit/4e5ce3c7a90966b1f942df35b8b3e8a550a4f031)), closes [#​17856](https://togithub.com/vitejs/vite/issues/17856) - fix(worker): handle self reference url worker in dependency for build ([#​17846](https://togithub.com/vitejs/vite/issues/17846)) ([391bb49](https://togithub.com/vitejs/vite/commit/391bb4917b55baf3fdb01c6fc3d782d6c51be6c8)), closes [#​17846](https://togithub.com/vitejs/vite/issues/17846) - chore: fix picocolors import for local dev ([#​17884](https://togithub.com/vitejs/vite/issues/17884)) ([9018255](https://togithub.com/vitejs/vite/commit/9018255c697a8c0888dce57aaa755d25bf66beba)), closes [#​17884](https://togithub.com/vitejs/vite/issues/17884) - refactor: remove `handleHotUpdate` from watch-package-data plugin ([#​17865](https://togithub.com/vitejs/vite/issues/17865)) ([e16bf1f](https://togithub.com/vitejs/vite/commit/e16bf1fb14b7a3a950de4d74fce31416746829b3)), closes [#​17865](https://togithub.com/vitejs/vite/issues/17865)
--- ### Configuration 📅 **Schedule**: Branch creation - "* 0-4 * * 3" (UTC), Automerge - At any time (no schedule defined). đŸšĻ **Automerge**: Disabled by config. Please merge this manually once you are satisfied. â™ģ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. đŸ‘ģ **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View the [repository job log](https://developer.mend.io/github/brave/ads-ui). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/codeql-analysis.yml | 6 +- package.json | 12 +- pnpm-lock.yaml | 200 +++++++++++++------------- 3 files changed, 109 insertions(+), 109 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index a06cdca6..a8308927 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -42,7 +42,7 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@eb055d739abdc2e8de2e5f4ba1a8b246daa779aa # v3.26.0 + uses: github/codeql-action/init@429e1977040da7a23b6822b13c129cd1ba93dbb2 # v3.26.2 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -53,7 +53,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@eb055d739abdc2e8de2e5f4ba1a8b246daa779aa # v3.26.0 + uses: github/codeql-action/autobuild@429e1977040da7a23b6822b13c129cd1ba93dbb2 # v3.26.2 # ℹī¸ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -67,4 +67,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@eb055d739abdc2e8de2e5f4ba1a8b246daa779aa # v3.26.0 + uses: github/codeql-action/analyze@429e1977040da7a23b6822b13c129cd1ba93dbb2 # v3.26.2 diff --git a/package.json b/package.json index 542c96e0..ef4baed6 100644 --- a/package.json +++ b/package.json @@ -21,13 +21,13 @@ "@mui/icons-material": "5.16.7", "@mui/lab": "5.0.0-alpha.173", "@mui/material": "5.16.7", - "@mui/x-data-grid": "7.12.1", - "@mui/x-date-pickers": "7.12.1", + "@mui/x-data-grid": "7.13.0", + "@mui/x-date-pickers": "7.13.0", "bignumber.js": "9.1.2", "dayjs": "1.11.12", "formik": "2.4.6", "graphql": "16.9.0", - "highcharts": "11.4.6", + "highcharts": "11.4.7", "highcharts-react-official": "3.2.1", "immer": "10.1.1", "lodash": "4.17.21", @@ -84,12 +84,12 @@ "eslint-plugin-react-hooks": "4.6.2", "husky": "9.1.4", "knip": "5.27.2", - "lint-staged": "15.2.8", + "lint-staged": "15.2.9", "npm-run-all2": "6.2.2", "prettier": "3.3.3", "typescript": "5.5.4", - "typescript-eslint": "8.0.1", - "vite": "5.4.0", + "typescript-eslint": "8.1.0", + "vite": "5.4.1", "vite-plugin-checker": "0.7.2", "vite-tsconfig-paths": "5.0.1", "vitest": "2.0.5" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 19d9a5cb..41056e5c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -63,11 +63,11 @@ importers: specifier: 5.16.7 version: 5.16.7(@emotion/react@11.13.0(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.0(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@mui/x-data-grid': - specifier: 7.12.1 - version: 7.12.1(@emotion/react@11.13.0(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.0(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@mui/material@5.16.7(@emotion/react@11.13.0(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.0(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: 7.13.0 + version: 7.13.0(@emotion/react@11.13.0(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.0(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@mui/material@5.16.7(@emotion/react@11.13.0(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.0(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@mui/x-date-pickers': - specifier: 7.12.1 - version: 7.12.1(@emotion/react@11.13.0(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.0(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@mui/material@5.16.7(@emotion/react@11.13.0(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.0(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/react@18.3.3)(date-fns@3.6.0)(dayjs@1.11.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: 7.13.0 + version: 7.13.0(@emotion/react@11.13.0(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.0(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@mui/material@5.16.7(@emotion/react@11.13.0(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.0(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/react@18.3.3)(date-fns@3.6.0)(dayjs@1.11.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) bignumber.js: specifier: 9.1.2 version: 9.1.2 @@ -81,11 +81,11 @@ importers: specifier: 16.9.0 version: 16.9.0 highcharts: - specifier: 11.4.6 - version: 11.4.6 + specifier: 11.4.7 + version: 11.4.7 highcharts-react-official: specifier: 3.2.1 - version: 3.2.1(highcharts@11.4.6)(react@18.3.1) + version: 3.2.1(highcharts@11.4.7)(react@18.3.1) immer: specifier: 10.1.1 version: 10.1.1 @@ -140,7 +140,7 @@ importers: version: 4.11.3(typescript@5.5.4) '@lingui/vite-plugin': specifier: 4.11.3 - version: 4.11.3(typescript@5.5.4)(vite@5.4.0(@types/node@20.13.0)) + version: 4.11.3(typescript@5.5.4)(vite@5.4.1(@types/node@20.13.0)) '@parcel/watcher': specifier: 2.4.1 version: 2.4.1 @@ -164,10 +164,10 @@ importers: version: 1.8.8 '@vitejs/plugin-basic-ssl': specifier: 1.1.0 - version: 1.1.0(vite@5.4.0(@types/node@20.13.0)) + version: 1.1.0(vite@5.4.1(@types/node@20.13.0)) '@vitejs/plugin-react': specifier: 4.3.1 - version: 4.3.1(vite@5.4.0(@types/node@20.13.0)) + version: 4.3.1(vite@5.4.1(@types/node@20.13.0)) babel-plugin-macros: specifier: 3.1.0 version: 3.1.0 @@ -193,8 +193,8 @@ importers: specifier: 5.27.2 version: 5.27.2(@types/node@20.13.0)(typescript@5.5.4) lint-staged: - specifier: 15.2.8 - version: 15.2.8 + specifier: 15.2.9 + version: 15.2.9 npm-run-all2: specifier: 6.2.2 version: 6.2.2 @@ -205,17 +205,17 @@ importers: specifier: 5.5.4 version: 5.5.4 typescript-eslint: - specifier: 8.0.1 - version: 8.0.1(eslint@8.57.0)(typescript@5.5.4) + specifier: 8.1.0 + version: 8.1.0(eslint@8.57.0)(typescript@5.5.4) vite: - specifier: 5.4.0 - version: 5.4.0(@types/node@20.13.0) + specifier: 5.4.1 + version: 5.4.1(@types/node@20.13.0) vite-plugin-checker: specifier: 0.7.2 - version: 0.7.2(eslint@8.57.0)(optionator@0.9.4)(typescript@5.5.4)(vite@5.4.0(@types/node@20.13.0)) + version: 0.7.2(eslint@8.57.0)(optionator@0.9.4)(typescript@5.5.4)(vite@5.4.1(@types/node@20.13.0)) vite-tsconfig-paths: specifier: 5.0.1 - version: 5.0.1(typescript@5.5.4)(vite@5.4.0(@types/node@20.13.0)) + version: 5.0.1(typescript@5.5.4)(vite@5.4.1(@types/node@20.13.0)) vitest: specifier: 2.0.5 version: 2.0.5(@types/node@20.13.0) @@ -1442,8 +1442,8 @@ packages: '@types/react': optional: true - '@mui/x-data-grid@7.12.1': - resolution: {integrity: sha512-/l9AslZKoHFfOultD2ehWIxRGuBI0RUwbhVbpAPwNP3ouDbTH0eyWfd5f6KCGhcUbG6xfceiOuTNr7uaPHqKiA==} + '@mui/x-data-grid@7.13.0': + resolution: {integrity: sha512-opV4OgNqc9UoKkQ1z5Ot2AkluwiVQMo6UmDaxmT/v0k2uQ77eQvxJqbnCwYll0XjsRzPz6ehiTaK3nbhXm0sIQ==} engines: {node: '>=14.0.0'} peerDependencies: '@emotion/react': ^11.9.0 @@ -1457,8 +1457,8 @@ packages: '@emotion/styled': optional: true - '@mui/x-date-pickers@7.12.1': - resolution: {integrity: sha512-Zj8kt3SCQbJp1qhMi+A3I4KqB8i5OY2Q11mdOEathFhqN/SQm1sUjIa1G09cGP1dPDgK1a6KM6qJGNtcw/nuWA==} + '@mui/x-date-pickers@7.13.0': + resolution: {integrity: sha512-cmpAfkzOjUgL4I8WenU4elm1QJO8vWpGmIPCezT3Q9wFjGL1QApQhJ5gMZ+X4tM6Gha9AhIWNQX5eXHKbSoyFQ==} engines: {node: '>=14.0.0'} peerDependencies: '@emotion/react': ^11.9.0 @@ -1493,8 +1493,8 @@ packages: moment-jalaali: optional: true - '@mui/x-internals@7.12.0': - resolution: {integrity: sha512-zgu/JqSXBflSvtzfFN8lNi5Wxw79czBv6V/crOrXqCCOzxAIsrcup2FZlwvXlzetm3otS7o/Tzfo/O5dE68NkA==} + '@mui/x-internals@7.13.0': + resolution: {integrity: sha512-eUK7iykkDWU+wBfTzE/S0qh4awgVgsORfrpvuPbUp+E6qUj1Xhu9M/WKzbwz0CPFnTJZwBQ9KYrxpGXnPBEpRQ==} engines: {node: '>=14.0.0'} peerDependencies: react: ^17.0.0 || ^18.0.0 @@ -1776,8 +1776,8 @@ packages: '@types/yargs@17.0.32': resolution: {integrity: sha512-xQ67Yc/laOG5uMfX/093MRlGGCIBzZMarVa+gfNKJxWAIgykYpVGkBdbqEzGDDfCrVUj6Hiff4mTZ5BA6TmAog==} - '@typescript-eslint/eslint-plugin@8.0.1': - resolution: {integrity: sha512-5g3Y7GDFsJAnY4Yhvk8sZtFfV6YNF2caLzjrRPUBzewjPCaj0yokePB4LJSobyCzGMzjZZYFbwuzbfDHlimXbQ==} + '@typescript-eslint/eslint-plugin@8.1.0': + resolution: {integrity: sha512-LlNBaHFCEBPHyD4pZXb35mzjGkuGKXU5eeCA1SxvHfiRES0E82dOounfVpL4DCqYvJEKab0bZIA0gCRpdLKkCw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: '@typescript-eslint/parser': ^8.0.0 || ^8.0.0-alpha.0 @@ -1787,8 +1787,8 @@ packages: typescript: optional: true - '@typescript-eslint/parser@8.0.1': - resolution: {integrity: sha512-5IgYJ9EO/12pOUwiBKFkpU7rS3IU21mtXzB81TNwq2xEybcmAZrE9qwDtsb5uQd9aVO9o0fdabFyAmKveXyujg==} + '@typescript-eslint/parser@8.1.0': + resolution: {integrity: sha512-U7iTAtGgJk6DPX9wIWPPOlt1gO57097G06gIcl0N0EEnNw8RGD62c+2/DiP/zL7KrkqnnqF7gtFGR7YgzPllTA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 @@ -1801,12 +1801,12 @@ packages: resolution: {integrity: sha512-VXuvVvZeQCQb5Zgf4HAxc04q5j+WrNAtNh9OwCsCgpKqESMTu3tF/jhZ3xG6T4NZwWl65Bg8KuS2uEvhSfLl0w==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - '@typescript-eslint/scope-manager@8.0.1': - resolution: {integrity: sha512-NpixInP5dm7uukMiRyiHjRKkom5RIFA4dfiHvalanD2cF0CLUuQqxfg8PtEUo9yqJI2bBhF+pcSafqnG3UBnRQ==} + '@typescript-eslint/scope-manager@8.1.0': + resolution: {integrity: sha512-DsuOZQji687sQUjm4N6c9xABJa7fjvfIdjqpSIIVOgaENf2jFXiM9hIBZOL3hb6DHK9Nvd2d7zZnoMLf9e0OtQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/type-utils@8.0.1': - resolution: {integrity: sha512-+/UT25MWvXeDX9YaHv1IS6KI1fiuTto43WprE7pgSMswHbn1Jm9GEM4Txp+X74ifOWV8emu2AWcbLhpJAvD5Ng==} + '@typescript-eslint/type-utils@8.1.0': + resolution: {integrity: sha512-oLYvTxljVvsMnldfl6jIKxTaU7ok7km0KDrwOt1RHYu6nxlhN3TIx8k5Q52L6wR33nOwDgM7VwW1fT1qMNfFIA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '*' @@ -1818,8 +1818,8 @@ packages: resolution: {integrity: sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - '@typescript-eslint/types@8.0.1': - resolution: {integrity: sha512-PpqTVT3yCA/bIgJ12czBuE3iBlM3g4inRSC5J0QOdQFAn07TYrYEQBBKgXH1lQpglup+Zy6c1fxuwTk4MTNKIw==} + '@typescript-eslint/types@8.1.0': + resolution: {integrity: sha512-q2/Bxa0gMOu/2/AKALI0tCKbG2zppccnRIRCW6BaaTlRVaPKft4oVYPp7WOPpcnsgbr0qROAVCVKCvIQ0tbWog==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@typescript-eslint/typescript-estree@5.62.0': @@ -1831,8 +1831,8 @@ packages: typescript: optional: true - '@typescript-eslint/typescript-estree@8.0.1': - resolution: {integrity: sha512-8V9hriRvZQXPWU3bbiUV4Epo7EvgM6RTs+sUmxp5G//dBGy402S7Fx0W0QkB2fb4obCF8SInoUzvTYtc3bkb5w==} + '@typescript-eslint/typescript-estree@8.1.0': + resolution: {integrity: sha512-NTHhmufocEkMiAord/g++gWKb0Fr34e9AExBRdqgWdVBaKoei2dIyYKD9Q0jBnvfbEA5zaf8plUFMUH6kQ0vGg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '*' @@ -1846,8 +1846,8 @@ packages: peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - '@typescript-eslint/utils@8.0.1': - resolution: {integrity: sha512-CBFR0G0sCt0+fzfnKaciu9IBsKvEKYwN9UZ+eeogK1fYHg4Qxk1yf/wLQkLXlq8wbU2dFlgAesxt8Gi76E8RTA==} + '@typescript-eslint/utils@8.1.0': + resolution: {integrity: sha512-ypRueFNKTIFwqPeJBfeIpxZ895PQhNyH4YID6js0UoBImWYoSjBsahUn9KMiJXh94uOjVBgHD9AmkyPsPnFwJA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 @@ -1856,8 +1856,8 @@ packages: resolution: {integrity: sha512-07ny+LHRzQXepkGg6w0mFY41fVUNBrL2Roj/++7V1txKugfjm/Ci/qSND03r2RhlJhJYMcTn9AhhSSqQp0Ysyw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - '@typescript-eslint/visitor-keys@8.0.1': - resolution: {integrity: sha512-W5E+o0UfUcK5EgchLZsyVWqARmsM7v54/qEq6PY3YI5arkgmCzHiuk0zKSJJbm71V0xdRna4BGomkCTXz2/LkQ==} + '@typescript-eslint/visitor-keys@8.1.0': + resolution: {integrity: sha512-ba0lNI19awqZ5ZNKh6wCModMwoZs457StTebQ0q1NP58zSi2F6MOZRXwfKZy+jB78JNJ/WH8GSh2IQNzXX8Nag==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@ungap/structured-clone@1.2.0': @@ -2817,8 +2817,8 @@ packages: highcharts: '>=6.0.0' react: '>=16.8.0' - highcharts@11.4.6: - resolution: {integrity: sha512-ntFZ053giEEquAxza+HlOWiLQyCLOjQ3M3EV4r6LoSNKS/fz2S0EKGl8G7Jls9EaYmdAHecB/vL4hGI2J1Ud9g==} + highcharts@11.4.7: + resolution: {integrity: sha512-4FQTaV/9DtYal6U8rCgGeFWzzoL5QoKowpzyGlG0sp+UJKjm9G9t4bvyz+odvXt+YcqUvK9GEspdLoBnKSWGVA==} history@4.10.1: resolution: {integrity: sha512-36nwAD620w12kuzPAsyINPWJqlNbij+hpK1k9XRloDtym8mxzGYl2c17LnV6IAGB2Dmg4tEa7G7DlawS0+qjew==} @@ -3161,8 +3161,8 @@ packages: lines-and-columns@1.2.4: resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} - lint-staged@15.2.8: - resolution: {integrity: sha512-PUWFf2zQzsd9EFU+kM1d7UP+AZDbKFKuj+9JNVTBkhUFhbg4MAt6WfyMMwBfM4lYqd4D2Jwac5iuTu9rVj4zCQ==} + lint-staged@15.2.9: + resolution: {integrity: sha512-BZAt8Lk3sEnxw7tfxM7jeZlPRuT4M68O0/CwZhhaw6eeWu0Lz5eERE3m386InivXB64fp/mDID452h48tvKlRQ==} engines: {node: '>=18.12.0'} hasBin: true @@ -4121,8 +4121,8 @@ packages: resolution: {integrity: sha512-/OxDN6OtAk5KBpGb28T+HZc2M+ADtvRxXrKKbUwtsLgdoxgX13hyy7ek6bFRl5+aBs2yZzB0c4CnQfAtVypW/g==} engines: {node: '>= 0.4'} - typescript-eslint@8.0.1: - resolution: {integrity: sha512-V3Y+MdfhawxEjE16dWpb7/IOgeXnLwAEEkS7v8oDqNcR1oYlqWhGH/iHqHdKVdpWme1VPZ0SoywXAkCqawj2eQ==} + typescript-eslint@8.1.0: + resolution: {integrity: sha512-prB2U3jXPJLpo1iVLN338Lvolh6OrcCZO+9Yv6AR+tvegPPptYCDBIHiEEUdqRi8gAv2bXNKfMUrgAd2ejn/ow==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '*' @@ -4242,8 +4242,8 @@ packages: vite: optional: true - vite@5.4.0: - resolution: {integrity: sha512-5xokfMX0PIiwCMCMb9ZJcMyh5wbBun0zUzKib+L65vAZ8GY9ePZMXxFrHbr/Kyll2+LSCY7xtERPpxkBDKngwg==} + vite@5.4.1: + resolution: {integrity: sha512-1oE6yuNXssjrZdblI9AfBbHCC41nnyoVoEZxQnID6yvQZAFBzxxkqoFLtHUMkYunL8hwOLEjgTuxpkRxvba3kA==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: @@ -5893,11 +5893,11 @@ snapshots: '@lingui/core': 4.11.3 react: 18.3.1 - '@lingui/vite-plugin@4.11.3(typescript@5.5.4)(vite@5.4.0(@types/node@20.13.0))': + '@lingui/vite-plugin@4.11.3(typescript@5.5.4)(vite@5.4.1(@types/node@20.13.0))': dependencies: '@lingui/cli': 4.11.3(typescript@5.5.4) '@lingui/conf': 4.11.3(typescript@5.5.4) - vite: 5.4.0(@types/node@20.13.0) + vite: 5.4.1(@types/node@20.13.0) transitivePeerDependencies: - supports-color - typescript @@ -6020,13 +6020,13 @@ snapshots: optionalDependencies: '@types/react': 18.3.3 - '@mui/x-data-grid@7.12.1(@emotion/react@11.13.0(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.0(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@mui/material@5.16.7(@emotion/react@11.13.0(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.0(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@mui/x-data-grid@7.13.0(@emotion/react@11.13.0(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.0(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@mui/material@5.16.7(@emotion/react@11.13.0(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.0(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.25.0 '@mui/material': 5.16.7(@emotion/react@11.13.0(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.0(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@mui/system': 5.16.7(@emotion/react@11.13.0(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.0(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1) '@mui/utils': 5.16.6(@types/react@18.3.3)(react@18.3.1) - '@mui/x-internals': 7.12.0(@types/react@18.3.3)(react@18.3.1) + '@mui/x-internals': 7.13.0(@types/react@18.3.3)(react@18.3.1) clsx: 2.1.1 prop-types: 15.8.1 react: 18.3.1 @@ -6038,7 +6038,7 @@ snapshots: transitivePeerDependencies: - '@types/react' - '@mui/x-date-pickers@7.12.1(@emotion/react@11.13.0(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.0(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@mui/material@5.16.7(@emotion/react@11.13.0(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.0(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/react@18.3.3)(date-fns@3.6.0)(dayjs@1.11.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@mui/x-date-pickers@7.13.0(@emotion/react@11.13.0(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.0(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@mui/material@5.16.7(@emotion/react@11.13.0(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.0(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/react@18.3.3)(date-fns@3.6.0)(dayjs@1.11.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.25.0 '@mui/material': 5.16.7(@emotion/react@11.13.0(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.0(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -6058,7 +6058,7 @@ snapshots: transitivePeerDependencies: - '@types/react' - '@mui/x-internals@7.12.0(@types/react@18.3.3)(react@18.3.1)': + '@mui/x-internals@7.13.0(@types/react@18.3.3)(react@18.3.1)': dependencies: '@babel/runtime': 7.25.0 '@mui/utils': 5.16.6(@types/react@18.3.3)(react@18.3.1) @@ -6312,14 +6312,14 @@ snapshots: dependencies: '@types/yargs-parser': 21.0.3 - '@typescript-eslint/eslint-plugin@8.0.1(@typescript-eslint/parser@8.0.1(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4)': + '@typescript-eslint/eslint-plugin@8.1.0(@typescript-eslint/parser@8.1.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4)': dependencies: '@eslint-community/regexpp': 4.10.0 - '@typescript-eslint/parser': 8.0.1(eslint@8.57.0)(typescript@5.5.4) - '@typescript-eslint/scope-manager': 8.0.1 - '@typescript-eslint/type-utils': 8.0.1(eslint@8.57.0)(typescript@5.5.4) - '@typescript-eslint/utils': 8.0.1(eslint@8.57.0)(typescript@5.5.4) - '@typescript-eslint/visitor-keys': 8.0.1 + '@typescript-eslint/parser': 8.1.0(eslint@8.57.0)(typescript@5.5.4) + '@typescript-eslint/scope-manager': 8.1.0 + '@typescript-eslint/type-utils': 8.1.0(eslint@8.57.0)(typescript@5.5.4) + '@typescript-eslint/utils': 8.1.0(eslint@8.57.0)(typescript@5.5.4) + '@typescript-eslint/visitor-keys': 8.1.0 eslint: 8.57.0 graphemer: 1.4.0 ignore: 5.3.1 @@ -6330,12 +6330,12 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@8.0.1(eslint@8.57.0)(typescript@5.5.4)': + '@typescript-eslint/parser@8.1.0(eslint@8.57.0)(typescript@5.5.4)': dependencies: - '@typescript-eslint/scope-manager': 8.0.1 - '@typescript-eslint/types': 8.0.1 - '@typescript-eslint/typescript-estree': 8.0.1(typescript@5.5.4) - '@typescript-eslint/visitor-keys': 8.0.1 + '@typescript-eslint/scope-manager': 8.1.0 + '@typescript-eslint/types': 8.1.0 + '@typescript-eslint/typescript-estree': 8.1.0(typescript@5.5.4) + '@typescript-eslint/visitor-keys': 8.1.0 debug: 4.3.6 eslint: 8.57.0 optionalDependencies: @@ -6348,15 +6348,15 @@ snapshots: '@typescript-eslint/types': 5.62.0 '@typescript-eslint/visitor-keys': 5.62.0 - '@typescript-eslint/scope-manager@8.0.1': + '@typescript-eslint/scope-manager@8.1.0': dependencies: - '@typescript-eslint/types': 8.0.1 - '@typescript-eslint/visitor-keys': 8.0.1 + '@typescript-eslint/types': 8.1.0 + '@typescript-eslint/visitor-keys': 8.1.0 - '@typescript-eslint/type-utils@8.0.1(eslint@8.57.0)(typescript@5.5.4)': + '@typescript-eslint/type-utils@8.1.0(eslint@8.57.0)(typescript@5.5.4)': dependencies: - '@typescript-eslint/typescript-estree': 8.0.1(typescript@5.5.4) - '@typescript-eslint/utils': 8.0.1(eslint@8.57.0)(typescript@5.5.4) + '@typescript-eslint/typescript-estree': 8.1.0(typescript@5.5.4) + '@typescript-eslint/utils': 8.1.0(eslint@8.57.0)(typescript@5.5.4) debug: 4.3.6 ts-api-utils: 1.3.0(typescript@5.5.4) optionalDependencies: @@ -6367,7 +6367,7 @@ snapshots: '@typescript-eslint/types@5.62.0': {} - '@typescript-eslint/types@8.0.1': {} + '@typescript-eslint/types@8.1.0': {} '@typescript-eslint/typescript-estree@5.62.0(typescript@5.5.4)': dependencies: @@ -6383,10 +6383,10 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/typescript-estree@8.0.1(typescript@5.5.4)': + '@typescript-eslint/typescript-estree@8.1.0(typescript@5.5.4)': dependencies: - '@typescript-eslint/types': 8.0.1 - '@typescript-eslint/visitor-keys': 8.0.1 + '@typescript-eslint/types': 8.1.0 + '@typescript-eslint/visitor-keys': 8.1.0 debug: 4.3.6 globby: 11.1.0 is-glob: 4.0.3 @@ -6413,12 +6413,12 @@ snapshots: - supports-color - typescript - '@typescript-eslint/utils@8.0.1(eslint@8.57.0)(typescript@5.5.4)': + '@typescript-eslint/utils@8.1.0(eslint@8.57.0)(typescript@5.5.4)': dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) - '@typescript-eslint/scope-manager': 8.0.1 - '@typescript-eslint/types': 8.0.1 - '@typescript-eslint/typescript-estree': 8.0.1(typescript@5.5.4) + '@typescript-eslint/scope-manager': 8.1.0 + '@typescript-eslint/types': 8.1.0 + '@typescript-eslint/typescript-estree': 8.1.0(typescript@5.5.4) eslint: 8.57.0 transitivePeerDependencies: - supports-color @@ -6429,25 +6429,25 @@ snapshots: '@typescript-eslint/types': 5.62.0 eslint-visitor-keys: 3.4.3 - '@typescript-eslint/visitor-keys@8.0.1': + '@typescript-eslint/visitor-keys@8.1.0': dependencies: - '@typescript-eslint/types': 8.0.1 + '@typescript-eslint/types': 8.1.0 eslint-visitor-keys: 3.4.3 '@ungap/structured-clone@1.2.0': {} - '@vitejs/plugin-basic-ssl@1.1.0(vite@5.4.0(@types/node@20.13.0))': + '@vitejs/plugin-basic-ssl@1.1.0(vite@5.4.1(@types/node@20.13.0))': dependencies: - vite: 5.4.0(@types/node@20.13.0) + vite: 5.4.1(@types/node@20.13.0) - '@vitejs/plugin-react@4.3.1(vite@5.4.0(@types/node@20.13.0))': + '@vitejs/plugin-react@4.3.1(vite@5.4.1(@types/node@20.13.0))': dependencies: '@babel/core': 7.24.6 '@babel/plugin-transform-react-jsx-self': 7.24.6(@babel/core@7.24.6) '@babel/plugin-transform-react-jsx-source': 7.24.6(@babel/core@7.24.6) '@types/babel__core': 7.20.5 react-refresh: 0.14.2 - vite: 5.4.0(@types/node@20.13.0) + vite: 5.4.1(@types/node@20.13.0) transitivePeerDependencies: - supports-color @@ -7672,12 +7672,12 @@ snapshots: capital-case: 1.0.4 tslib: 2.6.2 - highcharts-react-official@3.2.1(highcharts@11.4.6)(react@18.3.1): + highcharts-react-official@3.2.1(highcharts@11.4.7)(react@18.3.1): dependencies: - highcharts: 11.4.6 + highcharts: 11.4.7 react: 18.3.1 - highcharts@11.4.6: {} + highcharts@11.4.7: {} history@4.10.1: dependencies: @@ -8030,7 +8030,7 @@ snapshots: lines-and-columns@1.2.4: {} - lint-staged@15.2.8: + lint-staged@15.2.9: dependencies: chalk: 5.3.0 commander: 12.1.0 @@ -8998,11 +8998,11 @@ snapshots: is-typed-array: 1.1.13 possible-typed-array-names: 1.0.0 - typescript-eslint@8.0.1(eslint@8.57.0)(typescript@5.5.4): + typescript-eslint@8.1.0(eslint@8.57.0)(typescript@5.5.4): dependencies: - '@typescript-eslint/eslint-plugin': 8.0.1(@typescript-eslint/parser@8.0.1(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4) - '@typescript-eslint/parser': 8.0.1(eslint@8.57.0)(typescript@5.5.4) - '@typescript-eslint/utils': 8.0.1(eslint@8.57.0)(typescript@5.5.4) + '@typescript-eslint/eslint-plugin': 8.1.0(@typescript-eslint/parser@8.1.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4) + '@typescript-eslint/parser': 8.1.0(eslint@8.57.0)(typescript@5.5.4) + '@typescript-eslint/utils': 8.1.0(eslint@8.57.0)(typescript@5.5.4) optionalDependencies: typescript: 5.5.4 transitivePeerDependencies: @@ -9070,7 +9070,7 @@ snapshots: debug: 4.3.6 pathe: 1.1.2 tinyrainbow: 1.2.0 - vite: 5.4.0(@types/node@20.13.0) + vite: 5.4.1(@types/node@20.13.0) transitivePeerDependencies: - '@types/node' - less @@ -9082,7 +9082,7 @@ snapshots: - supports-color - terser - vite-plugin-checker@0.7.2(eslint@8.57.0)(optionator@0.9.4)(typescript@5.5.4)(vite@5.4.0(@types/node@20.13.0)): + vite-plugin-checker@0.7.2(eslint@8.57.0)(optionator@0.9.4)(typescript@5.5.4)(vite@5.4.1(@types/node@20.13.0)): dependencies: '@babel/code-frame': 7.24.6 ansi-escapes: 4.3.2 @@ -9094,7 +9094,7 @@ snapshots: npm-run-path: 4.0.1 strip-ansi: 6.0.1 tiny-invariant: 1.3.3 - vite: 5.4.0(@types/node@20.13.0) + vite: 5.4.1(@types/node@20.13.0) vscode-languageclient: 7.0.0 vscode-languageserver: 7.0.0 vscode-languageserver-textdocument: 1.0.11 @@ -9104,18 +9104,18 @@ snapshots: optionator: 0.9.4 typescript: 5.5.4 - vite-tsconfig-paths@5.0.1(typescript@5.5.4)(vite@5.4.0(@types/node@20.13.0)): + vite-tsconfig-paths@5.0.1(typescript@5.5.4)(vite@5.4.1(@types/node@20.13.0)): dependencies: debug: 4.3.6 globrex: 0.1.2 tsconfck: 3.1.0(typescript@5.5.4) optionalDependencies: - vite: 5.4.0(@types/node@20.13.0) + vite: 5.4.1(@types/node@20.13.0) transitivePeerDependencies: - supports-color - typescript - vite@5.4.0(@types/node@20.13.0): + vite@5.4.1(@types/node@20.13.0): dependencies: esbuild: 0.21.5 postcss: 8.4.41 @@ -9142,7 +9142,7 @@ snapshots: tinybench: 2.8.0 tinypool: 1.0.0 tinyrainbow: 1.2.0 - vite: 5.4.0(@types/node@20.13.0) + vite: 5.4.1(@types/node@20.13.0) vite-node: 2.0.5(@types/node@20.13.0) why-is-node-running: 2.3.0 optionalDependencies: From 7365a934d1fc73c58a55c0406e288b059e955120 Mon Sep 17 00:00:00 2001 From: Ian Krieger <48930920+IanKrieger@users.noreply.github.com> Date: Wed, 21 Aug 2024 16:50:58 -0400 Subject: [PATCH 2/4] fix(payment): allow switching between payment methods (#1327) The way campaigns were updated has changed, we need to make sure if a person wants to change their payment method they can --- src/checkout/hooks/useCreatePaymentSession.ts | 28 +++++---- src/checkout/lib/index.ts | 8 ++- .../advanced/components/form/EditCampaign.tsx | 62 +++++++++++-------- 3 files changed, 59 insertions(+), 39 deletions(-) diff --git a/src/checkout/hooks/useCreatePaymentSession.ts b/src/checkout/hooks/useCreatePaymentSession.ts index 46bbb91e..57d01769 100644 --- a/src/checkout/hooks/useCreatePaymentSession.ts +++ b/src/checkout/hooks/useCreatePaymentSession.ts @@ -3,24 +3,28 @@ import { useCallback, useState } from "react"; import { useAdvertiser } from "@/auth/hooks/queries/useAdvertiser"; import { useHistory } from "react-router-dom"; import { t } from "@lingui/macro"; +import { PaymentType } from "@/graphql-client/graphql"; export function useCreatePaymentSession() { const [loading, setLoading] = useState(false); const history = useHistory(); const { advertiser } = useAdvertiser(); - const replaceSession = useCallback(async (campaignId: string) => { - setLoading(true); - await createPaymentSession(advertiser.id, campaignId ?? "") - .then((url) => { - window.location.replace(url); - }) - .catch(() => { - alert(t`Unable to create payment session. Please try again.`); - setLoading(false); - history.push(`/user/main/adsmanager/advanced/${campaignId}/review`); - }); - }, []); + const replaceSession = useCallback( + async (campaignId: string, paymentMethod?: PaymentType) => { + setLoading(true); + await createPaymentSession(advertiser.id, campaignId ?? "", paymentMethod) + .then((url) => { + window.location.replace(url); + }) + .catch(() => { + alert(t`Unable to create payment session. Please try again.`); + setLoading(false); + history.push(`/user/main/adsmanager/advanced/${campaignId}/review`); + }); + }, + [], + ); return { createPaymentSession: replaceSession, loading }; } diff --git a/src/checkout/lib/index.ts b/src/checkout/lib/index.ts index 2217ebe7..db684103 100644 --- a/src/checkout/lib/index.ts +++ b/src/checkout/lib/index.ts @@ -1,9 +1,11 @@ import { buildAdServerEndpoint } from "@/util/environment"; import { t } from "@lingui/macro"; +import { PaymentType } from "@/graphql-client/graphql"; export async function createPaymentSession( advertiserId: string, campaignId: string, + paymentMethod?: PaymentType, ): Promise { const res = await fetch(buildAdServerEndpoint("/payments/checkout-session"), { method: "POST", @@ -12,7 +14,11 @@ export async function createPaymentSession( headers: { "Content-Type": "application/json", }, - body: JSON.stringify({ advertiserId, campaignId }), + body: JSON.stringify({ + advertiserId, + campaignId, + paymentMethod, + }), }); if (res.status !== 200) { diff --git a/src/user/views/adsManager/views/advanced/components/form/EditCampaign.tsx b/src/user/views/adsManager/views/advanced/components/form/EditCampaign.tsx index 08664c2e..9c44b5d3 100644 --- a/src/user/views/adsManager/views/advanced/components/form/EditCampaign.tsx +++ b/src/user/views/adsManager/views/advanced/components/form/EditCampaign.tsx @@ -14,8 +14,10 @@ import { useTrackWithMatomo } from "@/hooks/useTrackWithMatomo"; import { msg } from "@lingui/macro"; import { useLingui } from "@lingui/react"; import { + AdsManagerUpdateCampaignInput, AdvertiserCampaignsDocument, LoadCampaignDocument, + PaymentType, } from "@/graphql-client/graphql"; import { useMutation, useQuery } from "@apollo/client"; import { graphql } from "@/graphql-client/index"; @@ -57,31 +59,7 @@ export function EditCampaign() { }); const hasPaymentIntent = initialData?.campaign?.hasPaymentIntent; - const [mutation] = useMutation(UpdateCampaign, { - onCompleted(data) { - trackMatomoEvent("campaign", "update-success"); - if (hasPaymentIntent) { - history.push( - `/user/main/complete/edit?referenceId=${data.adsManagerUpdateCampaign.id}`, - ); - } else { - void createPaymentSession(data.adsManagerUpdateCampaign.id); - } - }, - onError() { - trackMatomoEvent("campaign", "update-failed"); - alert(_(msg`Unable to Update Campaign.`)); - }, - refetchQueries: [ - { - query: AdvertiserCampaignsDocument, - variables: { - id: data.id, - filter: { from: fromDate?.toISOString() }, - }, - }, - ], - }); + const [mutation] = useMutation(UpdateCampaign); if (error || priceError) { return ( @@ -102,6 +80,38 @@ export function EditCampaign() { return ; } + const doSubmitEdit = async ( + input: AdsManagerUpdateCampaignInput, + payment: PaymentType, + ) => { + return await mutation({ + variables: { input }, + onCompleted(data) { + trackMatomoEvent("campaign", "update-success"); + if (hasPaymentIntent) { + history.push( + `/user/main/complete/edit?referenceId=${data.adsManagerUpdateCampaign.id}`, + ); + } else { + void createPaymentSession(data.adsManagerUpdateCampaign.id, payment); + } + }, + onError() { + trackMatomoEvent("campaign", "update-failed"); + alert(_(msg`Unable to Update Campaign.`)); + }, + refetchQueries: [ + { + query: AdvertiserCampaignsDocument, + variables: { + id: data.id, + filter: { from: fromDate?.toISOString() }, + }, + }, + ], + }); + }; + const initialValues = editCampaignValues(initialData.campaign, data.id); return ( @@ -110,7 +120,7 @@ export function EditCampaign() { onSubmit={async (v: CampaignForm, { setSubmitting }) => { setSubmitting(true); const input = transformEditForm(v, initialValues, params.campaignId); - await mutation({ variables: { input } }); + await doSubmitEdit(input, v.paymentType); setSubmitting(false); }} validationSchema={CampaignSchema(data.prices)} From 48a54d581a4689e3e039b29b801959cfb164bf27 Mon Sep 17 00:00:00 2001 From: Ian Krieger <48930920+IanKrieger@users.noreply.github.com> Date: Thu, 22 Aug 2024 08:51:21 -0400 Subject: [PATCH 3/4] fix(payments): lowercase payment method (#1329) Payment types are capital, we need them to be lowercase Fix for: https://github.com/brave/ads-ui/pull/1327 --- src/checkout/lib/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/checkout/lib/index.ts b/src/checkout/lib/index.ts index db684103..dfb3f353 100644 --- a/src/checkout/lib/index.ts +++ b/src/checkout/lib/index.ts @@ -17,7 +17,7 @@ export async function createPaymentSession( body: JSON.stringify({ advertiserId, campaignId, - paymentMethod, + paymentMethod: paymentMethod ? paymentMethod.toLowerCase() : undefined, }), }); From c3b7f311872539246c931d1cce856ae755f4ee5c Mon Sep 17 00:00:00 2001 From: Ian Krieger <48930920+IanKrieger@users.noreply.github.com> Date: Thu, 22 Aug 2024 09:25:17 -0400 Subject: [PATCH 4/4] chore(deps): temporarily ignore micromatch (#1330) Currently no actionable resolution: https://github.com/advisories/GHSA-952p-6rrq-rcjv --- package.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package.json b/package.json index ef4baed6..ce08e5ec 100644 --- a/package.json +++ b/package.json @@ -115,6 +115,11 @@ "pnpm": { "overrides": { "ws@>=8.0.0 <8.17.1": ">=8.17.1" + }, + "auditConfig": { + "ignoreCves": [ + "CVE-2024-4067" + ] } } }