Skip to content

chore(deps-dev): bump node-notifier from 10.0.1 to 12.1.0 - #1275

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/node-notifier-12.1.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/node-notifier-12.1.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 19, 2026

Copy link
Copy Markdown
Contributor

Bumps node-notifier from 10.0.1 to 12.1.0.

Release notes

Sourced from node-notifier's releases.

v12.1.0

What's Changed

Full Changelog: mikaelbr/node-notifier@v12.0.0...v12.1.0

v12.0.0

What's Changed

Full Changelog: mikaelbr/node-notifier@v11.0.0...v12.0.0

Changelog

Sourced from node-notifier's changelog.

v12.1.0

Features:

  • Rewritten in TypeScript, and types are now included in the package. @types/node-notifier is no longer needed. Each notifier has typed options (NotificationCenterNotification, WindowsToasterNotification, WindowsBalloonNotification, NotifySendNotification, GrowlNotification), and the notifier classes can be used as types, e.g. const nc: NotificationCenter = new NotificationCenter().

Migrating from @types/node-notifier:

  • Uninstall @types/node-notifier. TypeScript uses the bundled types once they're installed and ignores it.
  • The types are no longer in a namespace. Replace e.g. NotificationCenter.Notification with NotificationCenterNotification, NotifySend.Notification with NotifySendNotification, and NodeNotifier with DefaultNotifier. NotificationCallback, NotificationMetadata and NotifierOptions (DT's Option) are exported by name.
  • Only the options documented in the README are typed. Raw notifier flags and old aliases (e.g. time for notify-send) still work at runtime, but need a cast.
  • JavaScript users have nothing to change.

Fixes:

  • Windows: WindowsBalloon with wait no longer throws when notifu exits without an error code.
  • Linux: NotifySend.notify returns the notifier when notify-send isn't found, instead of undefined.

Internal:

  • Built with tsdown into dist/, which is what's published together with vendor/. The public entry points (node-notifier and node-notifier/notifiers/*) are unchanged.
  • Tests and examples are TypeScript, and CI typechecks and smoke tests the packed package with import, require and TypeScript.
  • pnpm test no longer runs the linter first. Use pnpm lint.

v12.0.0

Breaking changes:

  • node-notifier is now ES modules only ("type": "module"). Use import notifier from 'node-notifier', or named exports like import { notify, NotificationCenter } from 'node-notifier'. require('node-notifier') keeps working through Node's require(esm) and returns the same notifier instance as before, and require('node-notifier/notifiers/<name>') still returns the notifier class.
  • The package now has an exports map. Only the root and node-notifier/notifiers/* can be imported; internal files such as node-notifier/lib/utils are no longer reachable.
  • macOS: updates to terminal-notifier 3.0.0, which runs natively on Apple silicon (#361, #441). To migrate:
    • Requires macOS 10.14+ (use withFallback: true for Growl on older versions).
    • wait, timeout and the click/timeout events only work with actions or reply. Add actions if you need to wait for the user.
    • icon, sender, closeLabel and dropdownLabel are ignored. Use customPath with your own build for a custom icon.
    • contentImage must be a local file.
    • Metadata no longer has deliveredAt/activationAt.
    • macOS asks for notification permission again.

Features:

  • Linux: adds actions to NotifySend, using the action buttons in notify-send (libnotify) 0.7.10+ (#445). The notification waits for the user, choosing an action emits click with the label as metadata.activationValue, and running out of time emits timeout, the same as macOS.
  • WSL: set NODE_NOTIFIER_WSL_NOTIFIER=linux to use NotifySend instead of WindowsToaster for the default notifier, e.g. when running an X server with a notification daemon (#412). It must be set before node-notifier is imported. Unset, WSL keeps using WindowsToaster.
  • Windows: adds duration: 'short' | 'long' to WindowsToaster, passed to SnoreToast as -d, to keep a toast on screen for about 25 seconds instead of about 7 (#401, #223). Other values are dropped, and wait/timeout are unchanged. x64 only with the bundled binary, as the bundled 32-bit SnoreToast (0.7.0) lacks -d. On other architectures it is dropped unless customPath is set.
  • Linux: adds transient to NotifySend. transient: true passes --hint=int:transient:1, so the notification isn't kept in the notification list (e.g. GNOME Shell), and can be combined with hint (#188).
  • Windows: adds application to WindowsToaster, passed to SnoreToast as -application, so clicking a notification after node-notifier has stopped listening (e.g. from the action center) starts your app (#430).

Fixes:

  • WSL: converts icon paths on Windows drives (/mnt/c/...) and skips other icons instead of showing an empty "SnoreToast" notification (#354).
  • Windows: WindowsToaster now accepts remove without a message, the same as close (#431).

... (truncated)

Commits
  • 03e8e66 feat: rewrites to typescript and ships types (#476)
  • bab9eff docs: expand cli usage
  • ac95d56 ignore md formating check
  • e2892c9 chore: updates deps
  • af1a6be chore: bump version to v12.0.0
  • 315ee29 fix: minor issues and unsued code
  • 67617c0 ignore claude stuff in biome
  • b50f939 docs: fixes install size badge
  • 0498096 docs: updates readme and simplifies
  • ff8fd3d docs: removes outdated wsl permission note (#472)
  • Additional commits viewable in compare view
Install script changes

This version adds prepare script that runs during installation. Review the package contents before updating.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [node-notifier](https://github.com/mikaelbr/node-notifier) from 10.0.1 to 12.1.0.
- [Release notes](https://github.com/mikaelbr/node-notifier/releases)
- [Changelog](https://github.com/mikaelbr/node-notifier/blob/master/CHANGELOG.md)
- [Commits](mikaelbr/node-notifier@v10.0.1...v12.1.0)

---
updated-dependencies:
- dependency-name: node-notifier
  dependency-version: 12.1.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants