corifeus-utils 2024.4.106 → 2024.4.108

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/LICENSE CHANGED
@@ -1,5 +1,5 @@
1
1
 
2
- @license corifeus-utils v2024.4.105
2
+ @license corifeus-utils v2024.4.107
3
3
 
4
4
  ❤️ Corifeus Utils
5
5
 
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
 
8
8
 
9
9
  ---
10
- # ❤️ Corifeus Utils v2024.4.106
10
+ # ❤️ Corifeus Utils v2024.4.108
11
11
 
12
12
 
13
13
 
@@ -127,7 +127,7 @@ All my domains ([patrikx3.com](https://patrikx3.com) and [corifeus.com](https://
127
127
 
128
128
  ---
129
129
 
130
- [**CORIFEUS-UTILS**](https://corifeus.com/corifeus-utils) Build v2024.4.106
130
+ [**CORIFEUS-UTILS**](https://corifeus.com/corifeus-utils) Build v2024.4.108
131
131
 
132
132
  [![Donate for Corifeus / P3X](https://img.shields.io/badge/Donate-Corifeus-003087.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6) [![Contact Corifeus / P3X](https://img.shields.io/badge/Contact-P3X-ff9900.svg)](https://www.patrikx3.com/en/front/contact) [![Like Corifeus @ Facebook](https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg)](https://www.facebook.com/corifeus.software)
133
133
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "corifeus-utils",
3
- "version": "2024.4.106",
3
+ "version": "2024.4.108",
4
4
  "corifeus": {
5
5
  "icon": "far fa-lightbulb",
6
6
  "code": "Memory",
@@ -36,7 +36,7 @@
36
36
  },
37
37
  "homepage": "https://corifeus.com/corifeus-utils",
38
38
  "devDependencies": {
39
- "corifeus-builder": "^2024.4.103",
39
+ "corifeus-builder": "^2024.4.106",
40
40
  "istanbul": "^0.4.5"
41
41
  },
42
42
  "peerDependencies": {
package/src/snap.js CHANGED
@@ -1,6 +1,6 @@
1
1
  module.exports.getVersion = async ({ pkg }) => {
2
2
  const result = await require('./child-process').exec(`snapcraft status ${pkg.name}`)
3
- let snapVersion = result.stdout.split('\n')[3].trim().split(' ')
4
- snapVersion = snapVersion[snapVersion.length - 1]
3
+ let snapVersion = result.stdout.split('\n')[1].trim().split(/\s+/)
4
+ snapVersion = snapVersion[snapVersion.length - 3]
5
5
  return snapVersion
6
6
  }