Skip to content

Bump tipjar from 0.1.0 to 2.0.0 - #110

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/tipjar-2.0.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/tipjar-2.0.0

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps tipjar from 0.1.0 to 2.0.0.

Release notes

Sourced from tipjar's releases.

v2.0.0

  • Breaking, look change: four icons are redrawn, each with a new animation. coin is a coin that spins on its edge, slows, and catches a shine; a pixel coin turns through frames. tea has the bag's string over the rim and its tag hanging outside the cup, swaying. pizza is a whole pie with one slice sliding out. music is two beamed notes that bop to a beat.
  • Breaking, look change: the coffee's steam is drawn as curly wisps (flat and outline; pixel is unchanged). It no longer rises past the button's edge: it sways, drifts a little and fades in and out over the cup.
  • Look change: the big sparkle now glimmers too, on a slower beat than the two small ones. Its drawing is unchanged.

v1.2.0

  • A compact: 'hover' button no longer lifts as it opens; it only grows sideways. It doesn't pop or wiggle either: opening is its hover effect. Shine and fill still play.
  • hover: 'wiggle' now tilts the whole button, like the nudge, instead of the icon. hover is for the button and animate for the icon's own moving part.

v1.1.0

  • compact: 'hover' shows just the icon in a circle, and opens into the full button with the label sliding in on hover or keyboard focus. On touch screens it stays a circle.
  • The hover option picks a hover effect: lift (the default, as before), pop, wiggle, shine, fill or none. --tipjar-shine and --tipjar-fill set their colours.
  • The enter option adds an entrance when the page loads: fade, slide or pop, after --tipjar-enter-delay (0.6s by default).
  • Look change: the button squishes slightly while pressed, on every device.
  • A new jar icon, drawn flat, pixel and outline, with a coin that drops in.
  • Icons can have moving parts, played by the new animate option: on hover (the default, and on keyboard focus), loop (three times on load, and on hover) or none. Coffee's steam rises past the edge of the button, and jar's coin drops in. --tipjar-accent colours the moving parts.
  • Four new icons, drawn flat, pixel and outline: coin (flips), tea (the tag swings), pizza (the slice pulls away) and music (a note floats up).
  • Look change: every 1.0 icon now moves on hover: the heart beats, the coffee steams, the star turns (a pixel star pulses), the gift's lid hops and the small sparkles twinkle. Their still drawings are unchanged; pass animate: 'none' to keep them still.
  • mount() takes nudgeAfter: seconds before one small wiggle, at most once per visit, never while tucked, hidden, already hovered or focused, or for people who ask for less motion. nudge(button, seconds) does the same for a button already on the page.
  • Reduced motion now also turns off every new effect, and wins over a site's own transitions on the button.

