chore: Change the dependencies

This commit is contained in:
BluJ
2023-05-04 13:41:54 -06:00
parent a2c5b1defb
commit b2b175ec6e
3 changed files with 5 additions and 5 deletions

View File

@@ -21,7 +21,7 @@ export class NetworkInterfaceBuilder {
id: string
description: string
ui: boolean
basic: null | { password: null | string; username: string }
basic: null | { username: string }
path: string
search: Record<string, string>
},

View File

@@ -3,7 +3,7 @@ export class Origin {
build({ basic, path, search }: BuildOptions) {
// prettier-ignore
const urlAuth = !!(basic) ? `${basic.username}${basic.password != null ?`:${basic.password}`:''}@` :
const urlAuth = !!(basic) ? `${basic.username}@` :
'';
const protocolSection = this.protocol != null ? `${this.protocol}://` : ""
@@ -20,7 +20,7 @@ export class Origin {
}
type BuildOptions = {
basic: { username: string; password: string | null } | null
basic: { username: string } | null
path: string
search: Record<string, string>
}

View File

@@ -72,10 +72,10 @@ export interface SDKManifest {
start: string | null
stop: string | null
}
dependencies: Record<string, Dependency>
dependencies: Record<string, ManifestDependency>
}
export interface Dependency {
export interface ManifestDependency {
/** The range of versions that would satisfy the dependency
*
* ie: >=3.4.5 <4.0.0