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

@uniorg/localneo

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uniorg/localneo - npm Package Compare versions

Comparing version 1.5.0 to 1.6.0

test/StaticDirectory.js

2

package.json
{
"name": "@uniorg/localneo",
"version": "1.5.0",
"version": "1.6.0",
"author": "m.schmale@uniorg.de",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -19,2 +19,6 @@ const Router = require('./Router')

handle (request, response) {
if (request.url.indexOf('~') !== -1) {
request.url = request.url.replace(/\/~\d+~\//, '/')
}
if (request.url.endsWith('/')) {

@@ -21,0 +25,0 @@ response.setHeader('Location', this.index)

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