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 3.5.0 to 3.5.1

2

lib/index.cjs.js

@@ -94,3 +94,3 @@ 'use strict';

function getAxiosStatusCode(error) {
return error.response.status;
return error?.response?.status ?? 500;
}

@@ -97,0 +97,0 @@ function getApolloStatusCode(error) {

@@ -82,3 +82,3 @@ import consola from 'consola';

function getAxiosStatusCode(error) {
return error.response.status;
return error?.response?.status ?? 500;
}

@@ -85,0 +85,0 @@ function getApolloStatusCode(error) {

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

@@ -31,3 +31,2 @@ "module": "lib/index.es.js",

"devDependencies": {
"@changesets/changelog-github": "^0.4.8",
"@changesets/cli": "^2.26.1",

@@ -34,0 +33,0 @@ "@types/body-parser": "^1.19.2",

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