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

kequapp

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kequapp - npm Package Compare versions

Comparing version 0.5.6 to 0.5.7

4

dist/router/create-regexp.d.ts

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

export declare const PARA: string;
export declare const WILD: string;
export declare const PARA = "[^/]+";
export declare const WILD = ".*";
export default function createRegexp(url: string, isWild?: boolean): RegExp;

@@ -5,5 +5,4 @@ "use strict";

const extract_1 = require("./util/extract");
const VALID = '0-9a-zA-Z_\\-@+.~';
exports.PARA = `[${VALID}]*`;
exports.WILD = `[${VALID}/]*`;
exports.PARA = '[^/]+';
exports.WILD = '.*';
function createRegexp(url, isWild = false) {

@@ -29,3 +28,6 @@ return new RegExp('^/' + convertUrl(url, isWild) + '$', 'i');

}
return part;
return escapeRegExp(part);
}
function escapeRegExp(part) {
return part.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
}

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

const extract_1 = require("../router/util/extract");
exports.PATHNAME_REGEX = /^(?:\/:[a-zA-Z_]\w*|\/[\w\-.]*|\/\*{2})+$/;
exports.PATHNAME_REGEX = /^(?:\/:[a-zA-Z_]\w*|\/[^/*:\\? ]*|\/\*{2})+$/;
exports.CONTENT_TYPE_REGEX = /^[a-zA-Z]+\/(?:[a-zA-Z]+|\*)|\*$/;

@@ -8,0 +8,0 @@ function validateObject(topic, name, type) {

{
"name": "kequapp",
"version": "0.5.6",
"version": "0.5.7",
"description": "Non-intrusive Node JavaScript web app framework",

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