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

@mongodb-js/mongodb-constants

Package Overview
Dependencies
Maintainers
31
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mongodb-js/mongodb-constants - npm Package Compare versions

Comparing version 0.6.9 to 0.6.10

6

dist/filter.js

@@ -44,4 +44,4 @@ "use strict";

function createConstantFilter({ meta: filterMeta, serverVersion = DEFAULT_SERVER_VERSION, stage: filterStage = {}, } = {}) {
var _a, _b, _c;
const currentServerVersion = (_c = (_b = (_a = /^(?<version>\d+?\.\d+?\.\d+?)/.exec(serverVersion)) === null || _a === void 0 ? void 0 : _a.groups) === null || _b === void 0 ? void 0 : _b.version) !== null && _c !== void 0 ? _c : DEFAULT_SERVER_VERSION;
const currentServerVersion = /^(?<version>\d+?\.\d+?\.\d+?)/.exec(serverVersion)?.groups?.version ??
DEFAULT_SERVER_VERSION;
return ({ version: minServerVersion, meta, env, namespace, apiVersions }) => {

@@ -64,3 +64,3 @@ return ((0, semver_1.gte)(currentServerVersion, minServerVersion) &&

}
catch (_a) {
catch {
return false;

@@ -67,0 +67,0 @@ }

@@ -16,3 +16,3 @@ {

"homepage": "https://github.com/mongodb-js/devtools-shared",
"version": "0.6.9",
"version": "0.6.10",
"repository": {

@@ -50,6 +50,6 @@ "type": "git",

"devDependencies": {
"@mongodb-js/eslint-config-devtools": "0.9.9",
"@mongodb-js/mocha-config-compass": "^0.10.0",
"@mongodb-js/eslint-config-devtools": "0.9.10",
"@mongodb-js/mocha-config-devtools": "^1.0.1",
"@mongodb-js/prettier-config-devtools": "^1.0.1",
"@mongodb-js/tsconfig-compass": "^0.6.0",
"@mongodb-js/tsconfig-devtools": "^1.0.1",
"@types/chai": "^4.2.21",

@@ -73,3 +73,3 @@ "@types/mocha": "^9.0.0",

},
"gitHead": "f68234866e6fb0851dbc52bcb93dc5433ae3faf6"
"gitHead": "9c41f233d529e7b5cac1849a0a07ca2076fcdbb0"
}

Sorry, the diff of this file is not supported yet

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