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.10.7 to 0.10.8

6

dist/data/cache.js

@@ -60,3 +60,3 @@ import { createSignal, getOwner, onCleanup, sharedConfig, startTransition } from "solid-js";

let version;
if (owner) {
if (owner && !isServer) {
version = createSignal(now, {

@@ -74,3 +74,3 @@ equals: (p, v) => v - p < 50 // margin of error

let res = cached[1];
if (!isServer && intent !== "preload") {
if (intent !== "preload") {
res =

@@ -80,3 +80,3 @@ "then" in cached[1]

: handleResponse(false)(cached[1]);
intent === "navigate" && startTransition(() => revalidateSignals(cached[3], cached[0])); // update version
!isServer && intent === "navigate" && startTransition(() => revalidateSignals(cached[3], cached[0])); // update version
}

@@ -83,0 +83,0 @@ return res;

@@ -821,3 +821,3 @@ import { isServer, getRequestEvent, createComponent as createComponent$1, delegateEvents, spread, mergeProps as mergeProps$1, template } from 'solid-js/web';

let version;
if (owner) {
if (owner && !isServer) {
version = createSignal(now, {

@@ -837,5 +837,5 @@ equals: (p, v) => v - p < 50 // margin of error

let res = cached[1];
if (!isServer && intent !== "preload") {
if (intent !== "preload") {
res = "then" in cached[1] ? cached[1].then(handleResponse(false), handleResponse(true)) : handleResponse(false)(cached[1]);
intent === "navigate" && startTransition(() => revalidateSignals(cached[3], cached[0])); // update version
!isServer && intent === "navigate" && startTransition(() => revalidateSignals(cached[3], cached[0])); // update version
}

@@ -842,0 +842,0 @@

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

"license": "MIT",
"version": "0.10.7",
"version": "0.10.8",
"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