Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
electron-update-notifier
Advanced tools
Changelog
1.7.0
axios
to v1.xReadme
Notify user about new app updates by fetching release from Github repository.
update-electron-app is an auto updating solution for open source Electron apps. It is awesome but has some limitations:
This package comes to help in these cases. Instead of downloading installer automatically, it simply notifies user to go to GitHub release page when updates available.
npm install electron-update-notifier
Auto check for updates on app start
const {app} = require('electron');
const {setUpdateNotification} = require('electron-update-notifier');
app.whenReady().then(() => {
setUpdateNotification({
repository: 'user/repo', // Optional, use repository field from your package.json when not specified
token: '', // Optional, GitHub api access token
debug: false, // Optional, default `false`, allows to check for updates during development as well
silent: true // Optional, notify when new version available, otherwise remain silent
})
})
Check for updates manually
const {checkForUpdates} = require('electron-update-notifier');
checkForUpdates({
// options
silent: false, // Warn about network failures and notify when there is no updates
})
Use it with update-electron-app:
switch (process.platform) {
case 'darwin':
case 'win32':
require('update-electron-app')()
break
default:
require('electron-update-notifier').setUpdateNotification({
// options
})
}
@pd4d10 for original work
MIT License
FAQs
Notify user about new app updates by fetching release from Github repository.
The npm package electron-update-notifier receives a total of 28 weekly downloads. As such, electron-update-notifier popularity was classified as not popular.
We found that electron-update-notifier demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.