Socket
Socket
Sign inDemoInstall

@metamask/auto-changelog

Package Overview
Dependencies
Maintainers
7
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metamask/auto-changelog - npm Package Compare versions

Comparing version 2.5.0 to 2.6.0

dist/repo.d.ts

8

CHANGELOG.md

@@ -9,2 +9,7 @@ # Changelog

## [2.6.0]
### Changed
- Read repository URL from package.json if `npm_package_repository_url` is not set ([#111](https://github.com/MetaMask/auto-changelog/pull/111))
- This makes this package compatible with Yarn >1.
## [2.5.0]

@@ -77,3 +82,4 @@ ### Added

[Unreleased]: https://github.com/MetaMask/auto-changelog/compare/v2.5.0...HEAD
[Unreleased]: https://github.com/MetaMask/auto-changelog/compare/v2.6.0...HEAD
[2.6.0]: https://github.com/MetaMask/auto-changelog/compare/v2.5.0...v2.6.0
[2.5.0]: https://github.com/MetaMask/auto-changelog/compare/v2.4.0...v2.5.0

@@ -80,0 +86,0 @@ [2.4.0]: https://github.com/MetaMask/auto-changelog/compare/v2.3.0...v2.4.0

8

dist/cli.js

@@ -22,2 +22,3 @@ #!/usr/bin/env node

const validate_changelog_1 = require("./validate-changelog");
const repo_1 = require("./repo");
const updateEpilog = `New commits will be added to the "${constants_1.unreleased}" section (or \

@@ -35,7 +36,2 @@ to the section for the current release if the '--rc' flag is used) in reverse \

const npmPackageVersion = process.env.npm_package_version;
// eslint-disable-next-line node/no-process-env
const npmPackageRepositoryUrl = process.env.npm_package_repository_url;
const githubRepositoryUrl = npmPackageRepositoryUrl
? npmPackageRepositoryUrl.replace(/\.git$/u, '')
: null;
function isValidUrl(proposedUrl) {

@@ -120,3 +116,3 @@ try {

.option('repo', {
default: githubRepositoryUrl,
default: repo_1.getRepositoryUrl(),
description: `The GitHub repository URL`,

@@ -123,0 +119,0 @@ type: 'string',

{
"name": "@metamask/auto-changelog",
"version": "2.5.0",
"version": "2.6.0",
"description": "Utilities for validating and updating \"Keep a Changelog\" formatted changelogs",

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

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