
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
@appres/url
Advanced tools
npm i @appres/url
const UrlEx = require('@appres/url');
or
import { UrlEx } from '@appres/url';
let encoded1 = UrlEx.encode("https://abc.com/123?a=value&b=value");
let encoded2 = UrlEx.encodeComp("https://abc.com/123?a=value&b=value");
let decoded1 = UrlEx.decode("https://abc.com/123%3Fa%3Dvalue%26b%3Dvalue");
let decoded2 = UrlEx.decode("https%3A%2F%2Fabc.com%2F123%3Fa%3Dvalue%26b%3Dvalue");
result:
encoded1=https://abc.com/123%3Fa%3Dvalue%26b%3Dvalue
encoded2=https%3A%2F%2Fabc.com%2F123%3Fa%3Dvalue%26b%3Dvalue
decoded1=https://abc.com/123?a=value&b=value
decoded2=https://abc.com/123?a=value&b=value
let url1 = UrlEx.checkURL("http://www.google.co.kr/test");
let url2 = UrlEx.checkURL("http://www.google.co.kr/test", "https");
let url3 = UrlEx.checkURL("http://www.google.co.kr/test", ["http", "https", "ftp", "ftps"]);
let url4 = UrlEx.checkURL("http://www.google.co.kr/test", ["ftp", "ftps"]);
result:
url1=http://www.google.co.kr/test
url2=null
url3=http://www.google.co.kr/test
url4=null
FAQs
URL related functions
We found that @appres/url demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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 Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.