
Security News
Google’s OSV Fix Just Added 500+ New Advisories — All Thanks to One Small Policy Change
A data handling bug in OSV.dev caused disputed CVEs to disappear from vulnerability feeds until a recent fix restored over 500 advisories.
@opencrvs/toolkit
Advanced tools
OpenCRVS toolkit for building country configurations.
src/
events/ # re-exports events module from commons package
scopes/ # re-exports scopes module from commons package
conditionals/ # provides tools for easily formulating complex conditionals and deduplication rules
api/ # provides an API wrapper for OpenCRVS APIs with strict typing and validation
# tsconfig.json references commons. when `tsc --build` is run, both are built.
> yarn build:all
# If you miss this part you might face issues with types.
> cd dist
> yarn link
When adding internal package as dependency, understand that:
Toolkit "re-exports" TRPC router to allow for easy client interaction.
Toolkit "re-exports" common definitions (e.g. events, conditionals) and make them available through npm.
package.json
yarn build:all
npm publish
package.json
packages/commons
must be also defined in the package.json of the toolkit. Otherwise someone installing the package will get errors./events, /scopes
directory, with types, from packages/commons
through the library, others are excluded.esbuild
. See build.sh
on how to expose subdirectories:# Build common events
npx esbuild src/events/index.ts --bundle --format=cjs --outdir=./dist/events --allow-overwrite --packages=external
mkdir -p ./dist/commons/events
cp -r ../commons/build/dist/common/events/*.d.ts ./dist/commons/events
mkdir -p ./dist/commons/events/state # <-- create the subdirectory
cp -r ../commons/build/dist/common/events/state/*.d.ts ./dist/commons/events/state # <-- copy the types over
FAQs
OpenCRVS toolkit for building country configurations
The npm package @opencrvs/toolkit receives a total of 18,854 weekly downloads. As such, @opencrvs/toolkit popularity was classified as popular.
We found that @opencrvs/toolkit demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 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
A data handling bug in OSV.dev caused disputed CVEs to disappear from vulnerability feeds until a recent fix restored over 500 advisories.
Research
/Security News
175 malicious npm packages (26k+ downloads) used unpkg CDN to host redirect scripts for a credential-phishing campaign targeting 135+ organizations worldwide.
Security News
Python 3.14 adds template strings, deferred annotations, and subinterpreters, plus free-threaded mode, an experimental JIT, and Sigstore verification.