@commitlint/resolve-extends
Advanced tools
Comparing version 13.0.0 to 13.2.0
@@ -6,2 +6,10 @@ # Change Log | ||
# [13.2.0](https://github.com/conventional-changelog/commitlint/compare/v13.1.0...v13.2.0) (2021-09-28) | ||
**Note:** Version bump only for package @commitlint/resolve-extends | ||
# [13.0.0](https://github.com/conventional-changelog/commitlint/compare/v12.1.4...v13.0.0) (2021-05-24) | ||
@@ -8,0 +16,0 @@ |
@@ -27,3 +27,3 @@ "use strict"; | ||
var { extends: _ } = _a, c = __rest(_a, ["extends"]); | ||
return mergeWith_1.default(r, c, (objValue, srcValue) => { | ||
return (0, mergeWith_1.default)(r, c, (objValue, srcValue) => { | ||
if (Array.isArray(objValue)) { | ||
@@ -34,3 +34,3 @@ return srcValue; | ||
}, e ? { extends: e } : {}); | ||
return merge_1.default({}, extended, config); | ||
return (0, merge_1.default)({}, extended, config); | ||
} | ||
@@ -46,3 +46,3 @@ exports.default = resolveExtends; | ||
const cwd = path_1.default.dirname(resolved); | ||
const ctx = merge_1.default({}, context, { cwd }); | ||
const ctx = (0, merge_1.default)({}, context, { cwd }); | ||
// Resolve parser preset if none was present before | ||
@@ -52,3 +52,3 @@ if (!context.parserPreset && | ||
typeof c.parserPreset === 'string') { | ||
const resolvedParserPreset = resolve_from_1.default(cwd, c.parserPreset); | ||
const resolvedParserPreset = (0, resolve_from_1.default)(cwd, c.parserPreset); | ||
const parserPreset = { | ||
@@ -107,3 +107,3 @@ name: c.parserPreset, | ||
try { | ||
return resolve_from_1.default(cwd, id); | ||
return (0, resolve_from_1.default)(cwd, id); | ||
} | ||
@@ -110,0 +110,0 @@ catch (err) { } |
{ | ||
"name": "@commitlint/resolve-extends", | ||
"version": "13.0.0", | ||
"version": "13.2.0", | ||
"description": "Lint your commit messages", | ||
@@ -37,3 +37,3 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@commitlint/utils": "^13.0.0", | ||
"@commitlint/utils": "^13.2.0", | ||
"@types/lodash": "^4.14.161" | ||
@@ -47,3 +47,3 @@ }, | ||
}, | ||
"gitHead": "ca0ddf736a495fe6868cb9b4c43ae65476a5a6bf" | ||
"gitHead": "65e45339c79e46d01e35ec067edf14d225a3528a" | ||
} |
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
20637