
Security News
Open Source CAI Framework Handles Pen Testing Tasks up to 3,600Ć Faster Than Humans
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600Ć faster than humans.
break-check
Advanced tools
command line tooling to detect breaking changes before you ship them
command line tooling to detect breaking changes before you ship them
break check is a tool for projects where
if that sounds like your project, read on!
break check introduces the following requirements/model for your project:
npx break-check
--testPattern="*__public.test.ts"
--testCommand="npm run test"
this command will check out all files matching the pattern *__public.test.ts
from the last release tag that contains the string my-library
, and then run npm run test
if the tests fail, break-check will exit with a non-zero status code, indicating that you have breaking changes in your project at the current commit
npx break-check
--tagPattern="my-library"
--testPattern="./packages/my-library/__tests__/**/*__public.test.ts"
--testCommand="cd packages/my-library && npm run test"
this command will check out all files matching the pattern *__public.test.ts
from the last release tag that contains the string my-library
, and then run cd packages/my-library && npm run test
if the tests fail, break-check will exit with a non-zero status code, indicating that you have breaking changes in your project at the current commit
option | shorthand | required | description | example |
---|---|---|---|---|
--tagPattern | -p | String which, if found in a git tag, will be considered a release tag for your library. | --tagPattern="my-library" | |
--testPattern | -t | ā | Glob pattern to identify files containing public tests. | --testPattern="*__public.test.ts" |
--testCommand | -c | ā | Command to run to run the public tests. | --testCommand="npm run test" |
--certifyCommand | -C | Command to run to certify that breaking changes have been detected. | --certifyCommand="grep -q '"my-library": major' $(find ${DIR_PATH}/.changesets -type f) && exit 0 || exit 1" | |
--baseDirname | -b | Directory in which to run the tests and certify the breaking changes. | --baseDirname="." |
FAQs
command line tooling to detect breaking changes before you ship them
The npm package break-check receives a total of 14 weekly downloads. As such, break-check popularity was classified as not popular.
We found that break-check demonstrated a healthy version release cadence and project activity because the last version was released less than 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
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600Ć faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.