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
2.16.2
to
2.16.3
+0
-5
lib/response.js

@@ -246,7 +246,2 @@

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

@@ -253,0 +248,0 @@ const url = new URL(referrer, this.ctx.href);

+8
-9
{
"name": "koa",
"version": "2.16.2",
"version": "2.16.3",
"publishConfig": {

@@ -28,9 +28,2 @@ "access": "public",

},
"scripts": {
"test": "jest --forceExit",
"lint": "eslint --ignore-path .gitignore .",
"authors": "git log --format='%aN <%aE>' | sort -u > AUTHORS",
"build": "gen-esm-wrapper . ./dist/koa.mjs",
"prepare": "npm run build"
},
"repository": "koajs/koa",

@@ -93,3 +86,9 @@ "keywords": [

"testEnvironment": "node"
},
"scripts": {
"test": "jest --forceExit",
"lint": "eslint --ignore-path .gitignore .",
"authors": "git log --format='%aN <%aE>' | sort -u > AUTHORS",
"build": "gen-esm-wrapper . ./dist/koa.mjs"
}
}
}