@commitlint/core 18.6.1 → 19.0.0

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/core.d.ts CHANGED
@@ -2,11 +2,5 @@ import format from '@commitlint/format';
2
2
  import load from '@commitlint/load';
3
3
  import lint from '@commitlint/lint';
4
4
  import read from '@commitlint/read';
5
- declare const _default: {
6
- format: typeof format;
7
- load: typeof load;
8
- lint: typeof lint;
9
- read: typeof read;
10
- };
11
- export = _default;
5
+ export { format, load, lint, read };
12
6
  //# sourceMappingURL=core.d.ts.map
package/lib/core.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../src/core.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,oBAAoB,CAAC;AACxC,OAAO,IAAI,MAAM,kBAAkB,CAAC;AACpC,OAAO,IAAI,MAAM,kBAAkB,CAAC;AACpC,OAAO,IAAI,MAAM,kBAAkB,CAAC;;;;;;;AAEpC,kBAKE"}
1
+ {"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../src/core.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,oBAAoB,CAAC;AACxC,OAAO,IAAI,MAAM,kBAAkB,CAAC;AACpC,OAAO,IAAI,MAAM,kBAAkB,CAAC;AACpC,OAAO,IAAI,MAAM,kBAAkB,CAAC;AAEpC,OAAO,EAAC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAC,CAAC"}
package/lib/core.js CHANGED
@@ -1,15 +1,6 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- const format_1 = __importDefault(require("@commitlint/format"));
6
- const load_1 = __importDefault(require("@commitlint/load"));
7
- const lint_1 = __importDefault(require("@commitlint/lint"));
8
- const read_1 = __importDefault(require("@commitlint/read"));
9
- module.exports = {
10
- format: format_1.default,
11
- load: load_1.default,
12
- lint: lint_1.default,
13
- read: read_1.default,
14
- };
1
+ import format from '@commitlint/format';
2
+ import load from '@commitlint/load';
3
+ import lint from '@commitlint/lint';
4
+ import read from '@commitlint/read';
5
+ export { format, load, lint, read };
15
6
  //# sourceMappingURL=core.js.map
package/lib/core.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"core.js","sourceRoot":"","sources":["../src/core.ts"],"names":[],"mappings":";;;;AAAA,gEAAwC;AACxC,4DAAoC;AACpC,4DAAoC;AACpC,4DAAoC;AAEpC,iBAAS;IACR,MAAM,EAAN,gBAAM;IACN,IAAI,EAAJ,cAAI;IACJ,IAAI,EAAJ,cAAI;IACJ,IAAI,EAAJ,cAAI;CACJ,CAAC"}
1
+ {"version":3,"file":"core.js","sourceRoot":"","sources":["../src/core.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,oBAAoB,CAAC;AACxC,OAAO,IAAI,MAAM,kBAAkB,CAAC;AACpC,OAAO,IAAI,MAAM,kBAAkB,CAAC;AACpC,OAAO,IAAI,MAAM,kBAAkB,CAAC;AAEpC,OAAO,EAAC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@commitlint/core",
3
- "version": "18.6.1",
3
+ "type": "module",
4
+ "version": "19.0.0",
4
5
  "description": "Lint your commit messages",
5
6
  "main": "lib/core.js",
6
7
  "types": "lib/core.d.ts",
@@ -35,13 +36,13 @@
35
36
  },
36
37
  "license": "MIT",
37
38
  "dependencies": {
38
- "@commitlint/format": "^18.6.1",
39
- "@commitlint/lint": "^18.6.1",
40
- "@commitlint/load": "^18.6.1",
41
- "@commitlint/read": "^18.6.1"
39
+ "@commitlint/format": "^19.0.0",
40
+ "@commitlint/lint": "^19.0.0",
41
+ "@commitlint/load": "^19.0.0",
42
+ "@commitlint/read": "^19.0.0"
42
43
  },
43
44
  "devDependencies": {
44
- "@commitlint/utils": "^18.6.1"
45
+ "@commitlint/utils": "^19.0.0"
45
46
  },
46
- "gitHead": "89f5bf91d1c11b1f457a6f0d99b8ea34583a9311"
47
+ "gitHead": "f1ff12159d627ee63bf8982ab02e6cca8f10b09f"
47
48
  }