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.1 to 1.0.2

3

dist/index.es.js
import pathToRegex from 'path-to-regexp';
import flatten from 'arr-flatten';

@@ -88,3 +89,3 @@ /**

// Flatten all given middleware into a single array
middleware = Array.prototype.concat.apply(middleware);
middleware = flatten(middleware);
// Assert that all given values are functions

@@ -91,0 +92,0 @@ assertEach("middleware", "function", middleware);

@@ -8,2 +8,3 @@ 'use strict';

var pathToRegex = _interopDefault(require('path-to-regexp'));
var flatten = _interopDefault(require('arr-flatten'));

@@ -95,3 +96,3 @@ /**

// Flatten all given middleware into a single array
middleware = Array.prototype.concat.apply(middleware);
middleware = flatten(middleware);
// Assert that all given values are functions

@@ -98,0 +99,0 @@ assertEach("middleware", "function", middleware);

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

@@ -36,2 +36,3 @@ "main": "dist/index.js",

"dependencies": {
"arr-flatten": "^1.1.0",
"path-to-regexp": "^2.0.0"

@@ -38,0 +39,0 @@ },

@@ -9,2 +9,3 @@ import buble from "rollup-plugin-buble";

],
external: ["arr-flatten"],
plugins: [ buble() ],

@@ -11,0 +12,0 @@ onwarn (message) {

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