File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -75,4 +75,4 @@ module.exports = {
75
75
npmView,
76
76
loadInstFile,
77
77
getInternals
78
- }
78
+ }
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ async function getHighestCompatibleVersion (name) {
92
92
return pinnedVersion
93
93
}
94
94
95
- // Get all distribution tags (including ' latest')
95
+ // ideally we can just use ` latest` tag, but a few use `next`
96
96
const distTags = await npmView ( `${ name } dist-tags` )
97
97
98
98
// Get the latest tagged version
@@ -128,14 +128,10 @@ async function getHighestCompatibleVersion (name) {
128
128
}
129
129
}
130
130
131
- /**
132
- * Updates latests.json with the current latest versions from npm
133
- */
134
131
async function fix ( ) {
135
132
console . log ( 'Starting fix operation...' )
136
133
console . log ( `Found ${ internalsNames . length } packages to process` )
137
134
138
- // Process packages
139
135
const latests = { }
140
136
let processed = 0
141
137
const total = internalsNames . length
You can’t perform that action at this time.
0 commit comments