Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fib-app

Package Overview
Dependencies
Maintainers
3
Versions
115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fib-app - npm Package Compare versions

Comparing version 1.16.7 to 1.16.8

6

lib/http/index.js

@@ -37,3 +37,7 @@ Object.defineProperty(exports, "__esModule", { value: true });

const handlers = Array.isArray(_handlers) ? _handlers : [_handlers];
if (handlers[handlers.length - 1] !== ctx.handler) {
if (!handlers.includes(ctx.handler)) {
console.warn(`[fib-app] return of customizeApiRoute(ctx) must includes ctx.handler, but not found now. we will add it at the end of handlers automatically.`);
handlers.push(ctx.handler);
}
if (!_customizeApiRoute.allowCustomizePostApiRoute && handlers[handlers.length - 1] !== ctx.handler) {
throw new Error(`[fib-app] customizeApiRoute should return the last handler as the final handler, but got ${handlers[handlers.length - 1].name} instead of ${ctx.handler.name}`);

@@ -40,0 +44,0 @@ }

2

package.json
{
"name": "fib-app",
"version": "1.16.7",
"version": "1.16.8",
"description": "",

@@ -5,0 +5,0 @@ "main": "lib",

@@ -457,2 +457,4 @@ /// <reference types="fib-rpc" />

})): ItOrArray<typeof context['handler']>;
} & {
allowCustomizePostApiRoute?: boolean;
};

@@ -459,0 +461,0 @@ }

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