Skip to content

Commit

Permalink
fix(package.json): fix max-len & downgrade TS to 5.3.x
Browse files Browse the repository at this point in the history
# Reviewed, transaction id: 19708
  • Loading branch information
Carlmac committed Sep 29, 2024
1 parent 1cca8d2 commit e1f7edd
Show file tree
Hide file tree
Showing 10 changed files with 51 additions and 14 deletions.
2 changes: 1 addition & 1 deletion src/dashboard-front/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
"sass": "^1.77.8",
"sass-loader": "^13.0.0",
"ts-loader": "^9.5.1",
"typescript": "^5.5.4",
"typescript": "5.3.3",
"vue-eslint-parser": "^9.4.3"
},
"engines": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,13 @@
<bk-button class="is-selected" style="width: 150px">Python</bk-button>
</div>
<!-- eslint-disable-next-line vue/no-v-html -->
<div v-if="sdkDoc" class="ag-markdown-view" id="markdown" :key="renderHtmlIndex" v-dompurify-html="markdownHtml"></div>
<div
v-if="sdkDoc"
class="ag-markdown-view"
id="markdown"
:key="renderHtmlIndex"
v-dompurify-html="markdownHtml"
></div>
<bk-exception
v-else
class="exception-wrap-item exception-part"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,11 @@
<!-- eslint-disable-next-line vue/no-v-html -->
<p class="name" v-dompurify-html="hightlight(component.name)" v-bk-overflow-tips></p>
<!-- eslint-disable-next-line vue/no-v-html -->
<p class="label" v-dompurify-html="hightlight(component.description) || $t('暂无描述')" v-bk-overflow-tips>
<p
class="label"
v-dompurify-html="hightlight(component.description) || $t('暂无描述')"
v-bk-overflow-tips
>
</p>
</li>
</ul>
Expand Down
7 changes: 6 additions & 1 deletion src/dashboard-front/src/views/apigwDocs/components/doc.vue
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,12 @@
</div>
</div>
<!-- eslint-disable-next-line vue/no-v-html -->
<div class="ag-markdown-view" id="markdown" :key="renderHtmlIndex" v-dompurify-html="curComponent.markdownHtml"></div>
<div
class="ag-markdown-view"
id="markdown"
:key="renderHtmlIndex"
v-dompurify-html="curComponent.markdownHtml"
></div>
</bk-tab-panel>
<bk-tab-panel
:name="'sdk'"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,10 @@
params: { version: curVersionData.board, id: item.name }
}">
<!-- eslint-disable-next-line vue/no-v-html -->
<span v-dompurify-html="hightlight(item.description, 'panel')" @click="isNavPanelShow = false"></span>
<span
v-dompurify-html="hightlight(item.description, 'panel')"
@click="isNavPanelShow = false"
></span>
</router-link>
<p class="desc">
<!-- eslint-disable-next-line vue/no-v-html -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,12 @@
</div>
</div>
<!-- eslint-disable-next-line vue/no-v-html -->
<div class="ag-markdown-view" id="markdown" :key="renderHtmlIndex" v-dompurify-html="curComponent.markdownHtml"></div>
<div
class="ag-markdown-view"
id="markdown"
:key="renderHtmlIndex"
v-dompurify-html="curComponent.markdownHtml"
></div>
</bk-tab-panel>
<bk-tab-panel
:name="'sdk '"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,12 @@
</p>
</div>
<!-- eslint-disable vue/no-v-html -->
<div class="ag-markdown-view" v-dompurify-html="markdownHtml" v-show="!isEdited" style="padding-bottom: 54px;"></div>
<div
class="ag-markdown-view"
v-dompurify-html="markdownHtml"
v-show="!isEdited"
style="padding-bottom: 54px;"
></div>
<div class="ag-markdown-editor" v-show="isEdited">
<mavon-editor
ref="markdownRef"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,12 @@
</div>
</div>
<!-- eslint-disable-next-line vue/no-v-html -->
<div class="ag-markdown-view" id="markdown" :key="renderHtmlIndex" v-dompurify-html="curComponent.markdownHtml"></div>
<div
class="ag-markdown-view"
id="markdown"
:key="renderHtmlIndex"
v-dompurify-html="curComponent.markdownHtml"
></div>
</bk-tab-panel>
<!-- <bk-tab-panel
:name="'sdk'"
Expand Down
6 changes: 5 additions & 1 deletion src/dashboard-front/src/views/online-debug/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,11 @@
<!-- eslint-disable-next-line vue/no-v-html -->
<p class="name" v-dompurify-html="hightlight(component.name)" v-bk-overflow-tips></p>
<!-- eslint-disable-next-line vue/no-v-html -->
<p class="label" v-dompurify-html="hightlight(component.description) || t('暂无描述')" v-bk-overflow-tips>
<p
class="label"
v-dompurify-html="hightlight(component.description) || t('暂无描述')"
v-bk-overflow-tips
>
</p>
</li>
</ul>
Expand Down
10 changes: 5 additions & 5 deletions src/dashboard-front/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8424,16 +8424,16 @@ typed-array-length@^1.0.4:
is-typed-array "^1.1.13"
possible-typed-array-names "^1.0.0"

typescript@5.3.3:
version "5.3.3"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.3.3.tgz#b3ce6ba258e72e6305ba66f5c9b452aaee3ffe37"
integrity sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==

typescript@^5.1.6, typescript@^5.3.2:
version "5.4.5"
resolved "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz"
integrity sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==

typescript@^5.5.4:
version "5.5.4"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.5.4.tgz#d9852d6c82bad2d2eda4fd74a5762a8f5909e9ba"
integrity sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==

uc.micro@^1.0.1, uc.micro@^1.0.5:
version "1.0.6"
resolved "https://registry.npmjs.org/uc.micro/-/uc.micro-1.0.6.tgz"
Expand Down

0 comments on commit e1f7edd

Please sign in to comment.