balena-cli 22.4.7 → 22.4.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -4,7 +4,63 @@ All notable changes to this project will be documented in this file
4
4
  automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY!
5
5
  This project adheres to [Semantic Versioning](http://semver.org/).
6
6
 
7
- ## 22.4.7 - 2025-09-18
7
+ ## 22.4.8 - 2025-09-22
8
+
9
+
10
+ <details>
11
+ <summary> Update balena-semver to 3.0.10 [Thodoris Greasidis] </summary>
12
+
13
+ > ### balena-semver-3.0.10 - 2025-08-22
14
+ >
15
+ > * Simplify automation of tests/docs by using the mocha cli [Pagan Gazzard]
16
+ > * Improve readability of README examples [Pagan Gazzard]
17
+ > * Enable linting for automation scripts [Pagan Gazzard]
18
+ >
19
+ > ### balena-semver-3.0.9 - 2025-08-22
20
+ >
21
+ > * Switch tsconfig module to `Node16`, remaining as commonjs [Pagan Gazzard]
22
+ >
23
+ > ### balena-semver-3.0.8 - 2025-08-22
24
+ >
25
+ > * Update dependencies [Pagan Gazzard]
26
+ >
27
+ > ### balena-semver-3.0.7 - 2025-06-07
28
+ >
29
+ > * Update dependency lint-staged to v16 [balena-renovate[bot]]
30
+ >
31
+ > ### balena-semver-3.0.6 - 2025-04-09
32
+ >
33
+ > * Update dependency husky to v9 [balena-renovate[bot]]
34
+ >
35
+ > ### balena-semver-3.0.5 - 2025-04-08
36
+ >
37
+ > * Update balena-lint to v9 [joshbwlng]
38
+ >
39
+ > ### balena-semver-3.0.4 - 2025-04-08
40
+ >
41
+ > * Update dependency jsdoc-to-markdown to v9 [balena-renovate[bot]]
42
+ >
43
+ > ### balena-semver-3.0.3 - 2025-04-02
44
+ >
45
+ > * Update dependency mocha to v11 [balena-renovate[bot]]
46
+ >
47
+ > ### balena-semver-3.0.2 - 2025-03-25
48
+ >
49
+ > * Update dependency @balena/lint to v8 [balena-renovate[bot]]
50
+ >
51
+ > ### balena-semver-3.0.1 - 2025-02-14
52
+ >
53
+ > * Fix parsing & incrementing semver parts > 1000 [Thodoris Greasidis]
54
+ >
55
+ > ### balena-semver-3.0.0 - 2023-12-12
56
+ >
57
+ > * Update dependencies [Thodoris Greasidis]
58
+ > * Drop support for nodejs < 16.0.0 [Thodoris Greasidis]
59
+ >
60
+
61
+ </details>
62
+
63
+ ## 22.4.7 - 2025-09-22
8
64
 
9
65
  * Switch runtime uses of `rimraf` to use the native equivalent [Pagan Gazzard]
10
66
 
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "balena-cli",
3
- "version": "22.4.7",
3
+ "version": "22.4.8",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "balena-cli",
9
- "version": "22.4.7",
9
+ "version": "22.4.8",
10
10
  "hasInstallScript": true,
11
11
  "license": "Apache-2.0",
12
12
  "dependencies": {
@@ -22,7 +22,7 @@
22
22
  "balena-image-fs": "^7.5.2",
23
23
  "balena-preload": "^18.0.5",
24
24
  "balena-sdk": "^22.1.0",
25
- "balena-semver": "^2.3.0",
25
+ "balena-semver": "^3.0.10",
26
26
  "balena-settings-client": "^5.0.2",
27
27
  "balena-settings-storage": "^8.1.0",
28
28
  "body-parser": "^1.19.1",
@@ -5703,9 +5703,10 @@
5703
5703
  }
5704
5704
  },
