Socket
Socket
Sign inDemoInstall

@commitlint/parse

Package Overview
Dependencies
18
Maintainers
4
Versions
62
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 18.6.1 to 19.0.0

5

lib/index.d.ts

@@ -1,4 +0,5 @@

import { Commit, Parser, ParserOptions } from '@commitlint/types';
export declare function parse(message: string, parser?: Parser, parserOpts?: ParserOptions): Promise<Commit>;
import type { Parser } from '@commitlint/types';
import { type Commit, type Options } from 'conventional-commits-parser';
export declare function parse(message: string, parser?: Parser, parserOpts?: Options): Promise<Commit>;
export default parse;
//# sourceMappingURL=index.d.ts.map

13

lib/index.js

@@ -1,7 +0,5 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parse = void 0;
const { sync } = require('conventional-commits-parser');
const defaultChangelogOpts = require('conventional-changelog-angular');
async function parse(message, parser = sync, parserOpts) {
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();

@@ -14,4 +12,3 @@ const defaultOpts = preset.parserOpts;

}
exports.parse = parse;
exports.default = parse;
export default parse;
//# sourceMappingURL=index.js.map
{
"name": "@commitlint/parse",
"version": "18.6.1",
"type": "module",
"version": "19.0.0",
"description": "Lint your commit messages",

@@ -38,11 +39,12 @@ "main": "lib/index.js",

"devDependencies": {
"@commitlint/test": "^18.0.0",
"@commitlint/utils": "^18.6.1"
"@commitlint/test": "^19.0.0",
"@commitlint/utils": "^19.0.0",
"@types/conventional-commits-parser": "^3.0.6"
},
"dependencies": {
"@commitlint/types": "^18.6.1",
"@commitlint/types": "^19.0.0",
"conventional-changelog-angular": "^7.0.0",
"conventional-commits-parser": "^5.0.0"
},
"gitHead": "89f5bf91d1c11b1f457a6f0d99b8ea34583a9311"
"gitHead": "f1ff12159d627ee63bf8982ab02e6cca8f10b09f"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc