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.0 to 2.24.1

2

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

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

@@ -13,5 +13,9 @@ /**

}
return this._entity.getSubEntitiesByRel(Rels.IPSIS.SISCourseMerge.courseMergeOffering);
return this._entity.entities;
}
prependCourseMergeOfferings(previousCourseMergeOfferingCollectionEntity) {
this._entity.entities.unshift(...previousCourseMergeOfferingCollectionEntity._entity.entities);
}
userOwnedByMultipleSourceSystems() {

@@ -37,2 +41,13 @@ return this._entity?.properties?.userOwnedByMultipleSourceSystems;

loadMorePageSize() {
const pageSize = this._pagingInfo()?.pageSize;
const totalCount = this.totalCount() ?? 0;
const courseMergeOfferingsLength = this.courseMergeOfferings()?.length ?? 0;
// if pageSize is larger than the number remaining items, return the number of remaining items to be loaded
if (totalCount < courseMergeOfferingsLength + (pageSize ?? 0)) {
return totalCount - courseMergeOfferingsLength;
}
return pageSize;
}
_pagingInfo() {

@@ -39,0 +54,0 @@ return this._entity?.properties?.pagingInfo;

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