@commitlint/resolve-extends
Advanced tools
Comparing version 19.0.1 to 19.0.2
@@ -18,2 +18,3 @@ var __rest = (this && this.__rest) || function (s, e) { | ||
import mergeWith from 'lodash.mergewith'; | ||
import resolveFrom_ from 'resolve-from'; | ||
import { validateConfig } from '@commitlint/config-validator'; | ||
@@ -60,3 +61,12 @@ const dynamicImport = async (id) => { | ||
} | ||
throw resolveError; | ||
try { | ||
/** | ||
* Yarn P'n'P does not support pure ESM well, this is only a workaround for | ||
* @see https://github.com/conventional-changelog/commitlint/issues/3936 | ||
*/ | ||
return resolveFrom_(path.dirname(fileURLToPath(base)), lookup); | ||
} | ||
catch (_a) { | ||
throw resolveError; | ||
} | ||
}; | ||
@@ -63,0 +73,0 @@ /** |
{ | ||
"name": "@commitlint/resolve-extends", | ||
"type": "module", | ||
"version": "19.0.1", | ||
"version": "19.0.2", | ||
"description": "Lint your commit messages", | ||
@@ -47,5 +47,6 @@ "main": "lib/index.js", | ||
"import-meta-resolve": "^4.0.0", | ||
"lodash.mergewith": "^4.6.2" | ||
"lodash.mergewith": "^4.6.2", | ||
"resolve-from": "^5.0.0" | ||
}, | ||
"gitHead": "9351b8e1f4e9fc1ff45e55dabcd2d887ac2a8070" | ||
"gitHead": "e5389241cbf379040c79efbc73a94c37ace840f0" | ||
} |
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
18204
218
6
+ Addedresolve-from@^5.0.0
+ Addedresolve-from@5.0.0(transitive)