@commitlint/load
Advanced tools
Comparing version 17.2.0 to 17.3.0
@@ -9,5 +9,5 @@ "use strict"; | ||
const config_validator_1 = require("@commitlint/config-validator"); | ||
const isPlainObject_1 = __importDefault(require("lodash/isPlainObject")); | ||
const merge_1 = __importDefault(require("lodash/merge")); | ||
const uniq_1 = __importDefault(require("lodash/uniq")); | ||
const lodash_isplainobject_1 = __importDefault(require("lodash.isplainobject")); | ||
const lodash_merge_1 = __importDefault(require("lodash.merge")); | ||
const lodash_uniq_1 = __importDefault(require("lodash.uniq")); | ||
const path_1 = __importDefault(require("path")); | ||
@@ -28,3 +28,3 @@ const resolve_from_1 = __importDefault(require("resolve-from")); | ||
// Merge passed config with file based options | ||
config = (0, merge_1.default)({ | ||
config = (0, lodash_merge_1.default)({ | ||
extends: [], | ||
@@ -54,3 +54,3 @@ plugins: [], | ||
if (Array.isArray(extended.plugins)) { | ||
(0, uniq_1.default)(extended.plugins || []).forEach((plugin) => { | ||
(0, lodash_uniq_1.default)(extended.plugins || []).forEach((plugin) => { | ||
if (typeof plugin === 'string') { | ||
@@ -75,3 +75,3 @@ plugins = (0, load_plugin_1.default)(plugins, plugin, process.env.DEBUG === 'true'); | ||
: 'https://github.com/conventional-changelog/commitlint/#what-is-commitlint'; | ||
const prompt = extended.prompt && (0, isPlainObject_1.default)(extended.prompt) ? extended.prompt : {}; | ||
const prompt = extended.prompt && (0, lodash_isplainobject_1.default)(extended.prompt) ? extended.prompt : {}; | ||
return { | ||
@@ -78,0 +78,0 @@ extends: Array.isArray(extended.extends) |
{ | ||
"name": "@commitlint/load", | ||
"version": "17.2.0", | ||
"version": "17.3.0", | ||
"description": "Load shared commitlint configuration", | ||
@@ -40,3 +40,5 @@ "main": "lib/load.js", | ||
"@commitlint/utils": "^17.0.0", | ||
"@types/lodash": "4.14.185", | ||
"@types/lodash.isplainobject": "^4.0.7", | ||
"@types/lodash.merge": "^4.6.7", | ||
"@types/lodash.uniq": "^4.5.7", | ||
"conventional-changelog-atom": "^2.0.8", | ||
@@ -48,3 +50,3 @@ "execa": "^5.0.0" | ||
"@commitlint/execute-rule": "^17.0.0", | ||
"@commitlint/resolve-extends": "^17.1.0", | ||
"@commitlint/resolve-extends": "^17.3.0", | ||
"@commitlint/types": "^17.0.0", | ||
@@ -55,3 +57,5 @@ "@types/node": "^14.0.0", | ||
"cosmiconfig-typescript-loader": "^4.0.0", | ||
"lodash": "^4.17.19", | ||
"lodash.isplainobject": "^4.0.6", | ||
"lodash.merge": "^4.6.2", | ||
"lodash.uniq": "^4.5.0", | ||
"resolve-from": "^5.0.0", | ||
@@ -61,3 +65,3 @@ "ts-node": "^10.8.1", | ||
}, | ||
"gitHead": "a2fab85ec0668b112f43073c766a2a8545a55497" | ||
"gitHead": "618aee50a953ab06e736d985009f7182bd1a8ae1" | ||
} |
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
33099
14
7
+ Addedlodash.isplainobject@^4.0.6
+ Addedlodash.merge@^4.6.2
+ Addedlodash.uniq@^4.5.0
+ Addedlodash.isplainobject@4.0.6(transitive)
+ Addedlodash.merge@4.6.2(transitive)
+ Addedlodash.uniq@4.5.0(transitive)
- Removedlodash@^4.17.19
- Removedlodash@4.17.21(transitive)