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

baselinejs

Package Overview
Dependencies
Maintainers
3
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

baselinejs - npm Package Compare versions

Comparing version 9.1.3 to 9.1.4

11

collectionService.js

@@ -404,9 +404,12 @@ var _ = require( 'underscore' );

// make sure the attributes we end up storing are copies, in case
// somebody is using the original newRecordDTOs.
var recordIsNew = ! this._recordsById[ recordId ];
if( recordIsNew ) {
if( ! this._recordsById[ recordId ] ) {
this._recordsById[ recordId ] = {};
this._recordIds.push( recordId );
this.length++;
} else {
// if we are merging the record, then it is no longer "new", because the merge
// is coming from some external source. or, so the theory goes. this allows
// us to create endpoints that save and dump down records from multiple collections
// without us having to go through and mark those records manually as not-new.
this._newRecordIds = _.without( this._newRecordIds, recordId );
}

@@ -413,0 +416,0 @@

{
"name": "baselinejs",
"version": "9.1.3",
"version": "9.1.4",
"description": "Share code and data between the client and the server in full stack JavaScript applications.",

@@ -5,0 +5,0 @@ "main": "baseline.js",

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