Skip to content

Commit

Permalink
Upgrade JS packages and fix security issues (#728)
Browse files Browse the repository at this point in the history
* Do not put div inside p

* Upgrade JS packages
  • Loading branch information
hiveer authored Oct 22, 2024
1 parent f78de99 commit f0cc626
Show file tree
Hide file tree
Showing 3 changed files with 451 additions and 567 deletions.
1 change: 1 addition & 0 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"less": "^4.2.0",
"markdown-it": "^14.1.0",
"markdown-it-anchor": "^9.0.1",
"micromatch": "^4.0.8",
"parse-md": "^3.0.3",
"pinia": "^2.2.2",
"terser": "^5.33.0",
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/components/endpoints/EndpointPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<p class="text-sm text-gray-700 font-medium text-ellipsis overflow-hidden whitespace-nowrap">
{{ $t('endpoints.detail.parameters') }}
</p>
<p class="flex items-center gap-[8px] w-[390px] lg:w-[370px] mlg:w-full h-[35px] leading-[18px] text-gray-500 text-xs overflow-hidden text-ellipsis line-clamp-2 text-left">
<div class="flex items-center gap-[8px] w-[390px] lg:w-[370px] mlg:w-full h-[35px] leading-[18px] text-gray-500 text-xs overflow-hidden text-ellipsis line-clamp-2 text-left">
<div v-if="private" class="border border-gray-300 bg-white px-3 py-[2px] text-center text-xs text-gray-700 font-medium rounded">
{{ $t("all.private") }}
</div>
Expand All @@ -29,7 +29,7 @@
<span>:</span>
<span>{{ endpointReplica }}</span>
</div>
</p>
</div>
</div>
<div class="flex flex-col gap-[8px] focus:outline focus:outline-4 focus:outline-gray-200 p-4 mlg:w-full border border-gray-200 rounded-xl">
<p class="text-sm text-gray-700 font-medium text-ellipsis overflow-hidden whitespace-nowrap">
Expand Down
Loading

0 comments on commit f0cc626

Please sign in to comment.