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
493
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-experimental-1c53312ce4905234885618d41ae95fde9c21aa18 to 0.0.0-next-01a3ac56d52443bc859ccdcf7ed301ffbdea7a47

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-experimental-1c53312ce4905234885618d41ae95fde9c21aa18",
"version": "0.0.0-next-01a3ac56d52443bc859ccdcf7ed301ffbdea7a47",
"repository": {

@@ -27,3 +27,3 @@ "type": "git",

"peerDependencies": {
"hadron-ipc": "0.0.0-experimental-1c53312ce4905234885618d41ae95fde9c21aa18"
"hadron-ipc": "^3.1.0"
},

@@ -58,6 +58,6 @@ "main": "dist/index.js",

"devDependencies": {
"@mongodb-js/eslint-config-compass": "0.0.0-experimental-1c53312ce4905234885618d41ae95fde9c21aa18",
"@mongodb-js/mocha-config-compass": "0.0.0-experimental-1c53312ce4905234885618d41ae95fde9c21aa18",
"@mongodb-js/prettier-config-compass": "0.0.0-experimental-1c53312ce4905234885618d41ae95fde9c21aa18",
"@mongodb-js/tsconfig-compass": "0.0.0-experimental-1c53312ce4905234885618d41ae95fde9c21aa18",
"@mongodb-js/eslint-config-compass": "0.0.0-next-01a3ac56d52443bc859ccdcf7ed301ffbdea7a47",
"@mongodb-js/mocha-config-compass": "0.0.0-next-01a3ac56d52443bc859ccdcf7ed301ffbdea7a47",
"@mongodb-js/prettier-config-compass": "0.0.0-next-01a3ac56d52443bc859ccdcf7ed301ffbdea7a47",
"@mongodb-js/tsconfig-compass": "0.0.0-next-01a3ac56d52443bc859ccdcf7ed301ffbdea7a47",
"@types/chai": "^4.2.21",

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

"eslint": "^7.25.0",
"hadron-ipc": "0.0.0-experimental-1c53312ce4905234885618d41ae95fde9c21aa18",
"hadron-ipc": "0.0.0-next-01a3ac56d52443bc859ccdcf7ed301ffbdea7a47",
"mocha": "^8.4.0",

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

},
"gitHead": "85bec9e9b95acd9ace066254edfc492578f4f8b2"
"gitHead": "01a3ac56d52443bc859ccdcf7ed301ffbdea7a47"
}

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