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

@dt-esa/authorizer

Package Overview
Dependencies
Maintainers
2
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dt-esa/authorizer - npm Package Compare versions

Comparing version 2.2.1 to 2.2.2

3

dist/flows/openid.js

@@ -37,4 +37,5 @@ "use strict";

router.use((req, res, next) => {
var _a;
if (req.oidc && req.oidc.user)
req._username = req.oidc.user.upn.toLowerCase();
req._username = (_a = req.oidc.user.upn) === null || _a === void 0 ? void 0 : _a.toLowerCase();
next();

@@ -41,0 +42,0 @@ });

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

const email = (_a = req.user) === null || _a === void 0 ? void 0 : _a.nameID;
req._username = email.toLowerCase();
req._username = email === null || email === void 0 ? void 0 : email.toLowerCase();
}

@@ -38,0 +38,0 @@ next();

{
"name": "@dt-esa/authorizer",
"version": "2.2.1",
"version": "2.2.2",
"description": "",

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

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