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

@semantic-release/release-notes-generator

Package Overview
Dependencies
Maintainers
4
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@semantic-release/release-notes-generator - npm Package Compare versions

Comparing version 11.0.4 to 12.1.0

18

lib/load-changelog-config.js
import { dirname } from "node:path";
import { fileURLToPath } from "node:url";
import { promisify } from "node:util";
import { isPlainObject } from "lodash-es";
import importFrom from "import-from";
import importFrom from "import-from-esm";
import conventionalChangelogAngular from "conventional-changelog-angular";

@@ -28,15 +26,11 @@

const presetPackage = `conventional-changelog-${preset.toLowerCase()}`;
loadedConfig = importFrom.silent(__dirname, presetPackage) || importFrom(cwd, presetPackage);
loadedConfig = await (
(await importFrom.silent(__dirname, presetPackage)) || (await importFrom(cwd, presetPackage))
)(presetConfig);
} else if (config) {
loadedConfig = importFrom.silent(__dirname, config) || importFrom(cwd, config);
loadedConfig = await ((await importFrom.silent(__dirname, config)) || (await importFrom(cwd, config)))();
} else {
loadedConfig = conventionalChangelogAngular;
loadedConfig = await conventionalChangelogAngular();
}
loadedConfig = await (typeof loadedConfig === "function"
? isPlainObject(presetConfig)
? loadedConfig(presetConfig)
: promisify(loadedConfig)()
: loadedConfig);
return {

@@ -43,0 +37,0 @@ parserOpts: { ...loadedConfig.parserOpts, ...parserOpts },

{
"name": "@semantic-release/release-notes-generator",
"description": "semantic-release plugin to generate changelog content with conventional-changelog",
"version": "11.0.4",
"version": "12.1.0",
"author": "Pierre Vanduynslager (https://twitter.com/@pvdlg_)",

@@ -14,32 +14,33 @@ "bugs": {

"dependencies": {
"conventional-changelog-angular": "^6.0.0",
"conventional-changelog-writer": "^6.0.0",
"conventional-commits-filter": "^3.0.0",
"conventional-commits-parser": "^4.0.0",
"conventional-changelog-angular": "^7.0.0",
"conventional-changelog-writer": "^7.0.0",
"conventional-commits-filter": "^4.0.0",
"conventional-commits-parser": "^5.0.0",
"debug": "^4.0.0",
"get-stream": "^7.0.0",
"import-from": "^4.0.0",
"import-from-esm": "^1.0.3",
"into-stream": "^7.0.0",
"lodash-es": "^4.17.21",
"read-pkg-up": "^10.0.0"
"read-pkg-up": "^11.0.0"
},
"devDependencies": {
"ava": "5.3.1",
"c8": "8.0.0",
"conventional-changelog-atom": "3.0.0",
"conventional-changelog-conventionalcommits": "6.1.0",
"conventional-changelog-ember": "3.0.0",
"conventional-changelog-eslint": "4.0.0",
"conventional-changelog-express": "3.0.0",
"conventional-changelog-jshint": "3.0.0",
"c8": "8.0.1",
"conventional-changelog-atom": "4.0.0",
"conventional-changelog-conventionalcommits": "7.0.2",
"conventional-changelog-ember": "4.0.0",
"conventional-changelog-eslint": "5.0.0",
"conventional-changelog-express": "4.0.0",
"conventional-changelog-jshint": "4.0.0",
"escape-string-regexp": "5.0.0",
"fs-extra": "11.1.1",
"prettier": "2.8.8",
"semantic-release": "21.0.6",
"prettier": "3.0.3",
"semantic-release": "22.0.7",
"sinon": "16.1.0",
"stream-buffers": "3.0.2",
"tempy": "3.0.0",
"testdouble": "3.18.0"
"tempy": "3.1.0",
"testdouble": "3.20.0"
},
"engines": {
"node": ">=18"
"node": "^18.17 || >=20.6.1"
},

@@ -96,4 +97,4 @@ "files": [

"semantic-release": "semantic-release",
"test": "c8 ava -v",
"test:ci": "c8 ava -v"
"test": "c8 ava --verbose",
"test:ci": "c8 ava --verbose"
},

@@ -100,0 +101,0 @@ "type": "module",

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