diff --git a/packages/gatsby-theme-docs/package.json b/packages/gatsby-theme-docs/package.json index 7e4774696b..079b7b681f 100644 --- a/packages/gatsby-theme-docs/package.json +++ b/packages/gatsby-theme-docs/package.json @@ -115,7 +115,7 @@ "@testing-library/react": "14.1.2", "@types/gtag.js": "^0.0.18", "@types/react": "18.2.45", - "cosmiconfig": "^8.0.0", + "cosmiconfig": "^9.0.0", "gatsby": "5.12.12", "gatsby-cli": "5.12.4", "react": "18.2.0", diff --git a/yarn.lock b/yarn.lock index b297d62dcb..3704df1a25 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3458,7 +3458,7 @@ __metadata: "@types/react": 18.2.45 "@videojs/themes": ^1.0.1 assert: 2.1.0 - cosmiconfig: ^8.0.0 + cosmiconfig: ^9.0.0 docsearch.js: 2.6.3 formik: 2.4.5 gatsby: 5.12.12 @@ -13063,6 +13063,23 @@ __metadata: languageName: node linkType: hard +"cosmiconfig@npm:^9.0.0": + version: 9.0.0 + resolution: "cosmiconfig@npm:9.0.0" + dependencies: + env-paths: ^2.2.1 + import-fresh: ^3.3.0 + js-yaml: ^4.1.0 + parse-json: ^5.2.0 + peerDependencies: + typescript: ">=4.9.5" + peerDependenciesMeta: + typescript: + optional: true + checksum: a30c424b53d442ea0bdd24cb1b3d0d8687c8dda4a17ab6afcdc439f8964438801619cdb66e8e79f63b9caa3e6586b60d8bab9ce203e72df6c5e80179b971fe8f + languageName: node + linkType: hard + "create-gatsby@npm:^3.12.3": version: 3.12.3 resolution: "create-gatsby@npm:3.12.3" @@ -14644,7 +14661,7 @@ __metadata: languageName: node linkType: hard -"env-paths@npm:^2.2.0": +"env-paths@npm:^2.2.0, env-paths@npm:^2.2.1": version: 2.2.1 resolution: "env-paths@npm:2.2.1" checksum: 65b5df55a8bab92229ab2b40dad3b387fad24613263d103a97f91c9fe43ceb21965cd3392b1ccb5d77088021e525c4e0481adb309625d0cb94ade1d1fb8dc17e