aneka 0.7.1 → 0.7.2

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/CHANGES.md CHANGED
@@ -11,6 +11,7 @@
11
11
  - [0.6.0] Add ```parseDuration()```
12
12
  - [0.7.0] Add ```parseObject()```
13
13
  - [0.7.1] Bug fix in ```parseObject()```
14
+ - [0.7.2] Bug fix in ```parseArgsArgv()```
14
15
 
15
16
  ## 2025-12-11
16
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aneka",
3
- "version": "0.7.1",
3
+ "version": "0.7.2",
4
4
  "description": "Some usefull function helper for daily use",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -26,7 +26,7 @@ async function parseWithParser () {
26
26
  }
27
27
 
28
28
  async function parseWithYargs () {
29
- const pkgFile = `${process.cwd}/package.json`
29
+ const pkgFile = `${process.cwd()}/package.json`
30
30
  const pkg = JSON.parse(fs.readFileSync(pkgFile, 'utf8'))
31
31
  let name = `node ${pkg.main}`
32
32
  if (pkg.bin) name = path.basename(pkg.bin, '.js')