@commitlint/parse 17.0.0 → 17.4.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.
@@ -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,CASjB"}
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"}
package/lib/index.js CHANGED
@@ -4,7 +4,7 @@ const { sync } = require('conventional-commits-parser');
4
4
  const defaultChangelogOpts = require('conventional-changelog-angular');
5
5
  async function parse(message, parser = sync, parserOpts) {
6
6
  const defaultOpts = (await defaultChangelogOpts).parserOpts;
7
- const opts = Object.assign(Object.assign({}, defaultOpts), (parserOpts || {}));
7
+ const opts = Object.assign(Object.assign(Object.assign({}, defaultOpts), (parserOpts || {})), { fieldPattern: null });
8
8
  const parsed = parser(message, opts);
9
9
  parsed.raw = message;
10
10
  return parsed;
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,mCACN,WAAW,GACX,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;AAbD,wBAaC"}
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,GACX,CAAC,UAAU,IAAI,EAAE,CAAC,KACrB,YAAY,EAAE,IAAI,GAClB,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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commitlint/parse",
3
- "version": "17.0.0",
3
+ "version": "17.4.0",
4
4
  "description": "Lint your commit messages",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -35,13 +35,13 @@
35
35
  },
36
36
  "license": "MIT",
37
37
  "devDependencies": {
38
- "@commitlint/test": "^17.0.0",
39
- "@commitlint/utils": "^17.0.0"
38
+ "@commitlint/test": "^17.4.0",
39
+ "@commitlint/utils": "^17.4.0"
40
40
  },
41
41
  "dependencies": {
42
- "@commitlint/types": "^17.0.0",
42
+ "@commitlint/types": "^17.4.0",
43
43
  "conventional-changelog-angular": "^5.0.11",
44
44
  "conventional-commits-parser": "^3.2.2"
45
45
  },
46
- "gitHead": "ed437d29464ab1b239deecb84ce4d1f2a5e471c6"
46
+ "gitHead": "7b0f7e805818944ab9fa42c52b6858211bbf2a66"
47
47
  }
