Socket
Socket
Sign inDemoInstall

typeodm

Package Overview
Dependencies
221
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.22 to 0.0.23

2

package.json
{
"name": "typeodm",
"version": "0.0.22",
"version": "0.0.23",
"description": "ODM for MongoDB used Typescript",

@@ -5,0 +5,0 @@ "license": "Apache-2.0",

@@ -59,3 +59,3 @@ "use strict";

value: function hasId(document) {
return document && document.hasOwnProperty(this.schema.idField.name);
return document && this.schema.idField && document.hasOwnProperty(this.schema.idField.name);
}

@@ -62,0 +62,0 @@ }, {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc