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
7
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 2.3.0-rc.3 to 2.3.0

4

lib/index.cjs.js

@@ -88,2 +88,3 @@ 'use strict';

var lookUpExternal = function (curr) {
// eslint-disable-next-line global-require
return typeof curr === 'string' ? require(curr) : [curr];

@@ -98,2 +99,3 @@ };

consola.info("- Loading: " + tag + " " + integration.location);
// eslint-disable-next-line global-require
var apiClient = require(integration.location);

@@ -106,3 +108,3 @@ var rawExtensions = createRawExtensions(apiClient, integration);

if (extendApp) {
extendApp(app);
extendApp({ app: app, configuration: integration.configuration });
}

@@ -109,0 +111,0 @@ });

@@ -82,2 +82,3 @@ import express from 'express';

var lookUpExternal = function (curr) {
// eslint-disable-next-line global-require
return typeof curr === 'string' ? require(curr) : [curr];

@@ -92,2 +93,3 @@ };

consola.info("- Loading: " + tag + " " + integration.location);
// eslint-disable-next-line global-require
var apiClient = require(integration.location);

@@ -100,3 +102,3 @@ var rawExtensions = createRawExtensions(apiClient, integration);

if (extendApp) {
extendApp(app);
extendApp({ app: app, configuration: integration.configuration });
}

@@ -103,0 +105,0 @@ });

{
"name": "@vue-storefront/middleware",
"version": "2.3.0-rc.3",
"version": "2.3.0",
"description": "",

@@ -5,0 +5,0 @@ "main": "lib/index.cjs.js",

@@ -27,2 +27,3 @@ import consola from 'consola';

const lookUpExternal = (curr: string | ApiClientExtension): ApiClientExtension[] =>
// eslint-disable-next-line global-require
typeof curr === 'string' ? require(curr) : [curr];

@@ -37,2 +38,3 @@

// eslint-disable-next-line global-require
const apiClient: ApiClientFactory = require(integration.location);

@@ -46,3 +48,3 @@ const rawExtensions: ApiClientExtension[] = createRawExtensions(apiClient, integration);

if (extendApp) {
extendApp(app);
extendApp({ app, configuration: integration.configuration });
}

@@ -49,0 +51,0 @@ });

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