Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
node-core-utils
Advanced tools
CLI tools for Node.js Core collaborators
First, follow these instructions to create a personal access token.
Note: We need to read the email of the PR author in order to check if it matches
the email of the commit author. This requires checking the box user:email
when
you create the personal access token (you can edit the permission later as well).
Then create a file named .ncurc
under your $HOME
directory (~/.ncurc
);
{
"username": "you_github_username"
"token": "token_that_you_created"
}
If you install via npm, that's it.
If you are using it from source, install and link:
git clone git@github.com:joyeecheung/node-core-utils.git
cd node-core-utils
npm install
npm link
get-metadata
This one is inspired by Evan Lucas's node-review , although it is a CLI implemented with the Github GraphQL API.
get-metadata <identifier> [owner] [repo]
Retrieves metadata for a PR and validates them against nodejs/node PR rules
Options:
--version Show version number [boolean]
-o, --owner GitHub owner of the PR repository [string]
-r, --repo GitHub repository of the PR [string]
-h, --help Show help [boolean]
Examples:
PRID=12345
# fetch metadata and run checks on nodejs/node/pull/$PRID
$ get-metadata $PRID
# is equivalent to
$ get-metadata https://github.com/nodejs/node/pull/$PRID
# is equivalent to
$ get-metadata $PRID -o nodejs -r node
# Or, redirect the metadata to a file while see the checks in stderr
$ get-metadata $PRID > msg.txt
# Using it to amend commit messages:
$ git show -s --format=%B > msg.txt
$ echo "" >> msg.txt
$ get-metadata $PRID >> msg.txt
$ git commit --amend -F msg.txt
PR-URL
Reviewed-By
Fixes
Refs
FAQs
Utilities for Node.js core collaborators
The npm package node-core-utils receives a total of 2,149 weekly downloads. As such, node-core-utils popularity was classified as popular.
We found that node-core-utils demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 open source maintainers 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.