diff --git a/patches/browserslist@4.21.4.patch b/patches/browserslist@4.21.4.patch index 0fe81bbe4..a65fcf68b 100644 --- a/patches/browserslist@4.21.4.patch +++ b/patches/browserslist@4.21.4.patch @@ -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 }, - \ No newline at end of file + + currentNode: function currentNode() { \ No newline at end of file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5789998a8..c0f99cc62 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -13,7 +13,7 @@ patchedDependencies: hash: fmazw77vmtotccsa6gb66mxijq path: patches/@types__mongodb@3.6.20.patch browserslist@4.21.4: - hash: 3sk7x5xyu7mtmw3sdh5izkeejy + hash: iybzhxekp633yoleg54ca3ov2a path: patches/browserslist@4.21.4.patch monk@7.3.4: hash: vvho35r54xdabf3z6x2eo4lz7q @@ -1469,7 +1469,7 @@ packages: '@babel/compat-data': 7.20.5 '@babel/core': 7.20.12 '@babel/helper-validator-option': 7.18.6 - browserslist: 4.21.4_3sk7x5xyu7mtmw3sdh5izkeejy + browserslist: 4.21.4_iybzhxekp633yoleg54ca3ov2a lru-cache: 5.1.1 semver: 6.3.0 @@ -4098,6 +4098,18 @@ packages: dev: false /browserslist/4.21.4_3sk7x5xyu7mtmw3sdh5izkeejy: + resolution: {integrity: sha512-CBHJJdDmgjl3daYjN5Cp5kbTf1mUhZoS+beLklHIvkOWscs83YAhLlF3Wsh/lciQYAcbBJgTOD44VtG31ZM4Hw==} + engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} + hasBin: true + dependencies: + caniuse-lite: 1.0.30001441 + electron-to-chromium: 1.4.284 + node-releases: 2.0.8 + update-browserslist-db: 1.0.10_browserslist@4.21.4 + dev: true + patched: true + + /browserslist/4.21.4_iybzhxekp633yoleg54ca3ov2a: resolution: {integrity: sha512-CBHJJdDmgjl3daYjN5Cp5kbTf1mUhZoS+beLklHIvkOWscs83YAhLlF3Wsh/lciQYAcbBJgTOD44VtG31ZM4Hw==} engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true @@ -10498,7 +10510,7 @@ packages: peerDependencies: browserslist: '>= 4.21.0' dependencies: - browserslist: 4.21.4_3sk7x5xyu7mtmw3sdh5izkeejy + browserslist: 4.21.4_iybzhxekp633yoleg54ca3ov2a escalade: 3.1.1 picocolors: 1.0.0