Installations
npm install @types/changelog-parser
Developer Guide
Typescript
Yes
Module System
N/A
Contributors
Languages
TypeScript (99.9%)
JavaScript (0.09%)
Shell (0.01%)
Developer
DefinitelyTyped
Download Statistics
Total Downloads
561,665
Last Day
1,630
Last Week
8,628
Last Month
28,256
Last Year
208,965
GitHub Statistics
49,092 Stars
88,623 Commits
30,287 Forks
640 Watching
5 Branches
9,977 Contributors
Package Meta Information
Latest Version
2.8.4
Package Id
@types/changelog-parser@2.8.4
Unpacked Size
6.03 kB
Size
2.17 kB
File Count
5
Publised On
07 Nov 2023
Total Downloads
Cumulative downloads
Total Downloads
561,665
Last day
-18.5%
1,630
Compared to previous day
Last week
19.6%
8,628
Compared to previous week
Last month
53.3%
28,256
Compared to previous month
Last year
16.4%
208,965
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Installation
npm install --save @types/changelog-parser
Summary
This package contains type definitions for changelog-parser (https://github.com/hypermodules/changelog-parser).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/changelog-parser.
index.d.ts
1// Options must contain exactly one of filePath or text. This can be expressed 2// with a type, but not an interface. (See 3// <https://github.com/osteele/vscode-p5server/blob/fee241c06f/scripts/types/changelog-parser.d.ts>, 4// which contains the ambient interface that this type was extracted from.) 5// 6// The DefinitelyTyped lint settings don't allow type literals, so define an 7// interface here, and use it to construct a type expression in the argument. 8 9declare namespace parseChangelog { 10 interface Options { 11 /** 12 * Path to changelog file. 13 */ 14 filePath: string; 15 /** 16 * Text of changelog file (you can use this instead of filePath). 17 */ 18 text: string; 19 /** 20 * Removes the markdown markup from the changelog entries by default. 21 * You can change its value to false to keep the markdown. 22 */ 23 removeMarkdown: boolean; 24 } 25 26 interface Changelog { 27 title: string; 28 description: string; 29 versions: Array<{ 30 version: string | null; 31 title: string; 32 date: string | null; 33 body: string; 34 parsed: Record<string, string[]>; 35 }>; 36 } 37} 38 39/** 40 * Change log parser for node. 41 */ 42// The implementation returns a Promise whether or not a callback is specified. 43// This type declaration reflects this. 44declare function parseChangelog( 45 options: 46 | ( 47 & Partial<Exclude<parseChangelog.Options, "filePath" | "text">> 48 & (Pick<parseChangelog.Options, "filePath"> | Pick<parseChangelog.Options, "text">) 49 ) 50 | string, 51 callback?: (error: string | null, result: parseChangelog.Changelog) => void, 52): Promise<parseChangelog.Changelog>; 53 54export = parseChangelog; 55
Additional Details
- Last updated: Mon, 06 Nov 2023 22:41:05 GMT
- Dependencies: none
Credits
These definitions were written by Oliver Steele.
No vulnerabilities found.
Reason
30 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
security policy file detected
Details
- Info: security policy file detected: SECURITY.md:1
- Info: Found linked content: SECURITY.md:1
- Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1
- Info: Found text in security policy: SECURITY.md:1
Reason
0 existing vulnerabilities detected
Reason
no binaries found in the repo
Reason
Found 27/30 approved changesets -- score normalized to 9
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Warn: project license file does not contain an FSF or OSI license.
Reason
dependency not pinned by hash detected -- score normalized to 8
Details
- Warn: npmCommand not pinned by hash: types/lodash/scripts/generate-all.sh:5
- Warn: npmCommand not pinned by hash: types/lodash/scripts/generate-all.sh:12
- Info: 20 out of 20 GitHub-owned GitHubAction dependencies pinned
- Info: 8 out of 8 third-party GitHubAction dependencies pinned
- Info: 0 out of 2 npmCommand dependencies pinned
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: jobLevel 'contents' permission set to 'write': .github/workflows/UpdateCodeowners.yml:19
- Warn: jobLevel 'contents' permission set to 'write': .github/workflows/ghostbuster.yml:20
- Warn: jobLevel 'contents' permission set to 'write': .github/workflows/support-window.yml:22
- Info: topLevel 'contents' permission set to 'read': .github/workflows/CI.yml:16
- Info: topLevel 'contents' permission set to 'read': .github/workflows/UpdateCodeowners.yml:14
- Warn: no topLevel permission defined: .github/workflows/format-and-commit.yml:1
- Info: topLevel 'contents' permission set to 'read': .github/workflows/ghostbuster.yml:15
- Info: topLevel 'contents' permission set to 'read': .github/workflows/lint-md.yml:7
- Warn: no topLevel permission defined: .github/workflows/pnpm-cache.yml:1
- Info: topLevel 'contents' permission set to 'read': .github/workflows/support-window.yml:17
- Warn: no topLevel permission defined: .github/workflows/watchdog-publisher.yml:1
- Warn: no topLevel permission defined: .github/workflows/watchdog-typescript-bot.yml:1
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 27 are checked with a SAST tool
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Score
7
/10
Last Scanned on 2025-01-27
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More