@nomad-e/bluma-cli 0.0.24 → 0.0.25
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/dist/main.js +5 -1
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -2518,8 +2518,12 @@ async function checkForUpdates() {
|
|
|
2518
2518
|
shouldNotifyInNpmScript: true
|
|
2519
2519
|
});
|
|
2520
2520
|
if (notifier.update && !isCI) {
|
|
2521
|
-
|
|
2521
|
+
const cur = notifier.update.current;
|
|
2522
|
+
const lat = notifier.update.latest;
|
|
2523
|
+
if (cur && lat && cur !== lat) {
|
|
2524
|
+
return `Update available for ${pkg.name}! ${cur} \u2192 ${lat}
|
|
2522
2525
|
Run npm i -g ${pkg.name} to update.`;
|
|
2526
|
+
}
|
|
2523
2527
|
}
|
|
2524
2528
|
return null;
|
|
2525
2529
|
} catch (e) {
|