Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit db40a39

Browse files
authored
fix: add missing dependency caniuse-lite (vercel#16091)
**What's the problem this PR addresses?** vercel#16048 stopped bundling `caniuse-lite` but didn't declare it as a dependency https://github.com/yarnpkg/berry/runs/972037981?check_suite_focus=true#step:5:75 **How did you fix it?** Add `caniuse-lite` as a dependency --- cc @Timer As mentioned in vercel#14157 (comment) I looked into adding a PnP e2e test but the use of the `gist` protocol stopped me from getting it to work since v2 doesn't support that yet. Would it be possible to change this to one of the supported protocols (https://yarnpkg.com/features/protocols)? https://github.com/vercel/next.js/blob/636672755004c756eefcddb5d4ccabbc1855e75a/packages/next/package.json#L208
1 parent 32adc3a commit db40a39

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/next/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@
8686
"browserslist": "4.13.0",
8787
"buffer": "5.6.0",
8888
"cacache": "13.0.1",
89+
"caniuse-lite": "^1.0.30001113",
8990
"chokidar": "2.1.8",
9091
"crypto-browserify": "3.12.0",
9192
"css-loader": "3.5.3",

yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5317,7 +5317,7 @@ caniuse-db@^1.0.30000529, caniuse-db@^1.0.30000634:
53175317
version "1.0.30001023"
53185318
resolved "https://registry.yarnpkg.com/caniuse-db/-/caniuse-db-1.0.30001023.tgz#f856f71af16a5a44e81f1fcefc1673912a43da72"
53195319

5320-
caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000981, caniuse-lite@^1.0.30001019, caniuse-lite@^1.0.30001020, caniuse-lite@^1.0.30001093:
5320+
caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000981, caniuse-lite@^1.0.30001019, caniuse-lite@^1.0.30001020, caniuse-lite@^1.0.30001093, caniuse-lite@^1.0.30001113:
53215321
version "1.0.30001066"
53225322
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001066.tgz#0a8a58a10108f2b9bf38e7b65c237b12fd9c5f04"
53235323
integrity sha512-Gfj/WAastBtfxLws0RCh2sDbTK/8rJuSeZMecrSkNGYxPcv7EzblmDGfWQCFEQcSqYE2BRgQiJh8HOD07N5hIw==

0 commit comments

Comments
 (0)