5705
5705
  "node_modules/@balena/compose/node_modules/tar-utils": {
5706
- "version": "3.0.2",
5707
- "resolved": "https://registry.npmjs.org/tar-utils/-/tar-utils-3.0.2.tgz",
5708
- "integrity": "sha512-UimIIz7AKMvSKPF09ma4QG++NKjeHL/IylmCXOWgCAaAikruR40PlbhfxDmWVM/JKwc4umHGSp65UFIeJ/5/Hw==",
5706
+ "version": "3.0.3",
5707
+ "resolved": "https://registry.npmjs.org/tar-utils/-/tar-utils-3.0.3.tgz",
5708
+ "integrity": "sha512-h8oVbcWVJlMIv/tQUfTQgmkT3m4FXNPoMrCHKLZrFAOieKZO8i8OM+OG8fxeH4vvOCL1hLscvyg80r690e7U4g==",
5709
+ "license": "Apache-2.0",
5709
5710
  "dependencies": {
5710
5711
  "tar-stream": "^3.1.6"
5711
5712
  },
@@ -5800,9 +5801,9 @@
5800
5801
  }
5801
5802
  },
5802
5803
  "node_modules/@balena/lint/node_modules/@eslint/js": {
5803
- "version": "9.35.0",
5804
- "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.35.0.tgz",
5805
- "integrity": "sha512-30iXE9whjlILfWobBkNerJo+TXYsgVM5ERQwMcMKCHckHflCmf7wXDAHlARoWnh0s1U72WqlbeyE7iAcCzuCPw==",
5804
+ "version": "9.36.0",
5805
+ "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.36.0.tgz",
5806
+ "integrity": "sha512-uhCbYtYynH30iZErszX78U+nR3pJU3RHGQ57NXy5QupD4SBVwDeU8TNBy+MjMngc1UyIW9noKqsRqfjQTBU2dw==",
5806
5807
  "dev": true,
5807
5808
  "license": "MIT",
5808
5809
  "engines": {
@@ -6075,9 +6076,9 @@
6075
6076
  }
6076
6077
  },
6077
6078
  "node_modules/@balena/lint/node_modules/eslint": {
6078
- "version": "9.35.0",
6079
- "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.35.0.tgz",
6080
- "integrity": "sha512-QePbBFMJFjgmlE+cXAlbHZbHpdFVS2E/6vzCy7aKlebddvl1vadiC4JFV5u/wqTkNUwEV8WrQi257jf5f06hrg==",
6079
+ "version": "9.36.0",
6080
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.36.0.tgz",
6081
+ "integrity": "sha512-hB4FIzXovouYzwzECDcUkJ4OcfOEkXTv2zRY6B9bkwjx/cprAq0uvm1nl7zvQ0/TsUk0zQiN4uPfJpB9m+rPMQ==",
6081
6082
  "dev": true,
6082
6083
  "license": "MIT",
6083
6084
  "dependencies": {
@@ -6087,7 +6088,7 @@
6087
6088
  "@eslint/config-helpers": "^0.3.1",
6088
6089
  "@eslint/core": "^0.15.2",
6089
6090
  "@eslint/eslintrc": "^3.3.1",
6090
- "@eslint/js": "9.35.0",
6091
+ "@eslint/js": "9.36.0",
6091
6092
  "@eslint/plugin-kit": "^0.3.5",
6092
6093
  "@humanfs/node": "^0.16.6",
6093
6094
  "@humanwhocodes/module-importer": "^1.0.1",
@@ -12135,6 +12136,21 @@
12135
12136
  "node": ">=20.6.0"
12136
12137
  }
12137
12138
  },
12139
+ "node_modules/balena-device-init/node_modules/balena-semver": {
12140
+ "version": "2.3.5",
12141
+ "resolved": "https://registry.npmjs.org/balena-semver/-/balena-semver-2.3.5.tgz",
12142
+ "integrity": "sha512-nsLg3TH9/mzjeCmUHdrx7jqcfRN3WD0QE5AcanxhcZ69equkU9eX6EDh860CkJHaGpsaO6fA5H650YHxsg6F4A==",
12143
+ "license": "Apache-2.0",
12144
+ "dependencies": {
12145
+ "@types/lodash": "^4.14.149",
12146
+ "@types/semver": "^7.1.0",
12147
+ "lodash": "^4.17.15",
12148
+ "semver": "^7.1.3"
12149
+ },
12150
+ "engines": {
12151
+ "node": ">=10"
12152
+ }
12153
+ },
12138
12154
  "node_modules/balena-device-init/node_modules/string-to-stream": {
12139
12155
  "version": "1.1.1",
12140
12156
  "resolved": "https://registry.npmjs.org/string-to-stream/-/string-to-stream-1.1.1.tgz",
@@ -12170,21 +12186,6 @@
12170
12186
  "node": ">=18.0"
12171
12187
  }
