Socket
Socket
Sign inDemoInstall

list-fetch

Package Overview
Dependencies
Maintainers
1
Versions
169
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

list-fetch - npm Package Compare versions

Comparing version 15.0.1 to 15.0.2

4

index.js

@@ -14,3 +14,3 @@ const makeFetch = require('make-fetch')

const SUPPORTED_METHODS = ['GET', 'PUT', 'DELETE', 'HEAD']
const encodeType = '~'
const encodeType = 'hex'
const hostType = '_'

@@ -53,3 +53,3 @@

const { hostname, pathname, protocol, searchParams } = new URL(url)
const mainHostname = hostname && hostname[0] === encodeType ? Buffer.from(hostname.slice(1), 'hex').toString('utf-8') : hostname
const mainHostname = hostname && hostname.startsWith(encodeType) ? Buffer.from(hostname.slice(encodeType.length), 'hex').toString('utf-8') : hostname

@@ -56,0 +56,0 @@ if (protocol !== 'bt:') {

{
"name": "list-fetch",
"version": "15.0.1",
"version": "15.0.2",
"description": "coming soon",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc