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

@jayree/changelog

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jayree/changelog - npm Package Compare versions

Comparing version 1.0.1 to 1.1.0

3

lib/index.d.ts

@@ -1,1 +0,2 @@

export default function printChangeLog(cacheDir: string, pluginRootPath: string): Promise<string | undefined>;
import Debug from 'debug';
export default function printChangeLog(cacheDir: string, pluginRootPath: string, debug?: Debug.Debugger): Promise<string | undefined>;

@@ -14,3 +14,2 @@ /*

import compare from 'semver-compare';
const debug = Debug(`jayree:changelog`);
// original from https://github.com/salesforcecli/plugin-info/blob/main/src/shared/parseReleaseNotes.ts

@@ -61,3 +60,5 @@ const parseChangeLog = (notes, version, currentVersion) => {

};
export default async function printChangeLog(cacheDir, pluginRootPath) {
export default async function printChangeLog(cacheDir, pluginRootPath, debug) {
if (!debug)
debug = Debug(`jayree:changelog`);
try {

@@ -64,0 +65,0 @@ const { name, version } = (await fs.readJson(join(pluginRootPath, 'package.json')));

{
"name": "@jayree/changelog",
"version": "1.0.1",
"version": "1.1.0",
"description": "Parse a CHANGELOG.md file of a package and return the most recent entry",

@@ -14,3 +14,3 @@ "main": "lib/index.js",

"@types/marked-terminal": "^3.1.3",
"@types/node": "^18.15.0",
"@types/node": "^18.15.1",
"@types/semver": "^7.3.13",

@@ -17,0 +17,0 @@ "@types/semver-compare": "^1.0.1",

Sorry, the diff of this file is not supported yet

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