From 5a9d80fba352deae1c2855792be4f8458a973431 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 27 Aug 2022 16:50:31 +0800 Subject: [PATCH] fix: update dependency cosmiconfig-typescript-loader to v4 (#3346) * fix: update dependency cosmiconfig-typescript-loader to v4 * fix(load): cosmiconfig-typescript-loader import for v4 Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: escapedcat --- @commitlint/load/package.json | 2 +- @commitlint/load/src/utils/load-config.ts | 2 +- yarn.lock | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/@commitlint/load/package.json b/@commitlint/load/package.json index 31c81faeda..95f2898582 100644 --- a/@commitlint/load/package.json +++ b/@commitlint/load/package.json @@ -53,7 +53,7 @@ "@types/node": "^14.0.0", "chalk": "^4.1.0", "cosmiconfig": "^7.0.0", - "cosmiconfig-typescript-loader": "^3.0.0", + "cosmiconfig-typescript-loader": "^4.0.0", "lodash": "^4.17.19", "resolve-from": "^5.0.0", "typescript": "^4.6.4" diff --git a/@commitlint/load/src/utils/load-config.ts b/@commitlint/load/src/utils/load-config.ts index bf5ccdf8d0..cedddb4d45 100644 --- a/@commitlint/load/src/utils/load-config.ts +++ b/@commitlint/load/src/utils/load-config.ts @@ -1,5 +1,5 @@ import {cosmiconfig} from 'cosmiconfig'; -import TypeScriptLoader from 'cosmiconfig-typescript-loader'; +import {TypeScriptLoader} from 'cosmiconfig-typescript-loader'; import path from 'path'; export interface LoadConfigResult { diff --git a/yarn.lock b/yarn.lock index d06efa765b..7f3a7ab947 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3532,10 +3532,10 @@ core-util-is@~1.0.0: resolved "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz#a6042d3634c2b27e9328f837b965fac83808db85" integrity sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ== -cosmiconfig-typescript-loader@^3.0.0: - version "3.1.2" - resolved "https://registry.npmjs.org/cosmiconfig-typescript-loader/-/cosmiconfig-typescript-loader-3.1.2.tgz#e147457854cabe1416152bdca55f53449b1f865d" - integrity sha512-rIwakk27LtK7vjSjGgs3FDbKkq41Byw3VHRGRuAkRQLfGla+O7s+cy1FXRkjLSZ2G9z1og1bcOIsELo1w4G0Kg== +cosmiconfig-typescript-loader@^4.0.0: + version "4.0.0" + resolved "https://registry.npmjs.org/cosmiconfig-typescript-loader/-/cosmiconfig-typescript-loader-4.0.0.tgz#4a6d856c1281135197346a6f64dfa73a9cd9fefa" + integrity sha512-cVpucSc2Tf+VPwCCR7SZzmQTQkPbkk4O01yXsYqXBIbjE1bhwqSyAgYQkRK1un4i0OPziTleqFhdkmOc4RQ/9g== cosmiconfig@^7.0.0: version "7.0.1"