12172
12188
  },
12173
- "node_modules/balena-hup-action-utils/node_modules/balena-semver": {
12174
- "version": "3.0.10",
12175
- "resolved": "https://registry.npmjs.org/balena-semver/-/balena-semver-3.0.10.tgz",
12176
- "integrity": "sha512-1zg0UY3O+eJ7L1Xb1trHYldMwtHZttn7sRZoZItfKYbQ3l56BbnTDi/fbOmfe5TerLhNhpdO32N0olLY4smy5g==",
12177
- "license": "Apache-2.0",
12178
- "dependencies": {
12179
- "@types/lodash": "^4.17.20",
12180
- "@types/semver": "^7.7.0",
12181
- "lodash": "^4.17.21",
12182
- "semver": "^7.7.2"
12183
- },
12184
- "engines": {
12185
- "node": ">=16"
12186
- }
12187
- },
12188
12189
  "node_modules/balena-image-fs": {
12189
12190
  "version": "7.5.2",
12190
12191
  "resolved": "https://registry.npmjs.org/balena-image-fs/-/balena-image-fs-7.5.2.tgz",
@@ -12295,21 +12296,6 @@
12295
12296
  "node": "^20.12.0 || >= 22.0.0"
12296
12297
  }
12297
12298
  },
12298
- "node_modules/balena-sdk/node_modules/balena-semver": {
12299
- "version": "3.0.10",
12300
- "resolved": "https://registry.npmjs.org/balena-semver/-/balena-semver-3.0.10.tgz",
12301
- "integrity": "sha512-1zg0UY3O+eJ7L1Xb1trHYldMwtHZttn7sRZoZItfKYbQ3l56BbnTDi/fbOmfe5TerLhNhpdO32N0olLY4smy5g==",
12302
- "license": "Apache-2.0",
12303
- "dependencies": {
12304
- "@types/lodash": "^4.17.20",
12305
- "@types/semver": "^7.7.0",
12306
- "lodash": "^4.17.21",
12307
- "semver": "^7.7.2"
12308
- },
12309
- "engines": {
12310
- "node": ">=16"
12311
- }
12312
- },
12313
12299
  "node_modules/balena-sdk/node_modules/date-fns": {
12314
12300
  "version": "3.6.0",
12315
12301
  "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-3.6.0.tgz",
@@ -12333,17 +12319,18 @@
12333
12319
  }
12334
12320
  },
12335
12321
  "node_modules/balena-semver": {
12336
- "version": "2.3.5",
12337
- "resolved": "https://registry.npmjs.org/balena-semver/-/balena-semver-2.3.5.tgz",
12338
- "integrity": "sha512-nsLg3TH9/mzjeCmUHdrx7jqcfRN3WD0QE5AcanxhcZ69equkU9eX6EDh860CkJHaGpsaO6fA5H650YHxsg6F4A==",
12322
+ "version": "3.0.10",
12323
+ "resolved": "https://registry.npmjs.org/balena-semver/-/balena-semver-3.0.10.tgz",
12324
+ "integrity": "sha512-1zg0UY3O+eJ7L1Xb1trHYldMwtHZttn7sRZoZItfKYbQ3l56BbnTDi/fbOmfe5TerLhNhpdO32N0olLY4smy5g==",
12325
+ "license": "Apache-2.0",
12339
12326
  "dependencies": {
12340
- "@types/lodash": "^4.14.149",
12341
- "@types/semver": "^7.1.0",
12342
- "lodash": "^4.17.15",
12343
- "semver": "^7.1.3"
12327
+ "@types/lodash": "^4.17.20",
12328
+ "@types/semver": "^7.7.0",
12329
+ "lodash": "^4.17.21",
12330
+ "semver": "^7.7.2"
12344
12331
  },
12345
12332
  "engines": {
12346
- "node": ">=10"
12333
+ "node": ">=16"
12347
12334
  }
12348
12335
  },
