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

flex-combo-plus

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flex-combo-plus - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

34

instance.js

@@ -99,6 +99,38 @@ /**

var matchedRule = (function(){
var i, n, rule;
var i, n, rule,
dirpars, dirname, filepre;
for(i = 0, n = rules.length; i < n; i++){
rule = rules[i];
if(!rule.disabled && rule.from.test(reqPars.dirname)){
dirpars = reqPars.dirname.split(options.request.combo.dir);
dirname = options.request.combo.dir;
filepre = '';
while(!dirpars[0]){ dirpars.shift(); }
while(!dirpars[dirpars.length - 1]){ dirpars.pop(); }
for(i = 0, n = dirpars.length - 1; i < n; i++){
dirname += dirpars[i] + options.request.combo.dir;
if(rule.from.test(dirname)){
i = i + 1;
n = dirpars.length;
while(i < n){
filepre += dirpars[i] + options.request.combo.dir;
i++;
}
reqPars.dirname = dirname;
for(i = 0, n = reqPars.filenames.length; i < n; i++){
reqPars.filenames[i] = filepre + reqPars.filenames[i];
}
return rule;
}
}
return rule;

@@ -105,0 +137,0 @@ }

2

package.json
{
"name": "flex-combo-plus",
"version": "2.0.3",
"version": "2.0.4",
"description": "process engine for aproxy",

@@ -5,0 +5,0 @@ "main": "instance.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