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

router5.transition-path

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

router5.transition-path - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

4

dist/commonjs/index.js

@@ -71,3 +71,5 @@ 'use strict';

var i = undefined;
if (!fromState || toState.name === fromState.name && (!toState._meta || !fromState._meta)) {
if (!fromState) {
i = 0;
} else if (!fromState || toState.name === fromState.name && (!toState._meta || !fromState._meta)) {
console.log('[router5.transition-path] Some states are missing metadata, reloading all segments');

@@ -74,0 +76,0 @@ i = 0;

@@ -81,3 +81,5 @@ (function (global, factory) {

var i = undefined;
if (!fromState || toState.name === fromState.name && (!toState._meta || !fromState._meta)) {
if (!fromState) {
i = 0;
} else if (!fromState || toState.name === fromState.name && (!toState._meta || !fromState._meta)) {
console.log('[router5.transition-path] Some states are missing metadata, reloading all segments');

@@ -84,0 +86,0 @@ i = 0;

@@ -45,3 +45,5 @@ function nameToIDs(name) {

let i;
if (!fromState || toState.name === fromState.name && (!toState._meta || !fromState._meta)) {
if (!fromState) {
i = 0;
} else if (!fromState || toState.name === fromState.name && (!toState._meta || !fromState._meta)) {
console.log('[router5.transition-path] Some states are missing metadata, reloading all segments');

@@ -48,0 +50,0 @@ i = 0;

{
"name": "router5.transition-path",
"version": "2.0.0",
"version": "2.0.1",
"description": "Router5 transition path helper function",

@@ -5,0 +5,0 @@ "main": "dist/commonjs/index.js",

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