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

@furystack/http-api

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@furystack/http-api - npm Package Compare versions

Comparing version 0.4.1 to 0.4.2

2

dist/RequestContext.js

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

for (const role of roles) {
if (!currentUser.Roles.some((c) => c.Id === role.Id)) {
if (!currentUser.Roles.some((c) => c.Name === role.Name)) {
return false;

@@ -33,0 +33,0 @@ }

{
"name": "@furystack/http-api",
"version": "0.4.1",
"version": "0.4.2",
"description": "HTTP Api FuryStack package",

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

@@ -17,3 +17,3 @@ import { IContext, IRole, IUser, visitorUser } from "@furystack/core";

for (const role of roles) {
if (!currentUser.Roles.some((c) => c.Id === role.Id)) {
if (!currentUser.Roles.some((c) => c.Name === role.Name)) {
return false;

@@ -20,0 +20,0 @@ }

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