Security News
The Risks of Misguided Research in Supply Chain Security
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
effection
Advanced tools
Effortlessly composable structured concurrency primitive for JavaScript
A framework for Node and the browser that makes building concurrent systems easy to get right.
Using Effection provides many benefits over using plain Promises and
async/await
code:
async/await
, Effection is fundamentally
synchronous in nature, this means you have full control over the event loop
and operations requiring synchronous setup remain race condition free.Effection leverages the idea of structured concurrency to ensure that you don't leak any resources, and that cancellation is properly handled. It helps you build concurrent code that feels rock solid and behaves well under all failure conditions. In essence, Effection allows you to compose concurrent code so that you can reason about its behavior.
Learn how to use Effection in your own project
Currently, Effection development happens using yarn
. While npm
may
work, it is not tested so your mileage may vary.
To build, run the prepack
command from the root directory.
$ yarn prepack
You can also run the prepack
command within each sub directory to
only build that package.
Don't forget describe changes that you made.
For that you need to create *.md
file in .changes
directory with
list of changed packages, each package should be versioned by semver, and
on the last line briefly describe your changes. Like this:
---
"package-name1": "patch"
"package-name2": "minor"
---
Added new awesome feature
The more information about this format you can find in covector
docs
To run tests:
$ yarn test
Most test suites use the @effection/mocha
to
leverage Effection to test itself.
FAQs
Structured concurrency and effects for JavaScript
The npm package effection receives a total of 3,172 weekly downloads. As such, effection popularity was classified as popular.
We found that effection demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.