You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

koa

Package Overview
Dependencies
Maintainers
11
Versions
123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

koa - npm Package Compare versions

Comparing version
3.0.2
to
3.0.3
+0
-6
lib/response.js

@@ -325,8 +325,2 @@ 'use strict'

if (referrer) {
// referrer is a relative path
if (referrer.startsWith('/')) {
this.redirect(referrer)
return
}
// referrer is an absolute URL, check if it's the same origin

@@ -333,0 +327,0 @@ const url = new URL(referrer, this.ctx.href)

+1
-1
{
"name": "koa",
"version": "3.0.2",
"version": "3.0.3",
"description": "Koa web app framework",

@@ -5,0 +5,0 @@ "main": "lib/application.js",