Security News
Introducing the Socket Python SDK
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
@endo/common
Advanced tools
@endo/common
A collection of common low level utilities.
Each of the utilities in this packages
ses
, @endo/eventual-send
, and @endo/promise-kit
. Many depend on nothing beyond plain old JavaScript.Each utility is in its own top-level source file, named after the main export of that utility. (This is often that file's only export.) The package.json
also lists each as a distinct "export":
. There is no index.js
file that rolls them together. Thus, each importer must do a deep import of exactly the export it needs. Some implementations (bundlers, packagers) can thus do tree-shaking, omitted code that isn't reachable by imports.
Currently there are no src/something.js
files. The only source files that would go in src/
are those that do not represent separately exported utilities.
Generally each utility also has its own test file. (An exception is that make-iterator.js
is indirectly but adequately tested by test-make-array-iterator.js
).
See the doc-comments within the source file of each utility for documentation of that utility. Sometimes the associated test files also serve as informative examples.
FAQs
common low level utilities
The npm package @endo/common receives a total of 3,843 weekly downloads. As such, @endo/common popularity was classified as popular.
We found that @endo/common demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 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
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.
Security News
A new Rust RFC proposes "Trusted Publishing" for Crates.io, introducing short-lived access tokens via OIDC to improve security and reduce risks associated with long-lived API tokens.