New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

htmx-router

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

htmx-router - npm Package Compare versions

Comparing version 0.0.9 to 0.0.10

2

bin/components.js

@@ -29,4 +29,4 @@ "use strict";

function Link(props, contents) {
return elements.createElement("a", { target: props.target || "", style: props.style || "", href: props.to, "hx-get": props.to, "hx-headers": '{"hx-headless": "true", "Cache-Control": "no-cache"}' }, contents);
return elements.createElement("a", { target: props.target || "", style: props.style || "", href: props.to, "hx-get": props.to, "hx-headers": '{"hx-headless": "true"}' }, contents);
}
exports.Link = Link;

@@ -170,2 +170,3 @@ "use strict";

if (from) {
res.setHeader('Vary', "HX-Push-Url");
res.setHeader('HX-Push-Url', req.url || "/");

@@ -172,0 +173,0 @@ if (depth > 0) {

{
"name": "htmx-router",
"version": "0.0.9",
"version": "0.0.10",
"description": "A remix.js style file path router for htmX websites",

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