Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hutil

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hutil - npm Package Compare versions

Comparing version 0.1.9 to 0.1.10

2

package.json
{
"name": "hutil",
"version": "0.1.9",
"version": "0.1.10",
"description": "Hola Utilities",

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

@@ -292,8 +292,13 @@ // LICENSE_CODE ZON ISC

E.http_glob_host = function(host, end){
var port = '';
var parts = host.split(':');
host = parts[0];
if (parts.length>1)
port = ':'+parts[1].replace('*', '[0-9]+');
var n = host.match(/^(|.*[^*])(\*+)$/);
if (n)
{
host = E.http_glob_host(n[1])
+(n[2].length==1 ? '[^./]+' : '[^/]'+(n[1] ? '*' : '+'));
return token_regex(host, end);
host = E.http_glob_host(n[1])
+(n[2].length==1 ? '[^./]+' : '[^/]'+(n[1] ? '*' : '+'));
return token_regex(host+port, end);
}

@@ -305,3 +310,3 @@ /* '**' replace doesn't use '*' in output to avoid conflict with '*'

.replace(/\*/g, '[^./]+\\.');
return token_regex(host, end);
return token_regex(host+port, end);
};

@@ -308,0 +313,0 @@

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