version-io 6.1.0 → 6.1.1

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,13 @@
1
+ 2026.02.03, v6.1.1
2
+
3
+ fix:
4
+ - b948ef1 version: no overrides
5
+
6
+ 2026.02.03, v6.1.1
7
+
8
+ fix:
9
+ - b948ef1 version: no overrides
10
+
1
11
  2026.02.02, v6.1.0
2
12
 
3
13
  feature:
package/lib/version.js CHANGED
@@ -4,15 +4,15 @@ import _writejson from 'writejson';
4
4
  import minor from 'minor';
5
5
  import {packageUp as _packageUp} from 'package-up';
6
6
 
7
- export const updateVersion = async (version, overrides) => {
8
- assert(version, 'version could not be empty!');
9
-
7
+ export const updateVersion = async (version, overrides = {}) => {
10
8
  const {
11
9
  packageUp = _packageUp,
12
10
  readjson = _readjson,
13
11
  writejson = _writejson,
14
12
  } = overrides;
15
13
 
14
+ assert(version, 'version could not be empty!');
15
+
16
16
  const name = await packageUp();
17
17
  const json = await readjson(name);
18
18
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "version-io",
3
- "version": "6.1.0",
3
+ "version": "6.1.1",
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.",