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

@uppercod/exp-route

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uppercod/exp-route - npm Package Compare versions

Comparing version 1.2.5 to 1.2.6

2

package.json
{
"name": "@uppercod/exp-route",
"type": "module",
"version": "1.2.5",
"version": "1.2.6",
"description": "exp-route, designed to compare routes on the client based on simple expressions",

@@ -6,0 +6,0 @@ "main": "./exp-route.cjs",

@@ -1,2 +0,3 @@

const HASH = "(?:/#|#)";
const HASH = "(?:(?:/){0,1}#(?:/){0,1})";
const SLASH = "(?:/)";
/**

@@ -21,3 +22,3 @@ *

const slash =
(hash ? HASH : "(?:/)") + (type == "[" ? "{0,1}" : "{1}");
(hash ? HASH : SLASH) + (type == "[" ? "{0,1}" : "{1}");
return spread

@@ -34,7 +35,6 @@ ? `${slash}(.${wildcard})`

.join("");
return [
RegExp(
(!regFolders.indexOf(HASH) ? "" : "^") +
(regFolders || "(?:/){0,1}") +
(regFolders || SLASH + "{0,1}") +
"$"

@@ -41,0 +41,0 @@ ),

Sorry, the diff of this file is not supported yet

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