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

@rss/common

Package Overview
Dependencies
Maintainers
1
Versions
895
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rss/common - npm Package Compare versions

Comparing version 0.0.72 to 0.0.73

2

dist/helper/permission.helper.js

@@ -17,3 +17,3 @@ 'use strict';

return r.role === ROLES.RSS_ADMIN || r.role === role && (criteria.tenantCode && criteria.tenantCode !== 'ALL' && r.tenantCode !== 'ALL' ? r.tenantCode === criteria.tenantCode : true) && (criteria.campusCode && criteria.campusCode !== 'ALL' && r.campusCode !== 'ALL' ? r.campusCode === criteria.campusCode : true) && (criteria.types ? criteria.types.some(function (type) {
return r.types.includes(type);
return r.types && r.types.includes(type);
}) : true);

@@ -20,0 +20,0 @@ });

{
"name": "@rss/common",
"version": "0.0.72",
"version": "0.0.73",
"description": "common constant, classes, & helper",

@@ -5,0 +5,0 @@ "author": "Risk & Safety Solution",

@@ -18,3 +18,3 @@ const READONLY_INVENTORY_ROLES = require('../constant/chemical/readonly-roles-inventory.constant');

: true) &&
(criteria.types ? criteria.types.some((type) => r.types.includes(type)) : true)),
(criteria.types ? criteria.types.some((type) => r.types && r.types.includes(type)) : true)),
);

@@ -21,0 +21,0 @@

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