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

djorm-db-gcp-datastore

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

djorm-db-gcp-datastore - npm Package Compare versions

Comparing version 0.1.5-alpha.12 to 0.1.5-alpha.13

7

DatastoreFormatterBase.js

@@ -30,6 +30,11 @@ const { ComparisonOperator } = require('djorm/db/ComparisonOperator')

formatValue (qs, data) {
const excludeFromIndexes = qs.props.model
.getDatabaseFields()
.filter(([key, field]) => !field.indexable)
.map(([key]) => key)
return {
key: this.formatKey(qs.props.model, data[qs.props.model.pkName]),
data,
excludeLargeProperties: true
excludeLargeProperties: true,
excludeFromIndexes
}

@@ -36,0 +41,0 @@ }

10

DatastoreInsertFormatter.js

@@ -28,14 +28,4 @@ const { DatastoreFormatterBase } = require('./DatastoreFormatterBase')

}
formatValue = (qs, data) => ({
key: this.formatKey(qs.props.model, data[qs.model.pkName]),
data
})
formatValues = qs =>
qs.props.values instanceof Array
? qs.props.values.map(data => this.formatValue(qs, data))
: [this.formatValue(qs, qs.props.values)]
}
module.exports = { DatastoreInsertFormatter }
{
"name": "djorm-db-gcp-datastore",
"version": "0.1.5-alpha.12",
"version": "0.1.5-alpha.13",
"description": "Datastore bindings for djorm",

@@ -31,3 +31,3 @@ "author": "Pavel Žák <pavel@zak.global>",

},
"gitHead": "911855f34a897df157f6ac549baf825d48559de5"
"gitHead": "ed93c1475e18b00733f9e62b2c6006f6c08c12c5"
}
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