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

@studyportals/sp-r2d2-interface

Package Overview
Dependencies
Maintainers
6
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@studyportals/sp-r2d2-interface - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

1

bin/results/failed-result.class.js

@@ -34,2 +34,3 @@ "use strict";

const obj = super.toJSON();
obj.__i_failed_result__ = this.__i_failed_result__;
obj.errorMsg = this.errorMsg;

@@ -36,0 +37,0 @@ return obj;

@@ -14,2 +14,9 @@ import { ISuccessResult } from '../results-interfaces/i-success-result.interface';

constructor();
/**
* Returns an object that can be stringifyed, resulting in the correct
* serialization of the current instance.
*
* @see JSON.stringify
*/
protected toJSON(): object;
}

@@ -17,3 +17,14 @@ "use strict";

}
/**
* Returns an object that can be stringifyed, resulting in the correct
* serialization of the current instance.
*
* @see JSON.stringify
*/
toJSON() {
const obj = super.toJSON();
obj.__i_success_result__ = this.__i_success_result__;
return obj;
}
}
exports.SuccessResult = SuccessResult;

2

package.json
{
"name": "@studyportals/sp-r2d2-interface",
"version": "0.1.1",
"version": "0.1.2",
"description": "Contains various types (DTOs) used when communicating between components to increase consistency.",

@@ -5,0 +5,0 @@ "scripts": {

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