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

dumongo

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dumongo - npm Package Compare versions

Comparing version 0.0.1 to 0.1.0

.idea/codeStyles/codeStyleConfig.xml

2

package.json
{
"name": "dumongo",
"version": "0.0.1",
"version": "0.1.0",
"description": "MongoDB typescript completions for your schema.",

@@ -5,0 +5,0 @@ "main": "build/index",

@@ -49,3 +49,6 @@ import { CursorValue, DefaultTypes, Query, Result } from '.'

sortedQuery: Query<T>,
{
pagination: Pagination = {},
select?: K[],
): Promise<Connection<Result<T, K>>> {
const {
sortBy = '_id',

@@ -55,5 +58,4 @@ limit = 10,

after,
}: Pagination = {},
select?: K[],
): Promise<Connection<Result<T, K>>> {
} = pagination
const query = Object.assign({}, sortedQuery)

@@ -60,0 +62,0 @@ if (after) {

@@ -122,3 +122,3 @@ import * as mongodb from 'mongodb'

return arr
return arr.map((i) => new this(i))
}

@@ -125,0 +125,0 @@

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