12349
12336
  "node_modules/balena-settings-client": {
@@ -365,56 +365,6 @@
365
365
  "index.js"
366
366
  ]
367
367
  },
368
- "block:create": {
369
- "aliases": [],
370
- "args": {
371
- "name": {
372
- "description": "block name",
373
- "name": "name",
374
- "required": true
375
- }
376
- },
377
- "description": "Create an block.\n\nCreate a new balena block.\n\nYou can specify the organization the block should belong to using\nthe `--organization` option. The organization's handle, not its name,\nshould be provided. Organization handles can be listed with the\n`balena organization list` command.\n\nThe block's default device type is specified with the `--type` option.\nThe `balena device-type list` command can be used to list the available\ndevice types.\n\nInteractive dropdowns will be shown for selection if no device type or\norganization is specified and there are multiple options to choose from.\nIf there is a single option to choose from, it will be chosen automatically.\nThis interactive behavior can be disabled by explicitly specifying a device\ntype and organization.",
378
- "examples": [
379
- "$ balena block create MyBlock",
380
- "$ balena block create MyBlock --organization mmyorg",
381
- "$ balena block create MyBlock -o myorg --type raspberry-pi"
382
- ],
383
- "flags": {
384
- "organization": {
385
- "char": "o",
386
- "description": "handle of the organization the block should belong to",
387
- "name": "organization",
388
- "hasDynamicHelp": false,
389
- "multiple": false,
390
- "type": "option"
391
- },
392
- "type": {
393
- "char": "t",
394
- "description": "block device type (Check available types with `balena device-type list`)",
395
- "name": "type",
396
- "hasDynamicHelp": false,
397
- "multiple": false,
398
- "type": "option"
399
- }
400
- },
401
- "hasDynamicHelp": false,
402
- "hiddenAliases": [],
403
- "id": "block:create",
404
- "pluginAlias": "balena-cli",
405
- "pluginName": "balena-cli",
406
- "pluginType": "core",
407
- "strict": true,
408
- "enableJsonFlag": false,
409
- "authenticated": true,
410
- "isESM": false,
411
- "relativePath": [
412
- "build",
413
- "commands",
414
- "block",
415
- "create.js"
416
- ]
417
- },
418
368
  "config:generate": {
419
369
  "aliases": [],
420
370
  "args": {},
@@ -765,6 +715,56 @@
765
715
  "write.js"
766
716
  ]
767
717
  },
718
+ "block:create": {
719
+ "aliases": [],
720
+ "args": {
721
+ "name": {
722
+ "description": "block name",
723
+ "name": "name",
724
+ "required": true
725
+ }
726
+ },
727
+ "description": "Create an block.\n\nCreate a new balena block.\n\nYou can specify the organization the block should belong to using\nthe `--organization` option. The organization's handle, not its name,\nshould be provided. Organization handles can be listed with the\n`balena organization list` command.\n\nThe block's default device type is specified with the `--type` option.\nThe `balena device-type list` command can be used to list the available\ndevice types.\n\nInteractive dropdowns will be shown for selection if no device type or\norganization is specified and there are multiple options to choose from.\nIf there is a single option to choose from, it will be chosen automatically.\nThis interactive behavior can be disabled by explicitly specifying a device\ntype and organization.",
728
+ "examples": [
729
+ "$ balena block create MyBlock",
730
+ "$ balena block create MyBlock --organization mmyorg",
731
+ "$ balena block create MyBlock -o myorg --type raspberry-pi"
732
+ ],
733
+ "flags": {
734
+ "organization": {
735
+ "char": "o",
736
+ "description": "handle of the organization the block should belong to",
737
+ "name": "organization",
738
+ "hasDynamicHelp": false,
739
+ "multiple": false,
740
+ "type": "option"
741
+ },
742
+ "type": {
743
+ "char": "t",
744
+ "description": "block device type (Check available types with `balena device-type list`)",
745
+ "name": "type",
746
+ "hasDynamicHelp": false,
747
+ "multiple": false,
748
+ "type": "option"
749
+ }
750
+ },
751
+ "hasDynamicHelp": false,
752
+ "hiddenAliases": [],
753
+ "id": "block:create",
754
+ "pluginAlias": "balena-cli",
755
+ "pluginName": "balena-cli",
756
+ "pluginType": "core",
757
+ "strict": true,
758
+ "enableJsonFlag": false,
759
+ "authenticated": true,
760
+ "isESM": false,
761
+ "relativePath": [
762
+ "build",
763
+ "commands",
764
+ "block",
765
+ "create.js"
766
+ ]
767
+ },
768
768
  "deploy": {
769
769
  "aliases": [],
770
770
  "args": {
@@ -4173,6 +4173,30 @@
4173
4173
  "validate.js"
4174
4174
  ]
4175
4175
  },
