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

@stamhoofd/backend-middleware

Package Overview
Dependencies
Maintainers
0
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stamhoofd/backend-middleware - npm Package Compare versions

Comparing version 2.1.4 to 2.6.0

2

dist/src/VersionMiddleware.js

@@ -23,3 +23,3 @@ "use strict";

// Allow missing version on /openid/ path
if (request.url.startsWith("/openid/")) {
if (STAMHOOFD.environment === 'development' || request.url.startsWith("/openid/")) {
request.version = this.latestVersions.web;

@@ -26,0 +26,0 @@ return;

{
"name": "@stamhoofd/backend-middleware",
"version": "2.1.4",
"version": "2.6.0",
"main": "./dist/index.js",

@@ -21,3 +21,3 @@ "types": "./dist/index.d.ts",

},
"gitHead": "22be7c0740ce4705470d6fc79b5a50ccccabad9d"
"gitHead": "7a3f9f6c08058dc8b671befbfad73184afdc6d7c"
}

@@ -28,3 +28,3 @@ import { EncodedResponse, Request, RequestMiddleware, ResponseMiddleware } from "@simonbackx/simple-endpoints";

// Allow missing version on /openid/ path
if (request.url.startsWith("/openid/")) {
if (STAMHOOFD.environment === 'development' || request.url.startsWith("/openid/")) {
request.version = this.latestVersions.web

@@ -85,2 +85,2 @@ return

}
}
}

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