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

hono-router

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hono-router - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

.vscode/settings.json

10

index.js

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

const entryPath = path.join(currentPath, entry.name);
const importPath = path
const importPath = path.posix
.join(basePath, entry.name)

@@ -88,7 +88,7 @@ .replace(/\.(ts|tsx)$/, '');

const safeName = importPath
.replace(/[@/]/g, '_')
.replace(/[@/\\]/g, '_')
.replace(/^_+/, '')
.replace(/\[(.+?)\]/g, '$1'); // Ensure valid variable names
const importPathString = isDeno ? path.join(basePath, entry.name) : importPath.replace(/index$/, '');
const relativePath = path
.replace(/\[(.+?)\]/g, '$1');
const importPathString = isDeno ? path.posix.join(basePath, entry.name) : importPath.replace(/index$/, '');
const relativePath = path.posix
.relative(path.dirname(out), path.join(dir, importPathString))

@@ -95,0 +95,0 @@ .replace(/\\/g, '/');

{
"name": "hono-router",
"version": "1.0.6",
"version": "1.0.7",
"description": "hotloading script to generate file-based routing config for Hono",

@@ -5,0 +5,0 @@ "author": "Stu Kennedy",

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