new npm-specific update-notifier implementation · npm/cli@d062b2c (original) (raw)
`@@ -5,74 +5,98 @@
`
5
5
` * Make sure to inspect the output below. Do not ignore changes!
`
6
6
` */
`
7
7
`'use strict'
`
8
``
`` -
exports[test/lib/utils/update-notifier.js TAP notification situations color and unicode major > must match snapshot 1] = `
``
9
``
`-
New [31mmajor[39m version of npm available! [31m<>-beta.1[39m → [32m7.0.0[39m
`
10
``
`-
[33mChangelog:[39m [36mhttps://github.com/npm/cli/releases/tag/v7.0.0[39m
`
11
``
`-
Run [32mnpm install -g npm[39m to update!
`
``
8
`` +
exports[test/lib/utils/update-notifier.js TAP notification situations major to current > color 1] = `
``
``
9
`+
[40m[37m[39m[49m
`
``
10
`+
[40m[37mNew [31mmajor[39m[37m version of npm available! [31m122.420.69[39m[37m -> [32m123.420.69[39m[37m[39m[49m
`
``
11
`+
[40m[37mChangelog: [36mhttps://github.com/npm/cli/releases/tag/v123.420.69[39m[37m[39m[49m
`
``
12
`+
[40m[37mRun [32mnpm install -g npm@123.420.69[39m[37m to update![39m[49m
`
``
13
`+
[40m[37m[39m[49m
`
12
14
`` `
``
13
15
``
14
``
`` -
exports[test/lib/utils/update-notifier.js TAP notification situations color and unicode minor > must match snapshot 1] = `
``
15
``
`-
New [33mminor[39m version of npm available! [31m<>-beta.1[39m → [32m7.0.0[39m
`
16
``
`-
[33mChangelog:[39m [36mhttps://github.com/npm/cli/releases/tag/v7.0.0[39m
`
17
``
`-
Run [32mnpm install -g npm[39m to update!
`
``
16
`` +
exports[test/lib/utils/update-notifier.js TAP notification situations major to current > no color 1] = `
``
``
17
+
``
18
`+
New major version of npm available! 122.420.69 -> 123.420.69
`
``
19
`+
Changelog: https://github.com/npm/cli/releases/tag/v123.420.69
`
``
20
`` +
Run `npm install -g npm@123.420.69` to update!
``
``
21
+
18
22
`` `
``
19
23
``
20
``
`` -
exports[test/lib/utils/update-notifier.js TAP notification situations color and unicode minor > must match snapshot 2] = `
``
21
``
`-
New [32mpatch[39m version of npm available! [31m<>-beta.1[39m → [32m7.0.0[39m
`
22
``
`-
[33mChangelog:[39m [36mhttps://github.com/npm/cli/releases/tag/v7.0.0[39m
`
23
``
`-
Run [32mnpm install -g npm[39m to update!
`
``
24
`` +
exports[test/lib/utils/update-notifier.js TAP notification situations minor to current > color 1] = `
``
``
25
`+
[40m[37m[39m[49m
`
``
26
`+
[40m[37mNew [33mminor[39m[37m version of npm available! [31m123.419.69[39m[37m -> [32m123.420.69[39m[37m[39m[49m
`
``
27
`+
[40m[37mChangelog: [36mhttps://github.com/npm/cli/releases/tag/v123.420.69[39m[37m[39m[49m
`
``
28
`+
[40m[37mRun [32mnpm install -g npm@123.420.69[39m[37m to update![39m[49m
`
``
29
`+
[40m[37m[39m[49m
`
24
30
`` `
``
25
31
``
26
``
`` -
exports[test/lib/utils/update-notifier.js TAP notification situations color, no unicode major > must match snapshot 1] = `
``
27
``
`-
New [31mmajor[39m version of npm available! [31m<>-beta.1[39m -> [32m7.0.0[39m
`
28
``
`-
[33mChangelog:[39m [36mhttps://github.com/npm/cli/releases/tag/v7.0.0[39m
`
29
``
`-
Run [32mnpm install -g npm[39m to update!
`
``
32
`` +
exports[test/lib/utils/update-notifier.js TAP notification situations minor to current > no color 1] = `
``
``
33
+
``
34
`+
New minor version of npm available! 123.419.69 -> 123.420.69
`
``
35
`+
Changelog: https://github.com/npm/cli/releases/tag/v123.420.69
`
``
36
`` +
Run `npm install -g npm@123.420.69` to update!
``
``
37
+
30
38
`` `
``
31
39
``
32
``
`` -
exports[test/lib/utils/update-notifier.js TAP notification situations color, no unicode minor > must match snapshot 1] = `
``
33
``
`-
New [33mminor[39m version of npm available! [31m<>-beta.1[39m -> [32m7.0.0[39m
`
34
``
`-
[33mChangelog:[39m [36mhttps://github.com/npm/cli/releases/tag/v7.0.0[39m
`
35
``
`-
Run [32mnpm install -g npm[39m to update!
`
``
40
`` +
exports[test/lib/utils/update-notifier.js TAP notification situations minor to next version > color 1] = `
``
``
41
`+
[40m[37m[39m[49m
`
``
42
`+
[40m[37mNew [33mminor[39m[37m version of npm available! [31m123.420.70[39m[37m -> [32m123.421.70[39m[37m[39m[49m
`
``
43
`+
[40m[37mChangelog: [36mhttps://github.com/npm/cli/releases/tag/v123.421.70[39m[37m[39m[49m
`
``
44
`+
[40m[37mRun [32mnpm install -g npm@123.421.70[39m[37m to update![39m[49m
`
``
45
`+
[40m[37m[39m[49m
`
36
46
`` `
``
37
47
``
38
``
`` -
exports[test/lib/utils/update-notifier.js TAP notification situations color, no unicode minor > must match snapshot 2] = `
``
39
``
`-
New [32mpatch[39m version of npm available! [31m<>-beta.1[39m -> [32m7.0.0[39m
`
40
``
`-
[33mChangelog:[39m [36mhttps://github.com/npm/cli/releases/tag/v7.0.0[39m
`
41
``
`-
Run [32mnpm install -g npm[39m to update!
`
``
48
`` +
exports[test/lib/utils/update-notifier.js TAP notification situations minor to next version > no color 1] = `
``
``
49
+
``
50
`+
New minor version of npm available! 123.420.70 -> 123.421.70
`
``
51
`+
Changelog: https://github.com/npm/cli/releases/tag/v123.421.70
`
``
52
`` +
Run `npm install -g npm@123.421.70` to update!
``
``
53
+
42
54
`` `
``
43
55
``
44
``
`` -
exports[test/lib/utils/update-notifier.js TAP notification situations no color, no unicode major > must match snapshot 1] = `
``
45
``
`-
New major version of npm available! <>-beta.1 -> 7.0.0
`
46
``
`-
Changelog: https://github.com/npm/cli/releases/tag/v7.0.0
`
47
``
`-
Run npm i -g npm to update!
`
``
56
`` +
exports[test/lib/utils/update-notifier.js TAP notification situations new beta available > color 1] = `
``
``
57
`+
[40m[37m[39m[49m
`
``
58
`+
[40m[37mNew [32mprerelease[39m[37m version of npm available! [31m124.0.0-beta.0[39m[37m -> [32m124.0.0-beta.99999[39m[37m[39m[49m
`
``
59
`+
[40m[37mChangelog: [36mhttps://github.com/npm/cli/releases/tag/v124.0.0-beta.99999[39m[37m[39m[49m
`
``
60
`+
[40m[37mRun [32mnpm install -g npm@124.0.0-beta.99999[39m[37m to update![39m[49m
`
``
61
`+
[40m[37m[39m[49m
`
48
62
`` `
``
49
63
``
50
``
`` -
exports[test/lib/utils/update-notifier.js TAP notification situations no color, no unicode minor > must match snapshot 1] = `
``
51
``
`-
New minor version of npm available! <>-beta.1 -> 7.0.0
`
52
``
`-
Changelog: https://github.com/npm/cli/releases/tag/v7.0.0
`
53
``
`-
Run npm i -g npm to update!
`
``
64
`` +
exports[test/lib/utils/update-notifier.js TAP notification situations new beta available > no color 1] = `
``
``
65
+
``
66
`+
New prerelease version of npm available! 124.0.0-beta.0 -> 124.0.0-beta.99999
`
``
67
`+
Changelog: https://github.com/npm/cli/releases/tag/v124.0.0-beta.99999
`
``
68
`` +
Run `npm install -g npm@124.0.0-beta.99999` to update!
``
``
69
+
54
70
`` `
``
55
71
``
56
``
`` -
exports[test/lib/utils/update-notifier.js TAP notification situations no color, no unicode minor > must match snapshot 2] = `
``
57
``
`-
New patch version of npm available! <>-beta.1 -> 7.0.0
`
58
``
`-
Changelog: https://github.com/npm/cli/releases/tag/v7.0.0
`
59
``
`-
Run npm i -g npm to update!
`
``
72
`` +
exports[test/lib/utils/update-notifier.js TAP notification situations patch to current > color 1] = `
``
``
73
`+
[40m[37m[39m[49m
`
``
74
`+
[40m[37mNew [32mpatch[39m[37m version of npm available! [31m123.420.68[39m[37m -> [32m123.420.69[39m[37m[39m[49m
`
``
75
`+
[40m[37mChangelog: [36mhttps://github.com/npm/cli/releases/tag/v123.420.69[39m[37m[39m[49m
`
``
76
`+
[40m[37mRun [32mnpm install -g npm@123.420.69[39m[37m to update![39m[49m
`
``
77
`+
[40m[37m[39m[49m
`
60
78
`` `
``
61
79
``
62
``
`` -
exports[test/lib/utils/update-notifier.js TAP notification situations unicode, no color major > must match snapshot 1] = `
``
63
``
`-
New major version of npm available! <>-beta.1 → 7.0.0
`
64
``
`-
Changelog: https://github.com/npm/cli/releases/tag/v7.0.0
`
65
``
`-
Run npm i -g npm to update!
`
``
80
`` +
exports[test/lib/utils/update-notifier.js TAP notification situations patch to current > no color 1] = `
``
``
81
+
``
82
`+
New patch version of npm available! 123.420.68 -> 123.420.69
`
``
83
`+
Changelog: https://github.com/npm/cli/releases/tag/v123.420.69
`
``
84
`` +
Run `npm install -g npm@123.420.69` to update!
``
``
85
+
66
86
`` `
``
67
87
``
68
``
`` -
exports[test/lib/utils/update-notifier.js TAP notification situations unicode, no color minor > must match snapshot 1] = `
``
69
``
`-
New minor version of npm available! <>-beta.1 → 7.0.0
`
70
``
`-
Changelog: https://github.com/npm/cli/releases/tag/v7.0.0
`
71
``
`-
Run npm i -g npm to update!
`
``
88
`` +
exports[test/lib/utils/update-notifier.js TAP notification situations patch to next version > color 1] = `
``
``
89
`+
[40m[37m[39m[49m
`
``
90
`+
[40m[37mNew [32mpatch[39m[37m version of npm available! [31m123.421.69[39m[37m -> [32m123.421.70[39m[37m[39m[49m
`
``
91
`+
[40m[37mChangelog: [36mhttps://github.com/npm/cli/releases/tag/v123.421.70[39m[37m[39m[49m
`
``
92
`+
[40m[37mRun [32mnpm install -g npm@123.421.70[39m[37m to update![39m[49m
`
``
93
`+
[40m[37m[39m[49m
`
72
94
`` `
``
73
95
``
74
``
`` -
exports[test/lib/utils/update-notifier.js TAP notification situations unicode, no color minor > must match snapshot 2] = `
``
75
``
`-
New patch version of npm available! <>-beta.1 → 7.0.0
`
76
``
`-
Changelog: https://github.com/npm/cli/releases/tag/v7.0.0
`
77
``
`-
Run npm i -g npm to update!
`
``
96
`` +
exports[test/lib/utils/update-notifier.js TAP notification situations patch to next version > no color 1] = `
``
``
97
+
``
98
`+
New patch version of npm available! 123.421.69 -> 123.421.70
`
``
99
`+
Changelog: https://github.com/npm/cli/releases/tag/v123.421.70
`
``
100
`` +
Run `npm install -g npm@123.421.70` to update!
``
``
101
+
78
102
`` `
``