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

@orpc/shared

Package Overview
Dependencies
Maintainers
0
Versions
243
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@orpc/shared - npm Package Compare versions

Comparing version 0.0.0-next.568a5ad to 0.0.0-next.56e31fa

dist/chunk-CCTAECMC.js

2

dist/error.js

@@ -5,3 +5,3 @@ import {

convertToStandardError
} from "./chunk-4KZEIATV.js";
} from "./chunk-CCTAECMC.js";
export {

@@ -8,0 +8,0 @@ ORPCError,

import {
convertToStandardError
} from "./chunk-4KZEIATV.js";
} from "./chunk-CCTAECMC.js";
// src/constants.ts
var ORPC_PROTOCOL_HEADER = "x-orpc-protocol";
var ORPC_PROTOCOL_VALUE = "orpc";
// src/hook.ts

@@ -131,2 +135,4 @@ async function executeWithHooks(options) {

export {
ORPC_PROTOCOL_HEADER,
ORPC_PROTOCOL_VALUE,
convertToArray,

@@ -133,0 +139,0 @@ executeWithHooks,

@@ -1,2 +0,2 @@

import { type ZodIssue } from 'zod';
import type { StandardSchemaV1 } from '@standard-schema/spec';
export declare const ORPC_ERROR_CODE_STATUSES: {

@@ -29,3 +29,3 @@ readonly BAD_REQUEST: 400;

data: TData;
issues?: ZodIssue[];
issues?: readonly StandardSchemaV1.Issue[];
}

@@ -40,2 +40,3 @@ export type ANY_ORPC_ERROR_JSON = ORPCErrorJSON<any, any>;

cause?: unknown;
issues?: readonly StandardSchemaV1.Issue[];
} & (undefined extends TData ? {

@@ -51,2 +52,3 @@ data?: TData;

cause?: unknown;
issues?: readonly StandardSchemaV1.Issue[];
} & (undefined extends TData ? {

@@ -60,3 +62,3 @@ data?: TData;

get data(): TData;
get issues(): ZodIssue[] | undefined;
get issues(): readonly StandardSchemaV1.Issue[] | undefined;
toJSON(): ORPCErrorJSON<TCode, TData>;

@@ -63,0 +65,0 @@ static fromJSON(json: unknown): ORPCError<ORPCErrorCode, any> | undefined;

@@ -0,1 +1,2 @@

export * from './constants';
export * from './function';

@@ -2,0 +3,0 @@ export * from './hook';

{
"name": "@orpc/shared",
"type": "module",
"version": "0.0.0-next.568a5ad",
"version": "0.0.0-next.56e31fa",
"license": "MIT",

@@ -37,6 +37,6 @@ "homepage": "https://orpc.unnoq.com",

"dependencies": {
"@standard-schema/spec": "1.0.0-beta.4",
"is-what": "^5.0.2",
"radash": "^12.1.0",
"type-fest": "^4.26.1",
"zod": "^3.24.1"
"type-fest": "^4.26.1"
},

@@ -43,0 +43,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