
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
changelogd
Advanced tools
Aggressively find a packages changelog (or releases) between versions.
Aggressively find a packages changelog (or releases) between versions.
Status: Beta Please report any issues 🐛 Made possible by my Sponsor Program 💖 Follow me @harlan_zw 🐦 |
import { createChangelogd } from 'changelogd'
const changelogd = await createChangelogd({
// options
})
const res = await changelogd.fetchChangelog('nuxt-windicss', '2.3.0', '2.4.0')
export interface Config {
force?: boolean
ttl?: number
storage?: Storage
cacheDir?: number
}
export interface ChangelogdCtx {
config: Config
resolveLocalChangelog: (id: string, opts?: ResolveOptions) => Promise<string>
resolvePackageJSON: (id: string) => Promise<PackageJson>
resolveChangelogFile: (name: string, version: string, options?: GithubFetchOptions) => Promise<Changelog>
fetchChangelogFileDiff: (name: string, currentVersion: string, targetVersion: string, options?: GithubFetchOptions) => Promise<FetchChangelogDiffResult>
fetchGithubReleases: (name: string, currentVersion: string, targetVersion: string, options?: GithubFetchOptions) => Promise<GithubReleasesResult>
fetchChangelog: (name: string, currentVersion: string, targetVersion: string, options?: GithubFetchOptions) => Promise<
{ provider: 'github-releases'; changelog: GithubReleasesResult } |
{ provider: 'changelog-diff'; changelog: FetchChangelogDiffResult }
>
}
npx changelogd@latest <package> --from=<version> --to=<version>
Arguments:
package
: Package name to use. Should be the same as the package.json's name (NPM).from
: The release tag to read from.to
: The release tag to read to. Default: latest
Fetching CHANGELOG.md from Github
npx changelogd@latest ohmyfetch --from 0.4.0 --to 0.4.19
Fetching CHANGELOG.md from NPM
npx changelogd@latest consola --from 2.13.0 --to 2.15.0
Fetching Github Releases
npx changelogd@latest nuxt-windicss --from 2.3.0 --to 2.4.0
MIT License © 2022 Harlan Wilton
FAQs
Aggressively find a packages changelog (or releases) between versions.
The npm package changelogd receives a total of 2 weekly downloads. As such, changelogd popularity was classified as not popular.
We found that changelogd demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.