Socket
Socket
Sign inDemoInstall

routes

Package Overview
Dependencies
0
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.0 to 1.0.0

2

dist/routes.js

@@ -91,3 +91,3 @@ !function(e){if("object"==typeof exports)module.exports=e();else if("function"==typeof define&&define.amd)define(e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.routes=e()}}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){

val = typeof captures[j] === 'string'
? decodeURIComponent(captures[j])
? unescape(captures[j])
: captures[j];

@@ -94,0 +94,0 @@ if (key) {

@@ -90,3 +90,3 @@

val = typeof captures[j] === 'string'
? decodeURIComponent(captures[j])
? unescape(captures[j])
: captures[j];

@@ -93,0 +93,0 @@ if (key) {

{
"name": "routes",
"description": "Minimalist route matching for javascript",
"version": "0.3.0",
"version": "1.0.0",
"homepage": "https://github.com/aaronblohowiak/routes.js",

@@ -6,0 +6,0 @@ "repository": "https://github.com/aaronblohowiak/routes.js.git",

@@ -160,2 +160,12 @@ var assert = require("assert"),

},
{
path: "/cat/*",
testMatch: {
"/cat/%" :{
fn: noop,
params: {},
splats: ['%']
}
}
}
]

@@ -162,0 +172,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc