Skip to content

Bumb Axios from 1.6.5 to 1.7.4 #3387

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 19 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions env.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
/// <reference types="vite/client" />

declare module '*.vue' {
import type { DefineComponent } from 'vue'
const component: DefineComponent<{}, {}, any>
export default component
}
9,021 changes: 2,524 additions & 6,497 deletions package-lock.json

Large diffs are not rendered by default.

13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@fortawesome/free-regular-svg-icons": "^6.5.1",
"@fortawesome/free-solid-svg-icons": "^6.5.1",
"@fortawesome/vue-fontawesome": "^3.0.5",
"@unhead/vue": "^1.11.18",
"@unhead/vue": "^2.0.10",
"axios": "^1.6.5",
"bulma": "^0.9.4",
"bulma-timeline": "^3.0.5",
Expand All @@ -39,17 +39,18 @@
"@tsconfig/node18": "^18.2.2",
"@types/lodash": "^4.17.7",
"@types/node": "^18.19.3",
"@vitejs/plugin-vue": "^4.5.2",
"@vitejs/plugin-vue-jsx": "^3.1.0",
"@vitejs/plugin-vue": "^5.2.3",
"@vitejs/plugin-vue-jsx": "^4.1.2",
"@vue/eslint-config-prettier": "^8.0.0",
"@vue/eslint-config-typescript": "^12.0.0",
"@vue/tsconfig": "^0.5.0",
"eslint": "^8.49.0",
"eslint-plugin-vue": "^9.17.0",
"npm-run-all2": "^6.1.1",
"prettier": "^3.0.3",
"sass-embedded": "^1.89.1",
"typescript": "~5.3.0",
"vite": "^5.0.10",
"vue-tsc": "^1.8.25"
"vite": "^6.3.4",
"vue-tsc": "^2.2.10"
}
}
}
13 changes: 9 additions & 4 deletions src/assets/data/NotificationBanner.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,21 @@
},
{
"contentType": "paragraph",
"content": "Keyword searching of CVE Records is now available in the search box above. Keywords may include a CVE ID (e.g., CVE-2024-1234), or one or more keywords separated by a space (e.g., authorization, SQL Injection, cross site scripting, etc.). Learn more "
"content": "Expanded keyword searching of CVE Records"
},
{
"contentType": "internalLink",
"link": "/Media/News/item/blog/2024/12/11/CVE-List-Keyword-Search-Now-Available",
"linkText": "here"
"link": "/ResourcesSupport/FAQs#pc_cve_list_basicssearch_cve",
"linkText": "(with limitations)"
},
{
"contentType": "paragraph",
"content": "."
"content": "is now available in the search box above. Text may include a CVE/CWE/CAPEC ID (e.g., CVE-2024-1234), or one or more keywords (e.g., 'SQL Injection', 'man-in-the-middle', etc.). Learn more"
},
{
"contentType": "internalLink",
"link": "/Media/News/item/blog/2024/12/11/CVE-List-Keyword-Search-Now-Available",
"linkText": "here."
}
]
}
2 changes: 1 addition & 1 deletion src/assets/data/faqs.json
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@
"questionText": "How do I search the CVE List",
"questionResponseParagraphs": [
"<b><i>Search Tips<i></b>",
"<ul><li>By CVE ID<ul><li>Must include only one CVE ID per search.</li><li>CVE ID must include all letters, numbers, and hyphens associated with the CVE ID, e.g., CVE-2024-12345678.</li><li>“CVE” may be entered as “cve”, “CVE”, or as a combination of uppercase and lowercase, as casing is ignored during search.</li></ul></li><li>By other keyword(s)<ul><li>Must contain only alphanumeric characters, e.g., letters or numbers.</li><li>May contain one or more keywords, separated by a space.</li><li>Keywords may be entered in lowercase, uppercase, or a combination of both. Casing is ignored during search, e.g., Vulnerabilities, vulnerabilities, VULNERABILITIES.</li></ul></li></ul>"
"<p>You can now search using:</p><ul style=\"list-style-type: none\"><li><b>IDs</b><ul><li>CVE ID<ul><li>specific CVE ID (e.g., \"CVE-2015-8405\")<ul><li>note that this returns records where there is a match for the CVE ID anywhere in the CVE record (e.g., \"CVE-2015-8405\" returns the CVE named, as well as any CVEs that has that CVE ID in other fields, such as in the description)</ul><li>the nominal CVE ID Year - (e.g., \"CVE-2025\" returns all CVEs reserved in the CVE-2025 year series)<ul><li>note that the year must be a full year (e.g., \"CVE-202\" is invalid and will produce no results)</ul></ul><li>CWE ID - for specific Common Weakness Enumerations (e.g., \"CWE-123\")<li>CAPEC ID - for specific Common Attack Pattern Enumerations and Classifications (e.g., \"CAPEC-123\")</ul><li><b>General</b><ul style=\"list-style-type: none\"><li>Search terms are case-insensitive and may contain words of alphanumeric and Unicode characters.<li>Search scenarios that are supported include:<ul><li>hyphenated words (e.g., \"man-in-the-middle\")<li>exact version strings (e.g., \"6.17.4\")<li>exact IPv4 strings (e.g., \"127.0.0.1\")<li>exact filenames (e.g., \"main.cpp\")<li>URLs (e.g., \"http://www.ibm.com/support/docview.wss?uid\")<li>combination of any of the above - separating terms with a space, you can search for any CVEs that contains ALL the search terms in its record (e.g., \"apache cwe-502 cve-2025\" will return all CVEs each of which containing all 3 terms)<li>note that if you provide multiple CVE IDs, the search will only return results that contains ALL CVE IDs you specify in each record, which may not be what you expect.<li>Symbols currently not supported are: () {} [] \" ' ` &lt;&gt; | ; ! ~ ^ * + %</ul></ul></ul>"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion src/components/NotificationBannerModule.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
</span>
<div>
<span style="padding-left: 5px" v-for="(section, index) in notificationContents" :key="index">
<span v-if="section.contentType == 'paragraph'" v-html="section.content + ' '"></span>
<span v-if="section.contentType == 'paragraph'" v-html="section.content"></span>
<span class="has-text-weight-bold" v-if="section.contentType == 'bold'">{{section.content}} </span>
<a v-if="section.contentType == 'externalLink'" :href="section.link" target="_blank">{{section.linkText}}
<span class="icon cve-icon-xxs">
Expand Down
2 changes: 1 addition & 1 deletion src/components/ProductStatus.vue
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export default {
const isDefaultStausNa = this.productStatusList[0].defaultStatus.length === 0;
let isVersionNa = false;

if (this.productStatusList[0].versionsColumns.twoDTable.affected.length === 1) {
if (this.productStatusList[0].versionsColumns.twoDTable.affected?.length === 1) {
isVersionNa = /n\/a/.test(this.productStatusList[0].versionsColumns.twoDTable.affected[0].parentVersionRange.toString().toLowerCase());
}

Expand Down
1 change: 0 additions & 1 deletion src/components/SurveyLinkComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,4 @@

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style lang="scss">
@import '../assets/style/globals.scss';
</style>
Loading