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

conventional-changelog-preset-loader

Package Overview
Dependencies
Maintainers
2
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

conventional-changelog-preset-loader - npm Package Compare versions

Comparing version 4.1.0 to 5.0.0

dist/index.d.ts

31

package.json
{
"name": "conventional-changelog-preset-loader",
"version": "4.1.0",
"type": "module",
"version": "5.0.0",
"description": "Configuration preset loader for `conventional-changelog`.",
"author": "Hutson Betts",
"license": "MIT",
"homepage": "https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-changelog-preset-loader#readme",
"repository": {
"type": "git",
"url": "https://github.com/conventional-changelog/conventional-changelog.git"
"url": "https://github.com/conventional-changelog/conventional-changelog.git",
"directory": "packages/conventional-changelog-preset-loader"
},
"bugs": {
"url": "https://github.com/conventional-changelog/conventional-changelog/issues"
},
"keywords": [

@@ -14,17 +22,12 @@ "conventional-changelog",

],
"license": "MIT",
"engines": {
"node": ">=16"
"node": ">=18"
},
"exports": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"files": [
"index.js"
],
"bugs": {
"url": "https://github.com/conventional-changelog/conventional-changelog/issues"
},
"homepage": "https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-changelog-preset-loader#readme",
"devDependencies": {
"conventional-changelog-angular": "^7.0.0",
"conventional-changelog-conventionalcommits": "^7.0.2"
}
"dist"
]
}
# conventional-changelog-preset-loader
[![ESM-only package][package]][package-url]
[![NPM version][npm]][npm-url]
[![Node version][node]][node-url]
[![Dependencies status][deps]][deps-url]
[![Install size][size]][size-url]
[![Build status][build]][build-url]
[![Coverage status][coverage]][coverage-url]
[package]: https://img.shields.io/badge/package-ESM--only-ffe536.svg
[package-url]: https://nodejs.org/api/esm.html
[npm]: https://img.shields.io/npm/v/conventional-changelog-preset-loader.svg

@@ -18,3 +23,6 @@ [npm-url]: https://npmjs.com/package/conventional-changelog-preset-loader

[build]: https://img.shields.io/github/actions/workflow/status/conventional-changelog/conventional-changelog/ci.yaml?branch=master
[size]: https://packagephobia.com/badge?p=conventional-changelog-preset-loader
[size-url]: https://packagephobia.com/result?p=conventional-changelog-preset-loader
[build]: https://img.shields.io/github/actions/workflow/status/conventional-changelog/conventional-changelog/tests.yaml?branch=master
[build-url]: https://github.com/conventional-changelog/conventional-changelog/actions

@@ -27,19 +35,32 @@

## Usage
<hr />
<a href="#install">Install</a>
<span>&nbsp;&nbsp;•&nbsp;&nbsp;</span>
<a href="#usage">Usage</a>
<span>&nbsp;&nbsp;•&nbsp;&nbsp;</span>
<a href="#preset-package-resolution">Preset package resolution</a>
<span>&nbsp;&nbsp;•&nbsp;&nbsp;</span>
<a href="#preset-exports">Preset exports</a>
<span>&nbsp;&nbsp;•&nbsp;&nbsp;</span>
<a href="#preset-options">Preset options</a>
<br />
<hr />
Install:
## Install
```bash
# pnpm
pnpm add conventional-changelog-preset-loader
# yarn
yarn add -D conventional-changelog-preset-loader
# pnpm
pnpm add -D conventional-changelog-preset-loader
yarn add conventional-changelog-preset-loader
# npm
npm i -D conventional-changelog-preset-loader
npm i conventional-changelog-preset-loader
```
## Usage
Import `loadPreset` function from the package and use it to load the preset:
```js
const { loadPreset } = require('conventional-changelog-preset-loader')
import { loadPreset } from 'conventional-changelog-preset-loader'

@@ -54,4 +75,6 @@ loadPreset('angular').then((config) => {

```js
const { createPresetLoader } = require('conventional-changelog-preset-loader')
import { createRequire } from 'node:module'
import { createPresetLoader } from 'conventional-changelog-preset-loader'
const require = createRequire(import.meta.url)
const loadPreset = createPresetLoader(require)

@@ -89,3 +112,3 @@ ```

```js
const { loadPreset } = require('conventional-changelog-preset-loader')
import { loadPreset } from 'conventional-changelog-preset-loader'

@@ -92,0 +115,0 @@ loadPreset({

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