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

combo-url-parser

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

combo-url-parser - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

3

lib/middleware.js

@@ -20,5 +20,6 @@ var parser = require('./parser.js');

return function (req, res, next) {
var urls = parser(req.url);
if (urls.length === 1) {
if (!urls) {
next();

@@ -25,0 +26,0 @@ return;

@@ -21,3 +21,3 @@ var URL = require("url");

if (idx1 === -1) {
return [url];
return;
}

@@ -24,0 +24,0 @@

@@ -5,3 +5,3 @@ {

"description": "A util to parser comboed url",
"version": "0.1.0",
"version": "0.1.1",
"repository": {

@@ -8,0 +8,0 @@ "type": "git",

@@ -24,1 +24,8 @@ [![build status](https://secure.travis-ci.org/maxbbn/combo-url-parser.png)](http://travis-ci.org/maxbbn/combo-url-parser)

````
## ChangeLog
### 0.1.1
- 修复单个 combo 无法访问的问题
- 如果 URL 中不符合parser规范, 返回 null
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