diff --git a/change/beachball-db1e5a28-1b45-4ee4-b976-27b1f63d9940.json b/change/beachball-db1e5a28-1b45-4ee4-b976-27b1f63d9940.json new file mode 100644 index 000000000..54d16208f --- /dev/null +++ b/change/beachball-db1e5a28-1b45-4ee4-b976-27b1f63d9940.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "Update dependency fs-extra to v11", + "packageName": "beachball", + "email": "elcraig@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/package.json b/package.json index b46e84b1c..c56e363e2 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "dependencies": { "cosmiconfig": "^8.3.6", "execa": "^5.0.0", - "fs-extra": "^10.0.0", + "fs-extra": "^11.1.1", "lodash": "^4.17.15", "minimatch": "^3.0.4", "p-limit": "^3.0.2", @@ -56,7 +56,7 @@ }, "devDependencies": { "@jest/globals": "^29.0.0", - "@types/fs-extra": "^9.0.13", + "@types/fs-extra": "^11.0.0", "@types/lodash": "^4.14.191", "@types/minimatch": "^5.0.0", "@types/node": "^14.0.0", diff --git a/src/__tests__/publish/performPublishOverrides.test.ts b/src/__tests__/publish/performPublishOverrides.test.ts index dc9ac7b74..db28a5f99 100644 --- a/src/__tests__/publish/performPublishOverrides.test.ts +++ b/src/__tests__/publish/performPublishOverrides.test.ts @@ -39,7 +39,7 @@ describe('performPublishOverrides', () => { ...json, })); - readJSONSync.mockImplementation((path: string) => { + readJSONSync.mockImplementation(path => { for (const pkg of Object.values(packageInfos)) { if (path === pkg.packageJsonPath) { // performPublishConfigOverrides mutates the packageJson, so we need to clone it to diff --git a/yarn.lock b/yarn.lock index e515d3c92..1c9e02b7b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1384,11 +1384,12 @@ "@types/qs" "*" "@types/serve-static" "*" -"@types/fs-extra@^9.0.13": - version "9.0.13" - resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-9.0.13.tgz#7594fbae04fe7f1918ce8b3d213f74ff44ac1f45" - integrity sha512-nEnwB++1u5lVDM2UI4c1+5R+FYaKfaAzS4OococimjVm3nQw3TuzH5UNsocrcTBbhnerblyHj4A49qXbIiZdpA== +"@types/fs-extra@^11.0.0": + version "11.0.2" + resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-11.0.2.tgz#23dc1ed7b2eba8ccd75568ac34e7a4e48aa2d087" + integrity sha512-c0hrgAOVYr21EX8J0jBMXGLMgJqVf/v6yxi0dLaJboW9aQPh16Id+z6w2Tx1hm+piJOLv8xPfVKZCLfjPw/IMQ== dependencies: + "@types/jsonfile" "*" "@types/node" "*" "@types/glob@^7.1.1": @@ -1447,6 +1448,13 @@ resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.13.tgz#02c24f4363176d2d18fc8b70b9f3c54aba178a85" integrity sha512-RbSSoHliUbnXj3ny0CNFOoxrIDV6SUGyStHsvDqosw6CkdPV8TtWGlfecuK4ToyMEAql6pzNxgCFKanovUzlgQ== +"@types/jsonfile@*": + version "6.1.2" + resolved "https://registry.yarnpkg.com/@types/jsonfile/-/jsonfile-6.1.2.tgz#d3b8a3536c5bb272ebee0f784180e456b7691c8f" + integrity sha512-8t92P+oeW4d/CRQfJaSqEwXujrhH4OEeHRjGU3v1Q8mUS8GPF3yiX26sw4svv6faL2HfBtGTe2xWIoVgN3dy9w== + dependencies: + "@types/node" "*" + "@types/linkify-it@*": version "3.0.3" resolved "https://registry.yarnpkg.com/@types/linkify-it/-/linkify-it-3.0.3.tgz#15a0712296c5041733c79efe233ba17ae5a7587b" @@ -5538,10 +5546,10 @@ from2@^2.1.0: inherits "^2.0.1" readable-stream "^2.0.0" -fs-extra@^10.0.0: - version "10.1.0" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-10.1.0.tgz#02873cfbc4084dde127eaa5f9905eef2325d1abf" - integrity sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ== +fs-extra@^11.1.1: + version "11.1.1" + resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-11.1.1.tgz#da69f7c39f3b002378b0954bb6ae7efdc0876e2d" + integrity sha512-MGIE4HOvQCeUCzmlHs0vXpih4ysz4wg9qiSAu6cd42lVwPbTM1TjV7RusoyQqMmk/95gdQZX72u+YW+c3eEpFQ== dependencies: graceful-fs "^4.2.0" jsonfile "^6.0.1"