@commitlint/parse 19.5.0 → 19.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/lib/index.d.ts +2 -2
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +2 -2
- package/lib/index.js.map +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
package/lib/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Parser } from
|
|
2
|
-
import { type Commit, type Options } from
|
|
1
|
+
import type { Parser } from "@commitlint/types";
|
|
2
|
+
import { type Commit, type Options } from "conventional-commits-parser";
|
|
3
3
|
export declare function parse(message: string, parser?: Parser, parserOpts?: Options): Promise<Commit>;
|
|
4
4
|
export default parse;
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAEhD,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,OAAO,EAAQ,MAAM,6BAA6B,CAAC;AAI9E,wBAAsB,KAAK,CAC1B,OAAO,EAAE,MAAM,EACf,MAAM,GAAE,MAAa,EACrB,UAAU,CAAC,EAAE,OAAO,GAClB,OAAO,CAAC,MAAM,CAAC,CAWjB;AAED,eAAe,KAAK,CAAC"}
|
package/lib/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { sync } from
|
|
1
|
+
import { sync } from "conventional-commits-parser";
|
|
2
2
|
// @ts-expect-error -- no typings
|
|
3
|
-
import defaultChangelogOpts from
|
|
3
|
+
import defaultChangelogOpts from "conventional-changelog-angular";
|
|
4
4
|
export async function parse(message, parser = sync, parserOpts) {
|
|
5
5
|
const preset = await defaultChangelogOpts();
|
|
6
6
|
const defaultOpts = preset.parserOpts;
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAA6B,IAAI,EAAE,MAAM,6BAA6B,CAAC;AAC9E,iCAAiC;AACjC,OAAO,oBAAoB,MAAM,gCAAgC,CAAC;AAElE,MAAM,CAAC,KAAK,UAAU,KAAK,CAC1B,OAAe,EACf,SAAiB,IAAI,EACrB,UAAoB;IAEpB,MAAM,MAAM,GAAG,MAAM,oBAAoB,EAAE,CAAC;IAC5C,MAAM,WAAW,GAAG,MAAM,CAAC,UAAU,CAAC;IACtC,MAAM,IAAI,GAAG;QACZ,GAAG,WAAW;QACd,YAAY,EAAE,IAAI;QAClB,GAAG,CAAC,UAAU,IAAI,EAAE,CAAC;KACrB,CAAC;IACF,MAAM,MAAM,GAAG,MAAM,CAAC,OAAO,EAAE,IAAI,CAAW,CAAC;IAC/C,MAAM,CAAC,GAAG,GAAG,OAAO,CAAC;IACrB,OAAO,MAAM,CAAC;AACf,CAAC;AAED,eAAe,KAAK,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commitlint/parse",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "19.
|
|
4
|
+
"version": "19.8.1",
|
|
5
5
|
"description": "Lint your commit messages",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"types": "lib/index.d.ts",
|
|
@@ -36,14 +36,14 @@
|
|
|
36
36
|
},
|
|
37
37
|
"license": "MIT",
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@commitlint/test": "^19.
|
|
40
|
-
"@commitlint/utils": "^19.
|
|
39
|
+
"@commitlint/test": "^19.8.1",
|
|
40
|
+
"@commitlint/utils": "^19.8.1",
|
|
41
41
|
"@types/conventional-commits-parser": "^5.0.0"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@commitlint/types": "^19.
|
|
44
|
+
"@commitlint/types": "^19.8.1",
|
|
45
45
|
"conventional-changelog-angular": "^7.0.0",
|
|
46
46
|
"conventional-commits-parser": "^5.0.0"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "3c302008cabeb0b08cd246b2417a51a9d745a918"
|
|
49
49
|
}
|