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

typeodm

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typeodm - npm Package Compare versions

Comparing version 0.0.16 to 0.0.17

2

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

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

@@ -554,2 +554,24 @@ "use strict";

/**
* Creates ObjectId object from a given objectId string.
*/
}, {
key: "createObjectIdFromString",
value: function createObjectIdFromString(objectId) {
return this.connection.driver.createObjectId(objectId, true);
}
/**
* Creates array of ObjectId objects from a given objectId strings.
*/
}, {
key: "createObjectIdsFromStrings",
value: function createObjectIdsFromStrings(objectIds) {
var _this14 = this;
return objectIds.map(function (id) {
return _this14.connection.driver.createObjectId(id, true);
});
}
// -------------------------------------------------------------------------

@@ -556,0 +578,0 @@ // Private Methods

Sorry, the diff of this file is too big to display

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