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

@helpfulhuman/router-kit

Package Overview
Dependencies
Maintainers
7
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@helpfulhuman/router-kit - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

7

dist/index.es.js

@@ -62,6 +62,11 @@ import pathToRegex from 'path-to-regexp';

var callNext = function () {
var args = [], len = arguments.length;
while ( len-- ) args[ len ] = arguments[ len ];
// Filter falsey values
var argCount = args.filter(function (item) { return !!item; }).length;
// Find the next middleware to call in the stack (if any)
var next = mw.shift();
// Attempt to invoke the next middleware
if (arguments.length === 0 && next) {
if (argCount === 0 && next) {
try {

@@ -68,0 +73,0 @@ return next(context, callNext);

@@ -68,6 +68,11 @@ 'use strict';

var callNext = function () {
var args = [], len = arguments.length;
while ( len-- ) args[ len ] = arguments[ len ];
// Filter falsey values
var argCount = args.filter(function (item) { return !!item; }).length;
// Find the next middleware to call in the stack (if any)
var next = mw.shift();
// Attempt to invoke the next middleware
if (arguments.length === 0 && next) {
if (argCount === 0 && next) {
try {

@@ -74,0 +79,0 @@ return next(context, callNext);

2

package.json
{
"name": "@helpfulhuman/router-kit",
"version": "1.0.4",
"version": "1.0.5",
"description": "Simple library for building custom frontend routing solutions for single page applications.",

@@ -5,0 +5,0 @@ "main": "dist/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