diff --git a/package-lock.json b/package-lock.json index 8e456662..519b6d62 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14906,6 +14906,7 @@ "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.2.5.tgz", "integrity": "sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A==", "dev": true, + "license": "MIT", "bin": { "prettier": "bin/prettier.cjs" }, diff --git a/src/containers/DefaultContainer.vue b/src/containers/DefaultContainer.vue index 7b2f14bd..17b0dd5d 100644 --- a/src/containers/DefaultContainer.vue +++ b/src/containers/DefaultContainer.vue @@ -214,8 +214,8 @@ export default { }, mounted() { if (this.$dtrack && this.$dtrack.version.includes('SNAPSHOT')) { -//TODO VS reinstate -// this.$root.$emit('bv::show::modal', 'snapshotModal'); + //TODO VS reinstate + // this.$root.$emit('bv::show::modal', 'snapshotModal'); } this.isSidebarMinimized = diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json index 2e47b5a1..cae04218 100644 --- a/src/i18n/locales/en.json +++ b/src/i18n/locales/en.json @@ -211,9 +211,9 @@ "repository_authentication": "Authentication required", "repository_created": "Repository created", "repository_deleted": "Repository deleted", - "repository_type": "Repository Type", "repository_mirror_vulnerabilities": "Enable mirroring of Security Advisories", "repository_mirror_vulnerability_aliases": "Enable Vulnerability alias synchronization", + "repository_type": "Repository Type", "required_confirmPassword": "Password confirmation is required and passwords must match", "required_email": "Email address is required", "required_fullname": "Fullname is required", diff --git a/src/shared/common.js b/src/shared/common.js index b48b0d79..d099eb4c 100644 --- a/src/shared/common.js +++ b/src/shared/common.js @@ -226,8 +226,8 @@ $common.resolveSourceVulnInfo = function resolveSourceVulnInfo( sourceInfo.url = 'https://github.com/cloudsecurityalliance/gsd-database'; break; case 'COMPOSER': - sourceInfo.name = 'Composer'; - sourceInfo.url = 'https://packagist.org/apidoc'; + sourceInfo.name = 'Composer'; + sourceInfo.url = 'https://packagist.org/apidoc'; break; case 'VULNDB': sourceInfo.name = 'VulnDB'; diff --git a/src/views/administration/repositories/Repositories.vue b/src/views/administration/repositories/Repositories.vue index 974cb3fb..dc957d22 100644 --- a/src/views/administration/repositories/Repositories.vue +++ b/src/views/administration/repositories/Repositories.vue @@ -206,8 +206,10 @@ export default { username: row.username, password: row.password || 'HiddenDecryptedPropertyPlaceholder', enabled: row.enabled, - vulnerabilitiyMirroringEnabled: this.parseVulnerabilitiyMirroringEnabled(row), - vulnerabilityMirroringAliasSyncEnabled: this.parseVulnerabilityMirroringAliasSyncEnabled(row), + vulnerabilitiyMirroringEnabled: + this.parseVulnerabilitiyMirroringEnabled(row), + vulnerabilityMirroringAliasSyncEnabled: + this.parseVulnerabilityMirroringAliasSyncEnabled(row), uuid: row.uuid, labelIcon: { dataOn: '\u2713', @@ -272,8 +274,10 @@ export default { internal: this.internal, authenticationRequired: this.authenticationRequired, config: JSON.stringify({ - vulnerabilitiyMirroringEnabled: this.vulnerabilitiyMirroringEnabled, - vulnerabilityMirroringAliasSyncEnabled: this.vulnerabilityMirroringAliasSyncEnabled, + vulnerabilitiyMirroringEnabled: + this.vulnerabilitiyMirroringEnabled, + vulnerabilityMirroringAliasSyncEnabled: + this.vulnerabilityMirroringAliasSyncEnabled, }), username: this.username, password: diff --git a/src/views/portfolio/vulnerabilities/AffectedProjects.vue b/src/views/portfolio/vulnerabilities/AffectedProjects.vue index 43723769..050ffe2c 100644 --- a/src/views/portfolio/vulnerabilities/AffectedProjects.vue +++ b/src/views/portfolio/vulnerabilities/AffectedProjects.vue @@ -152,10 +152,10 @@ export default { this.currentPage = 1; this.refreshTable(); }, - vulnId() { - // update url when vulnId changes, will trigger table refresh - this.$refs.table.refreshOptions({...this.options, url: this.apiUrl()}); - } + vulnId() { + // update url when vulnId changes, will trigger table refresh + this.$refs.table.refreshOptions({ ...this.options, url: this.apiUrl() }); + }, }, };