
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
@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.jsonyarn build:allnpm publishpackage.jsonpackages/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 21,495 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
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.