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.
#minreq A minimalistic request library for node.
##How? npm install minreq
##Why?
The most common library used to perform http(s)-requests in node is request. While it works, it has a lot of features that aren't needed in most cases (eg. cookies, oauth). Besides, the code isn't as fast as it can be. This project is intended to replace request
in cases where it's simply too heavy.
##What? ###Features
request
like apirequest
is a giant)Stream#pipe
is supported)###Options
uri
: Object that's passed to http(s).request (as described here)followRedirect
: Boolean that indicates whether redirects should be followedmaxRedirects
: int with the maximum number of redirects (defaults to 10)body
: that data that should be passed to the requestencoding
: the encoding that all data should use (the body will always be a string)timeout
: a request times out if it passes this limit. Defaults to 10000 (read: 10 seconds)only2xx
: only permit status codes >= 200 and < 300 (otherwise, throw an error)License: Public domain
FAQs
minimalistic request library
We found that minreq demonstrated a not healthy version release cadence and project activity because the last version was released 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
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.