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.69 to 0.0.70

yarn-error.log

4

dist/model/flexible-questionnaire/flexible-questionnaire.js

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

value: function fillBaseObject(opt) {
this._id = new ObjectId(opt._id);
this._id = opt._id || new ObjectId();
this.responses = opt.responses;
this.templateId = new ObjectId(opt.templateId);
this.templateId = opt.templateId || new ObjectId();
this.createdBy = new PersonReference(opt.createdBy);

@@ -36,0 +36,0 @@ this.createdDate = opt.responses ? new Date(opt.responses) : null;

@@ -51,3 +51,3 @@ 'use strict';

this.templatePrefix = opt.templatePrefix;
this.stateId = new ObjectId(opt.stateId);
this.stateId = opt.stateId || new ObjectId();
this.rp = new PersonReference(opt.rp);

@@ -54,0 +54,0 @@ this.groupId = opt.groupId;

{
"name": "@rss/common",
"version": "0.0.69",
"version": "0.0.70",
"description": "common constant, classes, & helper",

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

@@ -21,5 +21,5 @@ const ObjectId = require('bson').ObjectID;

fillBaseObject(opt) {
this._id = new ObjectId(opt._id);
this._id = opt._id || new ObjectId();
this.responses = opt.responses;
this.templateId = new ObjectId(opt.templateId);
this.templateId = opt.templateId || new ObjectId();
this.createdBy = new PersonReference(opt.createdBy);

@@ -26,0 +26,0 @@ this.createdDate = opt.responses ? new Date(opt.responses) : null;

@@ -33,3 +33,3 @@ const ObjectId = require('bson').ObjectID;

this.templatePrefix = opt.templatePrefix;
this.stateId = new ObjectId(opt.stateId);
this.stateId = opt.stateId || new ObjectId();
this.rp = new PersonReference(opt.rp);

@@ -36,0 +36,0 @@ this.groupId = opt.groupId;

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