New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@orpc/contract

Package Overview
Dependencies
Maintainers
0
Versions
232
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@orpc/contract - npm Package Compare versions

Comparing version 0.0.0-next.bc564a6 to 0.0.0-next.bc9d3dd

7

dist/index.js

@@ -322,2 +322,8 @@ // src/error-map.ts

}
function toORPCError(error) {
return error instanceof ORPCError ? error : new ORPCError("INTERNAL_SERVER_ERROR", {
message: "Internal server error",
cause: error
});
}

@@ -399,2 +405,3 @@ // src/client-utils.ts

safe,
toORPCError,
type,

@@ -401,0 +408,0 @@ unshiftTagRoute,

1

dist/src/error-utils.d.ts

@@ -14,2 +14,3 @@ import type { ErrorMap, ErrorMapItem } from './error-map';

export declare function validateORPCError(map: ErrorMap, error: ORPCError<any, any>): Promise<ORPCError<string, unknown>>;
export declare function toORPCError(error: unknown): ORPCError<any, any>;
//# sourceMappingURL=error-utils.d.ts.map

8

package.json
{
"name": "@orpc/contract",
"type": "module",
"version": "0.0.0-next.bc564a6",
"version": "0.0.0-next.bc9d3dd",
"license": "MIT",

@@ -32,4 +32,4 @@ "homepage": "https://orpc.unnoq.com",

"dependencies": {
"@standard-schema/spec": "1.0.0-rc.0",
"@orpc/shared": "0.0.0-next.bc564a6"
"@standard-schema/spec": "1.0.0",
"@orpc/shared": "0.0.0-next.bc9d3dd"
},

@@ -39,3 +39,3 @@ "devDependencies": {

"valibot": "1.0.0-beta.9",
"zod": "3.24.1"
"zod": "^3.24.1"
},

@@ -42,0 +42,0 @@ "scripts": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc