version-io 6.1.2 → 6.2.0

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 CHANGED
@@ -1,3 +1,14 @@
1
+ 2026.08.22, v6.2.0
2
+
3
+ feature:
4
+ - b22a47f unknown argument
5
+ - 3901d9f version-io: superc8 vundefined
6
+ - 44f3a56 version-io: supertape v13.5.1
7
+ - 1157766 version-io: superc8 v12.7.0
8
+ - 11d7fab version-io: madrun v13.0.4
9
+ - 3ff07e6 version-io: eslint-plugin-putout v31.4.2
10
+ - 2bf59d4 version-io: eslint v10.0.0
11
+
1
12
  2026.02.03, v6.1.2
2
13
 
3
14
  fix:
package/bin/version.js CHANGED
@@ -16,6 +16,11 @@ if (/^(-v|--version)$/.test(arg))
16
16
  process.exit();
17
17
 
18
18
  if (arg && !isExtended) {
19
+ if (arg.startsWith('-')) {
20
+ console.error(`Unknown argument: '${arg}'`);
21
+ process.exit(1);
22
+ }
23
+
19
24
  const [e, data] = await tryToCatch(updateVersion, arg);
20
25
 
21
26
  if (e)
@@ -41,6 +46,7 @@ if (!error) {
41
46
  }
42
47
 
43
48
  const {codeFrameColumns} = await import('@putout/babel');
49
+
44
50
  const result = stringify({
45
51
  version: info.version,
46
52
  engines: info.engines,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "version-io",
3
- "version": "6.1.2",
3
+ "version": "6.2.0",
4
4
  "type": "module",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "Semantic versioning tool. Apply major, minor, patch and version to package.json.",
@@ -26,12 +26,12 @@
26
26
  },
27
27
  "license": "MIT",
28
28
  "devDependencies": {
29
- "c8": "^10.1.3",
30
- "eslint": "^9.23.0",
31
- "eslint-plugin-putout": "^30.0.2",
32
- "madrun": "^12.1.3",
33
- "putout": "^41.16.0",
34
- "supertape": "^12.2.0"
29
+ "eslint": "^10.0.0",
30
+ "eslint-plugin-putout": "^31.4.2",
31
+ "madrun": "^13.0.4",
32
+ "putout": "^42.11.0",
33
+ "superc8": "^12.7.0",
34
+ "supertape": "^13.5.1"
35
35
  },
36
36
  "scripts": {
37
37
  "test": "madrun test",