New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

light-release

Package Overview
Dependencies
Maintainers
0
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

light-release - npm Package Compare versions

Comparing version 2.6.2 to 2.7.0

.release-notes/2.7.0/release.html

10

CHANGELOG.md

@@ -0,1 +1,11 @@

## [2.7.0] - February 9, 2025
### Changes
- Release notes generated for version [2.7.0](.release-notes/2.7.0/release.md)
## [2.7.0] - February 9, 2025
### Changes
- Release notes generated for version [2.7.0](.release-notes/2.7.0/release.md)
## [2.6.2] - February 7, 2025

@@ -2,0 +12,0 @@

9

lib/badge-utils.js

@@ -39,10 +39,11 @@ /**

* Get committer information from the email
* @param {*} email email of the committer
* @param {string} email email of the committer
* @param {string?} author author of the committer
* @returns
*/
function getCommitterInfo(email) {
function getCommitterInfo(email, author) {
const emailParts = email?.split('@') || [''];
const username = emailParts[0];
const username = author || emailParts[0];
let profileLink = `https://github.com/${username}`;
let profileLink = `https://github.com/${author || username}`;

@@ -49,0 +50,0 @@ if (!username) {

@@ -60,3 +60,3 @@ const fs = require('fs');

for (const commit of commits) {
let committer = getCommitterInfo(commit.email);
let committer = getCommitterInfo(commit.email, commit.author);
committer.name = committer.name?.replace(/.*?\+/g, '');

@@ -63,0 +63,0 @@ committer.image = committer.name ? `https://avatars.githubusercontent.com/${committer.name}` : null;

{
"name": "light-release",
"version": "2.6.2",
"version": "2.7.0",
"description": "A lightweight tool to automate your release process, compatible with conventional commit messages. It reads your commit history, determines the release type, and generates release notes without unnecessary dependencies.",

@@ -5,0 +5,0 @@ "bin": {

@@ -12,4 +12,4 @@ # Light Release

![npm version](https://img.shields.io/npm/v/light-release)
![npm downloads](https://img.shields.io/npm/dm/light-release)
[![npm version](https://img.shields.io/npm/v/light-release)](https://www.npmjs.com/package/light-release)
[![npm downloads](https://img.shields.io/npm/dm/light-release)](https://www.npmjs.com/package/light-release)
![test passed](https://img.shields.io/badge/tests-passing-brightgreen)

@@ -16,0 +16,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