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

changelog-view

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

changelog-view

Tool to view changelog of package in console

  • 1.2.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

Changelog view

Tool view changelog in console.

It list only the changes between the specified version and the latest version. You can see it as a git diff between version for changelogs.

Installation

Yarn

yarn install --dev changelog-view

npm

npm install (-g) changelog-view

or you can use npx to automatically run the program npx does not seems to work with it, maybe an issue with the @

Usage

yarn / npm:

changelog-view <package@currentVersion> [<package@currentVersion> ...]

Example

changelog-view howardabrams/node-mocks-http@1.5.4 mapado/rest-client-js-sdk@0.14.1

In a JavaScript / PHP project ?

changelog-view tries to detect automatically the current version of your currently installed dependencies.

It works fine with npm / yarn for JavaScript projects, and with composer for PHP projects.

, so you can just do:

Imagine you have this package.json:

{
  "dependencies": {
    "rest-client-sdk": "^1.0.0"
  }
}

The following command:

changelog-view rest-client-sdk

Will ouput:

... other version
## [1.0.1] - 2017-07-03 - [YANKED]

### Changed

    * Make urijs implementation work again but might be breaking
    * Url constructor passed with noTransform = true for better perf and avoid potential bugs

Same for PHP if you do

changelog-view behat/transliterator

Will output:

# CHANGELOG for "Behat/Transliterator"


# 1.2.0 / 2017-04-04

    * Stop Transliterator::postProcessText() breaking words containing apostrophes

Features

The package checks on github if a file named CHANGELOG.md or HISTORY.md is present.

If not, it tries to list the github releases.

It tries to parse the markdown files and filter only version greater than the specified version.

To be done

  • read npm / yarn lockfiles to guess the package url
  • read npm / yarn lockfiles to guess the current version
  • read composer lockfiles to guess the package url
  • read composer lockfiles to guess the current version
  • make npx work

FAQs

Package last updated on 15 Sep 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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