Skip to content
This repository was archived by the owner on Aug 2, 2025. It is now read-only.

Commit 3f67923

Browse files
committed
Fix: Code styling
1 parent 63c396e commit 3f67923

15 files changed

Lines changed: 148 additions & 144 deletions

.github/workflows/build-image.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
steps:
1515
- name: Checkout repository
1616
uses: actions/checkout@v4
17-
17+
1818
- name: Set up QEMU
1919
uses: docker/setup-qemu-action@v3
2020

.github/workflows/validation.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: "Run all tests"
22

3-
on:
3+
on:
44
push:
55
release:
66
types:

CREDITS.md

Lines changed: 23 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -20,35 +20,37 @@ This file shows all npm packages used in DockStatAPI (also Dev packages)
2020
| ------------------------------------ | ------------------------------------------------------------------------ | -------------------- |
2121
| @ampproject/remapping@2.3.0 | https://github.com/ampproject/remapping | Justin Ridgewell |
2222
| @balena/dockerignore@1.0.2 | https://github.com/balena-io-modules/dockerignore | N/A |
23-
| @eslint/config-array@0.19.1 | https://github.com/eslint/rewrite | Nicholas C. Zakas |
24-
| @eslint/core@0.9.1 | https://github.com/eslint/rewrite | Nicholas C. Zakas |
25-
| @eslint/object-schema@2.1.5 | https://github.com/eslint/rewrite | Nicholas C. Zakas |
26-
| @eslint/plugin-kit@0.2.4 | https://github.com/eslint/rewrite | Nicholas C. Zakas |
23+
| @eslint/config-array@0.19.2 | https://github.com/eslint/rewrite | Nicholas C. Zakas |
24+
| @eslint/core@0.10.0 | https://github.com/eslint/rewrite | Nicholas C. Zakas |
25+
| @eslint/core@0.11.0 | https://github.com/eslint/rewrite | Nicholas C. Zakas |
26+
| @eslint/object-schema@2.1.6 | https://github.com/eslint/rewrite | Nicholas C. Zakas |
27+
| @eslint/plugin-kit@0.2.5 | https://github.com/eslint/rewrite | Nicholas C. Zakas |
28+
| @grpc/grpc-js@1.12.6 | https://github.com/grpc/grpc-node/tree/master/packages/grpc-js | Google Inc. |
29+
| @grpc/proto-loader@0.7.13 | https://github.com/grpc/grpc-node | Google Inc. |
2730
| @humanfs/core@0.19.1 | https://github.com/humanwhocodes/humanfs | Nicholas C. Zakas |
2831
| @humanfs/node@0.16.6 | https://github.com/humanwhocodes/humanfs | Nicholas C. Zakas |
2932
| @humanwhocodes/module-importer@1.0.1 | https://github.com/humanwhocodes/module-importer | Nicholas C. Zaks |
3033
| @humanwhocodes/retry@0.3.1 | https://github.com/humanwhocodes/retry | Nicholas C. Zaks |
3134
| @humanwhocodes/retry@0.4.1 | https://github.com/humanwhocodes/retry | Nicholas C. Zaks |
32-
| @puppeteer/browsers@2.7.0 | https://github.com/puppeteer/puppeteer/tree/main/packages/browsers | The Chromium Authors |
35+
| @puppeteer/browsers@2.7.1 | https://github.com/puppeteer/puppeteer/tree/main/packages/browsers | The Chromium Authors |
3336
| @scarf/scarf@1.4.0 | https://github.com/scarf-sh/scarf-js | Scarf Systems |
3437
| @sigstore/bundle@3.0.0 | https://github.com/sigstore/sigstore-js | bdehamer@github.com |
3538
| @sigstore/core@2.0.0 | https://github.com/sigstore/sigstore-js | bdehamer@github.com |
36-
| @sigstore/protobuf-specs@0.3.2 | https://github.com/sigstore/protobuf-specs | bdehamer@github.com |
39+
| @sigstore/protobuf-specs@0.3.3 | https://github.com/sigstore/protobuf-specs | bdehamer@github.com |
3740
| @sigstore/sign@3.0.0 | https://github.com/sigstore/sigstore-js | bdehamer@github.com |
3841
| @sigstore/tuf@3.0.0 | https://github.com/sigstore/sigstore-js | bdehamer@github.com |
3942
| @sigstore/verify@2.0.0 | https://github.com/sigstore/sigstore-js | bdehamer@github.com |
4043
| b4a@1.6.7 | https://github.com/holepunchto/b4a | Holepunch |
4144
| bare-events@2.5.4 | https://github.com/holepunchto/bare-events | Holepunch |
42-
| bare-fs@2.3.5 | https://github.com/holepunchto/bare-fs | Holepunch |
43-
| bare-os@2.4.4 | https://github.com/holepunchto/bare-os | Holepunch |
44-
| bare-path@2.1.3 | https://github.com/holepunchto/bare-path | Holepunch |
45-
| bare-stream@2.6.1 | https://github.com/holepunchto/bare-stream | Holepunch |
45+
| bare-fs@4.0.1 | https://github.com/holepunchto/bare-fs | Holepunch |
46+
| bare-os@3.4.0 | https://github.com/holepunchto/bare-os | Holepunch |
47+
| bare-path@3.0.0 | https://github.com/holepunchto/bare-path | Holepunch |
48+
| bare-stream@2.6.5 | https://github.com/holepunchto/bare-stream | Holepunch |
4649
| bser@2.1.1 | https://github.com/facebook/watchman | Wez Furlong |
47-
| chromium-bidi@0.11.0 | https://github.com/GoogleChromeLabs/chromium-bidi | The Chromium Authors |
48-
| chromium-bidi@0.12.0 | https://github.com/GoogleChromeLabs/chromium-bidi | The Chromium Authors |
50+
| chromium-bidi@1.2.0 | https://github.com/GoogleChromeLabs/chromium-bidi | The Chromium Authors |
4951
| detect-libc@2.0.3 | https://github.com/lovell/detect-libc | Lovell Fuller |
50-
| docker-modem@5.0.3 | https://github.com/apocas/docker-modem | Pedro Dias |
51-
| dockerode@4.0.2 | https://github.com/apocas/dockerode | Pedro Dias |
52+
| docker-modem@5.0.6 | https://github.com/apocas/docker-modem | Pedro Dias |
53+
| dockerode@4.0.4 | https://github.com/apocas/dockerode | Pedro Dias |
5254
| ejs@3.1.10 | https://github.com/mde/ejs | Matthew Eernisse |
5355
| eslint-visitor-keys@3.4.3 | https://github.com/eslint/eslint-visitor-keys | Toru Nagashima |
5456
| eslint-visitor-keys@4.2.0 | https://github.com/eslint/js | Toru Nagashima |
@@ -57,22 +59,23 @@ This file shows all npm packages used in DockStatAPI (also Dev packages)
5759
| filelist@1.0.4 | https://github.com/mde/filelist | Matthew Eernisse |
5860
| human-signals@2.1.0 | https://github.com/ehmicky/human-signals | ehmicky |
5961
| jake@10.9.2 | https://github.com/jakejs/jake | Matthew Eernisse |
60-
| puppeteer-core@24.0.0 | https://github.com/puppeteer/puppeteer/tree/main/packages/puppeteer-core | The Chromium Authors |
61-
| puppeteer@24.0.0 | https://github.com/puppeteer/puppeteer/tree/main/packages/puppeteer | The Chromium Authors |
62+
| long@5.2.4 | https://github.com/dcodeIO/long.js | Daniel Wirtz |
63+
| puppeteer-core@24.2.0 | https://github.com/puppeteer/puppeteer/tree/main/packages/puppeteer-core | The Chromium Authors |
64+
| puppeteer@24.2.0 | https://github.com/puppeteer/puppeteer/tree/main/packages/puppeteer | The Chromium Authors |
6265
| sigstore@3.0.0 | https://github.com/sigstore/sigstore-js | bdehamer@github.com |
6366
| spdx-correct@3.2.0 | https://github.com/jslicense/spdx-correct.js | N/A |
64-
| swagger-ui-dist@5.18.2 | https://github.com/swagger-api/swagger-ui | N/A |
67+
| swagger-ui-dist@5.18.3 | https://github.com/swagger-api/swagger-ui | N/A |
6568
| text-decoder@1.2.3 | https://github.com/holepunchto/text-decoder | Holepunch |
6669
| tunnel-agent@0.6.0 | https://github.com/mikeal/tunnel-agent | Mikeal Rogers |
67-
| typescript@5.7.2 | https://github.com/microsoft/TypeScript | Microsoft Corp. |
70+
| typescript@5.7.3 | https://github.com/microsoft/TypeScript | Microsoft Corp. |
6871
| validate-npm-package-license@3.0.4 | https://github.com/kemitchell/validate-npm-package-license.js | Kyle E. Mitchell |
6972
| walker@1.0.8 | https://github.com/daaku/nodejs-walker | Naitik Shah |
7073

