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

redis-smq-monitor-client

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redis-smq-monitor-client - npm Package Compare versions

Comparing version 7.3.0 to 7.3.1

dist/assets/3920b2ecb14a74200cee.js

6

CHANGELOG.md
# CHANGELOG
## 7.3.1 (2023-05-04)
* fix: make sure basePath does not end with a '/' character (a83f9e4)
* fix: ignorePaths should not include basePath (f1d00bd)
* refactor(QueueConsumers): clean up and improve handling logic (77c2f1c)
## 7.3.0 (2023-03-26)

@@ -4,0 +10,0 @@

7

dist/src/server/middleware.js

@@ -40,9 +40,10 @@ "use strict";

const Middleware = (ignorePaths = [], basePath = '/') => (ctx, next) => __awaiter(void 0, void 0, void 0, function* () {
const normalizedBasePath = basePath === '/' ? basePath : path_1.posix.resolve('/', basePath);
if (!ignorePaths.length ||
ignorePaths.find((i) => {
const match = path_1.posix.join('/', basePath, i).replace(/\/+$/, '');
return ctx.path.indexOf(match) === 0;
const item = path_1.posix.resolve('/', i);
return ctx.path.indexOf(item) === 0;
}) === undefined) {
yield ('/' === ctx.path || ctx.path.indexOf('/assets/') !== 0
? serveIndex(ctx, basePath)
? serveIndex(ctx, normalizedBasePath)
: (0, koa_send_1.default)(ctx, ctx.path, { root: assetsDir }));

@@ -49,0 +50,0 @@ }

{
"name": "redis-smq-monitor-client",
"description": "A Web UI for the RedisSMQ Monitor application",
"version": "7.3.0",
"version": "7.3.1",
"author": "Weyoss <weyoss@protonmail.com>",

@@ -6,0 +6,0 @@ "license": "MIT",

Sorry, the diff of this file is not supported yet

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