File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ module.exports = function () {
22 const lastUpdated = "2025-03-28" ;
33
44 const cv = require ( "compare-versions" ) ;
5- const lastUpdated = require ( "../lastUpdated.json" ) . lastUpdated ;
65
76 let dateOneMonthAgo = new Date ( ) ;
87 dateOneMonthAgo . setMonth ( new Date ( ) . getMonth ( ) - 1 ) ;
@@ -12,8 +11,8 @@ module.exports = function () {
1211 . then ( ( response ) => response . json ( ) )
1312 . then ( ( data ) => {
1413 const packageJson = require ( "../package.json" ) ;
15- var localVersion = packageJson . version ;
16- var remoteVersion = data [ "dist-tags" ] . latest ;
14+ const localVersion = packageJson . version ;
15+ const remoteVersion = data [ "dist-tags" ] . latest ;
1716 if ( cv . compare ( localVersion , remoteVersion , "<" ) ) {
1817 console . warn (
1918 `You are using browserlist-config-baseline version: \t${ localVersion } \n` +
You can’t perform that action at this time.
0 commit comments