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

ziggy-js

Package Overview
Dependencies
Maintainers
8
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ziggy-js - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

2

package.json
{
"name": "ziggy-js",
"version": "2.0.0",
"version": "2.0.1",
"description": "Use your Laravel named routes in JavaScript.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -158,5 +158,5 @@ /**

// Called with no arguments - returns a Router instance
export default function route(): Router;
export function route(): Router;
// Called with a route name and optional additional arguments - returns a URL string
export default function route<T extends RouteName>(
export function route<T extends RouteName>(
name: T,

@@ -168,3 +168,3 @@ params?: RouteParams<T> | undefined,

// Called with configuration arguments only - returns a configured Router instance
export default function route(
export function route(
name: undefined,

@@ -171,0 +171,0 @@ params: undefined,

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