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

@vercel/routing-utils

Package Overview
Dependencies
Maintainers
13
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vercel/routing-utils - npm Package Compare versions

Comparing version 1.8.3-canary.3 to 1.8.3-canary.4

4

dist/superstatic.js

@@ -85,3 +85,3 @@ "use strict";

const { src, segments } = sourceToRegex(h.source);
const hasSegments = segments.length > 0;
const namedSegments = segments.filter(name => name !== UN_NAMED_SEGMENT);
const indexes = {};

@@ -92,3 +92,3 @@ segments.forEach((name, index) => {

h.headers.forEach(({ key, value }) => {
if (hasSegments) {
if (namedSegments.length > 0) {
if (key.includes(':')) {

@@ -95,0 +95,0 @@ key = safelyCompile(key, indexes);

{
"name": "@vercel/routing-utils",
"version": "1.8.3-canary.3",
"version": "1.8.3-canary.4",
"description": "Vercel routing utilities",

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

},
"gitHead": "45d05a603b0d883461e5ed6aa5d1bf18d4a3cc55"
"gitHead": "9d73091d8cd69787de8c8add84668b28c466029a"
}
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