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.58 to 0.0.59

yarn-error.log

6

dist/constant/core/roles.constant.js

@@ -5,7 +5,7 @@ 'use strict';

AUTHORIZED_USER: 'Authorized User',
CHEM_ADMIN: 'CHEM_ADMIN',
CHEM_ADMIN: 'Chemical Admin',
CHEM_INFO: 'CHEM_INFO',
CLI_ADMIN: 'CLI_ADMIN',
CONTROL_AREA_ADMIN: 'CONTROL_AREA_ADMIN',
DELEGATE: 'DELEGATE',
CONTROL_AREA_ADMIN: 'Control Area Admin',
DELEGATE: 'Delegate',
EHS_ADMIN: 'EHS Admin',

@@ -12,0 +12,0 @@ LAB_MANAGER: 'LAB_MANAGER',

@@ -44,2 +44,5 @@ 'use strict';

value: function schema() {
var roleEnums = Object.keys(ROLES).map(function (role) {
return ROLES[role];
});
return {

@@ -51,3 +54,3 @@ $schema: 'http://json-schema.org/draft-04/schema#',

properties: {
role: { enum: Object.keys(ROLES) },
role: { enum: roleEnums },
campusCode: { type: ['string', 'null'] },

@@ -54,0 +57,0 @@ tenantCode: { type: ['string', 'null'] },

{
"name": "@rss/common",
"version": "0.0.58",
"version": "0.0.59",
"description": "common constant, classes, & helper",

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

module.exports = {
AUTHORIZED_USER: 'Authorized User',
CHEM_ADMIN: 'CHEM_ADMIN',
CHEM_ADMIN: 'Chemical Admin',
CHEM_INFO: 'CHEM_INFO',
CLI_ADMIN: 'CLI_ADMIN',
CONTROL_AREA_ADMIN: 'CONTROL_AREA_ADMIN',
DELEGATE: 'DELEGATE',
CONTROL_AREA_ADMIN: 'Control Area Admin',
DELEGATE: 'Delegate',
EHS_ADMIN: 'EHS Admin',

@@ -9,0 +9,0 @@ LAB_MANAGER: 'LAB_MANAGER',

@@ -19,7 +19,5 @@ const ROLES = require('../constant/core/roles.constant');

roles: [
{ role: 'Responsible Person', campusCode: '03' },
{ role: 'DRONES_ADMIN', campusCode: null },
{ role: 'DEVELOPER', campusCode: null },
{ role: 'CHEM_INFO', campusCode: null },
{ role: 'CONTROL_AREA_ADMIN', campusCode: '03' },
{ role: ROLES.RESPONSIBLE_PERSON, campusCode: '03' },
{ role: ROLES.CHEM_INFO, campusCode: null },
{ role: ROLES.CONTROL_AREA_ADMIN, campusCode: '03' },
],

@@ -31,3 +29,3 @@ groups: [

owner: { userId: 'VUN8MDN8aGFwZXJlekB1Y2RhdmlzLmVkdQ', campusCode: '03' }, // Hannah
roles: ['Responsible Person'],
roles: [ROLES.RESPONSIBLE_PERSON],
colleagues: [{ id: 'a21307f6-c584-46af-aa30-bffa956f6bff' }],

@@ -39,3 +37,3 @@ },

owner: { userId: 'VUN8MDN8Y2NhcmNhbW9AdWNkYXZpcy5lZHU', campusCode: '03' }, // Carcamo
roles: ['Delegate', 'Authorized User'],
roles: [ROLES.DELEGATE, ROLES.AUTHORIZED_USER],
colleagues: [],

@@ -47,3 +45,3 @@ },

owner: { userId: 'VUN8MDN8cHJhZGVlcGhAdWNkYXZpcy5lZHU', campusCode: '03' }, // Pradeep
roles: ['Authorized User', 'LAB_MANAGER'],
roles: [ROLES.AUTHORIZED_USER, ROLES.LAB_MANAGER],
colleagues: [],

@@ -55,3 +53,3 @@ },

owner: { userId: 'VUN8MDN8anRzaGF3QHVjZGF2aXMuZWR1', campusCode: '03' }, // Jared Shaw
roles: ['Delegate', 'Authorized User'],
roles: [ROLES.DELEGATE, ROLES.AUTHORIZED_USER],
colleagues: [],

@@ -69,3 +67,3 @@ },

},
roles: ['Responsible Person', 'LAB_MANAGER', 'Delegate'],
roles: [ROLES.RESPONSIBLE_PERSON, ROLES.LAB_MANAGER, ROLES.DELEGATE],
},

@@ -314,3 +312,3 @@ ],

email: 'chem_info@ucdavis.edu',
roles: [{ role: 'CHEM_INFO', campusCode: null }],
roles: [{ role: ROLES.CHEM_INFO, campusCode: null }],
groups: [],

@@ -317,0 +315,0 @@ };

@@ -32,2 +32,3 @@ const tv4 = require('tv4');

static schema() {
const roleEnums = Object.keys(ROLES).map((role) => ROLES[role]);
return {

@@ -39,3 +40,3 @@ $schema: 'http://json-schema.org/draft-04/schema#',

properties: {
role: { enum: Object.keys(ROLES) },
role: { enum: roleEnums },
campusCode: { type: ['string', 'null'] },

@@ -42,0 +43,0 @@ tenantCode: { type: ['string', 'null'] },

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