@inboxapi/cli 0.2.13 → 0.2.15
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/index.js +3 -8
- package/package.json +9 -6
package/index.js
CHANGED
|
@@ -31,14 +31,9 @@ function checkForUpdates() {
|
|
|
31
31
|
const remote = JSON.parse(data);
|
|
32
32
|
const remoteVersion = remote.version;
|
|
33
33
|
if (remoteVersion && compareVersions(localVersion, remoteVersion) < 0) {
|
|
34
|
-
process.stderr.write(
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
detached: true,
|
|
38
|
-
shell: process.platform === 'win32',
|
|
39
|
-
});
|
|
40
|
-
child.unref();
|
|
41
|
-
process.stderr.write(`[inboxapi] Update installing in background. Restart to use new version.\n`);
|
|
34
|
+
process.stderr.write(
|
|
35
|
+
`[inboxapi] Update available: ${localVersion} → ${remoteVersion}. Run: npm install -g @inboxapi/cli@${remoteVersion}\n`
|
|
36
|
+
);
|
|
42
37
|
}
|
|
43
38
|
} catch {}
|
|
44
39
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inboxapi/cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.15",
|
|
4
4
|
"description": "📧 Email for your AI 🤖",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -27,10 +27,13 @@
|
|
|
27
27
|
"test": "cargo test"
|
|
28
28
|
},
|
|
29
29
|
"optionalDependencies": {
|
|
30
|
-
"@inboxapi/cli-darwin-arm64": "0.2.
|
|
31
|
-
"@inboxapi/cli-darwin-x64": "0.2.
|
|
32
|
-
"@inboxapi/cli-linux-
|
|
33
|
-
"@inboxapi/cli-linux-
|
|
34
|
-
"@inboxapi/cli-win32-x64": "0.2.
|
|
30
|
+
"@inboxapi/cli-darwin-arm64": "0.2.15",
|
|
31
|
+
"@inboxapi/cli-darwin-x64": "0.2.15",
|
|
32
|
+
"@inboxapi/cli-linux-arm64": "0.2.15",
|
|
33
|
+
"@inboxapi/cli-linux-x64": "0.2.15",
|
|
34
|
+
"@inboxapi/cli-win32-x64": "0.2.15"
|
|
35
|
+
},
|
|
36
|
+
"dependencies": {
|
|
37
|
+
"@inboxapi/cli": "^0.2.15"
|
|
35
38
|
}
|
|
36
39
|
}
|