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

generouted

Package Overview
Dependencies
Maintainers
1
Versions
115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generouted - npm Package Compare versions

Comparing version 1.12.4 to 1.12.5

2

package.json
{
"name": "generouted",
"version": "1.12.4",
"version": "1.12.5",
"description": "Generated client-side file-based routes for Vite",

@@ -5,0 +5,0 @@ "author": "Omar Elhawary <oedotme@gmail.com> (https://omarelhawary.me)",

@@ -55,3 +55,3 @@ export const patterns = {

const found = current?.find((route) => route.path === path || route.id === path)
const props = group ? { id: path } : { path }
const props = group ? (route?.component ? { id: path, path: '/' } : { id: path }) : { path }
if (found) found.children ??= []

@@ -58,0 +58,0 @@ else current?.[insert]({ ...props, children: [] })

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