Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@commitlint/resolve-extends

Package Overview
Dependencies
Maintainers
4
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@commitlint/resolve-extends - npm Package Compare versions

Comparing version 11.0.0 to 12.0.0

16

CHANGELOG.md

@@ -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 @@

4

lib/index.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc