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

@changesets/changelog-git

Package Overview
Dependencies
Maintainers
3
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@changesets/changelog-git - npm Package Compare versions

Comparing version 0.1.6 to 0.1.7

7

CHANGELOG.md
# @changesets/changelog-git
## 0.1.7
### Patch Changes
- Updated dependencies [[`de2b4a5`](https://github.com/atlassian/changesets/commit/de2b4a5a7b244a37d94625bcb70ecde9dde5b612)]:
- @changesets/types@4.0.0
## 0.1.6

@@ -4,0 +11,0 @@

8

dist/changelog-git.cjs.prod.js

@@ -8,9 +8,9 @@ "use strict";

const getReleaseLine = async (changeset, _type) => {
const [firstLine, ...futureLines] = changeset.summary.split("\n").map(l => l.trimRight());
let returnVal = `- ${changeset.commit ? `${changeset.commit}: ` : ""}${firstLine}`;
return futureLines.length > 0 && (returnVal += `\n${futureLines.map(l => ` ${l}`).join("\n")}`),
const [firstLine, ...futureLines] = changeset.summary.split("\n").map((l => l.trimRight()));
let returnVal = `- ${changeset.commit ? changeset.commit + ": " : ""}${firstLine}`;
return futureLines.length > 0 && (returnVal += "\n" + futureLines.map((l => " " + l)).join("\n")),
returnVal;
}, getDependencyReleaseLine = async (changesets, dependenciesUpdated) => {
if (0 === dependenciesUpdated.length) return "";
return [ ...changesets.map(changeset => `- Updated dependencies [${changeset.commit}]`), ...dependenciesUpdated.map(dependency => ` - ${dependency.name}@${dependency.newVersion}`) ].join("\n");
return [ ...changesets.map((changeset => `- Updated dependencies [${changeset.commit}]`)), ...dependenciesUpdated.map((dependency => ` - ${dependency.name}@${dependency.newVersion}`)) ].join("\n");
}, defaultChangelogFunctions = {

@@ -17,0 +17,0 @@ getReleaseLine: getReleaseLine,

{
"name": "@changesets/changelog-git",
"version": "0.1.6",
"version": "0.1.7",
"description": "A changelog entry generator for git that writes hashes",

@@ -8,6 +8,6 @@ "main": "dist/changelog-git.cjs.js",

"license": "MIT",
"repository": "https://github.com/changesets/changesets/tree/master/packages/changelog-git",
"repository": "https://github.com/changesets/changesets/tree/main/packages/changelog-git",
"dependencies": {
"@changesets/types": "^3.0.0"
"@changesets/types": "^4.0.0"
}
}
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