package/CHANGELOG.md DELETED
@@ -1,341 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- # [17.0.0](https://github.com/conventional-changelog/commitlint/compare/v16.3.0...v17.0.0) (2022-05-16)
7
-
8
-
9
- * chore!: minimum node version v14 (#3128) ([ac5f9b4](https://github.com/conventional-changelog/commitlint/commit/ac5f9b47a9e3cd5c9d58b14da0feb426f06b1ef9)), closes [#3128](https://github.com/conventional-changelog/commitlint/issues/3128)
10
-
11
-
12
- ### BREAKING CHANGES
13
-
14
- * drop node v12 support
15
-
16
- * chore: rename circleci windows job
17
-
18
- node version is not defned by the name anyways (i think)
19
-
20
-
21
-
22
-
23
-
24
- ## [16.2.1](https://github.com/conventional-changelog/commitlint/compare/v16.2.0...v16.2.1) (2022-02-13)
25
-
26
- **Note:** Version bump only for package @commitlint/parse
27
-
28
-
29
-
30
-
31
-
32
- # [16.0.0](https://github.com/conventional-changelog/commitlint/compare/v15.0.0...v16.0.0) (2021-12-26)
33
-
34
- **Note:** Version bump only for package @commitlint/parse
35
-
36
-
37
-
38
-
39
-
40
- # [15.0.0](https://github.com/conventional-changelog/commitlint/compare/v14.2.0...v15.0.0) (2021-11-17)
41
-
42
- **Note:** Version bump only for package @commitlint/parse
43
-
44
-
45
-
46
-
47
-
48
- # [14.0.0](https://github.com/conventional-changelog/commitlint/compare/v13.2.1...v14.0.0) (2021-10-26)
49
-
50
- **Note:** Version bump only for package @commitlint/parse
51
-
52
-
53
-
54
-
55
-
56
- # [13.2.0](https://github.com/conventional-changelog/commitlint/compare/v13.1.0...v13.2.0) (2021-09-28)
57
-
58
-
59
- ### Bug Fixes
60
-
61
- * **parse:** enforce secure version of `conventional-commits-parser` ([#2776](https://github.com/conventional-changelog/commitlint/issues/2776)) ([a351801](https://github.com/conventional-changelog/commitlint/commit/a3518012ae11bc00a43a12b8ce935f3ffd2d04ef))
62
-
63
-
64
-
65
-
66
-
67
- # [13.1.0](https://github.com/conventional-changelog/commitlint/compare/v13.0.0...v13.1.0) (2021-07-24)
68
-
69
- **Note:** Version bump only for package @commitlint/parse
70
-
71
-
72
-
73
-
74
-
75
- # [13.0.0](https://github.com/conventional-changelog/commitlint/compare/v12.1.4...v13.0.0) (2021-05-24)
76
-
77
-
78
- * chore!: remove node 10 support (#2596) ([4db4ba1](https://github.com/conventional-changelog/commitlint/commit/4db4ba1b0b312410a0f62100a93a80c246a6c410)), closes [#2596](https://github.com/conventional-changelog/commitlint/issues/2596)
79
-
80
-
81
- ### BREAKING CHANGES
82
-
83
- * minimum node version is 12
84
-
85
-
86
-
87
-
88
-
89
- ## [12.1.3](https://github.com/conventional-changelog/commitlint/compare/v12.1.2...v12.1.3) (2021-05-12)
90
-
91
- **Note:** Version bump only for package @commitlint/parse
92
-
93
-
94
-
95
-
96
-
97
- ## [12.1.2](https://github.com/conventional-changelog/commitlint/compare/v12.1.1...v12.1.2) (2021-04-29)
98
-
99
- **Note:** Version bump only for package @commitlint/parse
100
-
101
-
102
-
103
-
104
-
105
- ## [12.1.1](https://github.com/conventional-changelog/commitlint/compare/v12.1.0...v12.1.1) (2021-04-02)
106
-
107
- **Note:** Version bump only for package @commitlint/parse
108
-
109
-
110
-
111
-
112
-
113
- # [12.1.0](https://github.com/conventional-changelog/commitlint/compare/v12.0.1...v12.1.0) (2021-03-06)
114
-
115
- **Note:** Version bump only for package @commitlint/parse
116
-
117
-
118
-
119
-
120
-
121
- ## [12.0.1](https://github.com/conventional-changelog/commitlint/compare/v12.0.0...v12.0.1) (2021-02-23)
122
-
123
- **Note:** Version bump only for package @commitlint/parse
124
-
125
-
126
-
127
-
128
-
129
- # [12.0.0](https://github.com/conventional-changelog/commitlint/compare/v11.0.0...v12.0.0) (2021-01-18)
130
-
131
- **Note:** Version bump only for package @commitlint/parse
132
-
133
-
134
-
135
-
136
-
137
- # [11.0.0](https://github.com/conventional-changelog/commitlint/compare/v10.0.0...v11.0.0) (2020-09-05)
138
-
139
- **Note:** Version bump only for package @commitlint/parse
140
-
141
-
142
-
143
-
144
-
145
- # [10.0.0](https://github.com/conventional-changelog/commitlint/compare/v9.1.2...v10.0.0) (2020-08-16)
146
-
147
-
148
- * refactor!: drop support for node 8 (#1999) ([751f39f](https://github.com/conventional-changelog/commitlint/commit/751f39f284ef232574a176c3c11b1982ee544166)), closes [#1999](https://github.com/conventional-changelog/commitlint/issues/1999)
149
-
150
-
151
- ### BREAKING CHANGES
152
-
153
- * remove node 8 from circle-ci checks
154
-
155
- also remove node 13 because we do not support experimental versions
156
-
157
- * docs: update node v10 to latest LTS 10 version
158
-
159
- Co-authored-by: Cedric van Putten <me@bycedric.com>
160
-
161
- Co-authored-by: Cedric van Putten <me@bycedric.com>
162
-
163
-
164
-
165
-
166
-
167
- ## [9.1.2](https://github.com/conventional-changelog/commitlint/compare/v9.1.1...v9.1.2) (2020-07-13)
168
-
169
- **Note:** Version bump only for package @commitlint/parse
170
-
171
-
172
-
173
-
174
-
175
- ## [9.1.1](https://github.com/conventional-changelog/commitlint/compare/v9.1.0...v9.1.1) (2020-06-30)
176
-
177
- **Note:** Version bump only for package @commitlint/parse
178
-
179
-
180
-
181
-
182
-
183
- # [9.1.0](https://github.com/conventional-changelog/commitlint/compare/v9.0.1...v9.1.0) (2020-06-21)
184
-
185
- **Note:** Version bump only for package @commitlint/parse
186
-
187
-
188
-
189
-
190
-
191
- ## [9.0.1](https://github.com/conventional-changelog/commitlint/compare/v9.0.0...v9.0.1) (2020-05-26)
192
-
193
- **Note:** Version bump only for package @commitlint/parse
194
-
195
-
196
-
197
-
198
-
199
- # [9.0.0](https://github.com/conventional-changelog/commitlint/compare/v8.3.5...v9.0.0) (2020-05-21)
200
-
201
-
202
- ### Bug Fixes
203
-
204
- * [#840](https://github.com/conventional-changelog/commitlint/issues/840) add caret to lodash versions ([#843](https://github.com/conventional-changelog/commitlint/issues/843)) ([ffc0bac](https://github.com/conventional-changelog/commitlint/commit/ffc0bac26993acb2ab6a8fa51065f93c92b0d644))
205
-
206
-
207
-
208
-
209
-
210
- ## [8.3.4](https://github.com/conventional-changelog/commitlint/compare/v8.3.3...v8.3.4) (2020-01-03)
211
-
212
- **Note:** Version bump only for package @commitlint/parse
213
-
214
-
215
-
216
-
217
-
218
- # [8.3.0](https://github.com/conventional-changelog/commitlint/compare/v8.2.0...v8.3.0) (2019-10-16)
219
-
220
- **Note:** Version bump only for package @commitlint/parse
221
-
222
-
223
-
224
-
225
-
226
- # [8.2.0](https://github.com/conventional-changelog/commitlint/compare/v8.1.0...v8.2.0) (2019-09-16)
227
-
228
- **Note:** Version bump only for package @commitlint/parse
229
-
230
-
231
-
232
-
233
-
234
- # [8.1.0](https://github.com/conventional-changelog/commitlint/compare/v8.0.0...v8.1.0) (2019-07-15)
235
-
236
- **Note:** Version bump only for package @commitlint/parse
237
-
238
-
239
-
240
-
241
-
242
- # [7.6.0](https://github.com/conventional-changelog/commitlint/compare/v7.5.2...v7.6.0) (2019-05-06)
243
-
244
-
245
- ### Bug Fixes
246
-
247
- * don't merge array properties with custom opts ([#616](https://github.com/conventional-changelog/commitlint/issues/616)) ([f321647](https://github.com/conventional-changelog/commitlint/commit/f321647)), closes [#594](https://github.com/conventional-changelog/commitlint/issues/594)
248
-
249
-
250
-
251
-
252
-
253
- <a name="7.5.0"></a>
254
- # [7.5.0](https://github.com/conventional-changelog/commitlint/compare/v7.4.0...v7.5.0) (2019-01-31)
255
-
256
-
257
- ### Bug Fixes
258
-
259
- * mark optional parameter with undefined ([#553](https://github.com/conventional-changelog/commitlint/issues/553)) ([6720284](https://github.com/conventional-changelog/commitlint/commit/6720284))
260
- * replace all repository references with conventional changelog ([#561](https://github.com/conventional-changelog/commitlint/issues/561)) ([6c3afcd](https://github.com/conventional-changelog/commitlint/commit/6c3afcd))
261
-
262
-
263
-
264
-
265
- <a name="7.3.1"></a>
266
- ## [7.3.1](https://github.com/conventional-changelog/commitlint/compare/v7.3.0...v7.3.1) (2019-01-11)
267
-
268
-
269
-
270
-
271
- **Note:** Version bump only for package @commitlint/parse
272
-
273
- <a name="7.3.0"></a>
274
- # [7.3.0](https://github.com/conventional-changelog/commitlint/compare/v7.2.1...v7.3.0) (2019-01-11)
275
-
276
-
277
- ### Bug Fixes
278
-
279
- * fall back to conventional commit-parser settings for missing keys ([#496](https://github.com/conventional-changelog/commitlint/issues/496)) ([831a141](https://github.com/conventional-changelog/commitlint/commit/831a141)), closes [#399](https://github.com/conventional-changelog/commitlint/issues/399)
280
-
281
-
282
-
283
-
284
- <a name="7.1.2"></a>
285
- ## [7.1.2](https://github.com/conventional-changelog/commitlint/compare/v7.1.1...v7.1.2) (2018-09-04)
286
-
287
-
288
-
289
-
290
- **Note:** Version bump only for package @commitlint/parse
291
-
292
- <a name="6.1.1"></a>
293
- ## [6.1.1](https://github.com/conventional-changelog/commitlint/compare/v6.1.0...v6.1.1) (2018-02-22)
294
-
295
-
296
-
297
-
298
- **Note:** Version bump only for package @commitlint/parse
299
-
300
- <a name="6.1.0"></a>
301
- # [6.1.0](https://github.com/conventional-changelog/commitlint/compare/v6.0.5...v6.1.0) (2018-02-03)
302
-
303
-
304
- ### Bug Fixes
305
-
306
- * **parse:** default to angular preset for empty parserOpts ([#265](https://github.com/conventional-changelog/commitlint/issues/265)) ([ccb03b4](https://github.com/conventional-changelog/commitlint/commit/ccb03b4)), closes [#262](https://github.com/conventional-changelog/commitlint/issues/262)
307
-
308
-
309
-
310
-
311
- <a name="6.0.4"></a>
312
- ## [6.0.4](https://github.com/conventional-changelog/commitlint/compare/v6.0.3...v6.0.4) (2018-01-31)
313
-
314
-
315
-
316
-
317
- **Note:** Version bump only for package @commitlint/parse
318
-
319
- <a name="6.0.3"></a>
320
- ## [6.0.3](https://github.com/conventional-changelog/commitlint/compare/v6.0.2...v6.0.3) (2018-01-31)
321
-
322
-
323
-
324
-
325
- **Note:** Version bump only for package @commitlint/parse
326
-
327
- <a name="6.0.2"></a>
328
- ## [6.0.2](https://github.com/conventional-changelog/commitlint/compare/v6.0.0...v6.0.2) (2018-01-12)
329
-
330
-
331
-
332
-
333
- **Note:** Version bump only for package @commitlint/parse
334
-
335
- <a name="6.0.0"></a>
336
- # [6.0.0](https://github.com/conventional-changelog/commitlint/compare/v5.2.6...v6.0.0) (2018-01-09)
337
-
338
-
339
-
340
-
341
- **Note:** Version bump only for package @commitlint/parse