-
-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: just re-patch browserslist, whatever.
- Loading branch information
Showing
2 changed files
with
31 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,27 @@ | ||
diff --git a/node.js b/node.js | ||
index a3c7ef7e5bfef7e467e166161fc38738234d941e..2859ebb691b3577770215ba528af337e24f6259f 100644 | ||
index a3c7ef7e5bfef7e467e166161fc38738234d941e..d96d8b838a151471451d133b7704e19fd9e96325 100644 | ||
--- a/node.js | ||
+++ b/node.js | ||
@@ -392,12 +392,14 @@ module.exports = { | ||
var halfYearAgo = Date.now() - TIME_TO_UPDATE_CANIUSE | ||
@@ -384,21 +384,7 @@ module.exports = { | ||
}, | ||
|
||
if (latest !== 0 && latest < halfYearAgo) { | ||
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' | ||
- ) | ||
+ // this warning is useless, annoying, and should NEVER go | ||
+ // to my stderr. Shut up. | ||
+ // 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() { |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.