{"name":"mongodb","version":"7.4.0","keywords":["mongodb","driver","official"],"author":{"name":"The MongoDB NodeJS Team","email":"dbx-node@mongodb.com"},"license":"Apache-2.0","_id":"mongodb@7.4.0","maintainers":[{"name":"dariakp","email":"daria.pardue@mongodb.com"},{"name":"dbx-node","email":"dbx-node@mongodb.com"}],"homepage":"https://github.com/mongodb/node-mongodb-native","bugs":{"url":"https://jira.mongodb.org/projects/NODE/issues/"},"tsd":{"directory":"test/types","compilerOptions":{"module":"commonjs","strict":true,"target":"esnext","moduleResolution":"node"}},"dist":{"shasum":"83f7cf64b26f3debe6c678141ee6490a2957cd46","tarball":"https://registry.npmjs.org/mongodb/-/mongodb-7.4.0.tgz","fileCount":399,"integrity":"sha512-giySkkdYiwoBFo/oCc8nzov3xOYZ/sB8OpAYk5GINRLEjVw0LDsm8xgQL0XMTyU4extQlDZjhdUr1ZEwKFaazw==","signatures":[{"sig":"MEUCIQCeMqOFrn+I76GK5KGqhayp18WYyFukfHLkxneYsTKw3AIgSXX3vahJZnrr1Zx3H1aefMe+k5GKvjijCt8fRGNwF4g=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/mongodb@7.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":3514843},"main":"lib/index.js","types":"mongodb.d.ts","engines":{"node":">=20.19.0"},"gitHead":"1c4333e25f68f66e595b8ea8f9a836cf72fbda5b","scripts":{"test":"npm run check:lint && npm run test:all","prepare":"node etc/prepare.js","build:ts":"node ./node_modules/typescript/bin/tsc","check:ts":"node ./node_modules/typescript/bin/tsc -v && node ./node_modules/typescript/bin/tsc --noEmit","test:all":"npm run check:unit && npm run check:test","build:dts":"npm run build:ts && api-extractor run && node etc/clean_definition_files.cjs && ESLINT_USE_FLAT_CONFIG=false eslint --no-ignore --fix mongodb.d.ts","check:aws":"npm run build:bundle && nyc mocha --config test/mocha_mongodb.js test/integration/auth/mongodb_aws.test.ts test/integration/auth/mongodb_aws.prose.test.ts","check:dts":"npm run build:bundle && node ./node_modules/typescript/bin/tsc --target es2023 --module commonjs --noEmit mongodb.d.ts && tsd","check:tls":"npm run build:bundle && nyc mocha --config test/manual/mocharc.js test/manual/tls_support.test.ts","check:tsd":"tsd --version && tsd","build:docs":"./etc/docs/build.ts","check:ldap":"npm run build:bundle && nyc mocha --config test/manual/mocharc.js test/manual/ldap.test.ts","check:lint":"npm run build:dts && npm run check:dts && npm run check:eslint && npm run check:tsd","check:test":"npm run build:bundle && nyc mocha --config test/mocha_mongodb.js test/integration","check:unit":"npm run build:bundle && nyc mocha test/unit","check:x509":"npm run build:bundle && nyc mocha test/manual/x509_auth.test.ts","fix:eslint":"npm run check:eslint -- --fix","check:atlas":"npm run build:bundle && nyc mocha --config test/manual/mocharc.js test/manual/atlas_connectivity.test.ts","check:bench":"npm --prefix test/benchmarks/driver_bench start","check:csfle":"npm run build:bundle && nyc mocha --config test/mocha_mongodb.js test/integration/client-side-encryption","mocha:debug":"npm run build:bundle && node --inspect --enable-source-maps --no-experimental-strip-types ./node_modules/mocha/bin/mocha.js","update:docs":"npm run build:docs -- --yes","build:bundle":"npm run bundle:driver && npm run bundle:types && npm run build:runtime-barrel","bundle:types":"npx tsc --project ./tsconfig.json --declaration --emitDeclarationOnly --declarationDir test/tools/runner/bundle/types","check:eslint":"npm run build:dts && ESLINT_USE_FLAT_CONFIG=false eslint -v && ESLINT_USE_FLAT_CONFIG=false eslint --max-warnings=0 --ext '.js,.ts' src test","check:lambda":"npm run build:bundle && nyc mocha --config test/mocha_lambda.js test/integration/node-specific/examples/handler.test.js","check:snappy":"npm run build:bundle && nyc mocha test/unit/assorted/snappy.test.js","check:socks5":"npm run build:bundle && nyc mocha --config test/manual/mocharc.js test/manual/socks5.test.ts","preview:docs":"ts-node etc/docs/preview.ts","build:nightly":"node ./.github/scripts/nightly.mjs","build:typedoc":"typedoc","bundle:driver":"node etc/bundle-driver.mjs","check:coverage":"nyc npm run test:all","check:kerberos":"npm run build:bundle && nyc mocha --config test/manual/mocharc.js test/manual/kerberos.test.ts","build:evergreen":"node .evergreen/generate_evergreen_tasks.js","check:oidc-auth":"npm run build:bundle && nyc mocha --config test/mocha_mongodb.js test/integration/auth/auth.spec.test.ts","check:oidc-test":"npm run build:bundle && nyc mocha --config test/mocha_mongodb.js test/integration/auth/mongodb_oidc.prose.test.ts","check:lambda:aws":"npm run build:bundle && nyc mocha --config test/mocha_lambda.js test/integration/node-specific/examples/aws_handler.test.js","check:test:debug":"npm run mocha:debug -- --config test/mocha_mongodb.js test/integration","check:unit:debug":"npm run mocha:debug -- test/unit","switch:to-bundled":"MONGODB_BUNDLED=true npm run build:runtime-barrel","check:dependencies":"npm run build:bundle && mocha test/action/dependency.test.ts","check:test-bundled":"MONGODB_BUNDLED=true npm run check:test","check:unit-bundled":"MONGODB_BUNDLED=true npm run check:unit","switch:to-unbundled":"MONGODB_BUNDLED=false npm run build:runtime-barrel","build:runtime-barrel":"node etc/build-runtime-barrel.mjs","check:search-indexes":"npm run build:bundle && nyc mocha --config test/mocha_mongodb.js test/manual/search-index-management.prose.test.ts","check:integration-coverage":"nyc npm run check:test","check:drivers-atlas-testing":"npm run build:bundle && nyc mocha --config test/mocha_mongodb.js test/atlas/drivers_atlas_testing.test.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3181055e-45fa-44cb-9be2-b4aa8d40a606"}},"repository":{"url":"git+ssh://git@github.com/mongodb/node-mongodb-native.git","type":"git"},"_npmVersion":"11.17.0","description":"The official MongoDB driver for Node.js","directories":{},"_nodeVersion":"24.17.0","dependencies":{"bson":"^7.2.0","@mongodb-js/saslprep":"^1.3.0","mongodb-connection-string-url":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^17.1.0","tsd":"^0.33.0","aws4":"^1.13.2","chai":"^5.3.3","chalk":"^4.1.2","mocha":"^11.7.5","sinon":"^18.0.1","socks":"^2.8.7","yargs":"^18.0.0","eslint":"^9.39.1","semver":"^7.7.2","snappy":"^7.3.2","esbuild":"^0.27.2","express":"^5.1.0","js-yaml":"^4.1.0","ts-node":"^10.9.2","prettier":"^3.6.2","sinon-chai":"^4.0.1","typescript":"5.8.3","@iarna/toml":"^2.2.5","@types/node":"^22.15.3","chai-subset":"^1.6.0","mocha-sinon":"^2.1.2","@types/mocha":"^10.0.9","@types/sinon":"^17.0.4","gcp-metadata":"^7.0.1","@types/semver":"^7.7.0","@types/express":"^5.0.5","@types/kerberos":"^1.1.5","@types/saslprep":"^1.0.3","v8-heapsnapshot":"^1.3.1","@mongodb-js/zstd":"^7.0.0","@types/whatwg-url":"^13.0.0","@types/chai-subset":"^1.3.5","source-map-support":"^0.5.21","eslint-plugin-mocha":"^10.4.1","eslint-plugin-tsdoc":"^0.4.0","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.4","@microsoft/tsdoc-config":"^0.17.1","@microsoft/api-extractor":"^7.54.0","@typescript-eslint/parser":"^8.31.1","mongodb-client-encryption":"^7.0.0","typescript-cached-transpile":"^0.0.6","eslint-plugin-unused-imports":"^4.2.0","@aws-sdk/credential-providers":"^3.876.0","@typescript-eslint/eslint-plugin":"^8.46.3","eslint-plugin-simple-import-sort":"^12.1.1","@istanbuljs/nyc-config-typescript":"^1.0.2"},"peerDependencies":{"socks":"^2.8.6","snappy":"^7.3.2","kerberos":"^7.0.0","gcp-metadata":"^7.0.1","@mongodb-js/zstd":"^7.0.0","mongodb-client-encryption":">=7.0.0 <7.1.0","@aws-sdk/credential-providers":"^3.806.0"},"peerDependenciesMeta":{"socks":{"optional":true},"snappy":{"optional":true},"kerberos":{"optional":true},"gcp-metadata":{"optional":true},"@mongodb-js/zstd":{"optional":true},"mongodb-client-encryption":{"optional":true},"@aws-sdk/credential-providers":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/mongodb_7.4.0_1782424337099_0.8275575550916494","host":"s3://npm-registry-packages-npm-production"}}