Skip to content

Commit

Permalink
fixes update-notifier
Browse files Browse the repository at this point in the history
  • Loading branch information
reggi committed Feb 7, 2025
1 parent e30ad0b commit 140ac57
Show file tree
Hide file tree
Showing 2 changed files with 162 additions and 94 deletions.
24 changes: 12 additions & 12 deletions tap-snapshots/test/lib/cli/update-notifier.js.test.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,95 +5,95 @@
* Make sure to inspect the output below. Do not ignore changes!
*/
'use strict'
exports[`test/lib/cli/update-notifier.js TAP notification situations 122.420.69 - color=always > must match snapshot 1`] = `
exports[`test/lib/cli/update-notifier.js > TAP > notification situations > 122.420.69 - color=always > must match snapshot 1`] = `
New major version of npm available! 122.420.69 -> 123.420.69
Changelog: https://github.com/npm/cli/releases/tag/v123.420.69
To update run: npm install -g [email protected]
`

exports[`test/lib/cli/update-notifier.js TAP notification situations 122.420.69 - color=false > must match snapshot 1`] = `
exports[`test/lib/cli/update-notifier.js > TAP > notification situations > 122.420.69 - color=false > must match snapshot 1`] = `
New major version of npm available! 122.420.69 -> 123.420.69
Changelog: https://github.com/npm/cli/releases/tag/v123.420.69
To update run: npm install -g [email protected]
`

exports[`test/lib/cli/update-notifier.js TAP notification situations 123.419.69 - color=always > must match snapshot 1`] = `
exports[`test/lib/cli/update-notifier.js > TAP > notification situations > 123.419.69 - color=always > must match snapshot 1`] = `
New minor version of npm available! 123.419.69 -> 123.420.69
Changelog: https://github.com/npm/cli/releases/tag/v123.420.69
To update run: npm install -g [email protected]
`

exports[`test/lib/cli/update-notifier.js TAP notification situations 123.419.69 - color=false > must match snapshot 1`] = `
exports[`test/lib/cli/update-notifier.js > TAP > notification situations > 123.419.69 - color=false > must match snapshot 1`] = `
New minor version of npm available! 123.419.69 -> 123.420.69
Changelog: https://github.com/npm/cli/releases/tag/v123.420.69
To update run: npm install -g [email protected]
`

exports[`test/lib/cli/update-notifier.js TAP notification situations 123.420.68 - color=always > must match snapshot 1`] = `
exports[`test/lib/cli/update-notifier.js > TAP > notification situations > 123.420.68 - color=always > must match snapshot 1`] = `
New patch version of npm available! 123.420.68 -> 123.420.69
Changelog: https://github.com/npm/cli/releases/tag/v123.420.69
To update run: npm install -g [email protected]
`

exports[`test/lib/cli/update-notifier.js TAP notification situations 123.420.68 - color=false > must match snapshot 1`] = `
exports[`test/lib/cli/update-notifier.js > TAP > notification situations > 123.420.68 - color=false > must match snapshot 1`] = `
New patch version of npm available! 123.420.68 -> 123.420.69
Changelog: https://github.com/npm/cli/releases/tag/v123.420.69
To update run: npm install -g [email protected]
`

exports[`test/lib/cli/update-notifier.js TAP notification situations 123.420.70 - color=always > must match snapshot 1`] = `
exports[`test/lib/cli/update-notifier.js > TAP > notification situations > 123.420.70 - color=always > must match snapshot 1`] = `
New minor version of npm available! 123.420.70 -> 123.421.70
Changelog: https://github.com/npm/cli/releases/tag/v123.421.70
To update run: npm install -g [email protected]
`

exports[`test/lib/cli/update-notifier.js TAP notification situations 123.420.70 - color=false > must match snapshot 1`] = `
exports[`test/lib/cli/update-notifier.js > TAP > notification situations > 123.420.70 - color=false > must match snapshot 1`] = `
New minor version of npm available! 123.420.70 -> 123.421.70
Changelog: https://github.com/npm/cli/releases/tag/v123.421.70
To update run: npm install -g [email protected]
`

exports[`test/lib/cli/update-notifier.js TAP notification situations 123.421.69 - color=always > must match snapshot 1`] = `
exports[`test/lib/cli/update-notifier.js > TAP > notification situations > 123.421.69 - color=always > must match snapshot 1`] = `
New patch version of npm available! 123.421.69 -> 123.421.70
Changelog: https://github.com/npm/cli/releases/tag/v123.421.70
To update run: npm install -g [email protected]
`

exports[`test/lib/cli/update-notifier.js TAP notification situations 123.421.69 - color=false > must match snapshot 1`] = `
exports[`test/lib/cli/update-notifier.js > TAP > notification situations > 123.421.69 - color=false > must match snapshot 1`] = `
New patch version of npm available! 123.421.69 -> 123.421.70
Changelog: https://github.com/npm/cli/releases/tag/v123.421.70
To update run: npm install -g [email protected]
`

exports[`test/lib/cli/update-notifier.js TAP notification situations 124.0.0-beta.0 - color=always > must match snapshot 1`] = `
exports[`test/lib/cli/update-notifier.js > TAP > notification situations > 124.0.0-beta.0 - color=always > must match snapshot 1`] = `
New prerelease version of npm available! 124.0.0-beta.0 -> 124.0.0-beta.99999
Changelog: https://github.com/npm/cli/releases/tag/v124.0.0-beta.99999
To update run: npm install -g [email protected]
`

exports[`test/lib/cli/update-notifier.js TAP notification situations 124.0.0-beta.0 - color=false > must match snapshot 1`] = `
exports[`test/lib/cli/update-notifier.js > TAP > notification situations > 124.0.0-beta.0 - color=false > must match snapshot 1`] = `
New prerelease version of npm available! 124.0.0-beta.0 -> 124.0.0-beta.99999
Changelog: https://github.com/npm/cli/releases/tag/v124.0.0-beta.99999
Expand Down
Loading

0 comments on commit 140ac57

Please sign in to comment.