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

@vue-storefront/middleware

Package Overview
Dependencies
Maintainers
9
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vue-storefront/middleware - npm Package Compare versions

Comparing version 5.3.0 to 5.3.1

4

lib/errors/defaultErrorHandler.d.ts

@@ -1,6 +0,6 @@

import type { Integration } from "../types";
import type { ErrorHandler } from "../types";
/**
* Default error handler for the middleware
*/
export declare const defaultErrorHandler: Integration["errorHandler"];
export declare const defaultErrorHandler: ErrorHandler;
//# sourceMappingURL=defaultErrorHandler.d.ts.map

@@ -67,2 +67,3 @@ import type { Express, Request, Response } from "express";

}
export type ErrorHandler = (error: unknown, req: AlokaiRequest, res: AlokaiResponse) => void;
export interface Integration<CONFIG extends TObject = any, API extends ApiMethods = any, CONTEXT extends TObject = any> {

@@ -111,3 +112,3 @@ location: string;

*/
errorHandler?: (error: unknown, req: AlokaiRequest, res: AlokaiResponse) => void;
errorHandler?: ErrorHandler;
}

@@ -114,0 +115,0 @@ export interface RequestParams {

{
"name": "@vue-storefront/middleware",
"version": "5.3.0",
"version": "5.3.1",
"main": "lib/index.cjs.js",

@@ -5,0 +5,0 @@ "module": "lib/index.es.js",

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