Commit Graph

4676 Commits

Author SHA1 Message Date
Felipe Lalanne
6f02b17968 Refactor MDNS resolver into a module
Also add integration tests for the resolver functionality to prevent
regressions.

Change-type: patch
2024-04-23 19:23:32 -04:00
Felipe Lalanne
ad52561de5 Fix mdnsResolver import
The `mdns-resolver` module does not provide a default export. Trying to
use a default import notation, causes the `resolve` function to not be
found, breaking MDNS resolution.

Change-type: patch
2024-04-23 19:23:32 -04:00
flowzone-app[bot]
60be0c35a6
v16.2.28 2024-04-23 20:19:17 +00:00
flowzone-app[bot]
561804a364
Merge pull request #2309 from balena-os/handle-multiple-shutdowns
Gracefully handle multiple reboot/shutdown requests
2024-04-23 20:18:13 +00:00
Christina Ying Wang
14bdc522c1 Gracefully handle multiple reboot/shutdown requests
Since HTTP's server.close() is async, there is a slim chance
for two instances of /v1/reboot or /v1/shutdown to be processed.
If the server is already closed when server.close() is called,
the call throws ERR_SERVER_NOT_RUNNING
which doesn't need to be surfaced to the user. This change
only allows one server.close() attempt to occur at a time.

Change-type: patch
Signed-off-by: Christina Ying Wang <christina@balena.io>
2024-04-23 12:59:44 -07:00
flowzone-app[bot]
9592912f4c
v16.2.27 2024-04-23 19:33:09 +00:00
Page-
0705f47fd9
Merge pull request #2307 from balena-os/renovate/major-ts-node
Update ts-node to v10
2024-04-23 20:31:55 +01:00
Self-hosted Renovate Bot
d14824f2fd Update ts-node to v10
Update ts-node from 8.10.2 to 10.9.2

Change-type: patch
2024-04-23 19:08:59 +00:00
flowzone-app[bot]
7641766f2e
v16.2.26 2024-04-23 18:58:32 +00:00
flowzone-app[bot]
dee1833307
Merge pull request #2310 from balena-os/update-dependencies-node-20
Update dependencies node 20
2024-04-23 18:57:29 +00:00
Christina Ying Wang
8ebb266638 Remove unnecessary @types packages
Change-type: patch
Signed-off-by: Christina Ying Wang <christina@balena.io>
2024-04-22 23:31:37 -07:00
Christina Ying Wang
17a7e60506 Update knex to 3.1.0
Change-type: patch
Signed-off-by: Christina Ying Wang <christina@balena.io>
2024-04-22 23:31:37 -07:00
Christina Ying Wang
77f6f17042 Update json-mask to 2.0.0
Change-type: patch
Signed-off-by: Christina Ying Wang <christina@balena.io>
2024-04-22 23:31:37 -07:00
Christina Ying Wang
f3809dccfb Update lint-staged to 15.2.2
Change-type: patch
Signed-off-by: Christina Ying Wang <christina@balena.io>
2024-04-22 23:31:33 -07:00
Christina Ying Wang
9ca027ad48 Update mocha-pod to 2.0.5
Change-type: patch
Signed-off-by: Christina Ying Wang <christina@balena.io>
2024-04-22 19:15:18 -07:00
Christina Ying Wang
7c423958ea Update mocha to 10.4.0
Change-type: patch
Signed-off-by: Christina Ying Wang <christina@balena.io>
2024-04-22 19:04:45 -07:00
Christina Ying Wang
5d6a735141 Update rewire to 7, @balena/lint to 8
Change-type: patch
Signed-off-by: Christina Ying Wang <christina@balena.io>
2024-04-22 18:05:24 -07:00
Christina Ying Wang
d887809494 Update nodemon to 3.1.0
Change-type: patch
Signed-off-by: Christina Ying Wang <christina@balena.io>
2024-04-22 17:08:24 -07:00
Christina Ying Wang
bd26d88770 Update sinon to 17
Change-type: patch
Signed-off-by: Christina Ying Wang <christina@balena.io>
2024-04-22 15:08:56 -07:00
Christina Ying Wang
7bb5900649 Update systeminformation to 5.22.7
Change-type: patch
Signed-off-by: Christina Ying Wang <christina@balena.io>
2024-04-22 12:03:40 -07:00
flowzone-app[bot]
4eede9f1fd
v16.2.25 2024-04-19 15:46:49 +00:00
Page-
c88d2349b4
Merge pull request #2298 from balena-os/renovate/major-copy-webpack-plugin
Update copy-webpack-plugin to v12
2024-04-19 16:45:59 +01:00
Self-hosted Renovate Bot
dde0e86a1a Update copy-webpack-plugin to v12
Update copy-webpack-plugin from 11.0.0 to 12.0.2

