Huge News!Announcing our $40M Series B led by Abstract Ventures.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.10 to 2.0.11

dist/package/bridge.d.ts

2

dist/package/error/index.d.ts

@@ -12,3 +12,3 @@ interface Error {

*/
export declare const httpError: <Status extends 422 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 423 | 424 | 425 | 426 | 428 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511, Name extends string, Data>(status: Status, name: Name, data?: Data | undefined) => {
export declare const httpError: <Status extends 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 422 | 423 | 424 | 425 | 426 | 428 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511, Name extends string, Data>(status: Status, name: Name, data?: Data | undefined) => {
error: {

@@ -15,0 +15,0 @@ name: Name;

export { handler } from './core';
export { httpError, onError, StatusCode } from './error';
export { apply } from './utilities';
export { createExpressMiddleware } from './server';
export { RoutesToBridgeType } from './routes';
export { initBridge } from './bridge';
//# sourceMappingURL=index.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createExpressMiddleware = exports.apply = exports.StatusCode = exports.onError = exports.httpError = exports.handler = void 0;
exports.initBridge = exports.apply = exports.StatusCode = exports.onError = exports.httpError = exports.handler = void 0;
var core_1 = require("./core");

@@ -12,4 +12,4 @@ Object.defineProperty(exports, "handler", { enumerable: true, get: function () { return core_1.handler; } });

Object.defineProperty(exports, "apply", { enumerable: true, get: function () { return utilities_1.apply; } });
var server_1 = require("./server");
Object.defineProperty(exports, "createExpressMiddleware", { enumerable: true, get: function () { return server_1.createExpressMiddleware; } });
var bridge_1 = require("./bridge");
Object.defineProperty(exports, "initBridge", { enumerable: true, get: function () { return bridge_1.initBridge; } });
//# sourceMappingURL=index.js.map
{
"name": "bridge",
"version": "2.0.10",
"version": "2.0.11",
"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