+0
-5
@@ -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" | ||
| } | ||
| } | ||
| } |
Network access
Supply chain riskThis module accesses the network.
Found 4 instances in 1 package
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 4 instances in 1 package
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
62101
-0.23%1645
-0.24%