u2a 3.4.10 → 3.4.12
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/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "u2a",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.12",
|
|
4
4
|
"description": "URL to App - Turn any URL into a desktop application",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"bin": {
|
|
7
|
-
"u2a": "
|
|
7
|
+
"u2a": "src/index.js"
|
|
8
8
|
},
|
|
9
9
|
"scripts": {
|
|
10
10
|
"start": "node src/index.js"
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"homepage": "https://urltoapp.xyz",
|
|
36
36
|
"repository": {
|
|
37
37
|
"type": "git",
|
|
38
|
-
"url": "https://github.com/url2app/urltoapp"
|
|
38
|
+
"url": "git+https://github.com/url2app/urltoapp.git"
|
|
39
39
|
},
|
|
40
40
|
"bugs": {
|
|
41
41
|
"url": "https://github.com/url2app/urltoapp/issues"
|
|
@@ -16,10 +16,10 @@ async function checkVersion(silent = false) {
|
|
|
16
16
|
logger.debug(`Version retrived: ${latestVersion}`);
|
|
17
17
|
|
|
18
18
|
const needsUpdate = compareVersions(version, latestVersion) <= 0;
|
|
19
|
-
logger.debug(`Needsupdate: ${needsUpdate}`);
|
|
20
19
|
|
|
21
20
|
if (!silent && needsUpdate && latestVersion !== version) {
|
|
22
|
-
logger.
|
|
21
|
+
logger.debug(`New update available: ${latestVersion}`);
|
|
22
|
+
logger.warn(`A new update (${latestVersion}) is available ! Current version: ${version}`);
|
|
23
23
|
logger.warn(`Update u2a with: npm install -g u2a@${latestVersion}`);
|
|
24
24
|
}
|
|
25
25
|
|