Skip to content

Commit

Permalink
[Snyk] Upgrade prettier from 3.1.1 to 3.2.5 (#977)
Browse files Browse the repository at this point in the history
* fix: upgrade prettier from 3.1.1 to 3.2.5

Snyk has created this PR to upgrade prettier from 3.1.1 to 3.2.5.

See this package in npm:
https://www.npmjs.com/package/prettier

See this project in Snyk:
https://app.snyk.io/org/radix-team/project/9b8fdaaf-c458-4968-afc1-34794da22873?utm_source=github&utm_medium=referral&page=upgrade-pr

* Update dev.tsx

* Fixed linter reported issue

---------

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Co-authored-by: Sergey Smolnikov <ssmol@equinor.com>
  • Loading branch information
3 people authored Mar 5, 2024
1 parent bf8cc52 commit 2b29bd6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"license-checker": "^25.0.1",
"miragejs": "^0.1.48",
"mock-socket": "^9.3.1",
"prettier": "^3.1.1",
"prettier": "^3.2.5",
"ts-node": "^10.9.2",
"typescript": "^5.3.3",
"vite-plugin-eslint": "^1.8.1",
Expand Down
9 changes: 4 additions & 5 deletions src/components/app-list/dev.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,10 @@ new Server({
'/api/v1/applications/_search',
(_, request): GetSearchApplicationsApiResponse => [
...testApps
.filter(
({ name }) =>
(request.queryParams as GetSearchApplicationsApiArg)?.apps
?.split(',')
.includes(name)
.filter(({ name }) =>
(request.queryParams as GetSearchApplicationsApiArg)?.apps
?.split(',')
.includes(name)
)
.reduce<GetSearchApplicationsApiResponse>((obj, app) => {
return [...obj, app];
Expand Down

0 comments on commit 2b29bd6

Please sign in to comment.