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

bridge

Package Overview
Dependencies
Maintainers
1
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bridge - npm Package Compare versions

Comparing version 2.0.11 to 2.0.12

3

dist/package/bridge.d.ts
/// <reference types="node" />
import { BridgeRoutes } from './routes';
import { ErrorHandler } from './error';
import { RoutesToBridgeType } from './routes';
import type * as express from 'express';

@@ -10,3 +11,3 @@ import formidableLib from 'formidable';

private url;
private bridgeType;
bridgeType: RoutesToBridgeType<Routes>;
constructor(routes: Routes, config: {

@@ -13,0 +14,0 @@ errorHandler?: ErrorHandler;

@@ -5,17 +5,2 @@ "use strict";

const node_http_1 = require("./server/adapters/node-http");
// export const initBridge = <Routes extends BridgeRoutes>({
// routes,
// url,
// errorHandler,
// formidable,
// }: {
// routes: Routes;
// url?: string;
// formidable?: typeof formidableLib;
// errorHandler?: ErrorHandler;
// }): { bridgeType: RoutesToBridgeType<Routes>; createExpressMiddleware: () => express.Handler } => {
// return {
// createExpressMiddleware: () => createHttpHandler(routes, { formidable, errorHandler }),
// } as any;
// };
class Bridge {

@@ -22,0 +7,0 @@ routes;

{
"name": "bridge",
"version": "2.0.11",
"version": "2.0.12",
"description": "Bridge is a new way of developing your api's",

@@ -5,0 +5,0 @@ "author": "El Ouahabi Nabil",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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