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

hlx-url-rewriter

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hlx-url-rewriter - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

6

default.js

@@ -115,7 +115,7 @@ const path = require('path');

}
data.uri = `/${obj.hostname}${obj.pathname}${obj.search}${obj.hash}`;
data.uri = `${path.join(`/${obj.hostname}`, obj.pathname)}${obj.search}${obj.hash}`;
} else if (type === 'path-absolute' && baseUrl) {
data.uri = `/${baseUrl.hostname}${uri}`;
data.uri = path.join(`/${baseUrl.hostname}`, uri);
} else if (type === 'path-relative' && baseUrl) {
data.uri = path.resolve(`/${baseUrl.hostname}/${path.dirname(baseUrl.pathname)}/`, uri);
data.uri = path.join(`/${baseUrl.hostname}`, path.dirname(baseUrl.pathname), uri);
}

@@ -122,0 +122,0 @@ print(`\t>>> "${data.uri}"`);

{
"name": "hlx-url-rewriter",
"version": "0.0.7",
"version": "0.0.8",
"description": "A transform stream to modify URLs contained in HLS playlists",

@@ -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