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

@ts-rest/express

Package Overview
Dependencies
Maintainers
1
Versions
123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ts-rest/express - npm Package Compare versions

Comparing version 3.37.0 to 3.38.0

6

CHANGELOG.md
# @ts-rest/express
## 3.38.0
### Minor Changes
- 33d6a57: Add single route implementation helper
## 3.37.0

@@ -4,0 +10,0 @@

1

index.cjs.js

@@ -25,2 +25,3 @@ 'use strict';

router: (router, args) => args,
route: (route, args) => args,
};

@@ -27,0 +28,0 @@ };

@@ -21,2 +21,3 @@ import { isAppRoute, validateResponse, isAppRouteOtherResponse, checkZodSchema, parseJsonQueryObject } from '@ts-rest/core';

router: (router, args) => args,
route: (route, args) => args,
};

@@ -23,0 +24,0 @@ };

2

package.json
{
"name": "@ts-rest/express",
"version": "3.37.0",
"version": "3.38.0",
"peerDependencies": {

@@ -5,0 +5,0 @@ "express": "^4.0.0",

@@ -1,7 +0,8 @@

import { AppRouter } from '@ts-rest/core';
import { AppRoute, AppRouter } from '@ts-rest/core';
import type { IRouter } from 'express-serve-static-core';
import { TsRestExpressOptions, RecursiveRouterObj } from './types';
import { AppRouteImplementationOrOptions, TsRestExpressOptions, RecursiveRouterObj } from './types';
export declare const initServer: () => {
router: <T extends AppRouter>(router: T, args: RecursiveRouterObj<T>) => RecursiveRouterObj<T>;
route: <T_1 extends AppRoute>(route: T_1, args: AppRouteImplementationOrOptions<T_1>) => AppRouteImplementationOrOptions<T_1>;
};
export declare const createExpressEndpoints: <TRouter extends AppRouter>(schema: TRouter, router: RecursiveRouterObj<TRouter>, app: IRouter, options?: TsRestExpressOptions<TRouter>) => void;
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