Security News
Cloudflare Adds Security.txt Setup Wizard
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
@edgeandnode/common
Advanced tools
Set of common util functions, constants, and types
This project implements and contains common utils and models/types to be ingested and utilized by other Edge & Node repos.
pnpm install
to install all dependencies.pnpm build
to bundle all files using rolluppnpm publish
to publish to NPMThis repo uses vitest
for its test suite/runner. To run the tests:
vitest test
All source code belongs in the src
directory. Inside of this directory, it is broken up by domain (ex: utils
) and all files in the domain directory should contain code that matches that domain (ex: graphql.utils.ts
). File names should be kebob-case
and have the file domain type appended with a .
before the file extension (i.e. all files in src/utils
should be follow {utils-type}.utils.ts
. ex: graphql.utils.ts
). Test files belong at the same level as the file they are putting under test and should follow the same naming convention as the file they are putting under test with .test
appended before the file extension (i.e. {utils-type}.utils.test.ts
. ex: graphql.utils.test.ts
).
FAQs
Set of common util functions, constants, and types
The npm package @edgeandnode/common receives a total of 221 weekly downloads. As such, @edgeandnode/common popularity was classified as not popular.
We found that @edgeandnode/common demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 21 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
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.
Security News
ENISA’s 2024 report highlights the EU’s top cybersecurity threats, including rising DDoS attacks, ransomware, supply chain vulnerabilities, and weaponized AI.