
Security News
Open Source Maintainers Feeling the Weight of the EU’s Cyber Resilience Act
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
Determine if a url should bypass a proxy based on NO_PROXY environment variable.
Test URL against NO_PROXY
environment variable.
console.log(process.env.NO_PROXY); // ".foo.com,*.bar.com,10.*,192.168.1."
// requires protocol
var noProxy = require('no-proxy');
noProxy('http://foo.com/'); // true
noProxy('http://www.baz.com/'); // false
// check hostname part only
var noProxyHost = require('no-proxy/hostname');
noProxyHost('foo.com'); // true
noProxyHost('baz.com'); // false
noProxyHost('192.168.1.1'); // true
NOTE: You may want to use memoization around this module.
If you are using a node version prior to Node 8, you need to install url-parse
as a dependency.
FAQs
Determine if a url should bypass a proxy based on NO_PROXY environment variable.
The npm package no-proxy receives a total of 47,344 weekly downloads. As such, no-proxy popularity was classified as popular.
We found that no-proxy 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
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.