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

@uniformdev/redirect

Package Overview
Dependencies
Maintainers
10
Versions
464
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uniformdev/redirect - npm Package Compare versions

Comparing version 19.36.0 to 19.36.1-alpha.0

7

./dist/index.js

@@ -861,4 +861,7 @@ "use strict";

}
const protocol = redirectDefinition.targetPreserveIncomingProtocol ? processedUrl.protocol : processedTarget.protocol;
const domain = redirectDefinition.targetPreserveIncomingDomain ? processedUrl.domain : processedTarget.domain;
let protocol = redirectDefinition.targetPreserveIncomingProtocol ? processedUrl.protocol : processedTarget.protocol;
const domain = protocol !== "" ? redirectDefinition.targetPreserveIncomingDomain ? processedUrl.domain : processedTarget.domain : "";
if (domain === "" && protocol !== "") {
protocol = "";
}
const port = redirectDefinition.targetPreserveIncomingDomain ? processedUrl.port : processedTarget.port;

@@ -865,0 +868,0 @@ const query = redirectDefinition.sourceRetainQuerystring && redirectDefinition.targetMergeQuerystring ? this.mergeQueryStrings(processedUrl.query, processedTarget.query) : !redirectDefinition.targetMergeQuerystring && redirectDefinition.sourceRetainQuerystring ? processedUrl.query : processedTarget.query;

@@ -534,4 +534,7 @@ import "./chunk-TLYAXJ7N.mjs";

}
const protocol = redirectDefinition.targetPreserveIncomingProtocol ? processedUrl.protocol : processedTarget.protocol;
const domain = redirectDefinition.targetPreserveIncomingDomain ? processedUrl.domain : processedTarget.domain;
let protocol = redirectDefinition.targetPreserveIncomingProtocol ? processedUrl.protocol : processedTarget.protocol;
const domain = protocol !== "" ? redirectDefinition.targetPreserveIncomingDomain ? processedUrl.domain : processedTarget.domain : "";
if (domain === "" && protocol !== "") {
protocol = "";
}
const port = redirectDefinition.targetPreserveIncomingDomain ? processedUrl.port : processedTarget.port;

@@ -538,0 +541,0 @@ const query = redirectDefinition.sourceRetainQuerystring && redirectDefinition.targetMergeQuerystring ? this.mergeQueryStrings(processedUrl.query, processedTarget.query) : !redirectDefinition.targetMergeQuerystring && redirectDefinition.sourceRetainQuerystring ? processedUrl.query : processedTarget.query;

@@ -861,4 +861,7 @@ "use strict";

}
const protocol = redirectDefinition.targetPreserveIncomingProtocol ? processedUrl.protocol : processedTarget.protocol;
const domain = redirectDefinition.targetPreserveIncomingDomain ? processedUrl.domain : processedTarget.domain;
let protocol = redirectDefinition.targetPreserveIncomingProtocol ? processedUrl.protocol : processedTarget.protocol;
const domain = protocol !== "" ? redirectDefinition.targetPreserveIncomingDomain ? processedUrl.domain : processedTarget.domain : "";
if (domain === "" && protocol !== "") {
protocol = "";
}
const port = redirectDefinition.targetPreserveIncomingDomain ? processedUrl.port : processedTarget.port;

@@ -865,0 +868,0 @@ const query = redirectDefinition.sourceRetainQuerystring && redirectDefinition.targetMergeQuerystring ? this.mergeQueryStrings(processedUrl.query, processedTarget.query) : !redirectDefinition.targetMergeQuerystring && redirectDefinition.sourceRetainQuerystring ? processedUrl.query : processedTarget.query;

{
"name": "@uniformdev/redirect",
"version": "19.36.0",
"version": "19.36.1-alpha.0+a6b7449c1",
"description": "Uniform redirect client",

@@ -35,3 +35,3 @@ "license": "SEE LICENSE IN LICENSE.txt",

"dependencies": {
"@uniformdev/context": "19.36.0",
"@uniformdev/context": "19.36.1-alpha.0+a6b7449c1",
"p-limit": "^3.1.0",

@@ -43,3 +43,3 @@ "rfdc": "^1.3.0"

},
"gitHead": "3ae246a7f0f39adeaf04ecba4c7e48c478c019ad"
"gitHead": "a6b7449c13066f2bdef2d5209c230986507fb454"
}

Sorry, the diff of this file is not supported yet

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