Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@solidjs/router

Package Overview
Dependencies
Maintainers
2
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@solidjs/router - npm Package Compare versions

Comparing version 0.8.3 to 0.8.4

3

dist/index.js

@@ -12,2 +12,5 @@ import { isServer, delegateEvents, createComponent as createComponent$1, spread, mergeProps as mergeProps$1, template } from 'solid-js/web';

function querySelector(selector) {
if (selector === "#") {
return null;
}
// Guard against selector being an invalid CSS selector

@@ -14,0 +17,0 @@ try {

@@ -10,2 +10,5 @@ import { createSignal, onCleanup } from "solid-js";

function querySelector(selector) {
if (selector === "#") {
return null;
}
// Guard against selector being an invalid CSS selector

@@ -12,0 +15,0 @@ try {

2

dist/types.d.ts

@@ -56,3 +56,3 @@ import { Component, JSX } from "solid-js";

});
export type MatchFilter = string[] | RegExp | ((s: string) => boolean);
export type MatchFilter = readonly string[] | RegExp | ((s: string) => boolean);
export type PathParams<P extends string | readonly string[]> = P extends `${infer Head}/${infer Tail}` ? [...PathParams<Head>, ...PathParams<Tail>] : P extends `:${infer S}?` ? [S] : P extends `:${infer S}` ? [S] : P extends `*${infer S}` ? [S] : [];

@@ -59,0 +59,0 @@ export type MatchFilters<P extends string | readonly string[] = any> = P extends string ? {

@@ -9,3 +9,3 @@ {

"license": "MIT",
"version": "0.8.3",
"version": "0.8.4",
"homepage": "https://github.com/solidjs/solid-router#readme",

@@ -12,0 +12,0 @@ "repository": {

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