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

@mongodb-js/compass-logging

Package Overview
Dependencies
Maintainers
29
Versions
507
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mongodb-js/compass-logging - npm Package Compare versions

Comparing version 0.0.0-next-e30a9e850a8a66b70770fbf6658a3e35cf1ff8b8 to 0.0.0-next-e42d58083be39ce9f112e6ec7f9fd1fdcb666e3e

12

dist/index.js

@@ -33,3 +33,3 @@ "use strict";

const debug_1 = __importDefault(require("debug"));
let preferencesIpc;
let preferences;
function emit(ipc, event, data) {

@@ -63,13 +63,13 @@ var _a;

try {
preferencesIpc !== null && preferencesIpc !== void 0 ? preferencesIpc : (preferencesIpc = (await Promise.resolve().then(() => __importStar(require('compass-preferences-model'))))
.preferencesIpc);
preferences !== null && preferences !== void 0 ? preferences : (preferences = (await Promise.resolve().then(() => __importStar(require('compass-preferences-model'))))
.preferencesAccess);
}
catch (_a) {
preferencesIpc !== null && preferencesIpc !== void 0 ? preferencesIpc : (preferencesIpc = {
preferences !== null && preferences !== void 0 ? preferences : (preferences = {
getPreferences() {
return Promise.resolve({ trackUsageStatistics: true });
return { trackUsageStatistics: true };
},
});
}
const { trackUsageStatistics = true } = await (preferencesIpc === null || preferencesIpc === void 0 ? void 0 : preferencesIpc.getPreferences());
const { trackUsageStatistics = true } = preferences === null || preferences === void 0 ? void 0 : preferences.getPreferences();
if (!trackUsageStatistics) {

@@ -76,0 +76,0 @@ return;

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

"homepage": "https://github.com/mongodb-js/compass",
"version": "0.0.0-next-e30a9e850a8a66b70770fbf6658a3e35cf1ff8b8",
"version": "0.0.0-next-e42d58083be39ce9f112e6ec7f9fd1fdcb666e3e",
"repository": {

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

"devDependencies": {
"@mongodb-js/eslint-config-compass": "0.0.0-next-e30a9e850a8a66b70770fbf6658a3e35cf1ff8b8",
"@mongodb-js/mocha-config-compass": "0.0.0-next-e30a9e850a8a66b70770fbf6658a3e35cf1ff8b8",
"@mongodb-js/prettier-config-compass": "0.0.0-next-e30a9e850a8a66b70770fbf6658a3e35cf1ff8b8",
"@mongodb-js/tsconfig-compass": "0.0.0-next-e30a9e850a8a66b70770fbf6658a3e35cf1ff8b8",
"@mongodb-js/eslint-config-compass": "0.0.0-next-e42d58083be39ce9f112e6ec7f9fd1fdcb666e3e",
"@mongodb-js/mocha-config-compass": "0.0.0-next-e42d58083be39ce9f112e6ec7f9fd1fdcb666e3e",
"@mongodb-js/prettier-config-compass": "0.0.0-next-e42d58083be39ce9f112e6ec7f9fd1fdcb666e3e",
"@mongodb-js/tsconfig-compass": "0.0.0-next-e42d58083be39ce9f112e6ec7f9fd1fdcb666e3e",
"@types/chai": "^4.2.21",

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

"eslint": "^7.25.0",
"hadron-ipc": "0.0.0-next-e30a9e850a8a66b70770fbf6658a3e35cf1ff8b8",
"hadron-ipc": "0.0.0-next-e42d58083be39ce9f112e6ec7f9fd1fdcb666e3e",
"mocha": "^8.4.0",

@@ -79,3 +79,3 @@ "nyc": "^15.1.0",

},
"gitHead": "e30a9e850a8a66b70770fbf6658a3e35cf1ff8b8"
"gitHead": "e42d58083be39ce9f112e6ec7f9fd1fdcb666e3e"
}

Sorry, the diff of this file is not supported yet

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