4176
+ "settings": {
4177
+ "aliases": [],
4178
+ "args": {},
4179
+ "description": "Print current settings.\n\nUse this command to display the current balena CLI settings.",
4180
+ "examples": [
4181
+ "$ balena settings"
4182
+ ],
4183
+ "flags": {},
4184
+ "hasDynamicHelp": false,
4185
+ "hiddenAliases": [],
4186
+ "id": "settings",
4187
+ "pluginAlias": "balena-cli",
4188
+ "pluginName": "balena-cli",
4189
+ "pluginType": "core",
4190
+ "strict": true,
4191
+ "enableJsonFlag": false,
4192
+ "isESM": false,
4193
+ "relativePath": [
4194
+ "build",
4195
+ "commands",
4196
+ "settings",
4197
+ "index.js"
4198
+ ]
4199
+ },
4176
4200
  "release-asset:delete": {
4177
4201
  "aliases": [],
4178
4202
  "args": {
@@ -4389,30 +4413,6 @@
4389
4413
  "upload.js"
4390
4414
  ]
4391
4415
  },
4392
- "settings": {
4393
- "aliases": [],
4394
- "args": {},
4395
- "description": "Print current settings.\n\nUse this command to display the current balena CLI settings.",
4396
- "examples": [
4397
- "$ balena settings"
4398
- ],
4399
- "flags": {},
4400
- "hasDynamicHelp": false,
4401
- "hiddenAliases": [],
4402
- "id": "settings",
4403
- "pluginAlias": "balena-cli",
4404
- "pluginName": "balena-cli",
4405
- "pluginType": "core",
4406
- "strict": true,
4407
- "enableJsonFlag": false,
4408
- "isESM": false,
4409
- "relativePath": [
4410
- "build",
4411
- "commands",
4412
- "settings",
4413
- "index.js"
4414
- ]
4415
- },
4416
4416
  "ssh-key:add": {
4417
4417
  "aliases": [
4418
4418
  "key add"
@@ -4937,5 +4937,5 @@
4937
4937
  ]
4938
4938
  }
4939
4939
  },
4940
- "version": "22.4.7"
4940
+ "version": "22.4.8"
4941
4941
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "balena-cli",
3
- "version": "22.4.7",
3
+ "version": "22.4.8",
4
4
  "description": "The official balena Command Line Interface",
5
5
  "main": "./build/app.js",
6
6
  "homepage": "https://github.com/balena-io/balena-cli",
@@ -184,7 +184,7 @@
184
184
  "balena-image-fs": "^7.5.2",
185
185
  "balena-preload": "^18.0.5",
186
186
  "balena-sdk": "^22.1.0",
187
- "balena-semver": "^2.3.0",
187
+ "balena-semver": "^3.0.10",
188
188
  "balena-settings-client": "^5.0.2",
189
189
  "balena-settings-storage": "^8.1.0",
190
190
  "body-parser": "^1.19.1",
@@ -256,6 +256,6 @@
256
256
  "balena-request": "14.0.6"
257
257
  },
258
258
  "versionist": {
259
- "publishedAt": "2025-09-18T13:29:01.827Z"
259
+ "publishedAt": "2025-09-22T07:52:56.018Z"
260
260
  }
261
261
  }