7174
### License: Artistic-2.0
7275

7376
| Name | Repository | Publisher |
7477
| ---------- | -------------------------- | ----------- |
75-
| npm@11.0.0 | https://github.com/npm/cli | GitHub Inc. |
78+
| npm@11.1.0 | https://github.com/npm/cli | GitHub Inc. |
7679

7780
### License: BlueOak-1.0.0
7881

@@ -94,7 +97,7 @@ This file shows all npm packages used in DockStatAPI (also Dev packages)
9497

9598
| Name | Repository | Publisher |
9699
| ------------------------- | -------------------------------------------- | ---------- |
97-
| caniuse-lite@1.0.30001690 | https://github.com/browserslist/caniuse-lite | Ben Briggs |
100+
| caniuse-lite@1.0.30001698 | https://github.com/browserslist/caniuse-lite | Ben Briggs |
98101

99102
### License: Python-2.0
100103

TODO.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
- [x] Structure code differently
88
- [x] Write new README and make the docs better
99
- [x] Update more files to correct TS syntax => remove "any"
10-
- [X] Websockets
10+
- [x] Websockets
1111
- [x] Better /api/status endpoint with connection status of each host
1212
- [x] Update notification service
1313
- [x] Adjust process.env variables since they don't really work as expected (See [commit](https://github.com/Its4Nik/dockstatapi/pull/21/commits/a03b58c7a17e269f46216df5492e18d008774961))
1414
- [ ] Better project structure
1515
- [x] Update logging => Better errors
1616
- [x] Update json responses
17-
- [X] Swagger update
17+
- [x] Swagger update
1818
- [ ] Edge case testing

