diff --git a/node.js b/node.js index a3c7ef7e5bfef7e467e166161fc38738234d941e..d96d8b838a151471451d133b7704e19fd9e96325 100644 --- a/node.js +++ b/node.js @@ -384,21 +384,7 @@ module.exports = { }, oldDataWarning: function oldDataWarning(agentsObj) { - if (dataTimeChecked) return - dataTimeChecked = true - if (process.env.BROWSERSLIST_IGNORE_OLD_DATA) return - - var latest = latestReleaseTime(agentsObj) - var halfYearAgo = Date.now() - TIME_TO_UPDATE_CANIUSE - - if (latest !== 0 && latest < halfYearAgo) { - console.warn( - 'Browserslist: caniuse-lite is outdated. Please run:\n' + - ' npx update-browserslist-db@latest\n' + - ' Why you should do it regularly: ' + - 'https://github.com/browserslist/update-db#readme' - ) - } + return }, currentNode: function currentNode() {