@commitlint/parse 17.4.4 → 17.6.5

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/lib/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  import { Commit, Parser, ParserOptions } from '@commitlint/types';
2
- export default function parse(message: string, parser?: Parser, parserOpts?: ParserOptions): Promise<Commit>;
2
+ export declare function parse(message: string, parser?: Parser, parserOpts?: ParserOptions): Promise<Commit>;
3
+ export default parse;
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAE,MAAM,EAAE,aAAa,EAAC,MAAM,mBAAmB,CAAC;AAKhE,wBAA8B,KAAK,CAClC,OAAO,EAAE,MAAM,EACf,MAAM,GAAE,MAAa,EACrB,UAAU,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,MAAM,CAAC,CAUjB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAE,MAAM,EAAE,aAAa,EAAC,MAAM,mBAAmB,CAAC;AAKhE,wBAAsB,KAAK,CAC1B,OAAO,EAAE,MAAM,EACf,MAAM,GAAE,MAAa,EACrB,UAAU,CAAC,EAAE,aAAa,GACxB,OAAO,CAAC,MAAM,CAAC,CAUjB;AAED,eAAe,KAAK,CAAC"}
package/lib/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.parse = void 0;
3
4
  const { sync } = require('conventional-commits-parser');
4
5
  const defaultChangelogOpts = require('conventional-changelog-angular');
5
6
  async function parse(message, parser = sync, parserOpts) {
@@ -9,5 +10,6 @@ async function parse(message, parser = sync, parserOpts) {
9
10
  parsed.raw = message;
10
11
  return parsed;
11
12
  }
13
+ exports.parse = parse;
12
14
  exports.default = parse;
13
15
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;AAEA,MAAM,EAAC,IAAI,EAAC,GAAG,OAAO,CAAC,6BAA6B,CAAC,CAAC;AACtD,MAAM,oBAAoB,GAAG,OAAO,CAAC,gCAAgC,CAAC,CAAC;AAExD,KAAK,UAAU,KAAK,CAClC,OAAe,EACf,SAAiB,IAAI,EACrB,UAA0B;IAE1B,MAAM,WAAW,GAAG,CAAC,MAAM,oBAAoB,CAAC,CAAC,UAAU,CAAC;IAC5D,MAAM,IAAI,iDACN,WAAW,KACd,YAAY,EAAE,IAAI,KACf,CAAC,UAAU,IAAI,EAAE,CAAC,CACrB,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;AAdD,wBAcC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAEA,MAAM,EAAC,IAAI,EAAC,GAAG,OAAO,CAAC,6BAA6B,CAAC,CAAC;AACtD,MAAM,oBAAoB,GAAG,OAAO,CAAC,gCAAgC,CAAC,CAAC;AAEhE,KAAK,UAAU,KAAK,CAC1B,OAAe,EACf,SAAiB,IAAI,EACrB,UAA0B;IAE1B,MAAM,WAAW,GAAG,CAAC,MAAM,oBAAoB,CAAC,CAAC,UAAU,CAAC;IAC5D,MAAM,IAAI,iDACN,WAAW,KACd,YAAY,EAAE,IAAI,KACf,CAAC,UAAU,IAAI,EAAE,CAAC,CACrB,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;AAdD,sBAcC;AAED,kBAAe,KAAK,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commitlint/parse",
3
- "version": "17.4.4",
3
+ "version": "17.6.5",
4
4
  "description": "Lint your commit messages",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -43,5 +43,5 @@
43
43
  "conventional-changelog-angular": "^5.0.11",
44
44
  "conventional-commits-parser": "^3.2.2"
45
45
  },
46
- "gitHead": "1aeec3c9b2c21cb8f0386398c24d8e7ed6eafbf0"
46
+ "gitHead": "af2f3a82d38ea0272578c8066565a0e6cf5810b0"
47
47
  }