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
0
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 1.0.0-alpha.0 to 1.0.0-alpha.1

4

bin/cli/index.js

@@ -8,3 +8,3 @@ #!/usr/bin/env node

const config = await ReadConfig();
console.log("Building router");
console.info("Building router");
const routes = relative(config.router.output, config.router.folder).replaceAll("\\", "/").slice(1);

@@ -57,4 +57,4 @@ await writeFile(config.router.output, `/*------------------------------------------

if (config.client) {
console.log("Building client islands");
console.info("Building client islands");
await GenerateClient(config.client, true);
}

@@ -39,3 +39,3 @@ import { QuickHash } from "../util/hash.js";

throw new Error("Client manifest missing");
console.log("hydrating...");
console.info("hydrating...");
for (const [funcName, element, json] of mountRequests) {

@@ -62,3 +62,2 @@ const func = global.CLIENT[funcName];

const hash = QuickHash(script);
console.log(CutString(ClientMounter.toString(), "{")[1]);
export function _resolve(fragments) {

@@ -65,0 +64,0 @@ if (!fragments[2])

@@ -14,3 +14,3 @@ import { watch } from "fs";

const rebuild = () => {
console.log("Building client");
console.info("Building client");
GenerateClient(client).catch(console.error);

@@ -17,0 +17,0 @@ };

{
"name": "htmx-router",
"version": "1.0.0-alpha.0",
"version": "1.0.0-alpha.1",
"description": "A simple SSR framework with dynamic+client islands",

@@ -24,2 +24,3 @@ "main": "./bin/index.js",

"dependencies": {
"es-module-lexer": "^1.5.4",
"vite": "^6.0.1"

@@ -29,3 +30,2 @@ },

"@types/node": "^20.4.5",
"es-module-lexer": "^1.5.4",
"ts-node": "^10.9.1",

@@ -32,0 +32,0 @@ "tsc-alias": "^1.8.10",

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