@vitejs/devtools-rpc
Advanced tools
+1
-3
| import { createBirpc } from "birpc"; | ||
| //#region src/client.ts | ||
@@ -13,4 +12,3 @@ function createRpcClient(functions, options) { | ||
| } | ||
| //#endregion | ||
| export { createRpcClient }; | ||
| export { createRpcClient }; |
+1
-8
| import { hash } from "ohash"; | ||
| import pLimit from "p-limit"; | ||
| //#region src/cache.ts | ||
@@ -39,3 +38,2 @@ /** | ||
| }; | ||
| //#endregion | ||
@@ -59,3 +57,2 @@ //#region src/handler.ts | ||
| } | ||
| //#endregion | ||
@@ -130,3 +127,2 @@ //#region src/collector.ts | ||
| }; | ||
| //#endregion | ||
@@ -142,3 +138,2 @@ //#region src/define.ts | ||
| } | ||
| //#endregion | ||
@@ -166,3 +161,2 @@ //#region src/validation.ts | ||
| } | ||
| //#endregion | ||
@@ -324,4 +318,3 @@ //#region src/dumps.ts | ||
| } | ||
| //#endregion | ||
| export { RpcCacheManager, RpcFunctionsCollectorBase, createClientFromDump, createDefineWrapperWithContext, defineRpcFunction, dumpFunctions, getDefinitionsWithDumps, getRpcHandler, getRpcResolvedSetupResult, validateDefinition, validateDefinitions }; | ||
| export { RpcCacheManager, RpcFunctionsCollectorBase, createClientFromDump, createDefineWrapperWithContext, defineRpcFunction, dumpFunctions, getDefinitionsWithDumps, getRpcHandler, getRpcResolvedSetupResult, validateDefinition, validateDefinitions }; |
@@ -8,4 +8,3 @@ //#region src/presets/index.ts | ||
| } | ||
| //#endregion | ||
| export { defineRpcClientPreset, defineRpcServerPreset }; | ||
| export { defineRpcClientPreset, defineRpcServerPreset }; |
| import { defineRpcClientPreset } from "../index.mjs"; | ||
| import { parse, stringify } from "structured-clone-es"; | ||
| //#region src/presets/ws/client.ts | ||
@@ -40,4 +39,3 @@ function NOOP() {} | ||
| }); | ||
| //#endregion | ||
| export { createWsRpcPreset }; | ||
| export { createWsRpcPreset }; |
+1
-3
| import { createBirpcGroup } from "birpc"; | ||
| //#region src/server.ts | ||
@@ -12,4 +11,3 @@ function createRpcServer(functions, options) { | ||
| } | ||
| //#endregion | ||
| export { createRpcServer }; | ||
| export { createRpcServer }; |
+1
-1
| { | ||
| "name": "@vitejs/devtools-rpc", | ||
| "type": "module", | ||
| "version": "0.0.0-alpha.32", | ||
| "version": "0.0.0-alpha.33", | ||
| "description": "Vite DevTools RPC Layer", | ||
@@ -6,0 +6,0 @@ "author": "VoidZero Inc.", |
Sorry, the diff of this file is too big to display
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances 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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances 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
152272
-0.33%3966
-0.28%15
200%