Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@colearn/microservices-kit

Package Overview
Dependencies
Maintainers
3
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@colearn/microservices-kit - npm Package Compare versions

Comparing version 0.0.18 to 0.0.19

4

lib/auth.js

@@ -11,3 +11,4 @@ "use strict";

function authUser(auth) {
var _a, _b;
var _a, _b, _c;
var _d;
if (!auth) {

@@ -24,2 +25,3 @@ return undefined;

for (const [entity, id, role] of entityRoles) {
(_c = (_d = user.roles)[entity]) !== null && _c !== void 0 ? _c : (_d[entity] = {});
user.roles[entity][id] = role;

@@ -26,0 +28,0 @@ }

{
"name": "@colearn/microservices-kit",
"version": "0.0.18",
"version": "0.0.19",
"description": "colearn microservice kit",

@@ -5,0 +5,0 @@ "author": "Colearn",

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