fix(deps): upgrade core tooling dependencies and adapt Docker client internals for compatibility

This commit is contained in:
2026-03-28 05:39:48 +00:00
parent 1923837225
commit 645e1fd4a9
19 changed files with 5861 additions and 7164 deletions

View File

@@ -61,30 +61,30 @@ export class DockerNetwork extends DockerResource {
});
if (response.statusCode < 300) {
logger.log('info', 'Created network successfully');
return await DockerNetwork._fromName(
const network = await DockerNetwork._fromName(
dockerHost,
networkCreationDescriptor.Name,
);
if (!network) {
throw new Error('Network was created but could not be retrieved');
}
return network;
} else {
logger.log(
'error',
'There has been an error creating the wanted network',
);
return null;
throw new Error('There has been an error creating the wanted network');
}
}
// INSTANCE PROPERTIES
public Name: string;
public Id: string;
public Created: string;
public Scope: string;
public Driver: string;
public EnableIPv6: boolean;
public Internal: boolean;
public Attachable: boolean;
public Ingress: false;
public IPAM: {
public Name!: string;
public Id!: string;
public Created!: string;
public Scope!: string;
public Driver!: string;
public EnableIPv6!: boolean;
public Internal!: boolean;
public Attachable!: boolean;
public Ingress!: false;
public IPAM!: {
Driver: 'default' | 'bridge' | 'overlay';
Config: [
{
@@ -130,7 +130,7 @@ export class DockerNetwork extends DockerResource {
IPv6Address: string;
}>
> {
const returnArray = [];
const returnArray: any[] = [];
const response = await this.dockerHost.request(
'GET',
`/networks/${this.Id}`,