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.1.0 to 1.1.1

2

lib/index.js

@@ -23,7 +23,5 @@ /*

tokens = parsed.filter((token) => {
// TODO: Could make header depth (2) a setting in oclif.info.releasenotes
if (token.type === 'heading' && token.depth <= 2) {
const coercedVersion = semver.coerce(token.text)?.version;
if (coercedVersion) {
// We will use this to find the closest patch if passed version is not found
versions.push(coercedVersion);

@@ -30,0 +28,0 @@ if ((!localVersion && compare(desiredVersion, coercedVersion) === 0) ||

31

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

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

"devDependencies": {
"@commitlint/config-conventional": "^17.4.4",
"@commitlint/config-conventional": "^17.6.1",
"@types/debug": "^4.1.7",

@@ -15,10 +15,10 @@ "@types/fs-extra": "^11.0.1",

"@types/marked-terminal": "^3.1.3",
"@types/node": "^18.15.1",
"@types/node": "^18.15.12",
"@types/semver": "^7.3.13",
"@types/semver-compare": "^1.0.1",
"@typescript-eslint/eslint-plugin": "^5.54.1",
"@typescript-eslint/parser": "^5.54.1",
"commitlint": "^17.4.4",
"eslint": "^8.36.0",
"eslint-config-prettier": "^8.7.0",
"@typescript-eslint/eslint-plugin": "^5.59.1",
"@typescript-eslint/parser": "^5.59.1",
"commitlint": "^17.6.1",
"eslint": "^8.38.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-header": "^3.1.1",

@@ -28,5 +28,5 @@ "eslint-plugin-import": "^2.27.5",

"husky": "^8.0.3",
"prettier": "^2.8.4",
"prettier": "^2.8.7",
"pretty-quick": "^3.1.3",
"typescript": "^4.9.5",
"typescript": "^5.0.4",
"wireit": "^0.9.5"

@@ -36,6 +36,6 @@ },

"debug": "^4.3.4",
"fs-extra": "^11.1.0",
"marked": "^4.2.12",
"fs-extra": "^11.1.1",
"marked": "^4.3.0",
"marked-terminal": "^5.1.1",
"semver": "^7.3.8",
"semver": "^7.5.0",
"semver-compare": "^1.0.0"

@@ -79,3 +79,3 @@ },

"src/**/*.ts",
"tsconfig.json"
"**/tsconfig.json"
],

@@ -100,3 +100,4 @@ "output": [

"src/**/*.ts",
".eslint*"
"**/.eslint*",
"**/tsconfig.json"
],

@@ -103,0 +104,0 @@ "output": []

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