Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@beesley/pr-metadata
Advanced tools
A cli tool for reading information about pull requests within github actions.
A tool for reading information about pull requests within github actions. Works as a cli or as a node module. Expects a GITHUB_TOKEN env var to be set.
npx @beesley/pr-metadata --help
# Options:
# --help Show help [boolean]
# --version Show version number [boolean]
# --dirNames Whether to return directory names instead of file names [boolean] [default: false]
# --json Whether to return result as a json string [boolean] [default: true]
# --filter An array of globs to act as an include filter for where we look for changes [array]
npx @beesley/pr-metadata
# [".commitlintrc.json","src/__mocks__/mock-context.json","src/__mocks__/push-event.json","src/get-changed-files.test.ts","src/get-changed-files.ts","src/index.ts"]
npx @beesley/pr-metadata --json false
# [
# '.commitlintrc.json',
# 'src/__mocks__/mock-context.json',
# 'src/__mocks__/push-event.json',
# 'src/get-changed-files.test.ts',
# 'src/get-changed-files.ts',
# 'src/index.ts'
# ]
npx @beesley/pr-metadata --dirNames
# ["bin","src/__mocks__","src"]
npx @beesley/pr-metadata --dirNames --filter '**' --filter '!**/__mocks__/**'
# ["bin","src"]
npx @beesley/pr-metadata --filter 'src/**'
# ["src/__mocks__/mock-context.json","src/__mocks__/push-event.json","src/get-changed-files.test.ts","src/get-changed-files.ts","src/index.ts"]
src/get-changed-files.ts:13-17
Uses github actions metadata to get a list of changes files or directories
json
boolean Whether or not to return jsondirNames
boolean Whether or not to return only directory namesfilter
Array<string>? Filter globs to filter results usingReturns any {(Promise<string | string[]>)} The changed files or directories
FAQs
A cli tool for reading information about pull requests within github actions.
The npm package @beesley/pr-metadata receives a total of 10 weekly downloads. As such, @beesley/pr-metadata popularity was classified as not popular.
We found that @beesley/pr-metadata 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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.