update-notifier
update-notifier copied to clipboard
Update notifications for your CLI app
Is it possible to restore the v5 class export? `module.exports.UpdateNotifier = UpdateNotifier;`
I don't have a Linux VM, so I'm not able to debug. Tests pass on macOS.
Add a option to add ChangeLog message in default message. Example : ``` ╭──────────────────────────────────╮ │ │ │ Update available 0.9.2 → 1.2.0 │ │ Changelog: https://github.com/sindresorhus/public-ip/releases/tag/v1.2.0 │ │ Run npm...
The `pkg` option must be set with the package's `package.json`. However this does not work well with ES imports. At the moment, importing JSON files with ES imports is still...
[Spec for reference](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html) Currently, any package that uses `update-notifier` results in an `update-notifier-.json` being put in `$XDG_CONFIG_HOME`. As someone who symlinks my `$XDG_CONFIG_HOME` into my dotfiles repository, this leads to...
> Not a big fan [of lazy loading], but I've seen `update-notifier` as a require time offender when profiling various things. The idea of update-notifier is that it should have...
As of 5.1.0, notifications are displayed at most once per interval period, because the fetched update is deleted once "emitted" (ie set to `this.update`) ```js this.update = this.config.get('update'); if (this.update)...
### System Information - **OS:** macOS Catalina 10.15.7 (19H15) - **Package Version:** ^5.0.1 - **Command Output:** 3.1.1 /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Users/vinaysharma/Library/Android/sdk/emulator:/Users/vinaysharma/Library/Android/sdk/tools:/Users/vinaysharma/Library/Android/sdk/tools/bin:/Users/vinaysharma/Library/Android/sdk/platform-tools:/Users/vinaysharma/Development/flutter/bin:/Users/vinaysharma/Library/Android/sdk/emulator:/Users/vinaysharma/Library/Android/sdk/tools:/Users/vinaysharma/Library/Android/sdk/tools/bin:/Users/vinaysharma/Library/Android/sdk/platform-tools:/Users/vinaysharma/Development/flutter/bin darwin { node: '14.15.3', v8: '8.4.371.19-node.17', uv: '1.40.0', zlib: '1.2.11', brotli: '1.0.9',...
It took me half a day to realize the https://github.com/vuejs/vue-cli or https://github.com/raineorshine/npm-check-updates is very slow because update-notifier has no proxy support (and i am sitting behind a corporate firewall). Looks...
Hello :) **context** I would like to use `update-notifier` in https://github.com/strapi/strapi in order to ask users of strapi to update their local package. **Issue** In the case the user has...