Security News
NIST Misses 2024 Deadline to Clear NVD Backlog
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
The missing pseudo-standard library for fp-ts. Supports both modern browsers and Node.
Documentation: samhh.github.io/fp-ts-std
The library is available on the npm registry under the same package name: fp-ts-std
fp-ts, newtype-ts, and monocle-ts are listed as peer dependencies.
Some of the more commonly needed functions from fp-ts-contrib are duplicated here.
fp-ts-std is published with both ESM and CJS modules. The import paths in either case needn't change and the appropriate module resolution should be picked up by Node and your bundler, however if your environment doesn't support conditional exports you'll need to import directly from a dist/(cjs|esm)/
subdirectory. Given ESM modules the library should tree shake well.
Node LTS - at time of writing v12 - and the latest evergreen browsers are supported.
fp-ts-std aims to achieve the following objectives:
null
or undefined
, or worry about a function throwing againfp-ts-std strives to adhere to the following principles:
Debug
module)IO
and Task
typesAdditionally, fp-ts-std enforces 100% testing coverage, and just about everything is documented with examples.
Unreleased work is commit to the develop
branch. master
is the release branch and whence the documentation is generated.
All modules and exports must be annotated with JSDoc. This information is used to generate documentation. Simple, illustratory tests can also be included and will be checked during docs generation. For more information, see docs-ts.
0.13.1 (2022-01-16)
replaceAll
in String
.FAQs
The missing pseudo-standard library for fp-ts.
We found that fp-ts-std 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
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
Security News
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.