Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

conventional-changelog-jshint

Package Overview
Dependencies
Maintainers
4
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

conventional-changelog-jshint - npm Package Compare versions

Comparing version 3.0.0 to 4.0.0

conventionalChangelog.js

33

index.js
'use strict'
const conventionalChangelog = require('./conventional-changelog')
const parserOpts = require('./parser-opts')
const recommendedBumpOpts = require('./conventional-recommended-bump')
const writerOpts = require('./writer-opts')
module.exports = presetOpts
const { createParserOpts } = require('./parserOpts')
const { createWriterOpts } = require('./writerOpts')
const { createConventionalChangelogOpts } = require('./conventionalChangelog')
const { createConventionalRecommendedBumpOpts } = require('./conventionalRecommendedBump')
function presetOpts (cb) {
Promise.all([conventionalChangelog, parserOpts, recommendedBumpOpts, writerOpts])
.then(([conventionalChangelog, parserOpts, recommendedBumpOpts, writerOpts]) => {
cb(null, {
conventionalChangelog,
parserOpts,
recommendedBumpOpts,
writerOpts
})
})
async function createPreset () {
const parserOpts = createParserOpts()
const writerOpts = await createWriterOpts()
const recommendedBumpOpts = createConventionalRecommendedBumpOpts(parserOpts)
const conventionalChangelog = createConventionalChangelogOpts(parserOpts, writerOpts)
return {
parserOpts,
writerOpts,
recommendedBumpOpts,
conventionalChangelog
}
}
module.exports = createPreset
{
"name": "conventional-changelog-jshint",
"version": "3.0.0",
"version": "4.0.0",
"description": "conventional-changelog jshint preset",

@@ -17,11 +17,11 @@ "main": "index.js",

"engines": {
"node": ">=14"
"node": ">=16"
},
"license": "ISC",
"files": [
"conventional-changelog.js",
"conventional-recommended-bump.js",
"conventionalChangelog.js",
"conventionalRecommendedBump.js",
"index.js",
"parser-opts.js",
"writer-opts.js",
"parserOpts.js",
"writerOpts.js",
"templates"

@@ -35,6 +35,3 @@ ],

"compare-func": "^2.0.0"
},
"scripts": {
"test-windows": "echo 'make work on windows'"
}
}

@@ -1,7 +0,39 @@

# [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url] [![Coverage Status][coverage-image]][coverage-url]
# conventional-changelog-jshint
> [conventional-changelog](https://github.com/ajoslin/conventional-changelog) [jshint](https://github.com/jshint/jshint) preset
[![NPM version][npm]][npm-url]
[![Node version][node]][node-url]
[![Dependencies status][deps]][deps-url]
[![Build status][build]][build-url]
[![Coverage status][coverage]][coverage-url]
[npm]: https://img.shields.io/npm/v/conventional-changelog-jshint.svg
[npm-url]: https://npmjs.com/package/conventional-changelog-jshint
[node]: https://img.shields.io/node/v/conventional-changelog-jshint.svg
[node-url]: https://nodejs.org
[deps]: https://img.shields.io/librariesio/release/npm/conventional-changelog-jshint
[deps-url]: https://libraries.io/npm/conventional-changelog-jshint/tree
[build]: https://img.shields.io/github/actions/workflow/status/conventional-changelog/conventional-changelog/ci.yaml?branch=master
[build-url]: https://github.com/conventional-changelog/conventional-changelog/actions
[coverage]: https://coveralls.io/repos/github/conventional-changelog/conventional-changelog/badge.svg?branch=master
[coverage-url]: https://coveralls.io/github/conventional-changelog/conventional-changelog?branch=master
[conventional-changelog](https://github.com/conventional-changelog/conventional-changelog) [jshint](https://github.com/jshint/jshint) preset.
**Issues with the convention itself should be reported on the JSHint issue tracker.**
## Install
```bash
# yarn
yarn add -D conventional-changelog-jshint
# pnpm
pnpm add -D conventional-changelog-jshint
# npm
npm i -D conventional-changelog-jshint
```
## JSHint Convention

@@ -82,10 +114,1 @@

Based on https://github.com/jshint/jshint/blob/master/CONTRIBUTING.md#commit-message-guidelines
[npm-image]: https://badge.fury.io/js/conventional-changelog-jshint.svg
[npm-url]: https://npmjs.org/package/conventional-changelog-jshint
[travis-image]: https://travis-ci.org/stevemao/conventional-changelog-jshint.svg?branch=master
[travis-url]: https://travis-ci.org/stevemao/conventional-changelog-jshint
[daviddm-image]: https://david-dm.org/stevemao/conventional-changelog-jshint.svg?theme=shields.io
[daviddm-url]: https://david-dm.org/stevemao/conventional-changelog-jshint
[coverage-image]: https://coveralls.io/repos/github/conventional-changelog/conventional-changelog/badge.svg?branch=master
[coverage-url]: https://coveralls.io/github/conventional-changelog/conventional-changelog?branch=master
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc