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

@brightspace-hmc/siren-sdk

Package Overview
Dependencies
Maintainers
2
Versions
187
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@brightspace-hmc/siren-sdk - npm Package Compare versions

Comparing version 2.24.2 to 2.25.0

2

package.json
{
"name": "@brightspace-hmc/siren-sdk",
"version": "2.24.2",
"version": "2.25.0",
"type": "module",

@@ -5,0 +5,0 @@ "description": "",

@@ -257,7 +257,7 @@ import { Actions, Classes, Rels } from '../hypermedia-constants.js';

const action = dateEntity.getActionByName(Actions.activities.availabilityDates.create);
if (!action || !action.getFieldByName('availabilityStartType')) {
if (!action || !action.getFieldByName('startDateAvailabilityType')) {
return;
}
return action.getFieldByName('availabilityStartType').value;
return action.getFieldByName('startDateAvailabilityType').value;
}

@@ -347,2 +347,3 @@

defaultEndDateType() {
const dateEntity = this._getSubEntityByClass(Classes.availabilityDates.availabilityDates);

@@ -354,7 +355,7 @@ if (!dateEntity) {

const action = dateEntity.getActionByName(Actions.activities.availabilityDates.create);
if (!action || !action.getFieldByName('availabilityEndType')) {
if (!action || !action.getFieldByName('endDateAvailabilityType')) {
return;
}
return action.getFieldByName('availabilityEndType').value;
return action.getFieldByName('endDateAvailabilityType').value;
}

@@ -434,2 +435,3 @@

_generateDatesAction(startDate, dueDate, endDate, validateOnly, startDateType, endDateType, displayInCalendar) {
let action;

@@ -455,4 +457,4 @@ const datesEntity = this._getSubEntityByClass('dates');

{ name: 'endDate', value: endDateValue },
{ name: 'availabilityStartType', value: startDateTypeValue },
{ name: 'availabilityEndType', value: endDateTypeValue },
{ name: 'startDateAvailabilityType', value: startDateTypeValue },
{ name: 'endDateAvailabilityType', value: endDateTypeValue },
{ name: 'displayInCalendar', value: displayInCalendar }

@@ -459,0 +461,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