__tests__/auth.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export const testPass = "123456789";
2-
import { Server } from 'http';
2+
import { Server } from "http";
33
import supertest from "supertest";
44
import { startServer } from "../src/utils/startServer";
55
import app from "../src/server";
@@ -35,4 +35,4 @@ describe("Authentication", () => {
3535
expect(res.status).toEqual(200);
3636
expect(res.type).toEqual(expect.stringContaining("json"));
3737
});
38-
});
38+
});

__tests__/config.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import supertest from "supertest";
22
import { startServer } from "../src/utils/startServer";
33
import app from "../src/server";
4-
import { Server } from 'http';
4+
import { Server } from "http";
55

66
const port = 13002;
77
const server = new Server(app);

__tests__/database.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import supertest from "supertest";
22
import { startServer } from "../src/utils/startServer";
33
import app from "../src/server";
4-
import { Server } from 'http';
4+
import { Server } from "http";
55

66
const port = 13003;
77
const server = new Server(app);

__tests__/frontend.spec.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import supertest from "supertest";
22
import { startServer } from "../src/utils/startServer";
33
import app from "../src/server";
4-
import { Server } from 'http';
4+
import { Server } from "http";
55

66
const port = 13004;
77
const server = new Server(app);
@@ -29,8 +29,6 @@ const verifiedResponse = [
2929
},
3030
];
3131

32-
33-
3432
describe("Test frontend specific configurations", () => {
3533
it(
3634
"Setup the configuration file",

__tests__/getters.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { createPreviousResponse } from "./util/previousResponse";
22
import supertest from "supertest";
33
import { startServer } from "../src/utils/startServer";
44
import app from "../src/server";
5-
import { Server } from 'http';
5+
import { Server } from "http";
66

77
const port = 13005;
88
const server = new Server(app);

src/handlers/graph.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ async function generateGraphJSON(
4949
id: id,
5050
label: `${container.name}\n${container.state.toUpperCase()}`,
5151
type: "container",
52-
parent: hostName,
5352
...otherContainerProps,
5453
},
5554
});

0 commit comments

Comments
 (0)