Skip to content

Commit 9922275

Browse files
authored
Bump pkgUp (#8163)
1 parent ebcffda commit 9922275

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/react-dev-utils/browsersHelper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ function checkBrowsers(dir, isInteractive, retry = true) {
6767
}
6868

6969
return (
70-
pkgUp(dir)
70+
pkgUp({ cwd: dir })
7171
.then(filePath => {
7272
if (filePath == null) {
7373
return Promise.reject();

packages/react-dev-utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
"is-root": "2.1.0",
6969
"loader-utils": "1.2.3",
7070
"open": "^7.0.0",
71-
"pkg-up": "2.0.0",
71+
"pkg-up": "3.1.0",
7272
"react-error-overlay": "^6.0.4",
7373
"recursive-readdir": "2.2.2",
7474
"shell-quote": "1.7.2",

0 commit comments

Comments
 (0)