Sha256: 7547cdb23015f698e346b10820744b69058509ed5a455bdc3ed0c744ee59e8c3
Contents?: true
Size: 578 Bytes
Versions: 2
Compression:
Stored size: 578 Bytes
Contents
import { sync } from 'conventional-commits-parser'; // @ts-expect-error -- no typings import defaultChangelogOpts from 'conventional-changelog-angular'; export async function parse(message, parser = sync, parserOpts) { const preset = await defaultChangelogOpts(); const defaultOpts = preset.parserOpts; const opts = Object.assign(Object.assign(Object.assign({}, defaultOpts), { fieldPattern: null }), (parserOpts || {})); const parsed = parser(message, opts); parsed.raw = message; return parsed; } export default parse; //# sourceMappingURL=index.js.map
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pcp-server-ruby-sdk-0.0.6 | node_modules/@commitlint/parse/lib/index.js |
pcp-server-ruby-sdk-0.1.0 | node_modules/@commitlint/parse/lib/index.js |