@commitlint/load
Advanced tools
Comparing version 17.7.2 to 17.8.0
@@ -12,3 +12,9 @@ "use strict"; | ||
const moduleName = 'commitlint'; | ||
const tsLoader = (0, cosmiconfig_typescript_loader_1.TypeScriptLoader)(); | ||
let tsLoaderInstance; | ||
const tsLoader = (...args) => { | ||
if (!tsLoaderInstance) { | ||
tsLoaderInstance = (0, cosmiconfig_typescript_loader_1.TypeScriptLoader)(); | ||
} | ||
return tsLoaderInstance(...args); | ||
}; | ||
const explorer = (0, cosmiconfig_1.cosmiconfig)(moduleName, { | ||
@@ -15,0 +21,0 @@ searchPlaces: [ |
{ | ||
"name": "@commitlint/load", | ||
"version": "17.7.2", | ||
"version": "17.8.0", | ||
"description": "Load shared commitlint configuration", | ||
@@ -62,3 +62,3 @@ "main": "lib/load.js", | ||
}, | ||
"gitHead": "16f65a071ca0d4a42ac7e10f9c6695e4795946eb" | ||
"gitHead": "786ecb4037d343251f43f25957af563907db2634" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
33651
413