Socket
Socket
Sign inDemoInstall

mongodb

Package Overview
Dependencies
Maintainers
8
Versions
546
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongodb - npm Package Compare versions

Comparing version 6.8.0-dev.20240712.sha.320dde04 to 6.8.0-dev.20240716.sha.4b219d36

2

package.json
{
"name": "mongodb",
"version": "6.8.0-dev.20240712.sha.320dde04",
"version": "6.8.0-dev.20240716.sha.4b219d36",
"description": "The official MongoDB driver for Node.js",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -295,3 +295,3 @@ import { type BSONSerializeOptions, type Document, resolveBSONOptions } from './bson';

async insertMany(
docs: OptionalUnlessRequiredId<TSchema>[],
docs: ReadonlyArray<OptionalUnlessRequiredId<TSchema>>,
options?: BulkWriteOptions

@@ -329,3 +329,3 @@ ): Promise<InsertManyResult<TSchema>> {

async bulkWrite(
operations: AnyBulkWriteOperation<TSchema>[],
operations: ReadonlyArray<AnyBulkWriteOperation<TSchema>>,
options?: BulkWriteOptions

@@ -341,3 +341,3 @@ ): Promise<BulkWriteResult> {

this as TODO_NODE_3286,
operations as TODO_NODE_3286,
operations,
resolveOptions(this, options ?? { ordered: true })

@@ -344,0 +344,0 @@ )

@@ -16,7 +16,7 @@ import type {

collection: Collection;
operations: AnyBulkWriteOperation[];
operations: ReadonlyArray<AnyBulkWriteOperation>;
constructor(
collection: Collection,
operations: AnyBulkWriteOperation[],
operations: ReadonlyArray<AnyBulkWriteOperation>,
options: BulkWriteOptions

@@ -23,0 +23,0 @@ ) {

@@ -107,5 +107,5 @@ import type { Document } from '../bson';

collection: Collection;
docs: Document[];
docs: ReadonlyArray<Document>;
constructor(collection: Collection, docs: Document[], options: BulkWriteOptions) {
constructor(collection: Collection, docs: ReadonlyArray<Document>, options: BulkWriteOptions) {
super(options);

@@ -112,0 +112,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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