New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@brightspace-hmc/siren-sdk

Package Overview
Dependencies
Maintainers
2
Versions
192
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.50.1 to 2.50.2

2

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

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

@@ -72,2 +72,22 @@ import { Actions } from '../hypermedia-constants.js';

/**
* @summary Checks if evaluation entity has changed, primarily used for dirty check
* @param {object} evaluation the evaluation that's being modified
*/
equals(evaluation) {
const diffs = [
[evaluation.allowMultiple, this.getAllowMultiple()],
[evaluation.unevalAsZero, this.getUnevalAsZero()],
[evaluation.calculationMethodSelection, this.getCalculationMethodSelection()],
];
for (const [current, initial] of diffs) {
if (current !== initial) {
return false;
}
}
return true;
}
async save(evaluation) {

@@ -74,0 +94,0 @@ if (!evaluation) {

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