v1.0.0

  • Breaking: escapeHtml and safeHref are no longer exported. tipjar() still checks every link and escapes every text option inside; they were never meant as general-purpose helpers.
  • The README has a Stability section saying what semver covers from 1.0.
  • The package now includes CHANGELOG.md.
  • Look change: on a dark page (prefers-color-scheme: dark) the default button is now light (#f4f1ea fill, #1f1d2b label) with a dark ring, instead of a dark button with a white halo. Only tipjar's fallbacks change: a --tipjar-bg, --tipjar-label or --tipjar-ring you set still wins.
  • In forced-colours mode (Windows High Contrast) the button gets a LinkText border, so it still reads as a button.
  • The hover lift only applies on devices that can hover, so it no longer sticks after a tap on a phone.
  • Security: href with control characters before the scheme, such as "\u0001javascript:…", was let through as a relative link, but browsers drop those characters and run it as javascript:. It now throws like any other unsafe link.
  • With newTab, screen readers now hear "(opens in a new tab)" after the label. Change the words with the new newTabHint option, or pass '' for none. The link still has no noreferrer; the README explains why and how to hide the referrer site-wide.
  • tuck(button, watch) tucks a button that's already on the page, such as server-rendered tipjar() markup, and returns a function that stops. mount() uses it.
  • hideWhenVisible (and tuck) take several elements: a selector watches every match, or pass a list. The button tucks while any of them is on screen.
  • A hideWhenVisible selector that matches nothing now warns in the console instead of silently doing nothing.
  • Breaking: tipjar now supports Node 22 and newer (engines.node is >=22), since Node 20 reached end of life. CI tests Node 22, 24 and 26.
Changelog

Sourced from tipjar's changelog.

[2.0.0] - 2026-11-10

  • Breaking, look change: four icons are redrawn, each with a new animation. coin is a coin that spins on its edge, slows, and catches a shine; a pixel coin turns through frames. tea has the bag's string over the rim and its tag hanging outside the cup, swaying. pizza is a whole pie with one slice sliding out. music is two beamed notes that bop to a beat.
  • Breaking, look change: the coffee's steam is drawn as curly wisps (flat and outline; pixel is unchanged). It no longer rises past the button's edge: it sways, drifts a little and fades in and out over the cup.
  • Look change: the big sparkle now glimmers too, on a slower beat than the two small ones. Its drawing is unchanged.

[1.2.0] - 2026-11-07

  • A compact: 'hover' button no longer lifts as it opens; it only grows sideways. It doesn't pop or wiggle either: opening is its hover effect. Shine and fill still play.
  • hover: 'wiggle' now tilts the whole button, like the nudge, instead of the icon. hover is for the button and animate for the icon's own moving part.

[1.1.0] - 2026-11-07

  • compact: 'hover' shows just the icon in a circle, and opens into the full button with the label sliding in on hover or keyboard focus. On touch screens it stays a circle.
  • The hover option picks a hover effect: lift (the default, as before), pop, wiggle, shine, fill or none. --tipjar-shine and --tipjar-fill set their colours.
  • The enter option adds an entrance when the page loads: fade, slide or pop, after --tipjar-enter-delay (0.6s by default).
  • Look change: the button squishes slightly while pressed, on every device.
  • A new jar icon, drawn flat, pixel and outline, with a coin that drops in.
  • Icons can have moving parts, played by the new animate option: on hover (the default, and on keyboard focus), loop (three times on load, and on hover) or none. Coffee's steam rises past the edge of the button, and jar's coin drops in. --tipjar-accent colours the moving parts.
  • Four new icons, drawn flat, pixel and outline: coin (flips), tea (the tag swings), pizza (the slice pulls away) and music (a note floats up).
  • Look change: every 1.0 icon now moves on hover: the heart beats, the coffee steams, the star turns (a pixel star pulses), the gift's lid hops and the small sparkles twinkle. Their still drawings are unchanged; pass animate: 'none' to keep them still.
  • mount() takes nudgeAfter: seconds before one small wiggle, at most once per visit, never while tucked, hidden, already hovered or focused, or for people who ask for less motion. nudge(button, seconds) does the same for a button already on the page.
  • Reduced motion now also turns off every new effect, and wins over a site's own transitions on the button.

[1.0.0] - 2026-11-02

  • Breaking: escapeHtml and safeHref are no longer exported. tipjar() still checks every link and escapes every text option inside; they were never meant as general-purpose helpers.
  • The README has a Stability section saying what semver covers from 1.0.
  • The package now includes CHANGELOG.md.
  • Look change: on a dark page (prefers-color-scheme: dark) the default button is now light (#f4f1ea fill, #1f1d2b label) with a dark ring, instead of a dark button with a white halo. Only tipjar's fallbacks change: a --tipjar-bg, --tipjar-label or --tipjar-ring you set still wins.
  • In forced-colours mode (Windows High Contrast) the button gets a LinkText border, so it still reads as a button.
  • The hover lift only applies on devices that can hover, so it no longer sticks after a tap on a phone.
  • Security: href with control characters before the scheme, such as "\u0001javascript:…", was let through as a relative link, but browsers drop those characters and run it as javascript:. It now throws like any other unsafe link.
  • With newTab, screen readers now hear "(opens in a new tab)" after the label. Change the words with the new newTabHint option, or pass '' for none. The link still has no noreferrer; the README explains why and how to hide the referrer site-wide.
  • tuck(button, watch) tucks a button that's already on the page, such as server-rendered tipjar() markup, and returns a function that stops. mount() uses it.
  • hideWhenVisible (and tuck) take several elements: a selector watches every match, or pass a list. The button tucks while any of them is on screen.
  • A hideWhenVisible selector that matches nothing now warns in the console instead of silently doing nothing.
  • Breaking: tipjar now supports Node 22 and newer (engines.node is >=22), since Node 20 reached end of life. CI tests Node 22, 24 and 26.
Commits
  • 1462fd9 Release 2.0.0 (#38)
  • f6446df Redraw coin, tea, pizza and music; curl the coffee steam; let the big sparkle...
  • be936d0 Release 1.2.0 (#36)
  • 340fdf5 Hover effects move the whole button; a compact hover button only opens (#35)
  • fb9340a Don't lift a compact hover button as it opens: it only grows sideways (#34)
  • 2f4f554 Release 1.1.0 (#33)
  • e72f457 Add a one-time nudge: nudgeAfter in mount(), and nudge() for buttons already ...
  • 413fbfb Animate every icon, and add coin, tea, pizza and music icons (#31)
  • b699c43 Add animated icons: rising coffee steam, and a new jar icon with a coin that ...
  • 7f28761 Add hover effects, a compact button that opens on hover, a press squish and e...
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for tipjar since your current version.


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 [tipjar](https://github.com/mtblck/tipjar) from 0.1.0 to 2.0.0.
- [Release notes](https://github.com/mtblck/tipjar/releases)
- [Changelog](https://github.com/mtblck/tipjar/blob/main/CHANGELOG.md)
- [Commits](mtblck/tipjar@v0.1.0...v2.0.0)

---
updated-dependencies:
- dependency-name: tipjar
  dependency-version: 2.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Nov 23, 2026
@vercel

vercel Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
botling Ready Ready Preview Nov 23, 2026 1:27pm UTC
seedkin Ready Ready Preview Nov 23, 2026 1:27pm UTC

Request Review

@dependabot dependabot Bot added the javascript Pull requests that update javascript code label Nov 23, 2026
@github-actions

Copy link
Copy Markdown

Dependency review (automated, 2026-11-23)

Verdict: NEEDS HUMAN REVIEW: major-version bump (0.1.0 → 2.0.0) of a build-time dependency; no red flags found, and the code this repo uses looks compatible.

The PR changes tipjar in package.json and package-lock.json (^0.1.0 → ^2.0.0, resolved 2.0.0). Nothing else changes, and the title matches the diff. This is a version update with no advisories. tipjar is a devDependency used only at site build time.

Impact

Advisory Package Severity Class Evidence
none fixed tipjar n/a n/a No open Dependabot alerts; GitHub advisory query for tipjar@0.1.0 returned none

Breaking changes (0.1.0 → 2.0.0) against our usage:

  • The only call is tipjar({ href, description, iconStyle: 'pixel' }) in scripts/site.mjs:61, plus the tipjar/style.css copy at scripts/site.mjs:165. The 1.0.0 removal of escapeHtml and safeHref doesn't affect us: neither is imported anywhere in the repo.
  • Node >=22 is now required. package.json already says >=22, and CI uses 22, 24 and 26.
  • Look changes on the site: the button squishes on press and dark-mode fallback colours differ. We set --tipjar-bg, --tipjar-label and --tipjar-ring in site/site.css:645-647, so those win. The coffee/coin/tea/pizza/music icons are redrawn, but the site uses the pixel icon style. Someone should still look at the button on the preview. Hover animation is new and on by default.
  • Security fix in 1.0.0: hrefs with control characters before the scheme now throw. Our href is https://ko-fi.com/mtblck, so that doesn't affect us.
  • Newer 2.1.0 and 2.2.0 were published on 2026-11-16. Dependabot targets 2.0.0 (pinned by ^2.0.0 in the lockfile); a later bump should follow.

Version vetting

Package Old → New Published Publisher Provenance Scripts / build.rs New deps Diff
tipjar 0.1.0 → 2.0.0 2026-11-10 (13 days old) GitHub Actions via npm OIDC; sole maintainer mtblck (same as 0.1.0, which was published by mtblck directly) Yes, SLSA provenance, repo mtblck/tipjar None install-time (only dev/prepublish scripts, which don't run on install) None Files: new drawing/nudge/tuck modules, CSS, docs. No eval, child_process, env reads, network calls or encoded blobs in added lines

The lockfile entry's resolved URL is on registry.npmjs.org and has an integrity hash. The only other lockfile change is the engines range.

Checks

  • CI: Test on Node 24 passed. Test on Node 26, Lint/test/build and review were still running when I looked, so wait for them. Vercel Preview Comments passed.
  • I didn't run any install, build or test locally (not permitted by this review).
  • The grep for dangerous patterns covered only added lines of the full npm diff.

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