@elysiajs/node
Advanced tools
@@ -211,3 +211,3 @@ "use strict"; | ||
| async upgrade(request) { | ||
| const id = request.wsId = randomId(); | ||
| const id = request.wsId = (0, import_utils2.randomId)(); | ||
| const response = await app.handle(request); | ||
@@ -214,0 +214,0 @@ const context = store[id]; |
+1
-1
@@ -205,3 +205,3 @@ "use strict"; | ||
| async upgrade(request) { | ||
| const id = request.wsId = randomId(); | ||
| const id = request.wsId = (0, import_utils2.randomId)(); | ||
| const response = await app.handle(request); | ||
@@ -208,0 +208,0 @@ const context = store[id]; |
+1
-1
@@ -14,3 +14,3 @@ // src/index.ts | ||
| import { parseSetCookies } from "elysia/adapter/utils"; | ||
| import { isNotEmpty } from "elysia/utils"; | ||
| import { isNotEmpty, randomId } from "elysia/utils"; | ||
| import { | ||
@@ -17,0 +17,0 @@ createHandleWSResponse, |
+1
-1
@@ -9,3 +9,3 @@ // src/ws.ts | ||
| import { parseSetCookies } from "elysia/adapter/utils"; | ||
| import { isNotEmpty } from "elysia/utils"; | ||
| import { isNotEmpty, randomId } from "elysia/utils"; | ||
| import { | ||
@@ -12,0 +12,0 @@ createHandleWSResponse, |
+1
-1
| { | ||
| "name": "@elysiajs/node", | ||
| "version": "1.4.4", | ||
| "version": "1.4.5", | ||
| "description": "Elysia adapter to run Elysia on Node.js", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Network access
Supply chain riskThis module accesses the network.
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 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
203908
0.03%