@commitlint/resolve-extends
Advanced tools
Comparing version 11.0.0 to 12.0.0
@@ -6,2 +6,18 @@ # Change Log | ||
# [12.0.0](https://github.com/conventional-changelog/commitlint/compare/v11.0.0...v12.0.0) (2021-01-18) | ||
### Bug Fixes | ||
* **resolve-extends:** `extends` field should be resolved from left to right ([#2070](https://github.com/conventional-changelog/commitlint/issues/2070)) ([c0a86f5](https://github.com/conventional-changelog/commitlint/commit/c0a86f5b5ed6ef071acef4baf38e7fc549fbec37)) | ||
### BREAKING CHANGES | ||
* **resolve-extends:** The order of the `extends` resolution is changed from right-to-left to left-to-right | ||
# [11.0.0](https://github.com/conventional-changelog/commitlint/compare/v10.0.0...v11.0.0) (2020-09-05) | ||
@@ -8,0 +24,0 @@ |
@@ -25,3 +25,3 @@ "use strict"; | ||
const { extends: e } = config; | ||
const extended = loadExtends(config, context).reduceRight((r, _a) => { | ||
const extended = loadExtends(config, context).reduce((r, _a) => { | ||
var { extends: _ } = _a, c = __rest(_a, ["extends"]); | ||
@@ -61,3 +61,3 @@ return mergeWith_1.default(r, c, (objValue, srcValue) => { | ||
} | ||
return [...configs, c, ...loadExtends(c, ctx)]; | ||
return [...configs, ...loadExtends(c, ctx), c]; | ||
}, []); | ||
@@ -64,0 +64,0 @@ } |
{ | ||
"name": "@commitlint/resolve-extends", | ||
"version": "11.0.0", | ||
"version": "12.0.0", | ||
"description": "Lint your commit messages", | ||
@@ -15,3 +15,3 @@ "main": "lib/index.js", | ||
"engines": { | ||
"node": ">=v10.22.0" | ||
"node": ">=v10" | ||
}, | ||
@@ -38,4 +38,4 @@ "repository": { | ||
"devDependencies": { | ||
"@commitlint/utils": "^11.0.0", | ||
"@types/lodash": "4.14.161" | ||
"@commitlint/utils": "^12.0.0", | ||
"@types/lodash": "^4.14.161" | ||
}, | ||
@@ -48,3 +48,3 @@ "dependencies": { | ||
}, | ||
"gitHead": "922317463f7c90c0fb319e075de533dd63343863" | ||
"gitHead": "d829bf6260304ca8d6811f329fcdd1b6c50e9749" | ||
} |
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
19471