Change-type: patch
2024-04-19 15:09:43 +00:00
flowzone-app[bot]
cdb9687c81
v16.2.24 2024-04-19 14:55:54 +00:00
Page-
8cb4495802
Merge pull request #2293 from balena-os/renovate/major-webpack-cli
Update webpack-cli to v5
2024-04-19 15:55:03 +01:00
Self-hosted Renovate Bot
00f1610870 Update webpack-cli to v5
Update webpack-cli from 4.10.0 to 5.1.4

Change-type: patch
2024-04-19 14:11:21 +00:00
flowzone-app[bot]
02ac59802a
v16.2.23 2024-04-19 13:34:17 +00:00
Page-
bdfdf7de9c
Merge pull request #2295 from balena-os/renovate/major-got
Update got to v14
2024-04-19 14:33:23 +01:00
Self-hosted Renovate Bot
148ba6e0c3 Update got to v14
Update got from 12.6.1 to 14.2.1

Change-type: patch
2024-04-19 13:09:47 +00:00
flowzone-app[bot]
ed8d48a5bd
v16.2.22 2024-04-19 12:25:24 +00:00
Page-
b8a1d52307
Merge pull request #2287 from balena-os/renovate/major-supertest
Update @types/supertest to v6
2024-04-19 13:24:22 +01:00
Self-hosted Renovate Bot
e24691fa63 Update @types/supertest to v6
Update @types/supertest from 2.0.12 to 6.0.2

Change-type: patch
2024-04-18 03:09:21 +00:00
flowzone-app[bot]
2ec9308eb5
v16.2.21 2024-04-18 02:44:41 +00:00
Page-
5f09bf03d5
Merge pull request #2285 from balena-os/remove-unused-tmp-dep
Remove unused `tmp` dependency
2024-04-18 03:43:36 +01:00
Pagan Gazzard
12cc8eb91b Remove unused tmp dependency
Change-type: patch
2024-04-17 10:27:52 -07:00
flowzone-app[bot]
ce4f1dd57f
v16.2.20 2024-04-17 15:39:20 +00:00
Page-
2d316e0d4b
Merge pull request #2291 from balena-os/renovate/major-rimraf
Update rimraf (major)
2024-04-17 16:38:26 +01:00
Self-hosted Renovate Bot
5e5a803e26 Update rimraf
Update @types/rimraf from 2.0.5 to 4.0.5

Change-type: patch
2024-04-17 15:10:01 +00:00
flowzone-app[bot]
f41753ed7d
v16.2.19 2024-04-17 14:38:51 +00:00
balena-renovate[bot]
ecd24786de
Merge pull request #2286 from balena-os/renovate/semver
Update semver to v7.6.0
2024-04-17 14:37:55 +00:00
Self-hosted Renovate Bot
52268d83fa Update semver to v7.6.0
Update semver from 7.5.4 to 7.6.0

Change-type: patch
2024-04-17 14:08:57 +00:00
flowzone-app[bot]
41a4bf241a
v16.2.18 2024-04-15 21:29:55 +00:00
balena-renovate[bot]
581d27f98f
Merge pull request #2282 from balena-os/renovate/patch-event-stream
Update event-stream to v3.3.5
2024-04-15 21:29:02 +00:00
Self-hosted Renovate Bot
36e0fed219 Update event-stream to v3.3.5
Update event-stream from 3.3.4 to 3.3.5

Change-type: patch
2024-04-15 21:10:00 +00:00
flowzone-app[bot]
0d4a8563e8
v16.2.17 2024-04-15 20:57:07 +00:00
flowzone-app[bot]
c1d3246eb4
Merge pull request #2271 from balena-os/update-lock-lockOverride-tests
Add additional update lock tests for lockOverride & force
2024-04-15 20:56:11 +00:00
Christina Ying Wang
57207c3539 Add additional update lock tests for lockOverride & force
Change-type: patch
Signed-off-by: Christina Ying Wang <christina@balena.io>
2024-04-15 14:46:44 -04:00
flowzone-app[bot]
0ca7896691
v16.2.16 2024-04-15 16:33:22 +00:00
balena-renovate[bot]
d5ea87e01c
Merge pull request #2281 from balena-os/renovate/patch-chai-things
Update @types/chai-things to v0.0.38
2024-04-15 16:32:22 +00:00
Self-hosted Renovate Bot
28d5830671 Update @types/chai-things to v0.0.38
Update @types/chai-things from 0.0.35 to 0.0.38

Change-type: patch
2024-04-15 16:09:35 +00:00