Comparing version
@@ -147,3 +147,3 @@ "use strict"; | ||
} | ||
for await (const key of keys) { | ||
for (const key of keys) { | ||
context.addMongoOperationResponse((0, bson_1.serialize)(key)); | ||
@@ -150,0 +150,0 @@ } |
@@ -445,2 +445,3 @@ "use strict"; | ||
} | ||
// eslint-disable-next-line @typescript-eslint/no-base-to-string | ||
mongoOptions[name] = String(values[0]); | ||
@@ -447,0 +448,0 @@ break; |
@@ -5,3 +5,2 @@ "use strict"; | ||
exports.kDecoratedKeys = exports.kDecorateResult = exports.LEGACY_HELLO_COMMAND_CAMEL_CASE = exports.LEGACY_HELLO_COMMAND = exports.MONGO_CLIENT_EVENTS = exports.LOCAL_SERVER_EVENTS = exports.SERVER_RELAY_EVENTS = exports.APM_EVENTS = exports.TOPOLOGY_EVENTS = exports.CMAP_EVENTS = exports.HEARTBEAT_EVENTS = exports.RESUME_TOKEN_CHANGED = void 0; | ||
/* eslint-disable @typescript-eslint/no-unnecessary-type-assertion */ | ||
exports.SYSTEM_NAMESPACE_COLLECTION = 'system.namespaces'; | ||
@@ -8,0 +7,0 @@ exports.SYSTEM_INDEX_COLLECTION = 'system.indexes'; |
@@ -11,3 +11,2 @@ "use strict"; | ||
/** @internal */ | ||
// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion | ||
exports.DB_AGGREGATE_COLLECTION = 1; | ||
@@ -14,0 +13,0 @@ const MIN_WIRE_VERSION_$OUT_READ_CONCERN_SUPPORT = 8; |
{ | ||
"name": "mongodb", | ||
"version": "6.16.0-dev.20250505.sha.ae617568", | ||
"version": "6.16.0-dev.20250506.sha.6a35701d", | ||
"description": "The official MongoDB driver for Node.js", | ||
@@ -82,9 +82,9 @@ "main": "lib/index.js", | ||
"@types/whatwg-url": "^13.0.0", | ||
"@typescript-eslint/eslint-plugin": "8.4.0", | ||
"@typescript-eslint/parser": "8.4.0", | ||
"@typescript-eslint/eslint-plugin": "^8.31.1", | ||
"@typescript-eslint/parser": "^8.31.1", | ||
"chai": "^4.4.1", | ||
"chai-subset": "^1.6.0", | ||
"chalk": "^4.1.2", | ||
"eslint": "9.9.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint": "^9.25.1", | ||
"eslint-config-prettier": "^10.1.2", | ||
"eslint-plugin-mocha": "^10.4.1", | ||
@@ -91,0 +91,0 @@ "eslint-plugin-prettier": "^5.2.3", |
@@ -278,3 +278,3 @@ import * as fs from 'fs/promises'; | ||
} | ||
for await (const key of keys) { | ||
for (const key of keys) { | ||
context.addMongoOperationResponse(serialize(key)); | ||
@@ -281,0 +281,0 @@ } |
@@ -867,3 +867,3 @@ import { type Readable, Transform, type TransformCallback } from 'stream'; | ||
options?: CommandOptions, | ||
responseType?: T | undefined | ||
responseType?: T | ||
): Promise<Document> { | ||
@@ -870,0 +870,0 @@ const { autoEncrypter } = this; |
@@ -265,3 +265,3 @@ import { | ||
as: T, | ||
required?: boolean | undefined | ||
required?: boolean | ||
): JSTypeOf[T] | null; | ||
@@ -268,0 +268,0 @@ |
@@ -80,3 +80,3 @@ import { | ||
as: T, | ||
required?: false | undefined | ||
required?: false | ||
): JSTypeOf[T] | null; | ||
@@ -91,3 +91,3 @@ public override get<const T extends keyof JSTypeOf>( | ||
as: T, | ||
required?: boolean | undefined | ||
required?: boolean | ||
): JSTypeOf[T] | null { | ||
@@ -94,0 +94,0 @@ try { |
@@ -608,2 +608,3 @@ import * as dns from 'dns'; | ||
} | ||
// eslint-disable-next-line @typescript-eslint/no-base-to-string | ||
mongoOptions[name] = String(values[0]); | ||
@@ -610,0 +611,0 @@ break; |
@@ -1,2 +0,1 @@ | ||
/* eslint-disable @typescript-eslint/no-unnecessary-type-assertion */ | ||
export const SYSTEM_NAMESPACE_COLLECTION = 'system.namespaces'; | ||
@@ -3,0 +2,0 @@ export const SYSTEM_INDEX_COLLECTION = 'system.indexes'; |
@@ -15,3 +15,2 @@ import type { Document } from '../bson'; | ||
/** @internal */ | ||
// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion | ||
export const DB_AGGREGATE_COLLECTION = 1 as const; | ||
@@ -18,0 +17,0 @@ const MIN_WIRE_VERSION_$OUT_READ_CONCERN_SUPPORT = 8; |
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 not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
27
8%168
0.6%3798675
-0.01%79230
0