From d281a87a4dc4c25c5b9dd31855fd8d457ef17897 Mon Sep 17 00:00:00 2001 From: Maurizio Casimirri Date: Thu, 29 Aug 2024 14:21:24 +0200 Subject: [PATCH 01/13] chore: extract event types COMPASS-8058 (#6132) * chore(telemetry): setup telemetry event types * chore: add event types for telemetry * remove script * document events * sort by category * revert shell events * fix types * pass check * fix check * fix check * fix check --- .../modules/pipeline-builder/pipeline-ai.ts | 4 +- .../src/stores/ai-query-reducer.ts | 6 +- .../src/hooks/use-grid-filters.tsx | 4 +- .../compass-telemetry/src/generic-track.ts | 21 +- packages/compass-telemetry/src/index.spec.tsx | 6 +- packages/compass-telemetry/src/index.ts | 2 +- packages/compass-telemetry/src/provider.tsx | 8 +- .../compass-telemetry/src/telemetry-events.ts | 1566 +++++++++++++++++ packages/compass-telemetry/src/types.ts | 34 +- packages/compass/src/app/index.tsx | 11 +- .../compass/src/main/auto-update-manager.ts | 12 +- 11 files changed, 1631 insertions(+), 43 deletions(-) create mode 100644 packages/compass-telemetry/src/telemetry-events.ts diff --git a/packages/compass-aggregations/src/modules/pipeline-builder/pipeline-ai.ts b/packages/compass-aggregations/src/modules/pipeline-builder/pipeline-ai.ts index f120b3aa488..7f4a72e7cde 100644 --- a/packages/compass-aggregations/src/modules/pipeline-builder/pipeline-ai.ts +++ b/packages/compass-aggregations/src/modules/pipeline-builder/pipeline-ai.ts @@ -233,7 +233,9 @@ export const runAIPipelineGeneration = ( const provideSampleDocuments = preferences.getPreferences().enableGenAISampleDocumentPassing; - const editor_view_type = pipelineMode === 'builder-ui' ? 'stages' : 'text'; + const editor_view_type: 'stages' | 'text' = + pipelineMode === 'builder-ui' ? 'stages' : 'text'; + if (existingRequestId !== null) { // Cancel the active request as this one will override. abort(existingRequestId); diff --git a/packages/compass-query-bar/src/stores/ai-query-reducer.ts b/packages/compass-query-bar/src/stores/ai-query-reducer.ts index dd30ca4a6de..f173dcb6dc0 100644 --- a/packages/compass-query-bar/src/stores/ai-query-reducer.ts +++ b/packages/compass-query-bar/src/stores/ai-query-reducer.ts @@ -139,7 +139,7 @@ function trackAndLogFailed({ track( 'AI Response Failed', () => ({ - editor_view_type: 'find', + editor_view_type: 'find' as const, error_name: errorName, status_code: statusCode, error_code: errorCode ?? '', @@ -178,7 +178,7 @@ export const runAIQuery = ( track( 'AI Prompt Submitted', () => ({ - editor_view_type: 'find', + editor_view_type: 'find' as const, user_input_length: userInput.length, has_sample_documents: provideSampleDocuments, request_id: requestId, @@ -372,7 +372,7 @@ export const runAIQuery = ( track( 'AI Response Generated', () => ({ - editor_view_type: 'find', + editor_view_type: 'find' as const, query_shape: Object.keys(generatedFields), request_id: requestId, }), diff --git a/packages/compass-saved-aggregations-queries/src/hooks/use-grid-filters.tsx b/packages/compass-saved-aggregations-queries/src/hooks/use-grid-filters.tsx index c4edcbe4ef6..577aa489d58 100644 --- a/packages/compass-saved-aggregations-queries/src/hooks/use-grid-filters.tsx +++ b/packages/compass-saved-aggregations-queries/src/hooks/use-grid-filters.tsx @@ -87,7 +87,9 @@ function useSearchFilter(): [React.ReactElement, string] { }} onBlur={() => { if (search.length > 0) { - track('My Queries Search'); + track('My Queries Search', { + // + }); } }} spellCheck={false} diff --git a/packages/compass-telemetry/src/generic-track.ts b/packages/compass-telemetry/src/generic-track.ts index 12ad1f7be3c..b3b3577d982 100644 --- a/packages/compass-telemetry/src/generic-track.ts +++ b/packages/compass-telemetry/src/generic-track.ts @@ -1,5 +1,5 @@ import { type Logger, mongoLogId } from '@mongodb-js/compass-logging/provider'; -import type { TrackFunction, AsyncTrackFunction } from './types'; +import type { TrackFunction, TrackFunctionPayload } from './types'; export interface TelemetryPreferences { getPreferences(): { trackUsageStatistics: boolean }; @@ -14,14 +14,18 @@ export interface TelemetryServiceOptions { useConnectionInfo?: TelemetryConnectionInfoHook; } +type AsyncFn any> = ( + ...args: Parameters +) => Promise>; + export const createTrack = ({ sendTrack, logger: { log, debug }, preferences, }: TelemetryServiceOptions & { logger: Logger }) => { - const trackAsync: AsyncTrackFunction = async ( + const trackAsync: AsyncFn = async ( event, - parameters, + parametersOrFn, connectionInfo ) => { // Note that this preferences check is mainly a performance optimization, @@ -33,9 +37,12 @@ export const createTrack = ({ return; } - if (typeof parameters === 'function') { + let parameters: TrackFunctionPayload> = + parametersOrFn; + + if (typeof parametersOrFn === 'function') { try { - parameters = await parameters(); + parameters = await parametersOrFn(); } catch (error) { // When an error arises during the fetching of properties, // for instance if we can't fetch host information, @@ -66,11 +73,11 @@ export const createTrack = ({ sendTrack(event, parameters || {}); }; - const track: TrackFunction = (...args) => { + const track = (...args: Parameters): void => { void Promise.resolve() .then(() => trackAsync(...args)) .catch((error) => debug('track failed', error)); }; - return track; + return track as TrackFunction; }; diff --git a/packages/compass-telemetry/src/index.spec.tsx b/packages/compass-telemetry/src/index.spec.tsx index b57be07d6db..968011c011c 100644 --- a/packages/compass-telemetry/src/index.spec.tsx +++ b/packages/compass-telemetry/src/index.spec.tsx @@ -8,7 +8,7 @@ describe('Telemetry', () => { const trackingLogs: any[] = []; process.on('compass:track', (event) => trackingLogs.push(event)); - track('Test Event1', { + track('Test Event1' as any, { some_attribute: 123, }); @@ -30,7 +30,7 @@ describe('Telemetry', () => { const trackingLogs: any[] = []; process.on('compass:track', (event) => trackingLogs.push(event)); - track('Test Event2', async () => { + track('Test Event2' as any, async () => { await new Promise((resolve) => setTimeout(resolve, 3)); return { @@ -57,7 +57,7 @@ describe('Telemetry', () => { const trackingLogs: any[] = []; process.on('compass:track', (event) => trackingLogs.push(event)); - track('Test Event3', () => { + track('Test Event3' as any, () => { throw new Error('test error'); }); diff --git a/packages/compass-telemetry/src/index.ts b/packages/compass-telemetry/src/index.ts index 36309c16853..9d5667bdfca 100644 --- a/packages/compass-telemetry/src/index.ts +++ b/packages/compass-telemetry/src/index.ts @@ -1,3 +1,3 @@ export { createIpcTrack, createIpcSendTrack } from './ipc-track'; export type { TelemetryServiceOptions } from './generic-track'; -export type { TrackFunction, TrackParameters } from './types'; +export type { TrackFunction } from './types'; diff --git a/packages/compass-telemetry/src/provider.tsx b/packages/compass-telemetry/src/provider.tsx index 56905338cb8..d1b068567bc 100644 --- a/packages/compass-telemetry/src/provider.tsx +++ b/packages/compass-telemetry/src/provider.tsx @@ -2,7 +2,7 @@ import React, { useRef } from 'react'; import { createServiceLocator } from 'hadron-app-registry'; import { createTrack, type TelemetryServiceOptions } from './generic-track'; import { useLogger } from '@mongodb-js/compass-logging/provider'; -import type { TrackFunction, TrackParameters } from './types'; +import type { TrackFunction } from './types'; const noop = () => { // noop @@ -38,7 +38,9 @@ export const telemetryLocator = createServiceLocator( 'telemetryLocator' ); -export function useTelemetry(): TrackFunction { +export function useTelemetry(): ( + ...args: Parameters +) => ReturnType { const track = React.useContext(TelemetryContext); if (!track) { throw new Error('Telemetry service is missing from React context'); @@ -97,4 +99,4 @@ export function useTrackOnChange( }, [...dependencies, track, options.skipOnMount]); } -export type { TrackFunction, TrackParameters }; +export type { TrackFunction }; diff --git a/packages/compass-telemetry/src/telemetry-events.ts b/packages/compass-telemetry/src/telemetry-events.ts new file mode 100644 index 00000000000..12797c446e0 --- /dev/null +++ b/packages/compass-telemetry/src/telemetry-events.ts @@ -0,0 +1,1566 @@ +/** + * Events that are connection scoped are associated with one connection. + */ +type ConnectionScoped = E & { + payload: E['payload'] & { + /** + * The id of the connection associated to this event. + */ + connection_id: string; + }; +}; + +/** + * This event is fired when user successfully signed in to their Atlas account + * + * @category Atlas + */ +type AtlasSignInSuccessEvent = { + name: 'Atlas Sign In Success'; + payload: { + /** + * The id of the atlas user who signed in. + */ + auid: string; + }; +}; + +/** + * This event is fired when user failed to sign in to their Atlas account + * + * @category Atlas + */ +type AtlasSignInErrorEvent = { + name: 'Atlas Sign In Error'; + payload: { error: string }; +}; + +/** + * This event is fired when user signed out from their Atlas account + * + * @category Atlas + */ +type AtlasSignOutEvent = { + name: 'Atlas Sign Out'; + payload: { auid: string }; +}; + +/** + * This event is fired when user selects a use case from the aggregation panel + * + * @category Aggregation Builder + */ +type AggregationUseCaseAddedEvent = ConnectionScoped<{ + name: 'Aggregation Use Case Added'; + payload: { + /** + * Specifies if the use case was added via drag and drop + */ + drag_and_drop?: boolean; + stage_name?: string; + }; +}>; + +/** + * This event is fired when user adds/remove a stage or changes the stage name in the stage editor view + * + * @category Aggregation Builder + */ +type AggregationEditedEvent = ConnectionScoped<{ + name: 'Aggregation Edited'; + payload: { + num_stages?: any | number; + editor_view_type?: string | 'stage' | 'text' | 'focus'; + stage_index?: number; + stage_action?: string; + stage_name?: string | null; + }; +}>; + +/** + * This event is fired when user runs the aggregation + * + * @category Aggregation Builder + */ +type AggregationExecutedEvent = ConnectionScoped<{ + name: 'Aggregation Executed'; + payload: { num_stages: number; editor_view_type: 'stage' | 'text' | 'focus' }; +}>; + +/** + * This event is fired when a user cancel a running aggregation + * + * @category Aggregation Builder + */ +type AggregationCanceledEvent = ConnectionScoped<{ + name: 'Aggregation Canceled'; + payload: { + // + }; +}>; + +/** + * This event is fired when an aggregation times out + * + * @category Aggregation Builder + */ +type AggregationTimedOutEvent = ConnectionScoped<{ + name: 'Aggregation Timed Out'; + payload: { + max_time_ms: number | null; + }; +}>; + +/** + * This event is fired when user saves aggregation pipeline as a view + * + * @category Aggregation Builder + */ +type AggregationSavedAsViewEvent = ConnectionScoped<{ + name: 'Aggregation Saved As View'; + payload: { + /** + * The number of stages in the aggregation. + */ + num_stages: number; + }; +}>; + +/** + * This event is fired when user clicks to expand focus mode + * + * @category Aggregation Builder + */ +type FocusModeOpenedEvent = ConnectionScoped<{ + name: 'Focus Mode Opened'; + payload: { num_stages: number }; +}>; + +/** + * This event is fired when user clicks to minimize focus mode + * + * @category Aggregation Builder + */ +type FocusModeClosedEvent = ConnectionScoped<{ + name: 'Focus Mode Closed'; + payload: { num_stages: number; duration: number }; +}>; + +/** + * This event is fired when user changes editor type + * + * @category Aggregation Builder + */ +type EditorTypeChangedEvent = ConnectionScoped<{ + name: 'Editor Type Changed'; + payload: { num_stages: number; editor_view_type: 'stage' | 'text' | 'focus' }; +}>; + +/** + * This event is fired when users saves a completed use case form, adding the stage to their pipeline + * + * @category Aggregation Builder + */ +type AggregationUseCaseSavedEvent = ConnectionScoped<{ + name: 'Aggregation Use Case Saved'; + payload: { stage_name: string | null }; +}>; + +/** + * This event is fired when user saves aggregation pipeline + * + * @category Aggregation Builder + */ +type AggregationSavedEvent = ConnectionScoped<{ + name: 'Aggregation Saved'; + payload: { + id: string; + num_stages?: number; + editor_view_type: 'stage' | 'text' | 'focus'; + }; +}>; + +/** + * This event is fired when user opens a previously saved aggregation pipeline + * + * @category Aggregation Builder + */ +type AggregationOpenedEvent = ConnectionScoped<{ + name: 'Aggregation Opened'; + payload: { + id?: string; + editor_view_type?: 'stage' | 'text' | 'focus'; + screen?: string; + }; +}>; + +/** + * This event is fired when user deletes a previously saved aggregation pipeline + * + * @category Aggregation Builder + */ +type AggregationDeletedEvent = ConnectionScoped<{ + name: 'Aggregation Deleted'; + payload: { + id?: string; + editor_view_type?: 'stage' | 'text' | 'focus'; + screen?: string; + }; +}>; + +/** + * This event is fired when user clicks the panel button + * + * @category Aggregation Builder + */ +type AggregationSidePanelOpenedEvent = ConnectionScoped<{ + name: 'Aggregation Side Panel Opened'; + payload: { num_stages: number }; +}>; + +/** + * This event is fired when user updates a view they had opened in the agg builder + * + * @category Aggregation Builder + */ +type ViewUpdatedEvent = ConnectionScoped<{ + name: 'View Updated'; + payload: { num_stages: number; editor_view_type: 'stage' | 'text' | 'focus' }; +}>; + +/** + * This event is fired when user runs the explain plan for an aggregation + * + * @category Aggregation Builder + */ +type AggregationExplainedEvent = ConnectionScoped<{ + name: 'Aggregation Explained'; + payload: { num_stages: number; index_used: boolean }; +}>; + +/** + * This event is fired when user opens the export to language dialog + * + * @category Aggregation Builder + */ +type AggregationExportOpenedEvent = ConnectionScoped<{ + name: 'Aggregation Export Opened'; + payload: { num_stages: undefined | number }; +}>; + +/** + * This event is fired when user copies to clipboard the aggregation to export + * + * @category Aggregation Builder + */ +type AggregationExportedEvent = ConnectionScoped<{ + name: 'Aggregation Exported'; + payload: { + num_stages: undefined | number; + language?: + | 'java' + | 'javascript' + | 'csharp' + | 'python' + | 'ruby' + | 'go' + | 'rust' + | 'php'; + with_import_statements?: boolean; + with_drivers_syntax?: boolean; + with_builders?: boolean; + }; +}>; + +/** + * This event is fired when user copied the pipeline to clipboard + * + * @category Aggregation Builder + */ +type AggregationCopiedEvent = { + name: 'Aggregation Copied'; + payload: { id: string; screen: string }; +}; + +/** + * This event is fired when the shell is open + * + * @category Shell + */ +type OpenShellEvent = ConnectionScoped<{ + name: 'Open Shell'; + payload: { entrypoint?: string }; +}>; + +/** + * This is a group of events forwarded from the embedded shell. + * Every event from the shell is forwarded adding the "Shell " prefix to the original + * event name. + * + * @category Shell + */ +type ShellEventEvent = ConnectionScoped<{ + name: `Shell ${string}`; + payload: { + mongosh_version: string; + session_id: string; + }; +}>; + +/** + * This event is fired when an active connection is disconnected + * + * @category Connection + */ +type ConnectionDisconnectedEvent = ConnectionScoped<{ + name: 'Connection Disconnected'; + payload: { + // + }; +}>; + +/** + * This event is fired when a new connection is saved + * + * @category Connection + */ +type ConnectionCreatedEvent = ConnectionScoped<{ + name: 'Connection Created'; + payload: { color?: string }; +}>; + +/** + * This event is fired when a connection is removed + * + * @category Connection + */ +type ConnectionRemovedEvent = ConnectionScoped<{ + name: 'Connection Removed'; + payload: { + // + }; +}>; + +/** + * This event is fired when users attempts to connect to a server/cluster. + * + * @category Connection + */ +type ConnectionAttemptEvent = ConnectionScoped<{ + name: 'Connection Attempt'; + payload: { is_favorite: boolean; is_recent: boolean; is_new: boolean }; +}>; + +/** + * This event is fired when user successfully connects to a new server/cluster. + * + * @category Connection + */ +type NewConnectionEvent = ConnectionScoped<{ + name: 'New Connection'; + payload: { + is_atlas: boolean; + atlas_hostname: string | null; + is_local_atlas: boolean; + is_dataLake: boolean; + is_enterprise: boolean; + is_genuine: boolean; + non_genuine_server_name: string; + server_version: string; + server_arch: string | undefined; + server_os_family: string | undefined; + topology_type: string; + }; +}>; +/** + * This event is fired when a connection attempt fails. + * + * @category Connection + */ +type ConnectionFailedEvent = ConnectionScoped<{ + name: 'Connection Failed'; + payload: { + error_code: string | number | undefined; + error_name: string; + }; +}>; + +/** + * This event is fired when connections export initiated from either UI or CLI + * + * @category Connection + */ +type ConnectionExportedEvent = { + name: 'Connection Exported'; + payload: { count: number }; +}; + +/** + * This event is fired when connections import initiated from either UI or CLI + * + * @category Connection + */ +type ConnectionImportedEvent = { + name: 'Connection Imported'; + payload: { + /** + * The count of imported connections. + */ + count: any; + }; +}; + +/** + * This event is fired when user copies a document to the clipboard + * + * @category Documents + */ +type DocumentCopiedEvent = ConnectionScoped<{ + name: 'Document Copied'; + payload: { mode: string }; +}>; + +/** + * This event is fired when user deletes a document + * + * @category Documents + */ +type DocumentDeletedEvent = ConnectionScoped<{ + name: 'Document Deleted'; + payload: { mode: string }; +}>; + +/** + * This event is fired when user updates a document + * + * @category Documents + */ +type DocumentUpdatedEvent = ConnectionScoped<{ + name: 'Document Updated'; + payload: { mode?: string }; +}>; + +/** + * This event is fired when user clones a document + * + * @category Documents + */ +type DocumentClonedEvent = ConnectionScoped<{ + name: 'Document Cloned'; + payload: { mode: string }; +}>; + +/** + * This event is fired when user inserts a document + * + * @category Documents + */ +type DocumentInsertedEvent = ConnectionScoped<{ + name: 'Document Inserted'; + payload: { mode?: string; multiple?: boolean }; +}>; + +/** + * This event is fired when user explains a query + * + * @category Explain + */ +type ExplainPlanExecutedEvent = ConnectionScoped<{ + name: 'Explain Plan Executed'; + payload: { with_filter: boolean; index_used: boolean }; +}>; + +/** + * This event is fired when a user opens the bulk update modal + * + * @category Bulk Operations + */ +type BulkUpdateOpenedEvent = ConnectionScoped<{ + name: 'Bulk Update Opened'; + payload: { isUpdatePreviewSupported: boolean }; +}>; + +/** + * This event is fired when a user runs a bulk update operation + * + * @category Bulk Operations + */ +type BulkUpdateExecutedEvent = ConnectionScoped<{ + name: 'Bulk Update Executed'; + payload: { isUpdatePreviewSupported: boolean }; +}>; + +/** + * This event is fired when a user opens the bulk delete modal + * + * @category Bulk Operations + */ +type BulkDeleteOpenedEvent = ConnectionScoped<{ + name: 'Bulk Delete Opened'; + payload: { + // + }; +}>; + +/** + * This event is fired when a user runs a bulk delete operation + * + * @category Bulk Operations + */ +type BulkDeleteExecutedEvent = ConnectionScoped<{ + name: 'Bulk Delete Executed'; + payload: { + // + }; +}>; + +/** + * This event is fired when a user runs a bulk update operation is added to + * favorites + * + * + * @category Bulk Operations + */ +type BulkUpdateFavoritedEvent = ConnectionScoped<{ + name: 'Bulk Update Favorited'; + payload: { isUpdatePreviewSupported: boolean }; +}>; + +/** + * NOTE: NOT IMPLEMENTED YET. + * This event is fired when the export to language dialog is open for an update operation. + * TODO: https://jira.mongodb.org/browse/COMPASS-7334 + * + * @category Bulk Operations + */ +type UpdateExportOpenedEvent = ConnectionScoped<{ + name: 'Update Export Opened'; + payload: { num_stages: undefined | number }; +}>; + +/** + * NOTE: NOT IMPLEMENTED YET. + * This event is fired when the export to language dialog is open for a delete operation. + * TODO: https://jira.mongodb.org/browse/COMPASS-7334 + * + * @category Bulk Operations + */ +type DeleteExportOpenedEvent = ConnectionScoped<{ + name: 'Delete Export Opened'; + payload: { num_stages: undefined | number }; +}>; + +/** + * NOTE: NOT IMPLEMENTED YET. + * This event is fired when user copies to clipboard the update query to export + * TODO: https://jira.mongodb.org/browse/COMPASS-7334 + * + * @category Bulk Operations + */ +type UpdateExportedEvent = ConnectionScoped<{ + name: 'Update Exported'; + payload: { + num_stages: undefined | number; + language?: + | 'java' + | 'javascript' + | 'csharp' + | 'python' + | 'ruby' + | 'go' + | 'rust' + | 'php'; + with_import_statements?: boolean; + with_drivers_syntax?: boolean; + with_builders?: boolean; + }; +}>; + +/** + * NOTE: NOT IMPLEMENTED YET. + * This event is fired when user copies to clipboard the delete query to export + * TODO: https://jira.mongodb.org/browse/COMPASS-7334 + * + * @category Bulk Operations + */ +type DeleteExportedEvent = ConnectionScoped<{ + name: 'Delete Exported'; + payload: { + num_stages: undefined | number; + language?: + | 'java' + | 'javascript' + | 'csharp' + | 'python' + | 'ruby' + | 'go' + | 'rust' + | 'php'; + with_import_statements?: boolean; + with_drivers_syntax?: boolean; + with_builders?: boolean; + }; +}>; + +/** + * This event is fired when user opens the export dialog + * + * @category Import/Export + */ +type ExportOpenedEvent = ConnectionScoped<{ + name: 'Export Opened'; + payload: { + type: string; + origin: 'menu' | 'crud-toolbar' | 'empty-state' | 'aggregations-toolbar'; + }; +}>; + +/** + * This event is fired when a data export completes + * + * @category Import/Export + */ +type ExportCompletedEvent = ConnectionScoped<{ + name: 'Export Completed'; + payload: { + type: string; + all_docs?: boolean; + has_projection?: boolean; + field_option?: 'all-fields' | 'select-fields'; + file_type: 'csv' | 'json'; + json_format?: 'default' | 'relaxed' | 'canonical'; + field_count?: number; + fields_added_count?: number; + fields_not_selected_count?: number; + number_of_docs?: number; + success: boolean; + stopped: boolean; + duration: number; + }; +}>; + +/** + * This event is fired when a data import completes + * + * @category Import/Export + */ +type ImportCompletedEvent = ConnectionScoped<{ + name: 'Import Completed'; + payload: { + duration?: number; + delimiter?: ',' | '\t' | ';' | ' '; + newline?: '\r\n' | '\n'; + file_type?: '' | 'csv' | 'json'; + all_fields?: boolean; + stop_on_error_selected?: boolean; + number_of_docs: any | number; + success?: boolean; + aborted?: boolean; + ignore_empty_strings?: boolean; + }; +}>; + +/** + * This event is fired when a user clicks the link to open the error log after + * receiving import errors. + * + * @category Import/Export + */ +type ImportErrorLogOpenedEvent = ConnectionScoped<{ + name: 'Import Error Log Opened'; + payload: { errorCount: number }; +}>; + +/** + * This event is fired when user opens the import dialog + * + * @category Import/Export + */ +type ImportOpenedEvent = ConnectionScoped<{ + name: 'Import Opened'; + payload: { origin: 'menu' | 'crud-toolbar' | 'empty-state' }; +}>; + +/** + * This event is fired when user opens create index dialog + * + * @category Indexes + */ +type IndexCreateOpenedEvent = ConnectionScoped<{ + name: 'Index Create Opened'; + payload: { atlas_search?: boolean }; +}>; + +/** + * This event is fired when user creates an index + * + * @category Indexes + */ +type IndexCreatedEvent = ConnectionScoped<{ + name: 'Index Created'; + payload: { + unique?: boolean; + ttl?: any; + columnstore_index?: boolean; + has_columnstore_projection?: any; + has_wildcard_projection?: any; + custom_collation?: any; + geo?: boolean; + atlas_search?: boolean; + type?: string; + }; +}>; + +/** + * This event is fired when user updates an index + * + * @category Indexes + */ +type IndexEditedEvent = ConnectionScoped<{ + name: 'Index Edited'; + payload: { atlas_search: boolean }; +}>; + +/** + * This event is fired when user drops an index + * + * @category Indexes + */ +type IndexDroppedEvent = ConnectionScoped<{ + name: 'Index Dropped'; + payload: { atlas_search?: boolean }; +}>; + +/** + * This event is fired when a user submits feedback for a query generation + * + * @category Gen AI + */ +type AiQueryFeedbackEvent = ConnectionScoped<{ + name: 'AI Query Feedback'; + payload: { + feedback: 'positive' | 'negative'; + text: string; + request_id: string; + }; +}>; + +/** + * This event is fired when a query generation request fails with an error + * + * @category Gen AI + */ +type AiResponseFailedEvent = ConnectionScoped<{ + name: 'AI Response Failed'; + payload: { + editor_view_type: 'text' | 'stages' | 'find'; + error_code?: string; + status_code?: number; + error_name?: string; + request_id?: string; + }; +}>; + +/** + * This event is fired when user enters a prompt in the generative AI textbox and hits "enter + * + * @category Gen AI + */ +type AiPromptSubmittedEvent = ConnectionScoped<{ + name: 'AI Prompt Submitted'; + payload: { + editor_view_type: 'text' | 'stages' | 'find'; + user_input_length?: number; + request_id?: string; + has_sample_documents?: boolean; + }; +}>; + +/** + * This event is fired when AI query or aggregation generated and successfully rendered in the UI + * + * @category Gen AI + */ +type AiResponseGeneratedEvent = ConnectionScoped<{ + name: 'AI Response Generated'; + payload: { + editor_view_type: 'text' | 'stages' | 'find'; + syntax_errors?: boolean; + query_shape?: (string | null)[]; + request_id?: string; + }; +}>; + +/** + * This event is fired when a user submits feedback for a pipeline generation + * + * @category Gen AI + */ +type PipelineAiFeedbackEvent = ConnectionScoped<{ + name: 'PipelineAI Feedback'; + payload: { + feedback: 'positive' | 'negative'; + request_id: string; + text: string; + }; +}>; + +/** + * This event is fired when user filters queries using db / coll filter + * + * @category My Queries + */ +type MyQueriesFilterEvent = { + name: 'My Queries Filter'; + payload: { type?: string }; +}; + +/** + * This event is fired when user sorts items in the list using one of the sort options + * + * @category My Queries + */ +type MyQueriesSortEvent = { + name: 'My Queries Sort'; + payload: { + sort_by: + | 'name' + | 'id' + | 'type' + | 'database' + | 'collection' + | 'lastModified' + | null; + order: string; + }; +}; + +/** + * This event is fired when user filters queries using search input (fires only on input blur) + * + * @category My Queries + */ +type MyQueriesSearchEvent = { + name: 'My Queries Search'; + payload: { + // + }; +}; + +/** + * This event is fired when user copies to clipboard the query to export + * + * @category Find Queries + */ +type QueryExportedEvent = ConnectionScoped<{ + name: 'Query Exported'; + payload: { + num_stages: undefined | number; + language?: + | 'java' + | 'javascript' + | 'csharp' + | 'python' + | 'ruby' + | 'go' + | 'rust' + | 'php'; + with_import_statements?: boolean; + with_drivers_syntax?: boolean; + with_builders?: boolean; + }; +}>; + +/** + * This event is fired when user opens the export to language dialog + * + * @category Find Queries + */ +type QueryExportOpenedEvent = ConnectionScoped<{ + name: 'Query Export Opened'; + payload: { num_stages: undefined | number }; +}>; + +/** + * This event is fired when user executes a query + * + * @category Find Queries + */ +type QueryExecutedEvent = ConnectionScoped<{ + name: 'Query Executed'; + payload: { + has_projection: boolean; + has_skip: boolean; + has_sort: boolean; + has_limit: boolean; + has_collation: boolean; + changed_maxtimems: boolean; + collection_type: string; + used_regex: boolean; + }; +}>; + +/** + * This event is fired when user clicks the refresh button in the UI to refresh the query results + * + * @category Find Queries + */ +type QueryResultsRefreshedEvent = ConnectionScoped<{ + name: 'Query Results Refreshed'; + payload: { + // + }; +}>; + +/** + * This event is fired when user opens query history panel + * + * @category Find Queries + */ +type QueryHistoryOpenedEvent = ConnectionScoped<{ + name: 'Query History Opened'; + payload: { + // + }; +}>; + +/** + * This event is fired when user closes query history panel + * + * @category Find Queries + */ +type QueryHistoryClosedEvent = ConnectionScoped<{ + name: 'Query History Closed'; + payload: { + // + }; +}>; + +/** + * This event is fired when user selects a favorite query to put it in the query bar + * + * @category Find Queries + */ +type QueryHistoryFavoriteUsedEvent = ConnectionScoped<{ + name: 'Query History Favorite Used'; + payload: { id?: string; screen?: string; isUpdateQuery?: boolean }; +}>; + +/** + * This event is fired when user removes query from favorites + * + * @category Find Queries + */ +type QueryHistoryFavoriteRemovedEvent = ConnectionScoped<{ + name: 'Query History Favorite Removed'; + payload: { id?: string; screen?: string; isUpdateQuery?: boolean }; +}>; + +/** + * This event is fired when user selects "favorites" in query history panel + * + * @category Find Queries + */ +type QueryHistoryFavoritesEvent = ConnectionScoped<{ + name: 'Query History Favorites'; + payload: { + // + }; +}>; + +/** + * This event is fired when user selects "recent" in query history panel + * + * @category Find Queries + */ +type QueryHistoryRecentEvent = ConnectionScoped<{ + name: 'Query History Recent'; + payload: { + // + }; +}>; + +/** + * This event is fired when user selects a recent query to put it in the query bar + * + * @category Find Queries + */ +type QueryHistoryRecentUsedEvent = ConnectionScoped<{ + name: 'Query History Recent Used'; + payload: { isUpdateQuery: boolean }; +}>; + +/** + * This event is fired when user favorites a recent query + * + * @category Find Queries + */ +type QueryHistoryFavoriteAddedEvent = ConnectionScoped<{ + name: 'Query History Favorite Added'; + payload: { isUpdateQuery: boolean }; +}>; + +/** + * This event is fired when a user edits a query + * + * @category Find Queries + */ +type QueryEditedEvent = ConnectionScoped<{ + name: 'Query Edited'; + payload: { option_name: any }; +}>; + +/** + * This event is fired when user copied query to clipboard + * + * @category Find Queries + */ +type QueryHistoryFavoriteCopiedEvent = { + name: 'Query History Favorite Copied'; + payload: { id: string; screen: string }; +}; + +/** + * This event is fired when user edits validation rules + * + * @category Schema Validation + */ +type SchemaValidationEditedEvent = ConnectionScoped<{ + name: 'Schema Validation Edited'; + payload: { json_schema: boolean }; +}>; + +/** + * This event is fired when user saves validation rules + * + * @category Schema Validation + */ +type SchemaValidationUpdatedEvent = ConnectionScoped<{ + name: 'Schema Validation Updated'; + payload: { + validation_action: 'error' | 'warn'; + validation_level: 'off' | 'moderate' | 'strict'; + }; +}>; + +/** + * This event is fired when user adds validation rules + * + * @category Schema Validation + */ +type SchemaValidationAddedEvent = ConnectionScoped<{ + name: 'Schema Validation Added'; + payload: { + // + }; +}>; + +/** + * This event is fired when user analyzes the schema + * + * @category Schema + */ +type SchemaAnalyzedEvent = ConnectionScoped<{ + name: 'Schema Analyzed'; + payload: { + with_filter: boolean; + schema_width: any; + schema_depth: number; + geo_data: boolean; + analysis_time_ms: number; + }; +}>; + +/** + * This event is fired when a user clicks to show the details of an operation + * + * @category Performance Tab + */ +type CurrentOpShowOperationDetailsEvent = ConnectionScoped<{ + name: 'CurrentOp showOperationDetails'; + payload: { + // + }; +}>; + +/** + * This event is fired when a user clicks to hide the details of an operation + * + * @category Performance Tab + */ +type DetailViewHideOperationDetailsEvent = ConnectionScoped<{ + name: 'DetailView hideOperationDetails'; + payload: { + // + }; +}>; + +/** + * This event is fired when a user clicks to kill an operation + * + * @category Performance Tab + */ +type DetailViewKillOpEvent = ConnectionScoped<{ + name: 'DetailView killOp'; + payload: { + // + }; +}>; + +/** + * This event is fired when a user resumes a paused performance screen + * + * @category Performance Tab + */ +type PerformanceResumedEvent = ConnectionScoped<{ + name: 'Performance Resumed'; + payload: { + // + }; +}>; + +/** + * This event is fired when a user pauses the performance screen + * + * @category Performance Tab + */ +type PerformancePausedEvent = ConnectionScoped<{ + name: 'Performance Paused'; + payload: { + // + }; +}>; + +/** + * This event is fired when a user clicks "next" on a guide cue. + * + * @category Guide Cues + */ +type GuideCueDismissedEvent = { + name: 'Guide Cue Dismissed'; + payload: { groupId: any; cueId: any; step: any }; +}; + +/** + * This event is fired when a user clicks "next" on the last guide cue of a + * guide cue group. + * + * @category Guide Cues + */ +type GuideCueGroupDismissedEvent = { + name: 'Guide Cue Group Dismissed'; + payload: { groupId: any; cueId: any; step: any }; +}; + +/** + * This event is fired when signal icon badge is rendered on the screen visible to the user. + * + * @category Proactive Performance Insights + */ +type SignalShownEvent = { + name: 'Signal Shown'; + payload: { id: any }; +}; + +/** + * This event is fired when signal badge is clicked and popup is opened. + * + * @category Proactive Performance Insights + */ +type SignalOpenedEvent = { + name: 'Signal Opened'; + payload: { id: any }; +}; + +/** + * This event is fired when Action button for the signal is clicked inside the popup. + * + * @category Proactive Performance Insights + */ +type SignalActionButtonClickedEvent = { + name: 'Signal Action Button Clicked'; + payload: { id: any }; +}; + +/** + * This event is fired when "Learn more" link is clicked inside the signal popup. + * + * @category Proactive Performance Insights + */ +type SignalLinkClickedEvent = { + name: 'Signal Link Clicked'; + payload: { id: any }; +}; + +/** + * This event is fired when user clicked the close button or outside the signal and closed the popup. + * + * @category Proactive Performance Insights + */ +type SignalClosedEvent = { + name: 'Signal Closed'; + payload: { id: any }; +}; + +/** + * This event is fired when "Update available" popup is shown and user accepts the update. + * + * @category Autoupdates + */ +type AutoupdateAcceptedEvent = { + name: 'Autoupdate Accepted'; + payload: { + update_version?: string; + manual_update?: boolean; + manual_download?: boolean; + }; +}; + +/** This event is fired when the user accepts to restart the application from + * the update popup. + * + * @category Autoupdates + */ +type ApplicationRestartAcceptedEvent = { + name: 'Application Restart Accepted'; + payload: Record; +}; + +/** This event is fired when the auto-update feature is enabled. + * + * @category Autoupdates + */ +type AutoupdateEnabledEvent = { + name: 'Autoupdate Enabled'; + payload: Record; +}; + +/** This event is fired when the auto-update feature is disabled. + * + * @category Autoupdates + */ +type AutoupdateDisabledEvent = { + name: 'Autoupdate Disabled'; + payload: Record; +}; + +/** + * This event is fired when "Update available" popup is shown and user rejects + * the update. + * + * @category Autoupdates + */ +type AutoupdateDismissedEvent = { + name: 'Autoupdate Dismissed'; + payload: { update_version: string }; +}; + +/** + * This event is fired when user changes items view type between list and grid. + * + * @category Database / Collection List + */ +type SwitchViewTypeEvent = ConnectionScoped<{ + name: 'Switch View Type'; + payload: { view_type: any; item_type: 'collection' | 'database' }; +}>; + +/** + * This event is fired when a collection is created. + * + * @category Database / Collection List + */ +type CollectionCreatedEvent = ConnectionScoped<{ + name: 'Collection Created'; + payload: { + is_capped: boolean; + has_collation: boolean; + is_timeseries: boolean; + is_clustered: boolean; + is_fle2: boolean; + expires: boolean; + }; +}>; + +/** + * This event is fired when a database is created. + * + * @category Database / Collection List + */ +type DatabaseCreatedEvent = ConnectionScoped<{ + name: 'Database Created'; + payload: { + is_capped: boolean; + has_collation: boolean; + is_timeseries: boolean; + is_clustered: boolean; + is_fle2: boolean; + expires: boolean; + }; +}>; + +/** + * This event is fired when a user changes theme. + * + * @category Settings + */ +type ThemeChangedEvent = { + name: 'Theme Changed'; + payload: { theme: 'DARK' | 'LIGHT' | 'OS_THEME' }; +}; + +/** + * This event is fired at startup to report the First Contentful Paint metric. + * See: https://web.dev/articles/vitals. + * + * @category Web Vitals + */ +type FirstContentfulPaintEvent = { + name: 'First Contentful Paint'; + payload: { value: number }; +}; + +/** + * This event is fired at startup to report the Largest Contentful Paint metric. + * See: https://web.dev/articles/vitals. + * + * @category Web Vitals + */ +type LargestContentfulPaintEvent = { + name: 'Largest Contentful Paint'; + payload: { value: number }; +}; + +/** + * This event is fired at startup to report the First Input Delay metric. + * See: https://web.dev/articles/vitals. + * + * @category Web Vitals + */ +type FirstInputDelayEvent = { + name: 'First Input Delay'; + payload: { value: number }; +}; + +/** + * This event is fired at startup to report the Cumulative Layout Shift metric. + * See: https://web.dev/articles/vitals. + * + * @category Web Vitals + */ +type CumulativeLayoutShiftEvent = { + name: 'Cumulative Layout Shift'; + payload: { value: number }; +}; + +/** + * This event is fired at startup to report the Time to First Byte metric. + * See: https://web.dev/articles/vitals. + * + * @category Web Vitals + */ +type TimeToFirstByteEvent = { + name: 'Time to First Byte'; + payload: { value: number }; +}; + +/** + * This event is fired when user clicks on Atlas CTA + * + * @category Other + */ +type AtlasLinkClickedEvent = { + name: 'Atlas Link Clicked'; + payload: { screen?: string }; +}; + +/** + * This event is fired when application launch initiated. + * + * @category Other + */ +type ApplicationLaunchedEvent = { + name: 'Application Launched'; + payload: { + context: string; + launch_connection: string; + protected: boolean | undefined; + readOnly: boolean; + maxTimeMS: number | undefined; + global_config: boolean; + cli_args: boolean; + legacy_connections: boolean; + }; +}; + +/** + * This event is fired when the keytar migration fails for a user. + * See: https://jira.mongodb.org/browse/COMPASS-6856. + * + * NOTE: should be removed as part of https://jira.mongodb.org/browse/COMPASS-7948. + * + * @category Other + */ +type KeytarSecretsMigrationFailedEvent = { + name: 'Keytar Secrets Migration Failed'; + payload: { num_saved_connections: number; num_failed_connections: number }; +}; + +/** + * This event is fired when we fail to track another event due to an exception + * while building the attributes + * + * @category Other + */ +type ErrorFetchingAttributesEvent = { + name: 'Error Fetching Attributes'; + payload: { event_name: string }; +}; + +/** + * This event is fired when user activates (i.e. goes to) a screen + * + * @category Other + */ +type ScreenEvent = ConnectionScoped<{ + name: 'Screen'; + payload: { name?: string }; +}>; + +/** + * This event is fired when a user clicks on the Performance Advisor CTA + * + * @category Other + */ +type PerformanceAdvisorClickedEvent = ConnectionScoped<{ + name: 'Performance Advisor Clicked'; + payload: Record; +}>; + +/** + * This event is fired at startup when we detect that the application is running on + * a system that doesn't offer a suitable secret storage backend. + * + * @category Other + */ +type SecretStorageNotAvailable = { + name: 'Secret Storage Not Available'; + payload: Record; +}; + +export type TelemetryEvent = + | AggregationCanceledEvent + | AggregationCopiedEvent + | AggregationDeletedEvent + | AggregationEditedEvent + | AggregationExecutedEvent + | AggregationExplainedEvent + | AggregationExportedEvent + | AggregationExportOpenedEvent + | AggregationOpenedEvent + | AggregationSavedAsViewEvent + | AggregationSavedEvent + | AggregationSidePanelOpenedEvent + | AggregationTimedOutEvent + | AggregationUseCaseAddedEvent + | AggregationUseCaseSavedEvent + | AiPromptSubmittedEvent + | AiQueryFeedbackEvent + | AiResponseFailedEvent + | AiResponseGeneratedEvent + | ApplicationLaunchedEvent + | AtlasLinkClickedEvent + | AtlasSignInErrorEvent + | AtlasSignInSuccessEvent + | AtlasSignOutEvent + | AutoupdateAcceptedEvent + | AutoupdateDismissedEvent + | ApplicationRestartAcceptedEvent + | AutoupdateEnabledEvent + | AutoupdateDisabledEvent + | BulkDeleteExecutedEvent + | BulkDeleteOpenedEvent + | BulkUpdateExecutedEvent + | BulkUpdateFavoritedEvent + | BulkUpdateOpenedEvent + | CollectionCreatedEvent + | ConnectionAttemptEvent + | ConnectionCreatedEvent + | ConnectionDisconnectedEvent + | ConnectionExportedEvent + | ConnectionFailedEvent + | ConnectionImportedEvent + | ConnectionRemovedEvent + | CurrentOpShowOperationDetailsEvent + | DatabaseCreatedEvent + | DeleteExportedEvent + | DeleteExportOpenedEvent + | DetailViewHideOperationDetailsEvent + | DetailViewKillOpEvent + | DocumentClonedEvent + | DocumentCopiedEvent + | DocumentDeletedEvent + | DocumentInsertedEvent + | DocumentUpdatedEvent + | EditorTypeChangedEvent + | ErrorFetchingAttributesEvent + | ExplainPlanExecutedEvent + | ExportCompletedEvent + | ExportOpenedEvent + | FocusModeClosedEvent + | FocusModeOpenedEvent + | GuideCueDismissedEvent + | GuideCueGroupDismissedEvent + | ImportCompletedEvent + | ImportErrorLogOpenedEvent + | ImportOpenedEvent + | IndexCreatedEvent + | IndexCreateOpenedEvent + | IndexDroppedEvent + | IndexEditedEvent + | KeytarSecretsMigrationFailedEvent + | MyQueriesFilterEvent + | MyQueriesSearchEvent + | MyQueriesSortEvent + | NewConnectionEvent + | OpenShellEvent + | PerformanceAdvisorClickedEvent + | PerformancePausedEvent + | PerformanceResumedEvent + | PipelineAiFeedbackEvent + | QueryEditedEvent + | QueryExecutedEvent + | QueryExportedEvent + | QueryExportOpenedEvent + | QueryHistoryClosedEvent + | QueryHistoryFavoriteAddedEvent + | QueryHistoryFavoriteCopiedEvent + | QueryHistoryFavoriteRemovedEvent + | QueryHistoryFavoritesEvent + | QueryHistoryFavoriteUsedEvent + | QueryHistoryOpenedEvent + | QueryHistoryRecentEvent + | QueryHistoryRecentUsedEvent + | QueryResultsRefreshedEvent + | SchemaAnalyzedEvent + | SchemaValidationAddedEvent + | SchemaValidationEditedEvent + | SchemaValidationUpdatedEvent + | ScreenEvent + | ShellEventEvent + | SignalActionButtonClickedEvent + | SignalClosedEvent + | SignalLinkClickedEvent + | SignalOpenedEvent + | SignalShownEvent + | SwitchViewTypeEvent + | ThemeChangedEvent + | UpdateExportedEvent + | UpdateExportOpenedEvent + | ViewUpdatedEvent + | SecretStorageNotAvailable + | FirstContentfulPaintEvent + | LargestContentfulPaintEvent + | FirstInputDelayEvent + | CumulativeLayoutShiftEvent + | TimeToFirstByteEvent; diff --git a/packages/compass-telemetry/src/types.ts b/packages/compass-telemetry/src/types.ts index bfa97b7c370..bcb6102dbcb 100644 --- a/packages/compass-telemetry/src/types.ts +++ b/packages/compass-telemetry/src/types.ts @@ -1,22 +1,22 @@ -export type EventsPayload = Record; +import type { TelemetryEvent } from './telemetry-events'; +export type { TelemetryEvent } from './telemetry-events'; -export type TelemetryConnectionInfo = { +type TelemetryConnectionInfo = { id: string; }; -export type TrackParameters = - | EventsPayload - | (() => Promise) - | (() => EventsPayload); +export type TrackFunctionPayload> = + | TPayload + | (() => TPayload) + | (() => Promise); -export type TrackFunction = ( - event: string, - parameters?: TrackParameters, - connectionInfo?: TelemetryConnectionInfo -) => void; - -export type AsyncTrackFunction = ( - event: string, - parameters?: TrackParameters, - connectionInfo?: TelemetryConnectionInfo -) => Promise; +export interface TrackFunction { + < + TName extends TelemetryEvent['name'], + TPayload extends Extract['payload'] + >( + eventName: TName, + payload: TrackFunctionPayload>, + connectionInfo?: TelemetryConnectionInfo | undefined + ): void; +} diff --git a/packages/compass/src/app/index.tsx b/packages/compass/src/app/index.tsx index e5f074768d1..f548530369d 100644 --- a/packages/compass/src/app/index.tsx +++ b/packages/compass/src/app/index.tsx @@ -165,14 +165,15 @@ const Application = View.extend({ name, value, }: Pick) { - const fullName = { + const events = { FCP: 'First Contentful Paint', LCP: 'Largest Contentful Paint', FID: 'First Input Delay', CLS: 'Cumulative Layout Shift', TTFB: 'Time to First Byte', - }[name]; - track(fullName, { value }); + } as const; + + track(events[name], { value }); } webvitals.getFCP(trackPerfEvent); @@ -267,7 +268,9 @@ const Application = View.extend({ title: 'Compass cannot access credential storage. You can still connect, but please note that passwords will not be saved.', }); - track('Secret Storage Not Available'); + track('Secret Storage Not Available', { + // + }); } document.querySelector('#loading-placeholder')?.remove(); diff --git a/packages/compass/src/main/auto-update-manager.ts b/packages/compass/src/main/auto-update-manager.ts index bbdd0b4316e..b32d185878c 100644 --- a/packages/compass/src/main/auto-update-manager.ts +++ b/packages/compass/src/main/auto-update-manager.ts @@ -493,7 +493,9 @@ const STATE_UPDATE: Record< this.maybeInterrupt(); - track('Application Restart Accepted'); + track('Application Restart Accepted', { + // + }); this.maybeInterrupt(); @@ -803,12 +805,16 @@ class CompassAutoUpdateManager { ); if (enabled) { - track('Autoupdate Enabled'); + track('Autoupdate Enabled', { + // + }); this.setState( AutoUpdateManagerState.CheckingForUpdatesForAutomaticCheck ); } else { - track('Autoupdate Disabled'); + track('Autoupdate Disabled', { + // + }); this.setState(AutoUpdateManagerState.Disabled); } }); From e84f5763f6ddf3e4526eb275d2c190dba8116730 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 29 Aug 2024 12:27:55 +0000 Subject: [PATCH 02/13] chore: update AUTHORS, THIRD-PARTY-NOTICES, Security Test Summary (#6171) Update report Co-authored-by: mcasimir <334881+mcasimir@users.noreply.github.com> --- THIRD-PARTY-NOTICES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/THIRD-PARTY-NOTICES.md b/THIRD-PARTY-NOTICES.md index 1169938cdee..4f3784da635 100644 --- a/THIRD-PARTY-NOTICES.md +++ b/THIRD-PARTY-NOTICES.md @@ -1,5 +1,5 @@ The following third-party software is used by and included in **Mongodb Compass**. -This document was automatically generated on Wed Aug 28 2024. +This document was automatically generated on Thu Aug 29 2024. ## List of dependencies From 874cf52fca65f1ffcb6870cd3e194c165f1d5f70 Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Thu, 29 Aug 2024 17:22:31 +0200 Subject: [PATCH 03/13] fix(deps): bump shell-bson-parser to 1.1.2 MONGOSH-1859 (#6169) --- package-lock.json | 89 ++++++++++--------- packages/compass-aggregations/package.json | 4 +- packages/compass-crud/package.json | 4 +- packages/compass-editor/package.json | 2 +- .../compass-export-to-language/package.json | 2 +- packages/compass-import-export/package.json | 2 +- packages/compass-indexes/package.json | 4 +- packages/compass-query-bar/package.json | 2 +- .../compass-schema-validation/package.json | 2 +- packages/connection-form/package.json | 4 +- packages/databases-collections/package.json | 2 +- packages/explain-plan-helper/package.json | 2 +- 12 files changed, 60 insertions(+), 59 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4765cc9ac99..d74a8b64516 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8621,9 +8621,9 @@ } }, "node_modules/@mongodb-js/shell-bson-parser": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@mongodb-js/shell-bson-parser/-/shell-bson-parser-1.1.0.tgz", - "integrity": "sha512-zcTFBRrAiKLOhc2MJSmzAB5FlqN0kL5bXi1ehTg1MXvCT61lvWssiK7EWvwPd3mIUTI9NSjEfdDessS8dMxA1w==", + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@mongodb-js/shell-bson-parser/-/shell-bson-parser-1.1.2.tgz", + "integrity": "sha512-MMvpqkRWoQLjbAoyr/3MN3YbIopudHPmwfH23NAQqNT6w9+OvuBL6ANhTbPwMZj+PLuUpP8NM+V58VubAv4Yfg==", "license": "Apache-2.0", "dependencies": { "acorn": "^8.1.0" @@ -32729,11 +32729,12 @@ "integrity": "sha512-gYJjEYG4v4a1WSXgUf81OBoBRlj+Z1SlnQVO392fC/4a1CN7CLWDITajZWPFTPh/yRozYk6sHHtZwZmQhodBEA==" }, "node_modules/mongodb-query-parser": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/mongodb-query-parser/-/mongodb-query-parser-4.2.0.tgz", - "integrity": "sha512-VsrB2rJzKh3kEMApAz5EipA19G2LLZlnV9X1Ov9ERtnUkozm01sHP9YOGX//T1j/dZx96kbt5Aw2co5R5f6Bkw==", + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/mongodb-query-parser/-/mongodb-query-parser-4.2.3.tgz", + "integrity": "sha512-6Y1ef2jBqWJRbsUXANmWtMmIiRaGAS3yjdmiyip0jD5QFUdvYo8sAMx0fTHvm5D6jRrUNPRbWV1tpWje1MGZkw==", + "license": "Apache-2.0", "dependencies": { - "@mongodb-js/shell-bson-parser": "^1.1.0", + "@mongodb-js/shell-bson-parser": "^1.1.2", "debug": "^4.3.4", "javascript-stringify": "^2.1.0", "lodash": "^4.17.21" @@ -44350,7 +44351,7 @@ "@mongodb-js/explain-plan-helper": "^1.2.0", "@mongodb-js/mongodb-constants": "^0.10.0", "@mongodb-js/my-queries-storage": "^0.15.1", - "@mongodb-js/shell-bson-parser": "^1.1.0", + "@mongodb-js/shell-bson-parser": "^1.1.2", "bson": "^6.7.0", "compass-preferences-model": "^2.27.0", "hadron-app-registry": "^9.2.3", @@ -44363,7 +44364,7 @@ "mongodb-database-model": "^2.23.0", "mongodb-instance-model": "^12.24.0", "mongodb-ns": "^2.4.2", - "mongodb-query-parser": "^4.2.0", + "mongodb-query-parser": "^4.2.3", "mongodb-schema": "^12.2.0", "prop-types": "^15.7.2", "re-resizable": "^6.9.0", @@ -44928,7 +44929,7 @@ "@mongodb-js/explain-plan-helper": "^1.2.0", "@mongodb-js/my-queries-storage": "^0.15.1", "@mongodb-js/reflux-state-mixin": "^1.0.5", - "@mongodb-js/shell-bson-parser": "^1.1.0", + "@mongodb-js/shell-bson-parser": "^1.1.2", "ag-grid-community": "^20.2.0", "ag-grid-react": "^20.2.0", "bson": "^6.7.0", @@ -44940,7 +44941,7 @@ "lodash": "^4.17.21", "mongodb-data-service": "^22.23.0", "mongodb-ns": "^2.4.2", - "mongodb-query-parser": "^4.2.0", + "mongodb-query-parser": "^4.2.3", "prop-types": "^15.7.2", "react": "^17.0.2", "reflux": "^0.4.1", @@ -45420,7 +45421,7 @@ "@lezer/highlight": "^1.2.0", "@mongodb-js/compass-components": "^1.29.1", "@mongodb-js/mongodb-constants": "^0.10.0", - "mongodb-query-parser": "^4.2.0", + "mongodb-query-parser": "^4.2.3", "polished": "^4.2.2", "prettier": "^2.7.1", "react": "^17.0.2" @@ -45560,7 +45561,7 @@ "@mongodb-js/compass-editor": "^0.29.1", "@mongodb-js/compass-maybe-protect-connection-string": "^0.25.0", "@mongodb-js/compass-telemetry": "^1.1.4", - "@mongodb-js/shell-bson-parser": "^1.1.0", + "@mongodb-js/shell-bson-parser": "^1.1.2", "bson-transpilers": "^3.0.7", "compass-preferences-model": "^2.27.0", "hadron-app-registry": "^9.2.3", @@ -45941,7 +45942,7 @@ "mongodb": "^6.8.0", "mongodb-data-service": "^22.23.0", "mongodb-ns": "^2.4.2", - "mongodb-query-parser": "^4.2.0", + "mongodb-query-parser": "^4.2.3", "mongodb-schema": "^12.2.0", "papaparse": "^5.3.2", "react": "^17.0.2", @@ -46028,14 +46029,14 @@ "@mongodb-js/compass-workspaces": "^0.20.0", "@mongodb-js/connection-storage": "^0.18.0", "@mongodb-js/mongodb-constants": "^0.10.0", - "@mongodb-js/shell-bson-parser": "^1.1.0", + "@mongodb-js/shell-bson-parser": "^1.1.2", "bson": "^6.7.0", "compass-preferences-model": "^2.27.0", "hadron-app-registry": "^9.2.3", "lodash": "^4.17.21", "mongodb": "^6.8.0", "mongodb-data-service": "^22.23.0", - "mongodb-query-parser": "^4.2.0", + "mongodb-query-parser": "^4.2.3", "numeral": "^2.0.6", "react": "^17.0.2", "react-redux": "^8.1.3", @@ -46514,7 +46515,7 @@ "mongodb": "^6.8.0", "mongodb-instance-model": "^12.24.0", "mongodb-ns": "^2.4.2", - "mongodb-query-parser": "^4.2.0", + "mongodb-query-parser": "^4.2.3", "mongodb-query-util": "^2.2.6", "mongodb-schema": "^12.2.0", "react": "^17.0.2", @@ -46728,7 +46729,7 @@ "javascript-stringify": "^2.0.1", "lodash": "^4.17.21", "mongodb-ns": "^2.4.2", - "mongodb-query-parser": "^4.2.0", + "mongodb-query-parser": "^4.2.3", "prop-types": "^15.7.2", "react": "^17.0.2", "react-redux": "^8.1.3", @@ -48007,14 +48008,14 @@ "@mongodb-js/compass-components": "^1.29.1", "@mongodb-js/compass-editor": "^0.29.1", "@mongodb-js/connection-info": "^0.6.0", - "@mongodb-js/shell-bson-parser": "^1.1.0", + "@mongodb-js/shell-bson-parser": "^1.1.2", "compass-preferences-model": "^2.27.0", "lodash": "^4.17.21", "mongodb": "^6.8.0", "mongodb-build-info": "^1.7.2", "mongodb-connection-string-url": "^3.0.1", "mongodb-data-service": "^22.23.0", - "mongodb-query-parser": "^4.2.0", + "mongodb-query-parser": "^4.2.3", "react": "^17.0.2" }, "devDependencies": { @@ -48596,7 +48597,7 @@ "mongodb-database-model": "^2.23.0", "mongodb-instance-model": "^12.24.0", "mongodb-ns": "^2.4.2", - "mongodb-query-parser": "^4.2.0", + "mongodb-query-parser": "^4.2.3", "prop-types": "^15.7.2", "react": "^17.0.2", "react-redux": "^8.1.3", @@ -48748,7 +48749,7 @@ "version": "1.2.0", "license": "SSPL", "dependencies": { - "@mongodb-js/shell-bson-parser": "^1.1.0", + "@mongodb-js/shell-bson-parser": "^1.1.2", "mongodb-explain-compat": "^3.1.0" }, "devDependencies": { @@ -56427,7 +56428,7 @@ "@mongodb-js/mongodb-constants": "^0.10.0", "@mongodb-js/my-queries-storage": "^0.15.1", "@mongodb-js/prettier-config-compass": "^1.0.2", - "@mongodb-js/shell-bson-parser": "^1.1.0", + "@mongodb-js/shell-bson-parser": "^1.1.2", "@mongodb-js/tsconfig-compass": "^1.0.4", "@testing-library/react": "^12.1.5", "@testing-library/user-event": "^13.5.0", @@ -56452,7 +56453,7 @@ "mongodb-database-model": "^2.23.0", "mongodb-instance-model": "^12.24.0", "mongodb-ns": "^2.4.2", - "mongodb-query-parser": "^4.2.0", + "mongodb-query-parser": "^4.2.3", "mongodb-schema": "^12.2.0", "nyc": "^15.1.0", "prettier": "^2.7.1", @@ -56942,7 +56943,7 @@ "@mongodb-js/my-queries-storage": "^0.15.1", "@mongodb-js/prettier-config-compass": "^1.0.2", "@mongodb-js/reflux-state-mixin": "^1.0.5", - "@mongodb-js/shell-bson-parser": "^1.1.0", + "@mongodb-js/shell-bson-parser": "^1.1.2", "@mongodb-js/tsconfig-compass": "^1.0.4", "@testing-library/react": "^12.1.5", "@testing-library/user-event": "^13.5.0", @@ -56967,7 +56968,7 @@ "mongodb-data-service": "^22.23.0", "mongodb-instance-model": "^12.24.0", "mongodb-ns": "^2.4.2", - "mongodb-query-parser": "^4.2.0", + "mongodb-query-parser": "^4.2.3", "nyc": "^15.1.0", "prop-types": "^15.7.2", "react": "^17.0.2", @@ -57009,7 +57010,7 @@ "mongodb-database-model": "^2.23.0", "mongodb-instance-model": "^12.24.0", "mongodb-ns": "^2.4.2", - "mongodb-query-parser": "^4.2.0", + "mongodb-query-parser": "^4.2.3", "nyc": "^15.1.0", "prop-types": "^15.7.2", "react": "^17.0.2", @@ -57070,7 +57071,7 @@ "depcheck": "^1.4.1", "eslint": "^7.25.0", "mocha": "^10.2.0", - "mongodb-query-parser": "^4.2.0", + "mongodb-query-parser": "^4.2.3", "nyc": "^15.1.0", "polished": "^4.2.2", "prettier": "^2.7.1", @@ -57186,7 +57187,7 @@ "@mongodb-js/eslint-config-compass": "^1.1.5", "@mongodb-js/mocha-config-compass": "^1.4.0", "@mongodb-js/prettier-config-compass": "^1.0.2", - "@mongodb-js/shell-bson-parser": "^1.1.0", + "@mongodb-js/shell-bson-parser": "^1.1.2", "@mongodb-js/tsconfig-compass": "^1.0.4", "@testing-library/react": "^12.1.5", "@testing-library/user-event": "^13.5.0", @@ -57472,7 +57473,7 @@ "mongodb": "^6.8.0", "mongodb-data-service": "^22.23.0", "mongodb-ns": "^2.4.2", - "mongodb-query-parser": "^4.2.0", + "mongodb-query-parser": "^4.2.3", "mongodb-schema": "^12.2.0", "nyc": "^15.1.0", "papaparse": "^5.3.2", @@ -57530,7 +57531,7 @@ "@mongodb-js/mocha-config-compass": "^1.4.0", "@mongodb-js/mongodb-constants": "^0.10.0", "@mongodb-js/prettier-config-compass": "^1.0.2", - "@mongodb-js/shell-bson-parser": "^1.1.0", + "@mongodb-js/shell-bson-parser": "^1.1.2", "@mongodb-js/tsconfig-compass": "^1.0.4", "@testing-library/react": "^12.1.5", "@testing-library/user-event": "^13.5.0", @@ -57546,7 +57547,7 @@ "mocha": "^10.2.0", "mongodb": "^6.8.0", "mongodb-data-service": "^22.23.0", - "mongodb-query-parser": "^4.2.0", + "mongodb-query-parser": "^4.2.3", "numeral": "^2.0.6", "nyc": "^15.1.0", "react": "^17.0.2", @@ -57825,7 +57826,7 @@ "mongodb": "^6.8.0", "mongodb-instance-model": "^12.24.0", "mongodb-ns": "^2.4.2", - "mongodb-query-parser": "^4.2.0", + "mongodb-query-parser": "^4.2.3", "mongodb-query-util": "^2.2.6", "mongodb-schema": "^12.2.0", "nyc": "^15.1.0", @@ -58041,7 +58042,7 @@ "mocha": "^10.2.0", "mongodb-instance-model": "^12.24.0", "mongodb-ns": "^2.4.2", - "mongodb-query-parser": "^4.2.0", + "mongodb-query-parser": "^4.2.3", "nyc": "^15.1.0", "prop-types": "^15.7.2", "react": "^17.0.2", @@ -59273,7 +59274,7 @@ "@mongodb-js/eslint-config-compass": "^1.1.5", "@mongodb-js/mocha-config-compass": "^1.4.0", "@mongodb-js/prettier-config-compass": "^1.0.2", - "@mongodb-js/shell-bson-parser": "^1.1.0", + "@mongodb-js/shell-bson-parser": "^1.1.2", "@mongodb-js/tsconfig-compass": "^1.0.4", "@testing-library/react": "^12.1.5", "@testing-library/react-hooks": "^7.0.2", @@ -59296,7 +59297,7 @@ "mongodb-build-info": "^1.7.2", "mongodb-connection-string-url": "^3.0.1", "mongodb-data-service": "^22.23.0", - "mongodb-query-parser": "^4.2.0", + "mongodb-query-parser": "^4.2.3", "nyc": "^15.1.0", "prettier": "^2.7.1", "react": "^17.0.2", @@ -59811,7 +59812,7 @@ "@mongodb-js/eslint-config-compass": "^1.1.5", "@mongodb-js/mocha-config-compass": "^1.4.0", "@mongodb-js/prettier-config-compass": "^1.0.2", - "@mongodb-js/shell-bson-parser": "^1.1.0", + "@mongodb-js/shell-bson-parser": "^1.1.2", "@mongodb-js/tsconfig-compass": "^1.0.4", "@types/chai": "^4.2.21", "@types/mocha": "^9.0.0", @@ -60403,9 +60404,9 @@ } }, "@mongodb-js/shell-bson-parser": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@mongodb-js/shell-bson-parser/-/shell-bson-parser-1.1.0.tgz", - "integrity": "sha512-zcTFBRrAiKLOhc2MJSmzAB5FlqN0kL5bXi1ehTg1MXvCT61lvWssiK7EWvwPd3mIUTI9NSjEfdDessS8dMxA1w==", + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@mongodb-js/shell-bson-parser/-/shell-bson-parser-1.1.2.tgz", + "integrity": "sha512-MMvpqkRWoQLjbAoyr/3MN3YbIopudHPmwfH23NAQqNT6w9+OvuBL6ANhTbPwMZj+PLuUpP8NM+V58VubAv4Yfg==", "requires": { "acorn": "^8.1.0" } @@ -81401,11 +81402,11 @@ "integrity": "sha512-gYJjEYG4v4a1WSXgUf81OBoBRlj+Z1SlnQVO392fC/4a1CN7CLWDITajZWPFTPh/yRozYk6sHHtZwZmQhodBEA==" }, "mongodb-query-parser": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/mongodb-query-parser/-/mongodb-query-parser-4.2.0.tgz", - "integrity": "sha512-VsrB2rJzKh3kEMApAz5EipA19G2LLZlnV9X1Ov9ERtnUkozm01sHP9YOGX//T1j/dZx96kbt5Aw2co5R5f6Bkw==", + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/mongodb-query-parser/-/mongodb-query-parser-4.2.3.tgz", + "integrity": "sha512-6Y1ef2jBqWJRbsUXANmWtMmIiRaGAS3yjdmiyip0jD5QFUdvYo8sAMx0fTHvm5D6jRrUNPRbWV1tpWje1MGZkw==", "requires": { - "@mongodb-js/shell-bson-parser": "^1.1.0", + "@mongodb-js/shell-bson-parser": "^1.1.2", "debug": "^4.3.4", "javascript-stringify": "^2.1.0", "lodash": "^4.17.21" diff --git a/packages/compass-aggregations/package.json b/packages/compass-aggregations/package.json index 292e9e22e1b..b54ef6d8e77 100644 --- a/packages/compass-aggregations/package.json +++ b/packages/compass-aggregations/package.json @@ -77,7 +77,7 @@ "@mongodb-js/explain-plan-helper": "^1.2.0", "@mongodb-js/mongodb-constants": "^0.10.0", "@mongodb-js/my-queries-storage": "^0.15.1", - "@mongodb-js/shell-bson-parser": "^1.1.0", + "@mongodb-js/shell-bson-parser": "^1.1.2", "bson": "^6.7.0", "compass-preferences-model": "^2.27.0", "hadron-app-registry": "^9.2.3", @@ -90,7 +90,7 @@ "mongodb-database-model": "^2.23.0", "mongodb-instance-model": "^12.24.0", "mongodb-ns": "^2.4.2", - "mongodb-query-parser": "^4.2.0", + "mongodb-query-parser": "^4.2.3", "mongodb-schema": "^12.2.0", "prop-types": "^15.7.2", "re-resizable": "^6.9.0", diff --git a/packages/compass-crud/package.json b/packages/compass-crud/package.json index ce4c6374320..8860be802d3 100644 --- a/packages/compass-crud/package.json +++ b/packages/compass-crud/package.json @@ -84,7 +84,7 @@ "@mongodb-js/explain-plan-helper": "^1.2.0", "@mongodb-js/my-queries-storage": "^0.15.1", "@mongodb-js/reflux-state-mixin": "^1.0.5", - "@mongodb-js/shell-bson-parser": "^1.1.0", + "@mongodb-js/shell-bson-parser": "^1.1.2", "ag-grid-community": "^20.2.0", "ag-grid-react": "^20.2.0", "bson": "^6.7.0", @@ -96,7 +96,7 @@ "lodash": "^4.17.21", "mongodb-data-service": "^22.23.0", "mongodb-ns": "^2.4.2", - "mongodb-query-parser": "^4.2.0", + "mongodb-query-parser": "^4.2.3", "prop-types": "^15.7.2", "react": "^17.0.2", "reflux": "^0.4.1", diff --git a/packages/compass-editor/package.json b/packages/compass-editor/package.json index 782d9b6f40b..459b824dc9e 100644 --- a/packages/compass-editor/package.json +++ b/packages/compass-editor/package.json @@ -74,7 +74,7 @@ "@lezer/highlight": "^1.2.0", "@mongodb-js/compass-components": "^1.29.1", "@mongodb-js/mongodb-constants": "^0.10.0", - "mongodb-query-parser": "^4.2.0", + "mongodb-query-parser": "^4.2.3", "polished": "^4.2.2", "prettier": "^2.7.1", "react": "^17.0.2" diff --git a/packages/compass-export-to-language/package.json b/packages/compass-export-to-language/package.json index 01b3c097c8d..ca649a0c1bf 100644 --- a/packages/compass-export-to-language/package.json +++ b/packages/compass-export-to-language/package.json @@ -54,7 +54,7 @@ "@mongodb-js/compass-editor": "^0.29.1", "@mongodb-js/compass-maybe-protect-connection-string": "^0.25.0", "@mongodb-js/compass-telemetry": "^1.1.4", - "@mongodb-js/shell-bson-parser": "^1.1.0", + "@mongodb-js/shell-bson-parser": "^1.1.2", "bson-transpilers": "^3.0.7", "compass-preferences-model": "^2.27.0", "hadron-app-registry": "^9.2.3", diff --git a/packages/compass-import-export/package.json b/packages/compass-import-export/package.json index 6d6d344e4a8..893f6a7ef38 100644 --- a/packages/compass-import-export/package.json +++ b/packages/compass-import-export/package.json @@ -67,7 +67,7 @@ "mongodb": "^6.8.0", "mongodb-data-service": "^22.23.0", "mongodb-ns": "^2.4.2", - "mongodb-query-parser": "^4.2.0", + "mongodb-query-parser": "^4.2.3", "mongodb-schema": "^12.2.0", "papaparse": "^5.3.2", "react": "^17.0.2", diff --git a/packages/compass-indexes/package.json b/packages/compass-indexes/package.json index a9b0fd94c5d..350a6c7cc38 100644 --- a/packages/compass-indexes/package.json +++ b/packages/compass-indexes/package.json @@ -78,14 +78,14 @@ "@mongodb-js/compass-workspaces": "^0.20.0", "@mongodb-js/connection-storage": "^0.18.0", "@mongodb-js/mongodb-constants": "^0.10.0", - "@mongodb-js/shell-bson-parser": "^1.1.0", + "@mongodb-js/shell-bson-parser": "^1.1.2", "bson": "^6.7.0", "compass-preferences-model": "^2.27.0", "hadron-app-registry": "^9.2.3", "lodash": "^4.17.21", "mongodb": "^6.8.0", "mongodb-data-service": "^22.23.0", - "mongodb-query-parser": "^4.2.0", + "mongodb-query-parser": "^4.2.3", "numeral": "^2.0.6", "react": "^17.0.2", "react-redux": "^8.1.3", diff --git a/packages/compass-query-bar/package.json b/packages/compass-query-bar/package.json index 6e30d95a82b..74910e2147e 100644 --- a/packages/compass-query-bar/package.json +++ b/packages/compass-query-bar/package.json @@ -87,7 +87,7 @@ "mongodb": "^6.8.0", "mongodb-instance-model": "^12.24.0", "mongodb-ns": "^2.4.2", - "mongodb-query-parser": "^4.2.0", + "mongodb-query-parser": "^4.2.3", "mongodb-query-util": "^2.2.6", "mongodb-schema": "^12.2.0", "react": "^17.0.2", diff --git a/packages/compass-schema-validation/package.json b/packages/compass-schema-validation/package.json index e4b10bb72e1..c6cbc456f9e 100644 --- a/packages/compass-schema-validation/package.json +++ b/packages/compass-schema-validation/package.json @@ -82,7 +82,7 @@ "javascript-stringify": "^2.0.1", "lodash": "^4.17.21", "mongodb-ns": "^2.4.2", - "mongodb-query-parser": "^4.2.0", + "mongodb-query-parser": "^4.2.3", "prop-types": "^15.7.2", "react": "^17.0.2", "react-redux": "^8.1.3", diff --git a/packages/connection-form/package.json b/packages/connection-form/package.json index b4f5a472d16..4e5bd321ca9 100644 --- a/packages/connection-form/package.json +++ b/packages/connection-form/package.json @@ -51,14 +51,14 @@ "@mongodb-js/compass-components": "^1.29.1", "@mongodb-js/compass-editor": "^0.29.1", "@mongodb-js/connection-info": "^0.6.0", - "@mongodb-js/shell-bson-parser": "^1.1.0", + "@mongodb-js/shell-bson-parser": "^1.1.2", "compass-preferences-model": "^2.27.0", "lodash": "^4.17.21", "mongodb": "^6.8.0", "mongodb-build-info": "^1.7.2", "mongodb-connection-string-url": "^3.0.1", "mongodb-data-service": "^22.23.0", - "mongodb-query-parser": "^4.2.0", + "mongodb-query-parser": "^4.2.3", "react": "^17.0.2" }, "devDependencies": { diff --git a/packages/databases-collections/package.json b/packages/databases-collections/package.json index 6f810621c0b..9f6675c18ff 100644 --- a/packages/databases-collections/package.json +++ b/packages/databases-collections/package.json @@ -76,7 +76,7 @@ "mongodb-database-model": "^2.23.0", "mongodb-instance-model": "^12.24.0", "mongodb-ns": "^2.4.2", - "mongodb-query-parser": "^4.2.0", + "mongodb-query-parser": "^4.2.3", "prop-types": "^15.7.2", "react": "^17.0.2", "react-redux": "^8.1.3", diff --git a/packages/explain-plan-helper/package.json b/packages/explain-plan-helper/package.json index 400ec36f6d8..bc4e31f2d99 100644 --- a/packages/explain-plan-helper/package.json +++ b/packages/explain-plan-helper/package.json @@ -49,7 +49,7 @@ "reformat": "npm run eslint . -- --fix && npm run prettier -- --write ." }, "dependencies": { - "@mongodb-js/shell-bson-parser": "^1.1.0", + "@mongodb-js/shell-bson-parser": "^1.1.2", "mongodb-explain-compat": "^3.1.0" }, "devDependencies": { From bad228254a2b4985cc20cb2def39f62bed3c87fc Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 29 Aug 2024 15:29:37 +0000 Subject: [PATCH 04/13] chore: update AUTHORS, THIRD-PARTY-NOTICES, Security Test Summary (#6172) Update report Co-authored-by: addaleax <899444+addaleax@users.noreply.github.com> --- THIRD-PARTY-NOTICES.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/THIRD-PARTY-NOTICES.md b/THIRD-PARTY-NOTICES.md index 4f3784da635..9ff2bcd608e 100644 --- a/THIRD-PARTY-NOTICES.md +++ b/THIRD-PARTY-NOTICES.md @@ -468,7 +468,7 @@ This document was automatically generated on Thu Aug 29 2024. | **[mongodb-connection-string-url](#2e1146256a89ebd24e3398881e03807fe363d58444e6b7952ea50bd6108707bc)** | 3.0.1 | Apache-2.0 | | **[mongodb-log-writer](#c4945018f8490fc8e56e1414e262fcf1b802800e05cd15f2bd6b7a9d0b94af85)** | 1.4.2 | Apache-2.0 | | **[mongodb-ns](#68260f4d06e4d16a28d4139e391264d220e891ac6f0fb844b925a0cc37792aff)** | 2.4.2 | MIT | -| **[mongodb-query-parser](#54882af81246ce19e8a17d9d9f024887e6dee6567cc6677e67678a3ed61281a3)** | 4.2.0 | Apache-2.0 | +| **[mongodb-query-parser](#871cbd55e42c522f9f44ee40a9a19b3edde2f543528582d5ac5f4bc60adeb336)** | 4.2.3 | Apache-2.0 | | **[mongodb-redact](#f0766ec5011e3865ffb152537e7a24c89591d1ea5ee46777ca8f3e857a3e57d6)** | 1.1.3 | Apache-2.0 | | **[mongodb-schema](#652dcef4a8a39849996a5f858fe48048e806fda4ce1aa0f757ada56bef011145)** | 12.2.0 | Apache-2.0 | | **[mongodb](#6fec8e7c940738c785acba4b627a32d91425768e886601b770ad3b664670653e)** | 6.8.0 | Apache-2.0 | @@ -28273,9 +28273,9 @@ License files: IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - + -### [mongodb-query-parser](https://www.npmjs.com/package/mongodb-query-parser) (version 4.2.0) +### [mongodb-query-parser](https://www.npmjs.com/package/mongodb-query-parser) (version 4.2.3) License tags: Apache-2.0 From 7e3e53be10eb2396c2c3f47d0f4bb8b7175d7c31 Mon Sep 17 00:00:00 2001 From: Sergey Petushkov Date: Thu, 29 Aug 2024 18:14:04 +0200 Subject: [PATCH 05/13] chore(web): enable multiple connections by default CLOUDP-260445 (#6167) * chore(web): enable multipl connections by default; refactor sandbox to handle multiple connections; adjust component interfaces for multiple connection support * chore(web): adjust unit tests for multiple connections * chore(e2e): make multiple connections default without exceptions; remove some special handling for web tests * chore(e2e): skip my queries check for global tabs in compass-web * chore(e2e): remove unused code * chore(web): fix effect dependency in sandbox atlas login * chore(e2e): enable rename test for web; adjust reasoning for some of the skipped tests * chore(web): add delete method to sandbox connection storage * chore(e2e): remove .only --- package-lock.json | 461 ++++++------------ packages/compass-connections/src/index.tsx | 9 +- .../src/stores/connections-store-redux.ts | 12 +- packages/compass-connections/src/test.tsx | 9 +- .../helpers/commands/connect-form.ts | 7 - .../helpers/commands/connect.ts | 18 +- .../helpers/commands/disconnect.ts | 14 +- packages/compass-e2e-tests/helpers/compass.ts | 4 +- .../compass-e2e-tests/helpers/selectors.ts | 2 +- packages/compass-e2e-tests/index.ts | 1 + .../tests/collection-rename.test.ts | 5 - .../tests/connection-form.test.ts | 5 +- .../tests/connection.test.ts | 7 +- packages/compass-e2e-tests/tests/oidc.test.ts | 5 +- .../tests/protect-connection-strings.test.ts | 5 +- .../show-kerberos-password-field.test.ts | 5 +- packages/compass-e2e-tests/tests/tabs.test.ts | 26 +- .../src/components/legacy/sidebar.tsx | 6 +- .../connections-navigation.tsx | 5 +- .../multiple-connections/sidebar.tsx | 12 +- packages/compass-sidebar/src/plugin.tsx | 11 +- packages/compass-web/package.json | 3 +- .../@mongodb-js/devtools-connect/index.ts | 7 +- .../sandbox/atlas-cluster-connections.tsx | 183 ------- .../compass-web/sandbox/connections-list.tsx | 77 --- packages/compass-web/sandbox/index.tsx | 356 +------------- .../sandbox/sandbox-atlas-sign-in.tsx | 159 ++++++ .../sandbox/sandbox-connection-storage.tsx | 61 +++ .../sandbox/sandbox-workspace-tab-router.tsx | 21 + .../sandbox/stored-connections-history.tsx | 91 ---- .../sandbox/use-workspace-tab-router.tsx | 86 ---- .../compass-web/scripts/electron-proxy.js | 25 +- .../src/connection-storage.spec.ts | 2 +- .../compass-web/src/connection-storage.tsx | 53 +- packages/compass-web/src/entrypoint.spec.tsx | 128 ++--- packages/compass-web/src/entrypoint.tsx | 179 ++++--- packages/compass-web/src/index.tsx | 5 + packages/compass-web/src/url-builder.ts | 79 +++ packages/compass-web/webpack.config.js | 6 + 39 files changed, 791 insertions(+), 1359 deletions(-) delete mode 100644 packages/compass-web/sandbox/atlas-cluster-connections.tsx delete mode 100644 packages/compass-web/sandbox/connections-list.tsx create mode 100644 packages/compass-web/sandbox/sandbox-atlas-sign-in.tsx create mode 100644 packages/compass-web/sandbox/sandbox-connection-storage.tsx create mode 100644 packages/compass-web/sandbox/sandbox-workspace-tab-router.tsx delete mode 100644 packages/compass-web/sandbox/stored-connections-history.tsx delete mode 100644 packages/compass-web/sandbox/use-workspace-tab-router.tsx create mode 100644 packages/compass-web/src/url-builder.ts diff --git a/package-lock.json b/package-lock.json index d74a8b64516..2fa967d7f79 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8034,7 +8034,6 @@ "version": "0.3.5", "resolved": "https://registry.npmjs.org/@mongodb-js/mongodb-downloader/-/mongodb-downloader-0.3.5.tgz", "integrity": "sha512-0tNik3E/eQxx8EkJpsa9+IIK5LtMle3N7M/1wtKQKMixJjZ1vsgAjJGguYbLfCyJqfnrw9KMyD1cwgaS37tvRA==", - "license": "Apache-2.0", "dependencies": { "debug": "^4.3.4", "decompress": "^4.2.1", @@ -8376,9 +8375,9 @@ "link": true }, "node_modules/@mongodb-js/saslprep": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/@mongodb-js/saslprep/-/saslprep-1.1.7.tgz", - "integrity": "sha512-dCHW/oEX0KJ4NjDULBo3JiOaK5+6axtpBbS+ao2ZInoAL9/YRQLhXzSNAFz7hP4nzLkIqsfYAK/PDE3+XHny0Q==", + "version": "1.1.8", + "resolved": "https://registry.npmjs.org/@mongodb-js/saslprep/-/saslprep-1.1.8.tgz", + "integrity": "sha512-qKwC/M/nNNaKUBMQ0nuzm47b7ZYWQHN3pcXq4IIcoSBc2hOIrflAxJduIvvqmhoz3gR2TacTAs8vlsCVPkiEdQ==", "dependencies": { "sparse-bitfield": "^3.0.3" } @@ -32753,6 +32752,79 @@ "lodash": "^4.17.21" } }, + "node_modules/mongodb-runner": { + "version": "5.6.5", + "resolved": "https://registry.npmjs.org/mongodb-runner/-/mongodb-runner-5.6.5.tgz", + "integrity": "sha512-joZJL5YKuwP7MNegz0CKt7rAPgAeUcWhOfJZPgifnKD+3tl4oMbRwP+HjcQjBieT1dr9lh+kI1MQuGInRtQzMw==", + "dependencies": { + "@mongodb-js/mongodb-downloader": "^0.3.5", + "@mongodb-js/saslprep": "^1.1.8", + "debug": "^4.3.4", + "mongodb": "^6.8.0", + "mongodb-connection-string-url": "^3.0.0", + "yargs": "^17.7.2" + }, + "bin": { + "mongodb-runner": "bin/runner.js" + } + }, + "node_modules/mongodb-runner/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/mongodb-runner/node_modules/cliui": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", + "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.1", + "wrap-ansi": "^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/mongodb-runner/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/mongodb-runner/node_modules/yargs": { + "version": "17.7.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", + "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", + "dependencies": { + "cliui": "^8.0.1", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", + "y18n": "^5.0.5", + "yargs-parser": "^21.1.1" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/mongodb-runner/node_modules/yargs-parser": { + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", + "engines": { + "node": ">=12" + } + }, "node_modules/mongodb-schema": { "version": "12.2.0", "resolved": "https://registry.npmjs.org/mongodb-schema/-/mongodb-schema-12.2.0.tgz", @@ -45053,26 +45125,6 @@ "xvfb-maybe": "^0.2.1" } }, - "packages/compass-e2e-tests/node_modules/@mongodb-js/saslprep": { - "version": "1.1.8", - "resolved": "https://registry.npmjs.org/@mongodb-js/saslprep/-/saslprep-1.1.8.tgz", - "integrity": "sha512-qKwC/M/nNNaKUBMQ0nuzm47b7ZYWQHN3pcXq4IIcoSBc2hOIrflAxJduIvvqmhoz3gR2TacTAs8vlsCVPkiEdQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "sparse-bitfield": "^3.0.3" - } - }, - "packages/compass-e2e-tests/node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, "packages/compass-e2e-tests/node_modules/clipboardy": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/clipboardy/-/clipboardy-2.3.0.tgz", @@ -45087,21 +45139,6 @@ "node": ">=8" } }, - "packages/compass-e2e-tests/node_modules/cliui": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", - "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", - "dev": true, - "license": "ISC", - "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^7.0.0" - }, - "engines": { - "node": ">=12" - } - }, "packages/compass-e2e-tests/node_modules/execa": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/execa/-/execa-1.0.0.tgz", @@ -45252,24 +45289,6 @@ "node": ">=16 || 14 >=14.17" } }, - "packages/compass-e2e-tests/node_modules/mongodb-runner": { - "version": "5.6.5", - "resolved": "https://registry.npmjs.org/mongodb-runner/-/mongodb-runner-5.6.5.tgz", - "integrity": "sha512-joZJL5YKuwP7MNegz0CKt7rAPgAeUcWhOfJZPgifnKD+3tl4oMbRwP+HjcQjBieT1dr9lh+kI1MQuGInRtQzMw==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "@mongodb-js/mongodb-downloader": "^0.3.5", - "@mongodb-js/saslprep": "^1.1.8", - "debug": "^4.3.4", - "mongodb": "^6.8.0", - "mongodb-connection-string-url": "^3.0.0", - "yargs": "^17.7.2" - }, - "bin": { - "mongodb-runner": "bin/runner.js" - } - }, "packages/compass-e2e-tests/node_modules/node-fetch": { "version": "2.7.0", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", @@ -45341,19 +45360,6 @@ "node": ">=0.10.0" } }, - "packages/compass-e2e-tests/node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, "packages/compass-e2e-tests/node_modules/tr46": { "version": "0.0.3", "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", @@ -45376,35 +45382,6 @@ "webidl-conversions": "^3.0.0" } }, - "packages/compass-e2e-tests/node_modules/yargs": { - "version": "17.7.2", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", - "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", - "dev": true, - "license": "MIT", - "dependencies": { - "cliui": "^8.0.1", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.3", - "y18n": "^5.0.5", - "yargs-parser": "^21.1.1" - }, - "engines": { - "node": ">=12" - } - }, - "packages/compass-e2e-tests/node_modules/yargs-parser": { - "version": "21.1.1", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", - "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", - "dev": true, - "license": "ISC", - "engines": { - "node": ">=12" - } - }, "packages/compass-editor": { "name": "@mongodb-js/compass-editor", "version": "0.29.1", @@ -47186,38 +47163,6 @@ "typescript": "^5.0.4" } }, - "packages/compass-test-server/node_modules/@mongodb-js/saslprep": { - "version": "1.1.8", - "resolved": "https://registry.npmjs.org/@mongodb-js/saslprep/-/saslprep-1.1.8.tgz", - "integrity": "sha512-qKwC/M/nNNaKUBMQ0nuzm47b7ZYWQHN3pcXq4IIcoSBc2hOIrflAxJduIvvqmhoz3gR2TacTAs8vlsCVPkiEdQ==", - "license": "MIT", - "dependencies": { - "sparse-bitfield": "^3.0.3" - } - }, - "packages/compass-test-server/node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "packages/compass-test-server/node_modules/cliui": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", - "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", - "license": "ISC", - "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^7.0.0" - }, - "engines": { - "node": ">=12" - } - }, "packages/compass-test-server/node_modules/diff": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", @@ -47227,23 +47172,6 @@ "node": ">=0.3.1" } }, - "packages/compass-test-server/node_modules/mongodb-runner": { - "version": "5.6.5", - "resolved": "https://registry.npmjs.org/mongodb-runner/-/mongodb-runner-5.6.5.tgz", - "integrity": "sha512-joZJL5YKuwP7MNegz0CKt7rAPgAeUcWhOfJZPgifnKD+3tl4oMbRwP+HjcQjBieT1dr9lh+kI1MQuGInRtQzMw==", - "license": "Apache-2.0", - "dependencies": { - "@mongodb-js/mongodb-downloader": "^0.3.5", - "@mongodb-js/saslprep": "^1.1.8", - "debug": "^4.3.4", - "mongodb": "^6.8.0", - "mongodb-connection-string-url": "^3.0.0", - "yargs": "^17.7.2" - }, - "bin": { - "mongodb-runner": "bin/runner.js" - } - }, "packages/compass-test-server/node_modules/sinon": { "version": "9.2.4", "resolved": "https://registry.npmjs.org/sinon/-/sinon-9.2.4.tgz", @@ -47262,45 +47190,6 @@ "url": "https://opencollective.com/sinon" } }, - "packages/compass-test-server/node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "license": "MIT", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "packages/compass-test-server/node_modules/yargs": { - "version": "17.7.2", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", - "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", - "license": "MIT", - "dependencies": { - "cliui": "^8.0.1", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.3", - "y18n": "^5.0.5", - "yargs-parser": "^21.1.1" - }, - "engines": { - "node": ">=12" - } - }, - "packages/compass-test-server/node_modules/yargs-parser": { - "version": "21.1.1", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", - "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", - "license": "ISC", - "engines": { - "node": ">=12" - } - }, "packages/compass-user-data": { "name": "@mongodb-js/compass-user-data", "version": "0.3.4", @@ -47459,6 +47348,7 @@ "@mongodb-js/compass-schema-validation": "^6.39.0", "@mongodb-js/compass-sidebar": "^5.39.0", "@mongodb-js/compass-telemetry": "^1.1.4", + "@mongodb-js/compass-welcome": "^0.37.0", "@mongodb-js/compass-workspaces": "^0.20.0", "@mongodb-js/connection-storage": "^0.18.0", "@mongodb-js/eslint-config-compass": "^1.1.5", @@ -58643,48 +58533,12 @@ "typescript": "^5.0.4" }, "dependencies": { - "@mongodb-js/saslprep": { - "version": "1.1.8", - "resolved": "https://registry.npmjs.org/@mongodb-js/saslprep/-/saslprep-1.1.8.tgz", - "integrity": "sha512-qKwC/M/nNNaKUBMQ0nuzm47b7ZYWQHN3pcXq4IIcoSBc2hOIrflAxJduIvvqmhoz3gR2TacTAs8vlsCVPkiEdQ==", - "requires": { - "sparse-bitfield": "^3.0.3" - } - }, - "ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==" - }, - "cliui": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", - "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", - "requires": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^7.0.0" - } - }, "diff": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", "dev": true }, - "mongodb-runner": { - "version": "5.6.5", - "resolved": "https://registry.npmjs.org/mongodb-runner/-/mongodb-runner-5.6.5.tgz", - "integrity": "sha512-joZJL5YKuwP7MNegz0CKt7rAPgAeUcWhOfJZPgifnKD+3tl4oMbRwP+HjcQjBieT1dr9lh+kI1MQuGInRtQzMw==", - "requires": { - "@mongodb-js/mongodb-downloader": "^0.3.5", - "@mongodb-js/saslprep": "^1.1.8", - "debug": "^4.3.4", - "mongodb": "^6.8.0", - "mongodb-connection-string-url": "^3.0.0", - "yargs": "^17.7.2" - } - }, "sinon": { "version": "9.2.4", "resolved": "https://registry.npmjs.org/sinon/-/sinon-9.2.4.tgz", @@ -58698,33 +58552,6 @@ "nise": "^4.0.4", "supports-color": "^7.1.0" } - }, - "strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "requires": { - "ansi-regex": "^5.0.1" - } - }, - "yargs": { - "version": "17.7.2", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", - "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", - "requires": { - "cliui": "^8.0.1", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.3", - "y18n": "^5.0.5", - "yargs-parser": "^21.1.1" - } - }, - "yargs-parser": { - "version": "21.1.1", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", - "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==" } } }, @@ -58859,6 +58686,7 @@ "@mongodb-js/compass-schema-validation": "^6.39.0", "@mongodb-js/compass-sidebar": "^5.39.0", "@mongodb-js/compass-telemetry": "^1.1.4", + "@mongodb-js/compass-welcome": "^0.37.0", "@mongodb-js/compass-workspaces": "^0.20.0", "@mongodb-js/connection-storage": "^0.18.0", "@mongodb-js/eslint-config-compass": "^1.1.5", @@ -60217,9 +60045,9 @@ } }, "@mongodb-js/saslprep": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/@mongodb-js/saslprep/-/saslprep-1.1.7.tgz", - "integrity": "sha512-dCHW/oEX0KJ4NjDULBo3JiOaK5+6axtpBbS+ao2ZInoAL9/YRQLhXzSNAFz7hP4nzLkIqsfYAK/PDE3+XHny0Q==", + "version": "1.1.8", + "resolved": "https://registry.npmjs.org/@mongodb-js/saslprep/-/saslprep-1.1.8.tgz", + "integrity": "sha512-qKwC/M/nNNaKUBMQ0nuzm47b7ZYWQHN3pcXq4IIcoSBc2hOIrflAxJduIvvqmhoz3gR2TacTAs8vlsCVPkiEdQ==", "requires": { "sparse-bitfield": "^3.0.3" } @@ -68593,21 +68421,6 @@ "xvfb-maybe": "^0.2.1" }, "dependencies": { - "@mongodb-js/saslprep": { - "version": "1.1.8", - "resolved": "https://registry.npmjs.org/@mongodb-js/saslprep/-/saslprep-1.1.8.tgz", - "integrity": "sha512-qKwC/M/nNNaKUBMQ0nuzm47b7ZYWQHN3pcXq4IIcoSBc2hOIrflAxJduIvvqmhoz3gR2TacTAs8vlsCVPkiEdQ==", - "dev": true, - "requires": { - "sparse-bitfield": "^3.0.3" - } - }, - "ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true - }, "clipboardy": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/clipboardy/-/clipboardy-2.3.0.tgz", @@ -68619,17 +68432,6 @@ "is-wsl": "^2.1.1" } }, - "cliui": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", - "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", - "dev": true, - "requires": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^7.0.0" - } - }, "execa": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/execa/-/execa-1.0.0.tgz", @@ -68741,20 +68543,6 @@ "integrity": "sha512-MzWSV5nYVT7mVyWCwn2o7JH13w2TBRmmSqSRCKzTw+lmft9X4z+3wjvs06Tzijo5z4W/kahUCDpRXTF+ZrmF/w==", "dev": true }, - "mongodb-runner": { - "version": "5.6.5", - "resolved": "https://registry.npmjs.org/mongodb-runner/-/mongodb-runner-5.6.5.tgz", - "integrity": "sha512-joZJL5YKuwP7MNegz0CKt7rAPgAeUcWhOfJZPgifnKD+3tl4oMbRwP+HjcQjBieT1dr9lh+kI1MQuGInRtQzMw==", - "dev": true, - "requires": { - "@mongodb-js/mongodb-downloader": "^0.3.5", - "@mongodb-js/saslprep": "^1.1.8", - "debug": "^4.3.4", - "mongodb": "^6.8.0", - "mongodb-connection-string-url": "^3.0.0", - "yargs": "^17.7.2" - } - }, "node-fetch": { "version": "2.7.0", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", @@ -68800,15 +68588,6 @@ "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=", "dev": true }, - "strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dev": true, - "requires": { - "ansi-regex": "^5.0.1" - } - }, "tr46": { "version": "0.0.3", "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", @@ -68830,27 +68609,6 @@ "tr46": "~0.0.3", "webidl-conversions": "^3.0.0" } - }, - "yargs": { - "version": "17.7.2", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", - "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", - "dev": true, - "requires": { - "cliui": "^8.0.1", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.3", - "y18n": "^5.0.5", - "yargs-parser": "^21.1.1" - } - }, - "yargs-parser": { - "version": "21.1.1", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", - "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", - "dev": true } } }, @@ -81465,6 +81223,63 @@ "lodash": "^4.17.21" } }, + "mongodb-runner": { + "version": "5.6.5", + "resolved": "https://registry.npmjs.org/mongodb-runner/-/mongodb-runner-5.6.5.tgz", + "integrity": "sha512-joZJL5YKuwP7MNegz0CKt7rAPgAeUcWhOfJZPgifnKD+3tl4oMbRwP+HjcQjBieT1dr9lh+kI1MQuGInRtQzMw==", + "requires": { + "@mongodb-js/mongodb-downloader": "^0.3.5", + "@mongodb-js/saslprep": "^1.1.8", + "debug": "^4.3.4", + "mongodb": "^6.8.0", + "mongodb-connection-string-url": "^3.0.0", + "yargs": "^17.7.2" + }, + "dependencies": { + "ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==" + }, + "cliui": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", + "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", + "requires": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.1", + "wrap-ansi": "^7.0.0" + } + }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "requires": { + "ansi-regex": "^5.0.1" + } + }, + "yargs": { + "version": "17.7.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", + "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", + "requires": { + "cliui": "^8.0.1", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", + "y18n": "^5.0.5", + "yargs-parser": "^21.1.1" + } + }, + "yargs-parser": { + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==" + } + } + }, "mongodb-schema": { "version": "12.2.0", "resolved": "https://registry.npmjs.org/mongodb-schema/-/mongodb-schema-12.2.0.tgz", diff --git a/packages/compass-connections/src/index.tsx b/packages/compass-connections/src/index.tsx index 06bfdbfd35d..1ced9f7a46c 100644 --- a/packages/compass-connections/src/index.tsx +++ b/packages/compass-connections/src/index.tsx @@ -8,7 +8,10 @@ import React, { useContext, useRef } from 'react'; import { createLoggerLocator } from '@mongodb-js/compass-logging/provider'; import { telemetryLocator } from '@mongodb-js/compass-telemetry/provider'; import { preferencesLocator } from 'compass-preferences-model/provider'; -import type { ConnectionInfo } from '@mongodb-js/connection-storage/provider'; +import type { + ConnectionInfo, + ConnectionStorage, +} from '@mongodb-js/connection-storage/provider'; import { connectionStorageLocator } from '@mongodb-js/connection-storage/provider'; import { ConnectionActionsProvider, @@ -24,7 +27,9 @@ const ConnectionsComponent: React.FunctionComponent<{ onExtraConnectionDataRequest: ( connectionInfo: ConnectionInfo ) => Promise<[Record, string | null]>; - onAutoconnectInfoRequest?: () => Promise; + onAutoconnectInfoRequest?: ( + connectionStorage: ConnectionStorage + ) => Promise; connectFn?: typeof devtoolsConnect | undefined; preloadStorageConnectionInfos?: ConnectionInfo[]; }> = ({ children }) => { diff --git a/packages/compass-connections/src/stores/connections-store-redux.ts b/packages/compass-connections/src/stores/connections-store-redux.ts index e9b5f7df3ec..7453e858518 100644 --- a/packages/compass-connections/src/stores/connections-store-redux.ts +++ b/packages/compass-connections/src/stores/connections-store-redux.ts @@ -1353,19 +1353,25 @@ const connectionAttemptError = ( }; export const autoconnectCheck = ( - getAutoconnectInfo: () => Promise + getAutoconnectInfo: ( + connectionStorage: ConnectionStorage + ) => Promise ): ConnectionsThunkAction< Promise, ConnectionAutoconnectCheckAction | ConnectionAttemptErrorAction > => { - return async (dispatch, _getState, { logger: { log, mongoLogId } }) => { + return async ( + dispatch, + _getState, + { logger: { log, mongoLogId }, connectionStorage } + ) => { try { log.info( mongoLogId(1_001_000_160), 'Connection Store', 'Performing automatic connection attempt' ); - const connectionInfo = await getAutoconnectInfo(); + const connectionInfo = await getAutoconnectInfo(connectionStorage); dispatch({ type: ActionTypes.ConnectionAutoconnectCheck, connectionInfo: connectionInfo, diff --git a/packages/compass-connections/src/test.tsx b/packages/compass-connections/src/test.tsx index 0bc8b7760cd..cd51215ba8b 100644 --- a/packages/compass-connections/src/test.tsx +++ b/packages/compass-connections/src/test.tsx @@ -56,6 +56,7 @@ import AppRegistry, { } from 'hadron-app-registry'; import { expect } from 'chai'; import { Provider } from 'react-redux'; +import ConnectionString from 'mongodb-connection-string-url'; function wait(ms: number) { return new Promise((resolve) => { @@ -88,7 +89,7 @@ type ConnectionsOptions = { > >; -class MockDataService +export class MockDataService extends EventEmitter implements Pick< @@ -104,6 +105,12 @@ class MockDataService super(); this.setMaxListeners(0); } + getConnectionString() { + return new ConnectionString(this.connectionOptions.connectionString); + } + getConnectionOptions() { + return this.connectionOptions; + } addReauthenticationHandler(): void { // noop } diff --git a/packages/compass-e2e-tests/helpers/commands/connect-form.ts b/packages/compass-e2e-tests/helpers/commands/connect-form.ts index 60cd0784f4a..c2d8f38491c 100644 --- a/packages/compass-e2e-tests/helpers/commands/connect-form.ts +++ b/packages/compass-e2e-tests/helpers/commands/connect-form.ts @@ -8,7 +8,6 @@ import { DEFAULT_CONNECTION_NAME_2, DEFAULT_CONNECTION_STRING_1, DEFAULT_CONNECTION_STRING_2, - TEST_COMPASS_WEB, TEST_MULTIPLE_CONNECTIONS, } from '../compass'; import Debug from 'debug'; @@ -967,12 +966,6 @@ export async function setupDefaultConnections(browser: CompassBrowser) { whereas we do have some tests that try and use those. We can easily change this in future if needed, though. */ - - if (TEST_COMPASS_WEB) { - // we can't save connections in compass-web yet - return; - } - for (const connectionName of [ DEFAULT_CONNECTION_NAME_1, DEFAULT_CONNECTION_NAME_2, diff --git a/packages/compass-e2e-tests/helpers/commands/connect.ts b/packages/compass-e2e-tests/helpers/commands/connect.ts index f907ed8b953..379524d622d 100644 --- a/packages/compass-e2e-tests/helpers/commands/connect.ts +++ b/packages/compass-e2e-tests/helpers/commands/connect.ts @@ -2,7 +2,6 @@ import { DEFAULT_CONNECTION_NAME_1, DEFAULT_CONNECTION_NAME_2, DEFAULT_CONNECTION_STRING_1, - TEST_COMPASS_WEB, TEST_MULTIPLE_CONNECTIONS, connectionNameFromString, } from '../compass'; @@ -20,9 +19,7 @@ export async function waitForConnectionScreen( return; } - const selector = TEST_COMPASS_WEB - ? Selectors.ConnectionFormStringInput - : Selectors.ConnectSection; + const selector = Selectors.ConnectSection; const connectScreenElement = await browser.$(selector); await connectScreenElement.waitForDisplayed(); } @@ -169,12 +166,7 @@ export async function waitForConnectionResult( // Wait for the first meaningful thing on the screen after being connected // and assume that's a good enough indicator that we are connected to the // server - if (TEST_COMPASS_WEB) { - // In compass-web, for now, we land on the Databases tab after connecting - await browser - .$('[data-testid="workspace-tab-button"][data-type=Databases]') - .waitForDisplayed({ timeout }); - } else if (TEST_MULTIPLE_CONNECTIONS) { + if (TEST_MULTIPLE_CONNECTIONS) { await browser .$( Selectors.Multiple.connectionItemByName(connectionName, { @@ -231,12 +223,6 @@ export async function connectByName( } export async function connectToDefaults(browser: CompassBrowser) { - if (TEST_COMPASS_WEB) { - // we can't connect by name with compass-web because we can't save connections yet - await browser.connectWithConnectionString(); - return; - } - // See setupDefaultConnections() for the details behind the thinking here. await browser.connectByName(DEFAULT_CONNECTION_NAME_1); diff --git a/packages/compass-e2e-tests/helpers/commands/disconnect.ts b/packages/compass-e2e-tests/helpers/commands/disconnect.ts index c9f2d0788fa..c4f38f6e3bc 100644 --- a/packages/compass-e2e-tests/helpers/commands/disconnect.ts +++ b/packages/compass-e2e-tests/helpers/commands/disconnect.ts @@ -1,16 +1,8 @@ -import { TEST_COMPASS_WEB, TEST_MULTIPLE_CONNECTIONS } from '../compass'; +import { TEST_MULTIPLE_CONNECTIONS } from '../compass'; import type { CompassBrowser } from '../compass-browser'; import delay from '../delay'; import * as Selectors from '../selectors'; -async function disconnectAllWeb(browser: CompassBrowser): Promise { - const url = new URL(await browser.getUrl()); - url.pathname = '/'; - await browser.navigateTo(url.toString()); - const element = await browser.$(Selectors.ConnectionFormStringInput); - await element.waitForDisplayed(); -} - async function disconnectAllSingle(browser: CompassBrowser) { const cancelConnectionButtonElement = await browser.$( Selectors.CancelConnectionButton @@ -77,10 +69,6 @@ export async function disconnectAll( // probably in conjunction with browser.connectToDefaults() so that each test // will start off with multiple connections already connected. - if (TEST_COMPASS_WEB) { - return await disconnectAllWeb(browser); - } - if (!TEST_MULTIPLE_CONNECTIONS) { return await disconnectAllSingle(browser); } diff --git a/packages/compass-e2e-tests/helpers/compass.ts b/packages/compass-e2e-tests/helpers/compass.ts index 450b9185590..7d894db7309 100644 --- a/packages/compass-e2e-tests/helpers/compass.ts +++ b/packages/compass-e2e-tests/helpers/compass.ts @@ -46,8 +46,8 @@ let MONGODB_USE_ENTERPRISE = // should we test compass-web (true) or compass electron (false)? export const TEST_COMPASS_WEB = process.argv.includes('--test-compass-web'); -// multiple connections is now the default when we're not testing compass-web -export const TEST_MULTIPLE_CONNECTIONS = !TEST_COMPASS_WEB; +// multiple connections is now the default +export const TEST_MULTIPLE_CONNECTIONS = true; /* A helper so we can easily find all the tests we're skipping in compass-web. diff --git a/packages/compass-e2e-tests/helpers/selectors.ts b/packages/compass-e2e-tests/helpers/selectors.ts index 1fde25106af..ae171e63922 100644 --- a/packages/compass-e2e-tests/helpers/selectors.ts +++ b/packages/compass-e2e-tests/helpers/selectors.ts @@ -276,7 +276,7 @@ export const Single = { // Multiple Connections sidebar export const Multiple = { - ConnectionsTitle: '[data-testid="sidebar-header"]', + ConnectionsTitle: '[data-testid="connections-header"]', SidebarNewConnectionButton: '[data-action="add-new-connection"]', ConnectionMenu: '[data-testid="sidebar-navigation-item-actions"]', CreateDatabaseButton: diff --git a/packages/compass-e2e-tests/index.ts b/packages/compass-e2e-tests/index.ts index 82c102442e3..cbbe284c16d 100644 --- a/packages/compass-e2e-tests/index.ts +++ b/packages/compass-e2e-tests/index.ts @@ -71,6 +71,7 @@ async function setup() { ...process.env, OPEN_BROWSER: 'false', // tell webpack dev server not to open the default browser DISABLE_DEVSERVER_OVERLAY: 'true', + APP_ENV: 'webdriverio', }, } ); diff --git a/packages/compass-e2e-tests/tests/collection-rename.test.ts b/packages/compass-e2e-tests/tests/collection-rename.test.ts index 47b7f820d41..6d48e84f91d 100644 --- a/packages/compass-e2e-tests/tests/collection-rename.test.ts +++ b/packages/compass-e2e-tests/tests/collection-rename.test.ts @@ -4,7 +4,6 @@ import { init, cleanup, screenshotIfFailed, - skipForWeb, TEST_COMPASS_WEB, DEFAULT_CONNECTION_NAME_1, } from '../helpers/compass'; @@ -83,13 +82,9 @@ describe('Collection Rename Modal', () => { let connectionId: string | undefined; before(async function () { - skipForWeb(this, 'feature flags not yet available in compass-web'); - compass = await init(this.test?.fullTitle()); browser = compass.browser; await browser.setupDefaultConnections(); - - await browser.setFeature('enableRenameCollectionModal', true); }); beforeEach(async function () { diff --git a/packages/compass-e2e-tests/tests/connection-form.test.ts b/packages/compass-e2e-tests/tests/connection-form.test.ts index 3c2ca7d7297..4e44980e0af 100644 --- a/packages/compass-e2e-tests/tests/connection-form.test.ts +++ b/packages/compass-e2e-tests/tests/connection-form.test.ts @@ -22,7 +22,10 @@ describe('Connection form', function () { let browser: CompassBrowser; before(async function () { - skipForWeb(this, 'no connect form in compass-web'); + skipForWeb( + this, + 'connection form is not used meaningfully outside of the local dev sandbox environment' + ); compass = await init(this.test?.fullTitle()); browser = compass.browser; diff --git a/packages/compass-e2e-tests/tests/connection.test.ts b/packages/compass-e2e-tests/tests/connection.test.ts index 6511dd2ebdf..9b772deaaae 100644 --- a/packages/compass-e2e-tests/tests/connection.test.ts +++ b/packages/compass-e2e-tests/tests/connection.test.ts @@ -326,8 +326,6 @@ describe('Connection string', function () { }); it('fails for authentication errors', async function () { - skipForWeb(this, 'connect happens on the outside'); - // connect await browser.connectWithConnectionString( `mongodb://a:b@127.0.0.1:${MONGODB_TEST_SERVER_PORT}/test`, @@ -670,7 +668,10 @@ describe('Connection form', function () { let browser: CompassBrowser; before(async function () { - skipForWeb(this, 'connect form not available in compass-web'); + skipForWeb( + this, + 'connection form is not used meaningfully outside of the local dev sandbox environment' + ); compass = await init(this.test?.fullTitle()); browser = compass.browser; diff --git a/packages/compass-e2e-tests/tests/oidc.test.ts b/packages/compass-e2e-tests/tests/oidc.test.ts index e4bfb8251dc..c626e8aa6df 100644 --- a/packages/compass-e2e-tests/tests/oidc.test.ts +++ b/packages/compass-e2e-tests/tests/oidc.test.ts @@ -84,7 +84,10 @@ describe('OIDC integration', function () { let isFirstRun = true; before(async function () { - skipForWeb(this, 'feature flags not yet available in compass-web'); + skipForWeb( + this, + 'OIDC authentication type is not supported in compass-web' + ); // OIDC is only supported on Linux in the 7.0+ enterprise server. // Test locally by setting OIDC_MOCK_HOSTNAME, OIDC_MOCK_PORT and OIDC_CONNECTION_STRING diff --git a/packages/compass-e2e-tests/tests/protect-connection-strings.test.ts b/packages/compass-e2e-tests/tests/protect-connection-strings.test.ts index 21a18ed3189..2dcf921c4cd 100644 --- a/packages/compass-e2e-tests/tests/protect-connection-strings.test.ts +++ b/packages/compass-e2e-tests/tests/protect-connection-strings.test.ts @@ -51,7 +51,10 @@ describe('protectConnectionStrings', function () { let browser: CompassBrowser; before(async function () { - skipForWeb(this, 'connection form not available in compass-web'); + skipForWeb( + this, + 'connection form is not used meaningfully outside of the local dev sandbox environment' + ); compass = await init(this.test?.fullTitle()); browser = compass.browser; diff --git a/packages/compass-e2e-tests/tests/show-kerberos-password-field.test.ts b/packages/compass-e2e-tests/tests/show-kerberos-password-field.test.ts index dd05b6495c6..d08dd7d5bb2 100644 --- a/packages/compass-e2e-tests/tests/show-kerberos-password-field.test.ts +++ b/packages/compass-e2e-tests/tests/show-kerberos-password-field.test.ts @@ -16,7 +16,10 @@ describe('showKerberosPasswordField', function () { let browser: CompassBrowser; before(async function () { - skipForWeb(this, 'connection form unavailable on compass-web'); + skipForWeb( + this, + 'kerberos authentication type is not supported in compass-web' + ); compass = await init(this.test?.fullTitle()); browser = compass.browser; diff --git a/packages/compass-e2e-tests/tests/tabs.test.ts b/packages/compass-e2e-tests/tests/tabs.test.ts index 220ed6e3d66..2e7a55ee36f 100644 --- a/packages/compass-e2e-tests/tests/tabs.test.ts +++ b/packages/compass-e2e-tests/tests/tabs.test.ts @@ -6,6 +6,7 @@ import { DEFAULT_CONNECTION_NAME_1, DEFAULT_CONNECTION_NAME_2, TEST_MULTIPLE_CONNECTIONS, + TEST_COMPASS_WEB, } from '../helpers/compass'; import type { Compass } from '../helpers/compass'; import * as Selectors from '../helpers/selectors'; @@ -179,8 +180,11 @@ describe('Global Tabs', function () { Selectors.queryBarApplyFilterButton('Documents') ); - // workspace 3: My Qeries - await browser.navigateToMyQueries(); + // My Queries tab not supported by compass-web + if (!TEST_COMPASS_WEB) { + // workspace 3: My Queries + await browser.navigateToMyQueries(); + } const workspace1Options = { connectionName: DEFAULT_CONNECTION_NAME_1, @@ -208,9 +212,11 @@ describe('Global Tabs', function () { type: 'My Queries', }; - expect( - await browser.$(Selectors.workspaceTab(workspace3Options)).isExisting() - ).to.be.true; + if (!TEST_COMPASS_WEB) { + expect( + await browser.$(Selectors.workspaceTab(workspace3Options)).isExisting() + ).to.be.true; + } // disconnect one connection @@ -232,9 +238,11 @@ describe('Global Tabs', function () { await browser.$(Selectors.workspaceTab(workspace2Options)).isExisting() ).to.be.true; - // the My Queries workspace should still be there - expect( - await browser.$(Selectors.workspaceTab(workspace3Options)).isExisting() - ).to.be.true; + if (!TEST_COMPASS_WEB) { + // the My Queries workspace should still be there + expect( + await browser.$(Selectors.workspaceTab(workspace3Options)).isExisting() + ).to.be.true; + } }); }); diff --git a/packages/compass-sidebar/src/components/legacy/sidebar.tsx b/packages/compass-sidebar/src/components/legacy/sidebar.tsx index c022e7f6273..61bc871f409 100644 --- a/packages/compass-sidebar/src/components/legacy/sidebar.tsx +++ b/packages/compass-sidebar/src/components/legacy/sidebar.tsx @@ -59,7 +59,7 @@ const navigationItemsContainerStyles = css({ // eslint-disable-next-line no-empty-pattern export function Sidebar({ - showConnectionInfo = true, + showSidebarHeader = true, activeWorkspace, connectionInfo, setConnectionIsCSFLEEnabled, @@ -67,7 +67,7 @@ export function Sidebar({ csfleMode, onSidebarAction, }: { - showConnectionInfo?: boolean; + showSidebarHeader?: boolean; activeWorkspace: WorkspaceTab | null; connectionInfo: ConnectionInfo; setConnectionIsCSFLEEnabled: (connectionId: string, enabled: boolean) => void; @@ -175,7 +175,7 @@ export function Sidebar({ className={sidebarStyles} > <> - {showConnectionInfo && ( + {showSidebarHeader && (
= ({ return (
-
+
Connections {connections.length !== 0 && ( diff --git a/packages/compass-sidebar/src/components/multiple-connections/sidebar.tsx b/packages/compass-sidebar/src/components/multiple-connections/sidebar.tsx index 7e7f83baf12..db43463a358 100644 --- a/packages/compass-sidebar/src/components/multiple-connections/sidebar.tsx +++ b/packages/compass-sidebar/src/components/multiple-connections/sidebar.tsx @@ -51,6 +51,7 @@ type MultipleConnectionSidebarProps = { activeWorkspace: WorkspaceTab | null; onConnectionCsfleModeChanged(connectionId: string, isEnabled: boolean): void; onSidebarAction(action: string, ...rest: any[]): void; + showSidebarHeader?: boolean; }; const sidebarStyles = css({ @@ -89,6 +90,7 @@ export function MultipleConnectionSidebar({ activeWorkspace, onSidebarAction, onConnectionCsfleModeChanged, + showSidebarHeader = true, }: MultipleConnectionSidebarProps) { const [csfleModalConnectionId, setCsfleModalConnectionId] = useState< string | undefined @@ -181,9 +183,13 @@ export function MultipleConnectionSidebar({ return (
- {connections.length ? ( + {connections.length > 0 && ( <> = ({ expanded={expanded} /> - ) : ( + )} + {connections.length === 0 && (
You have not connected to any deployments. - + {enableCreatingNewConnections && ( + + )}
)}
diff --git a/packages/compass-sidebar/src/components/multiple-connections/sidebar.tsx b/packages/compass-sidebar/src/components/multiple-connections/sidebar.tsx index db43463a358..3ad5238b987 100644 --- a/packages/compass-sidebar/src/components/multiple-connections/sidebar.tsx +++ b/packages/compass-sidebar/src/components/multiple-connections/sidebar.tsx @@ -52,6 +52,9 @@ type MultipleConnectionSidebarProps = { onConnectionCsfleModeChanged(connectionId: string, isEnabled: boolean): void; onSidebarAction(action: string, ...rest: any[]): void; showSidebarHeader?: boolean; + onOpenConnectViaModal?: ( + atlasMetadata: ConnectionInfo['atlasMetadata'] + ) => void; }; const sidebarStyles = css({ @@ -91,6 +94,7 @@ export function MultipleConnectionSidebar({ onSidebarAction, onConnectionCsfleModeChanged, showSidebarHeader = true, + onOpenConnectViaModal, }: MultipleConnectionSidebarProps) { const [csfleModalConnectionId, setCsfleModalConnectionId] = useState< string | undefined @@ -220,6 +224,7 @@ export function MultipleConnectionSidebar({ onOpenNonGenuineMongoDBModal={(connectionId: string) => { showNonGenuineMongoDBWarningModal(connectionId); }} + onOpenConnectViaModal={onOpenConnectViaModal} /> {editingConnectionInfo && ( void; } const SidebarPlugin: React.FunctionComponent = ({ showSidebarHeader, + onOpenConnectViaModal, }) => { const isMultiConnectionEnabled = usePreference( 'enableMultipleConnectionSystem' @@ -47,6 +52,7 @@ const SidebarPlugin: React.FunctionComponent = ({ )} {!isMultiConnectionEnabled && connectionInfo && ( diff --git a/packages/compass-web/sandbox/index.tsx b/packages/compass-web/sandbox/index.tsx index 211235bb046..8dcd4eba587 100644 --- a/packages/compass-web/sandbox/index.tsx +++ b/packages/compass-web/sandbox/index.tsx @@ -49,6 +49,7 @@ const App = () => { enableAtlasSearchIndexes: !isAtlas, maximumNumberOfActiveConnections: isAtlas ? 10 : undefined, atlasServiceBackendPreset: atlasServiceSandboxBackendVariant, + enableCreatingNewConnections: !isAtlas, }} onTrack={sandboxTelemetry.track} onDebug={sandboxLogger.debug} diff --git a/packages/compass-web/src/entrypoint.spec.tsx b/packages/compass-web/src/entrypoint.spec.tsx index e7de7de6feb..d14396b0218 100644 --- a/packages/compass-web/src/entrypoint.spec.tsx +++ b/packages/compass-web/src/entrypoint.spec.tsx @@ -65,6 +65,10 @@ describe('CompassWeb', function () { onActiveWorkspaceTabChange={() => {}} onTrack={onTrackSpy} {...props} + initialPreferences={{ + enableCreatingNewConnections: true, + ...props.initialPreferences, + }} > ); diff --git a/packages/compass-web/src/entrypoint.tsx b/packages/compass-web/src/entrypoint.tsx index c924777e5c7..dd693b548a6 100644 --- a/packages/compass-web/src/entrypoint.tsx +++ b/packages/compass-web/src/entrypoint.tsx @@ -3,6 +3,7 @@ import AppRegistry, { AppRegistryProvider, GlobalAppRegistryProvider, } from 'hadron-app-registry'; +import type { ConnectionInfo } from '@mongodb-js/compass-connections/provider'; import { useConnectionActions } from '@mongodb-js/compass-connections/provider'; import { CompassInstanceStorePlugin } from '@mongodb-js/compass-app-stores'; import type { OpenWorkspaceOptions } from '@mongodb-js/compass-workspaces'; @@ -74,7 +75,11 @@ const WithAtlasProviders: React.FC = ({ children }) => { type CompassWorkspaceProps = Pick< React.ComponentProps, 'initialWorkspaceTabs' | 'onActiveWorkspaceTabChange' ->; +> & + Pick< + React.ComponentProps, + 'onOpenConnectViaModal' + >; type CompassWebProps = { /** @@ -138,11 +143,21 @@ type CompassWebProps = { * Callback prop called for every track event inside Compass */ onTrack?: TrackFunction; + + /** + * Callback prop that will be called with atlas metadata for a certain cluster + * when the action is selected from the sidebar actions. Should be used to + * show the Atlas Cloud "Connect" modal + */ + onOpenConnectViaModal?: ( + atlasMetadata: ConnectionInfo['atlasMetadata'] + ) => void; }; function CompassWorkspace({ initialWorkspaceTabs, onActiveWorkspaceTabChange, + onOpenConnectViaModal, }: CompassWorkspaceProps) { return ( ); }} @@ -239,6 +255,7 @@ const CompassWeb = ({ onLog, onDebug, onTrack, + onOpenConnectViaModal, }: CompassWebProps) => { const appRegistry = useRef(new AppRegistry()); const logger = useCompassWebLoggerAndTelemetry({ @@ -262,6 +279,7 @@ const CompassWeb = ({ maximumNumberOfActiveConnections: 10, trackUsageStatistics: true, enableShell: false, + enableCreatingNewConnections: false, ...initialPreferences, }) ); @@ -328,7 +346,7 @@ const CompassWeb = ({ mongoLogId(1_001_000_329), 'Compass Web', 'Could not load connections when trying to autoconnect', - { err: (err as any).message } + { err: err.message } ); return undefined; } @@ -347,6 +365,7 @@ const CompassWeb = ({ onActiveWorkspaceTabChange={ onActiveWorkspaceTabChange } + onOpenConnectViaModal={onOpenConnectViaModal} /> diff --git a/packages/compass-welcome/src/components/welcome-tab.tsx b/packages/compass-welcome/src/components/welcome-tab.tsx index 96c995ff6ee..cadb2c28323 100644 --- a/packages/compass-welcome/src/components/welcome-tab.tsx +++ b/packages/compass-welcome/src/components/welcome-tab.tsx @@ -17,6 +17,7 @@ import { } from '@mongodb-js/compass-components'; import { useTelemetry } from '@mongodb-js/compass-telemetry/provider'; import { useConnections } from '@mongodb-js/compass-connections/provider'; +import { usePreference } from 'compass-preferences-model/provider'; const sectionContainerStyles = css({ margin: 0, @@ -218,6 +219,9 @@ function WelcomeImage() { export default function WelcomeTab() { const { createNewConnection } = useConnections(); + const enableCreatingNewConnections = usePreference( + 'enableCreatingNewConnections' + ); return (
@@ -226,17 +230,23 @@ export default function WelcomeTab() {

Welcome to MongoDB Compass

- To get started, connect to an existing server or - - + {enableCreatingNewConnections ? ( + <> + To get started, connect to an existing server or + + + + ) : ( + To get started, connect to an existing server + )}
); From 5716f582fdb80c1a547c6305eb0b9fde85b3b9e1 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 2 Sep 2024 08:48:58 +0000 Subject: [PATCH 12/13] chore: update AUTHORS, THIRD-PARTY-NOTICES, Security Test Summary (#6182) Update report Co-authored-by: gribnoysup <5036933+gribnoysup@users.noreply.github.com> --- THIRD-PARTY-NOTICES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/THIRD-PARTY-NOTICES.md b/THIRD-PARTY-NOTICES.md index 7d172e674f9..c76fc7f38a1 100644 --- a/THIRD-PARTY-NOTICES.md +++ b/THIRD-PARTY-NOTICES.md @@ -1,5 +1,5 @@ The following third-party software is used by and included in **Mongodb Compass**. -This document was automatically generated on Sun Sep 01 2024. +This document was automatically generated on Mon Sep 02 2024. ## List of dependencies From dd7190e88fc1edb7508efb48b6009b38843e3441 Mon Sep 17 00:00:00 2001 From: svc-devtoolsbot <79531021+svc-devtoolsbot@users.noreply.github.com> Date: Mon, 2 Sep 2024 04:50:42 -0400 Subject: [PATCH 13/13] chore(release): bump package versions (#6181) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- package-lock.json | 710 +++++++++--------- packages/atlas-service/package.json | 4 +- packages/compass-aggregations/package.json | 20 +- packages/compass-app-stores/package.json | 4 +- packages/compass-collection/package.json | 10 +- .../package.json | 8 +- .../package.json | 10 +- packages/compass-connections/package.json | 10 +- packages/compass-crud/package.json | 16 +- packages/compass-e2e-tests/package.json | 4 +- packages/compass-explain-plan/package.json | 8 +- .../compass-export-to-language/package.json | 10 +- packages/compass-field-store/package.json | 4 +- packages/compass-generative-ai/package.json | 8 +- packages/compass-import-export/package.json | 8 +- packages/compass-indexes/package.json | 16 +- packages/compass-intercom/package.json | 4 +- .../package.json | 4 +- .../compass-preferences-model/package.json | 2 +- packages/compass-query-bar/package.json | 16 +- .../package.json | 12 +- .../compass-schema-validation/package.json | 14 +- packages/compass-schema/package.json | 14 +- packages/compass-serverstats/package.json | 8 +- packages/compass-settings/package.json | 8 +- packages/compass-shell/package.json | 8 +- packages/compass-sidebar/package.json | 18 +- packages/compass-web/package.json | 42 +- packages/compass-welcome/package.json | 8 +- packages/compass-workspaces/package.json | 8 +- packages/compass/package.json | 54 +- packages/connection-form/package.json | 4 +- packages/connection-storage/package.json | 4 +- .../databases-collections-list/package.json | 8 +- packages/databases-collections/package.json | 12 +- 35 files changed, 549 insertions(+), 549 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8e29a078641..fe7ac551620 100644 --- a/package-lock.json +++ b/package-lock.json @@ -44079,7 +44079,7 @@ }, "packages/atlas-service": { "name": "@mongodb-js/atlas-service", - "version": "0.28.0", + "version": "0.28.1", "license": "SSPL", "dependencies": { "@mongodb-js/compass-components": "^1.29.2", @@ -44090,7 +44090,7 @@ "@mongodb-js/devtools-connect": "^3.2.6", "@mongodb-js/devtools-proxy-support": "^0.3.6", "@mongodb-js/oidc-plugin": "^1.1.1", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "electron": "^30.4.0", "hadron-app-registry": "^9.2.4", "hadron-ipc": "^3.2.21", @@ -44309,38 +44309,38 @@ "devDependencies": { "@electron/rebuild": "^3.6.0", "@electron/remote": "^2.1.2", - "@mongodb-js/atlas-service": "^0.28.0", - "@mongodb-js/compass-aggregations": "^9.42.0", - "@mongodb-js/compass-app-stores": "^7.26.0", - "@mongodb-js/compass-collection": "^4.39.0", + "@mongodb-js/atlas-service": "^0.28.1", + "@mongodb-js/compass-aggregations": "^9.42.1", + "@mongodb-js/compass-app-stores": "^7.26.1", + "@mongodb-js/compass-collection": "^4.39.1", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connection-import-export": "^0.36.0", - "@mongodb-js/compass-connections": "^1.40.0", - "@mongodb-js/compass-crud": "^13.40.0", - "@mongodb-js/compass-databases-collections": "^1.39.0", - "@mongodb-js/compass-explain-plan": "^6.40.0", - "@mongodb-js/compass-export-to-language": "^9.16.0", - "@mongodb-js/compass-field-store": "^9.15.0", + "@mongodb-js/compass-connection-import-export": "^0.36.1", + "@mongodb-js/compass-connections": "^1.40.1", + "@mongodb-js/compass-crud": "^13.40.1", + "@mongodb-js/compass-databases-collections": "^1.39.1", + "@mongodb-js/compass-explain-plan": "^6.40.1", + "@mongodb-js/compass-export-to-language": "^9.16.1", + "@mongodb-js/compass-field-store": "^9.15.1", "@mongodb-js/compass-find-in-page": "^4.30.2", - "@mongodb-js/compass-generative-ai": "^0.22.0", - "@mongodb-js/compass-import-export": "^7.39.0", - "@mongodb-js/compass-indexes": "^5.39.0", - "@mongodb-js/compass-intercom": "^0.12.0", + "@mongodb-js/compass-generative-ai": "^0.22.1", + "@mongodb-js/compass-import-export": "^7.39.1", + "@mongodb-js/compass-indexes": "^5.39.1", + "@mongodb-js/compass-intercom": "^0.12.1", "@mongodb-js/compass-logging": "^1.4.5", - "@mongodb-js/compass-query-bar": "^8.41.0", - "@mongodb-js/compass-saved-aggregations-queries": "^1.40.0", - "@mongodb-js/compass-schema": "^6.41.0", - "@mongodb-js/compass-schema-validation": "^6.40.0", - "@mongodb-js/compass-serverstats": "^16.39.0", - "@mongodb-js/compass-settings": "^0.40.0", - "@mongodb-js/compass-shell": "^3.39.0", - "@mongodb-js/compass-sidebar": "^5.40.0", + "@mongodb-js/compass-query-bar": "^8.41.1", + "@mongodb-js/compass-saved-aggregations-queries": "^1.40.1", + "@mongodb-js/compass-schema": "^6.41.1", + "@mongodb-js/compass-schema-validation": "^6.40.1", + "@mongodb-js/compass-serverstats": "^16.39.1", + "@mongodb-js/compass-settings": "^0.40.1", + "@mongodb-js/compass-shell": "^3.39.1", + "@mongodb-js/compass-sidebar": "^5.40.1", "@mongodb-js/compass-telemetry": "^1.1.5", "@mongodb-js/compass-utils": "^0.6.10", - "@mongodb-js/compass-welcome": "^0.38.0", - "@mongodb-js/compass-workspaces": "^0.21.0", + "@mongodb-js/compass-welcome": "^0.38.1", + "@mongodb-js/compass-workspaces": "^0.21.1", "@mongodb-js/connection-info": "^0.6.1", - "@mongodb-js/connection-storage": "^0.19.0", + "@mongodb-js/connection-storage": "^0.19.1", "@mongodb-js/devtools-proxy-support": "^0.3.6", "@mongodb-js/eslint-config-compass": "^1.1.5", "@mongodb-js/get-os-info": "^0.3.24", @@ -44357,7 +44357,7 @@ "chai": "^4.3.4", "chalk": "^4.1.2", "clean-stack": "^2.0.0", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "debug": "^4.3.4", "depcheck": "^1.4.1", "electron": "^30.4.0", @@ -44398,7 +44398,7 @@ }, "packages/compass-aggregations": { "name": "@mongodb-js/compass-aggregations", - "version": "9.42.0", + "version": "9.42.1", "license": "SSPL", "dependencies": { "@babel/generator": "^7.19.5", @@ -44407,25 +44407,25 @@ "@dnd-kit/core": "^6.0.7", "@dnd-kit/sortable": "^7.0.2", "@dnd-kit/utilities": "^3.2.1", - "@mongodb-js/atlas-service": "^0.28.0", - "@mongodb-js/compass-app-stores": "^7.26.0", - "@mongodb-js/compass-collection": "^4.39.0", + "@mongodb-js/atlas-service": "^0.28.1", + "@mongodb-js/compass-app-stores": "^7.26.1", + "@mongodb-js/compass-collection": "^4.39.1", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", - "@mongodb-js/compass-crud": "^13.40.0", + "@mongodb-js/compass-connections": "^1.40.1", + "@mongodb-js/compass-crud": "^13.40.1", "@mongodb-js/compass-editor": "^0.29.2", - "@mongodb-js/compass-field-store": "^9.15.0", - "@mongodb-js/compass-generative-ai": "^0.22.0", + "@mongodb-js/compass-field-store": "^9.15.1", + "@mongodb-js/compass-generative-ai": "^0.22.1", "@mongodb-js/compass-logging": "^1.4.5", "@mongodb-js/compass-telemetry": "^1.1.5", "@mongodb-js/compass-utils": "^0.6.10", - "@mongodb-js/compass-workspaces": "^0.21.0", + "@mongodb-js/compass-workspaces": "^0.21.1", "@mongodb-js/explain-plan-helper": "^1.2.1", "@mongodb-js/mongodb-constants": "^0.10.0", "@mongodb-js/my-queries-storage": "^0.15.2", "@mongodb-js/shell-bson-parser": "^1.1.2", "bson": "^6.7.0", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "hadron-app-registry": "^9.2.4", "hadron-document": "^8.6.1", "hadron-type-checker": "^7.2.2", @@ -44510,11 +44510,11 @@ }, "packages/compass-app-stores": { "name": "@mongodb-js/compass-app-stores", - "version": "7.26.0", + "version": "7.26.1", "license": "SSPL", "dependencies": { "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", + "@mongodb-js/compass-connections": "^1.40.1", "@mongodb-js/compass-logging": "^1.4.5", "@mongodb-js/connection-info": "^0.6.1", "hadron-app-registry": "^9.2.4", @@ -44573,18 +44573,18 @@ }, "packages/compass-collection": { "name": "@mongodb-js/compass-collection", - "version": "4.39.0", + "version": "4.39.1", "license": "SSPL", "dependencies": { - "@mongodb-js/compass-app-stores": "^7.26.0", + "@mongodb-js/compass-app-stores": "^7.26.1", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", + "@mongodb-js/compass-connections": "^1.40.1", "@mongodb-js/compass-logging": "^1.4.5", "@mongodb-js/compass-telemetry": "^1.1.5", - "@mongodb-js/compass-workspaces": "^0.21.0", + "@mongodb-js/compass-workspaces": "^0.21.1", "@mongodb-js/connection-info": "^0.6.1", "@mongodb-js/mongodb-constants": "^0.10.2", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "hadron-app-registry": "^9.2.4", "mongodb-collection-model": "^5.23.1", "mongodb-ns": "^2.4.2", @@ -44773,13 +44773,13 @@ }, "packages/compass-connection-import-export": { "name": "@mongodb-js/compass-connection-import-export", - "version": "0.36.0", + "version": "0.36.1", "license": "SSPL", "dependencies": { "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", - "@mongodb-js/connection-storage": "^0.19.0", - "compass-preferences-model": "^2.28.0", + "@mongodb-js/compass-connections": "^1.40.1", + "@mongodb-js/connection-storage": "^0.19.1", + "compass-preferences-model": "^2.28.1", "hadron-ipc": "^3.2.21", "react": "^17.0.2" }, @@ -44838,19 +44838,19 @@ }, "packages/compass-connections": { "name": "@mongodb-js/compass-connections", - "version": "1.40.0", + "version": "1.40.1", "license": "SSPL", "dependencies": { "@mongodb-js/compass-components": "^1.29.2", "@mongodb-js/compass-logging": "^1.4.5", - "@mongodb-js/compass-maybe-protect-connection-string": "^0.26.0", + "@mongodb-js/compass-maybe-protect-connection-string": "^0.26.1", "@mongodb-js/compass-telemetry": "^1.1.5", "@mongodb-js/compass-utils": "^0.6.10", - "@mongodb-js/connection-form": "^1.38.0", + "@mongodb-js/connection-form": "^1.38.1", "@mongodb-js/connection-info": "^0.6.1", - "@mongodb-js/connection-storage": "^0.19.0", + "@mongodb-js/connection-storage": "^0.19.1", "bson": "^6.7.0", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "hadron-app-registry": "^9.2.4", "lodash": "^4.17.21", "mongodb-build-info": "^1.7.2", @@ -44889,15 +44889,15 @@ }, "packages/compass-connections-navigation": { "name": "@mongodb-js/compass-connections-navigation", - "version": "1.39.0", + "version": "1.39.1", "license": "SSPL", "dependencies": { "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", - "@mongodb-js/compass-workspaces": "^0.21.0", - "@mongodb-js/connection-form": "^1.38.0", + "@mongodb-js/compass-connections": "^1.40.1", + "@mongodb-js/compass-workspaces": "^0.21.1", + "@mongodb-js/connection-form": "^1.38.1", "@mongodb-js/connection-info": "^0.6.1", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "mongodb-build-info": "^1.7.2", "react": "^17.0.2", "react-virtualized-auto-sizer": "^1.0.6", @@ -44985,19 +44985,19 @@ }, "packages/compass-crud": { "name": "@mongodb-js/compass-crud", - "version": "13.40.0", + "version": "13.40.1", "license": "SSPL", "dependencies": { - "@mongodb-js/compass-app-stores": "^7.26.0", - "@mongodb-js/compass-collection": "^4.39.0", + "@mongodb-js/compass-app-stores": "^7.26.1", + "@mongodb-js/compass-collection": "^4.39.1", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", + "@mongodb-js/compass-connections": "^1.40.1", "@mongodb-js/compass-editor": "^0.29.2", - "@mongodb-js/compass-field-store": "^9.15.0", + "@mongodb-js/compass-field-store": "^9.15.1", "@mongodb-js/compass-logging": "^1.4.5", - "@mongodb-js/compass-query-bar": "^8.41.0", + "@mongodb-js/compass-query-bar": "^8.41.1", "@mongodb-js/compass-telemetry": "^1.1.5", - "@mongodb-js/compass-workspaces": "^0.21.0", + "@mongodb-js/compass-workspaces": "^0.21.1", "@mongodb-js/explain-plan-helper": "^1.2.1", "@mongodb-js/my-queries-storage": "^0.15.2", "@mongodb-js/reflux-state-mixin": "^1.0.5", @@ -45005,7 +45005,7 @@ "ag-grid-community": "^20.2.0", "ag-grid-react": "^20.2.0", "bson": "^6.7.0", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "hadron-app-registry": "^9.2.4", "hadron-document": "^8.6.1", "hadron-type-checker": "^7.2.2", @@ -45080,7 +45080,7 @@ } }, "packages/compass-e2e-tests": { - "version": "1.26.0", + "version": "1.26.1", "devDependencies": { "@electron/rebuild": "^3.6.0", "@mongodb-js/compass-test-server": "^0.1.20", @@ -45097,7 +45097,7 @@ "chai": "^4.3.4", "chai-as-promised": "^7.1.1", "clipboardy": "^2.3.0", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "cross-spawn": "^7.0.3", "debug": "^4.3.4", "depcheck": "^1.4.1", @@ -45450,17 +45450,17 @@ }, "packages/compass-explain-plan": { "name": "@mongodb-js/compass-explain-plan", - "version": "6.40.0", + "version": "6.40.1", "license": "SSPL", "dependencies": { - "@mongodb-js/compass-collection": "^4.39.0", + "@mongodb-js/compass-collection": "^4.39.1", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", + "@mongodb-js/compass-connections": "^1.40.1", "@mongodb-js/compass-editor": "^0.29.2", "@mongodb-js/compass-logging": "^1.4.5", "@mongodb-js/compass-telemetry": "^1.1.5", "@mongodb-js/explain-plan-helper": "^1.2.1", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "d3": "^3.5.17", "d3-flextree": "^2.1.2", "d3-hierarchy": "^3.1.2", @@ -45529,18 +45529,18 @@ }, "packages/compass-export-to-language": { "name": "@mongodb-js/compass-export-to-language", - "version": "9.16.0", + "version": "9.16.1", "license": "SSPL", "dependencies": { - "@mongodb-js/compass-collection": "^4.39.0", + "@mongodb-js/compass-collection": "^4.39.1", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", + "@mongodb-js/compass-connections": "^1.40.1", "@mongodb-js/compass-editor": "^0.29.2", - "@mongodb-js/compass-maybe-protect-connection-string": "^0.26.0", + "@mongodb-js/compass-maybe-protect-connection-string": "^0.26.1", "@mongodb-js/compass-telemetry": "^1.1.5", "@mongodb-js/shell-bson-parser": "^1.1.2", "bson-transpilers": "^3.0.7", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "hadron-app-registry": "^9.2.4", "mongodb-ns": "^2.4.2", "react": "^17.0.2", @@ -45594,10 +45594,10 @@ }, "packages/compass-field-store": { "name": "@mongodb-js/compass-field-store", - "version": "9.15.0", + "version": "9.15.1", "license": "SSPL", "dependencies": { - "@mongodb-js/compass-connections": "^1.40.0", + "@mongodb-js/compass-connections": "^1.40.1", "@mongodb-js/compass-logging": "^1.4.5", "hadron-app-registry": "^9.2.4", "lodash": "^4.17.21", @@ -45723,15 +45723,15 @@ }, "packages/compass-generative-ai": { "name": "@mongodb-js/compass-generative-ai", - "version": "0.22.0", + "version": "0.22.1", "license": "SSPL", "dependencies": { - "@mongodb-js/atlas-service": "^0.28.0", + "@mongodb-js/atlas-service": "^0.28.1", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-intercom": "^0.12.0", + "@mongodb-js/compass-intercom": "^0.12.1", "@mongodb-js/compass-logging": "^1.4.5", "bson": "^6.7.0", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "hadron-app-registry": "^9.2.4", "mongodb": "^6.8.0", "mongodb-schema": "^12.2.0", @@ -45897,19 +45897,19 @@ }, "packages/compass-import-export": { "name": "@mongodb-js/compass-import-export", - "version": "7.39.0", + "version": "7.39.1", "license": "SSPL", "dependencies": { "@electron/remote": "^2.1.2", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", + "@mongodb-js/compass-connections": "^1.40.1", "@mongodb-js/compass-editor": "^0.29.2", "@mongodb-js/compass-logging": "^1.4.5", "@mongodb-js/compass-telemetry": "^1.1.5", "@mongodb-js/compass-utils": "^0.6.10", - "@mongodb-js/compass-workspaces": "^0.21.0", + "@mongodb-js/compass-workspaces": "^0.21.1", "bson": "^6.7.0", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "debug": "^4.3.4", "electron": "^30.4.0", "hadron-app-registry": "^9.2.4", @@ -45992,23 +45992,23 @@ }, "packages/compass-indexes": { "name": "@mongodb-js/compass-indexes", - "version": "5.39.0", + "version": "5.39.1", "license": "SSPL", "dependencies": { - "@mongodb-js/compass-app-stores": "^7.26.0", - "@mongodb-js/compass-collection": "^4.39.0", + "@mongodb-js/compass-app-stores": "^7.26.1", + "@mongodb-js/compass-collection": "^4.39.1", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", + "@mongodb-js/compass-connections": "^1.40.1", "@mongodb-js/compass-editor": "^0.29.2", - "@mongodb-js/compass-field-store": "^9.15.0", + "@mongodb-js/compass-field-store": "^9.15.1", "@mongodb-js/compass-logging": "^1.4.5", "@mongodb-js/compass-telemetry": "^1.1.5", - "@mongodb-js/compass-workspaces": "^0.21.0", - "@mongodb-js/connection-storage": "^0.19.0", + "@mongodb-js/compass-workspaces": "^0.21.1", + "@mongodb-js/connection-storage": "^0.19.1", "@mongodb-js/mongodb-constants": "^0.10.0", "@mongodb-js/shell-bson-parser": "^1.1.2", "bson": "^6.7.0", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "hadron-app-registry": "^9.2.4", "lodash": "^4.17.21", "mongodb": "^6.8.0", @@ -46120,11 +46120,11 @@ }, "packages/compass-intercom": { "name": "@mongodb-js/compass-intercom", - "version": "0.12.0", + "version": "0.12.1", "license": "SSPL", "dependencies": { "@mongodb-js/compass-logging": "^1.4.5", - "compass-preferences-model": "^2.28.0" + "compass-preferences-model": "^2.28.1" }, "devDependencies": { "@mongodb-js/eslint-config-compass": "^1.1.5", @@ -46285,10 +46285,10 @@ }, "packages/compass-maybe-protect-connection-string": { "name": "@mongodb-js/compass-maybe-protect-connection-string", - "version": "0.26.0", + "version": "0.26.1", "license": "SSPL", "dependencies": { - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "mongodb-connection-string-url": "^3.0.1" }, "devDependencies": { @@ -46338,7 +46338,7 @@ } }, "packages/compass-preferences-model": { - "version": "2.28.0", + "version": "2.28.1", "license": "SSPL", "dependencies": { "@mongodb-js/compass-logging": "^1.4.5", @@ -46470,23 +46470,23 @@ }, "packages/compass-query-bar": { "name": "@mongodb-js/compass-query-bar", - "version": "8.41.0", + "version": "8.41.1", "license": "SSPL", "dependencies": { - "@mongodb-js/atlas-service": "^0.28.0", - "@mongodb-js/compass-app-stores": "^7.26.0", - "@mongodb-js/compass-collection": "^4.39.0", + "@mongodb-js/atlas-service": "^0.28.1", + "@mongodb-js/compass-app-stores": "^7.26.1", + "@mongodb-js/compass-collection": "^4.39.1", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", + "@mongodb-js/compass-connections": "^1.40.1", "@mongodb-js/compass-editor": "^0.29.2", - "@mongodb-js/compass-field-store": "^9.15.0", - "@mongodb-js/compass-generative-ai": "^0.22.0", + "@mongodb-js/compass-field-store": "^9.15.1", + "@mongodb-js/compass-generative-ai": "^0.22.1", "@mongodb-js/compass-logging": "^1.4.5", "@mongodb-js/compass-telemetry": "^1.1.5", "@mongodb-js/mongodb-constants": "^0.10.0", "@mongodb-js/my-queries-storage": "^0.15.2", "bson": "^6.7.0", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "hadron-app-registry": "^9.2.4", "lodash": "^4.17.21", "mongodb": "^6.8.0", @@ -46550,20 +46550,20 @@ }, "packages/compass-saved-aggregations-queries": { "name": "@mongodb-js/compass-saved-aggregations-queries", - "version": "1.40.0", + "version": "1.40.1", "license": "SSPL", "dependencies": { - "@mongodb-js/compass-app-stores": "^7.26.0", + "@mongodb-js/compass-app-stores": "^7.26.1", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", + "@mongodb-js/compass-connections": "^1.40.1", "@mongodb-js/compass-logging": "^1.4.5", "@mongodb-js/compass-telemetry": "^1.1.5", - "@mongodb-js/compass-workspaces": "^0.21.0", - "@mongodb-js/connection-form": "^1.38.0", + "@mongodb-js/compass-workspaces": "^0.21.1", + "@mongodb-js/connection-form": "^1.38.1", "@mongodb-js/connection-info": "^0.6.1", "@mongodb-js/my-queries-storage": "^0.15.2", "bson": "^6.7.0", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "fuse.js": "^6.5.3", "hadron-app-registry": "^9.2.4", "mongodb-ns": "^2.4.2", @@ -46628,20 +46628,20 @@ }, "packages/compass-schema": { "name": "@mongodb-js/compass-schema", - "version": "6.41.0", + "version": "6.41.1", "license": "SSPL", "dependencies": { - "@mongodb-js/compass-collection": "^4.39.0", + "@mongodb-js/compass-collection": "^4.39.1", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", - "@mongodb-js/compass-field-store": "^9.15.0", + "@mongodb-js/compass-connections": "^1.40.1", + "@mongodb-js/compass-field-store": "^9.15.1", "@mongodb-js/compass-logging": "^1.4.5", - "@mongodb-js/compass-query-bar": "^8.41.0", + "@mongodb-js/compass-query-bar": "^8.41.1", "@mongodb-js/compass-telemetry": "^1.1.5", - "@mongodb-js/connection-storage": "^0.19.0", + "@mongodb-js/connection-storage": "^0.19.1", "@mongodb-js/reflux-state-mixin": "^1.0.5", "bson": "^6.7.0", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "d3": "^3.5.17", "hadron-app-registry": "^9.2.4", "hadron-document": "^8.6.1", @@ -46688,20 +46688,20 @@ }, "packages/compass-schema-validation": { "name": "@mongodb-js/compass-schema-validation", - "version": "6.40.0", + "version": "6.40.1", "license": "SSPL", "dependencies": { - "@mongodb-js/compass-app-stores": "^7.26.0", - "@mongodb-js/compass-collection": "^4.39.0", + "@mongodb-js/compass-app-stores": "^7.26.1", + "@mongodb-js/compass-collection": "^4.39.1", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", - "@mongodb-js/compass-crud": "^13.40.0", + "@mongodb-js/compass-connections": "^1.40.1", + "@mongodb-js/compass-crud": "^13.40.1", "@mongodb-js/compass-editor": "^0.29.2", - "@mongodb-js/compass-field-store": "^9.15.0", + "@mongodb-js/compass-field-store": "^9.15.1", "@mongodb-js/compass-logging": "^1.4.5", "@mongodb-js/compass-telemetry": "^1.1.5", "bson": "^6.7.0", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "hadron-app-registry": "^9.2.4", "javascript-stringify": "^2.0.1", "lodash": "^4.17.21", @@ -46763,14 +46763,14 @@ }, "packages/compass-serverstats": { "name": "@mongodb-js/compass-serverstats", - "version": "16.39.0", + "version": "16.39.1", "license": "SSPL", "dependencies": { - "@mongodb-js/compass-app-stores": "^7.26.0", + "@mongodb-js/compass-app-stores": "^7.26.1", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", + "@mongodb-js/compass-connections": "^1.40.1", "@mongodb-js/compass-telemetry": "^1.1.5", - "@mongodb-js/compass-workspaces": "^0.21.0", + "@mongodb-js/compass-workspaces": "^0.21.1", "d3": "^3.5.17", "d3-timer": "^1.0.3", "debug": "^4.3.4", @@ -46812,14 +46812,14 @@ }, "packages/compass-settings": { "name": "@mongodb-js/compass-settings", - "version": "0.40.0", + "version": "0.40.1", "license": "SSPL", "dependencies": { - "@mongodb-js/atlas-service": "^0.28.0", + "@mongodb-js/atlas-service": "^0.28.1", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-generative-ai": "^0.22.0", + "@mongodb-js/compass-generative-ai": "^0.22.1", "@mongodb-js/compass-logging": "^1.4.5", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "hadron-app-registry": "^9.2.4", "hadron-ipc": "^3.2.21", "react": "^17.0.2", @@ -46882,21 +46882,21 @@ }, "packages/compass-shell": { "name": "@mongodb-js/compass-shell", - "version": "3.39.0", + "version": "3.39.1", "license": "SSPL", "dependencies": { "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", + "@mongodb-js/compass-connections": "^1.40.1", "@mongodb-js/compass-logging": "^1.4.5", "@mongodb-js/compass-telemetry": "^1.1.5", "@mongodb-js/compass-user-data": "^0.3.5", "@mongodb-js/compass-utils": "^0.6.10", - "@mongodb-js/compass-workspaces": "^0.21.0", + "@mongodb-js/compass-workspaces": "^0.21.1", "@mongosh/browser-repl": "^2.3.0", "@mongosh/logging": "^2.3.0", "@mongosh/node-runtime-worker-thread": "^2.3.0", "bson": "^6.7.0", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "hadron-app-registry": "^9.2.4", "react": "^17.0.2", "react-redux": "^8.1.3", @@ -46950,21 +46950,21 @@ }, "packages/compass-sidebar": { "name": "@mongodb-js/compass-sidebar", - "version": "5.40.0", + "version": "5.40.1", "license": "SSPL", "dependencies": { - "@mongodb-js/compass-app-stores": "^7.26.0", + "@mongodb-js/compass-app-stores": "^7.26.1", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connection-import-export": "^0.36.0", - "@mongodb-js/compass-connections": "^1.40.0", - "@mongodb-js/compass-connections-navigation": "^1.39.0", + "@mongodb-js/compass-connection-import-export": "^0.36.1", + "@mongodb-js/compass-connections": "^1.40.1", + "@mongodb-js/compass-connections-navigation": "^1.39.1", "@mongodb-js/compass-logging": "^1.4.5", - "@mongodb-js/compass-maybe-protect-connection-string": "^0.26.0", + "@mongodb-js/compass-maybe-protect-connection-string": "^0.26.1", "@mongodb-js/compass-telemetry": "^1.1.5", - "@mongodb-js/compass-workspaces": "^0.21.0", - "@mongodb-js/connection-form": "^1.38.0", + "@mongodb-js/compass-workspaces": "^0.21.1", + "@mongodb-js/connection-form": "^1.38.1", "@mongodb-js/connection-info": "^0.6.1", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "hadron-app-registry": "^9.2.4", "lodash": "^4.17.21", "mongodb": "^6.8.0", @@ -47326,31 +47326,31 @@ }, "packages/compass-web": { "name": "@mongodb-js/compass-web", - "version": "0.6.1", + "version": "0.6.2", "license": "SSPL", "devDependencies": { - "@mongodb-js/atlas-service": "^0.28.0", - "@mongodb-js/compass-aggregations": "^9.42.0", - "@mongodb-js/compass-app-stores": "^7.26.0", - "@mongodb-js/compass-collection": "^4.39.0", + "@mongodb-js/atlas-service": "^0.28.1", + "@mongodb-js/compass-aggregations": "^9.42.1", + "@mongodb-js/compass-app-stores": "^7.26.1", + "@mongodb-js/compass-collection": "^4.39.1", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", - "@mongodb-js/compass-crud": "^13.40.0", - "@mongodb-js/compass-databases-collections": "^1.39.0", - "@mongodb-js/compass-explain-plan": "^6.40.0", - "@mongodb-js/compass-export-to-language": "^9.16.0", - "@mongodb-js/compass-field-store": "^9.15.0", - "@mongodb-js/compass-generative-ai": "^0.22.0", - "@mongodb-js/compass-indexes": "^5.39.0", + "@mongodb-js/compass-connections": "^1.40.1", + "@mongodb-js/compass-crud": "^13.40.1", + "@mongodb-js/compass-databases-collections": "^1.39.1", + "@mongodb-js/compass-explain-plan": "^6.40.1", + "@mongodb-js/compass-export-to-language": "^9.16.1", + "@mongodb-js/compass-field-store": "^9.15.1", + "@mongodb-js/compass-generative-ai": "^0.22.1", + "@mongodb-js/compass-indexes": "^5.39.1", "@mongodb-js/compass-logging": "^1.4.5", - "@mongodb-js/compass-query-bar": "^8.41.0", - "@mongodb-js/compass-schema": "^6.41.0", - "@mongodb-js/compass-schema-validation": "^6.40.0", - "@mongodb-js/compass-sidebar": "^5.40.0", + "@mongodb-js/compass-query-bar": "^8.41.1", + "@mongodb-js/compass-schema": "^6.41.1", + "@mongodb-js/compass-schema-validation": "^6.40.1", + "@mongodb-js/compass-sidebar": "^5.40.1", "@mongodb-js/compass-telemetry": "^1.1.5", - "@mongodb-js/compass-welcome": "^0.38.0", - "@mongodb-js/compass-workspaces": "^0.21.0", - "@mongodb-js/connection-storage": "^0.19.0", + "@mongodb-js/compass-welcome": "^0.38.1", + "@mongodb-js/compass-workspaces": "^0.21.1", + "@mongodb-js/connection-storage": "^0.19.1", "@mongodb-js/eslint-config-compass": "^1.1.5", "@mongodb-js/mocha-config-compass": "^1.4.0", "@mongodb-js/prettier-config-compass": "^1.0.2", @@ -47370,7 +47370,7 @@ "bson": "^6.2.0", "buffer": "^6.0.3", "chai": "^4.3.6", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "crypto-browserify": "^3.12.0", "debug": "^4.3.4", "depcheck": "^1.4.1", @@ -47595,15 +47595,15 @@ }, "packages/compass-welcome": { "name": "@mongodb-js/compass-welcome", - "version": "0.38.0", + "version": "0.38.1", "license": "SSPL", "dependencies": { "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", + "@mongodb-js/compass-connections": "^1.40.1", "@mongodb-js/compass-logging": "^1.4.5", "@mongodb-js/compass-telemetry": "^1.1.5", - "@mongodb-js/compass-workspaces": "^0.21.0", - "compass-preferences-model": "^2.28.0", + "@mongodb-js/compass-workspaces": "^0.21.1", + "compass-preferences-model": "^2.28.1", "hadron-app-registry": "^9.2.4", "react": "^17.0.2", "redux": "^4.2.1", @@ -47664,15 +47664,15 @@ }, "packages/compass-workspaces": { "name": "@mongodb-js/compass-workspaces", - "version": "0.21.0", + "version": "0.21.1", "license": "SSPL", "dependencies": { - "@mongodb-js/compass-app-stores": "^7.26.0", + "@mongodb-js/compass-app-stores": "^7.26.1", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", + "@mongodb-js/compass-connections": "^1.40.1", "@mongodb-js/compass-logging": "^1.4.5", "bson": "^6.7.0", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "hadron-app-registry": "^9.2.4", "lodash": "^4.17.21", "mongodb-collection-model": "^5.23.1", @@ -47892,14 +47892,14 @@ }, "packages/connection-form": { "name": "@mongodb-js/connection-form", - "version": "1.38.0", + "version": "1.38.1", "license": "SSPL", "dependencies": { "@mongodb-js/compass-components": "^1.29.2", "@mongodb-js/compass-editor": "^0.29.2", "@mongodb-js/connection-info": "^0.6.1", "@mongodb-js/shell-bson-parser": "^1.1.2", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "lodash": "^4.17.21", "mongodb": "^6.8.0", "mongodb-build-info": "^1.7.2", @@ -48090,7 +48090,7 @@ }, "packages/connection-storage": { "name": "@mongodb-js/connection-storage", - "version": "0.19.0", + "version": "0.19.1", "license": "SSPL", "dependencies": { "@mongodb-js/compass-logging": "^1.4.5", @@ -48099,7 +48099,7 @@ "@mongodb-js/compass-utils": "^0.6.10", "@mongodb-js/connection-info": "^0.6.1", "bson": "^6.7.0", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "electron": "^30.4.0", "hadron-app-registry": "^9.2.4", "hadron-ipc": "^3.2.21", @@ -48467,19 +48467,19 @@ }, "packages/databases-collections": { "name": "@mongodb-js/compass-databases-collections", - "version": "1.39.0", + "version": "1.39.1", "license": "SSPL", "dependencies": { - "@mongodb-js/compass-app-stores": "^7.26.0", + "@mongodb-js/compass-app-stores": "^7.26.1", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", + "@mongodb-js/compass-connections": "^1.40.1", "@mongodb-js/compass-editor": "^0.29.2", "@mongodb-js/compass-logging": "^1.4.5", "@mongodb-js/compass-telemetry": "^1.1.5", - "@mongodb-js/compass-workspaces": "^0.21.0", - "@mongodb-js/databases-collections-list": "^1.37.0", + "@mongodb-js/compass-workspaces": "^0.21.1", + "@mongodb-js/databases-collections-list": "^1.37.1", "@mongodb-js/my-queries-storage": "^0.15.2", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "hadron-app-registry": "^9.2.4", "lodash": "^4.17.21", "mongodb-collection-model": "^5.23.1", @@ -48515,15 +48515,15 @@ }, "packages/databases-collections-list": { "name": "@mongodb-js/databases-collections-list", - "version": "1.37.0", + "version": "1.37.1", "license": "SSPL", "dependencies": { "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", + "@mongodb-js/compass-connections": "^1.40.1", "@mongodb-js/compass-telemetry": "^1.1.5", - "@mongodb-js/compass-workspaces": "^0.21.0", + "@mongodb-js/compass-workspaces": "^0.21.1", "@mongodb-js/connection-info": "^0.6.1", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "mongodb-ns": "^2.4.2", "react": "^17.0.2" }, @@ -56187,7 +56187,7 @@ "@types/mocha": "^9.0.0", "@types/sinon-chai": "^3.2.5", "chai": "^4.3.6", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "depcheck": "^1.4.1", "electron": "^30.4.0", "eslint": "^7.25.0", @@ -56298,19 +56298,19 @@ "@dnd-kit/core": "^6.0.7", "@dnd-kit/sortable": "^7.0.2", "@dnd-kit/utilities": "^3.2.1", - "@mongodb-js/atlas-service": "^0.28.0", - "@mongodb-js/compass-app-stores": "^7.26.0", - "@mongodb-js/compass-collection": "^4.39.0", + "@mongodb-js/atlas-service": "^0.28.1", + "@mongodb-js/compass-app-stores": "^7.26.1", + "@mongodb-js/compass-collection": "^4.39.1", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", - "@mongodb-js/compass-crud": "^13.40.0", + "@mongodb-js/compass-connections": "^1.40.1", + "@mongodb-js/compass-crud": "^13.40.1", "@mongodb-js/compass-editor": "^0.29.2", - "@mongodb-js/compass-field-store": "^9.15.0", - "@mongodb-js/compass-generative-ai": "^0.22.0", + "@mongodb-js/compass-field-store": "^9.15.1", + "@mongodb-js/compass-generative-ai": "^0.22.1", "@mongodb-js/compass-logging": "^1.4.5", "@mongodb-js/compass-telemetry": "^1.1.5", "@mongodb-js/compass-utils": "^0.6.10", - "@mongodb-js/compass-workspaces": "^0.21.0", + "@mongodb-js/compass-workspaces": "^0.21.1", "@mongodb-js/eslint-config-compass": "^1.1.5", "@mongodb-js/explain-plan-helper": "^1.2.1", "@mongodb-js/mocha-config-compass": "^1.4.0", @@ -56326,7 +56326,7 @@ "@types/semver": "^7.3.9", "bson": "^6.7.0", "chai": "^4.3.6", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "depcheck": "^1.4.1", "electron-mocha": "^12.2.0", "enzyme": "^3.11.0", @@ -56390,7 +56390,7 @@ "version": "file:packages/compass-app-stores", "requires": { "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", + "@mongodb-js/compass-connections": "^1.40.1", "@mongodb-js/compass-logging": "^1.4.5", "@mongodb-js/connection-info": "^0.6.1", "@mongodb-js/eslint-config-compass": "^1.1.5", @@ -56443,12 +56443,12 @@ "@mongodb-js/compass-collection": { "version": "file:packages/compass-collection", "requires": { - "@mongodb-js/compass-app-stores": "^7.26.0", + "@mongodb-js/compass-app-stores": "^7.26.1", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", + "@mongodb-js/compass-connections": "^1.40.1", "@mongodb-js/compass-logging": "^1.4.5", "@mongodb-js/compass-telemetry": "^1.1.5", - "@mongodb-js/compass-workspaces": "^0.21.0", + "@mongodb-js/compass-workspaces": "^0.21.1", "@mongodb-js/connection-info": "^0.6.1", "@mongodb-js/eslint-config-compass": "^1.1.5", "@mongodb-js/mocha-config-compass": "^1.4.0", @@ -56465,7 +56465,7 @@ "@types/react-dom": "^17.0.10", "@types/sinon-chai": "^3.2.5", "chai": "^4.3.6", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "depcheck": "^1.4.1", "electron-mocha": "^12.2.0", "eslint": "^7.25.0", @@ -56625,8 +56625,8 @@ "version": "file:packages/compass-connection-import-export", "requires": { "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", - "@mongodb-js/connection-storage": "^0.19.0", + "@mongodb-js/compass-connections": "^1.40.1", + "@mongodb-js/connection-storage": "^0.19.1", "@mongodb-js/eslint-config-compass": "^1.1.5", "@mongodb-js/mocha-config-compass": "^1.4.0", "@mongodb-js/prettier-config-compass": "^1.0.2", @@ -56640,7 +56640,7 @@ "@types/react-dom": "^17.0.10", "@types/sinon-chai": "^3.2.5", "chai": "^4.3.6", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "depcheck": "^1.4.1", "eslint": "^7.25.0", "gen-esm-wrapper": "^1.1.0", @@ -56684,12 +56684,12 @@ "requires": { "@mongodb-js/compass-components": "^1.29.2", "@mongodb-js/compass-logging": "^1.4.5", - "@mongodb-js/compass-maybe-protect-connection-string": "^0.26.0", + "@mongodb-js/compass-maybe-protect-connection-string": "^0.26.1", "@mongodb-js/compass-telemetry": "^1.1.5", "@mongodb-js/compass-utils": "^0.6.10", - "@mongodb-js/connection-form": "^1.38.0", + "@mongodb-js/connection-form": "^1.38.1", "@mongodb-js/connection-info": "^0.6.1", - "@mongodb-js/connection-storage": "^0.19.0", + "@mongodb-js/connection-storage": "^0.19.1", "@mongodb-js/eslint-config-compass": "^1.1.5", "@mongodb-js/mocha-config-compass": "^1.4.0", "@mongodb-js/prettier-config-compass": "^1.0.2", @@ -56705,7 +56705,7 @@ "@types/sinon-chai": "^3.2.5", "bson": "^6.7.0", "chai": "^4.3.4", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "depcheck": "^1.4.1", "electron-mocha": "^12.2.0", "eslint": "^7.25.0", @@ -56754,9 +56754,9 @@ "version": "file:packages/compass-connections-navigation", "requires": { "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", - "@mongodb-js/compass-workspaces": "^0.21.0", - "@mongodb-js/connection-form": "^1.38.0", + "@mongodb-js/compass-connections": "^1.40.1", + "@mongodb-js/compass-workspaces": "^0.21.1", + "@mongodb-js/connection-form": "^1.38.1", "@mongodb-js/connection-info": "^0.6.1", "@mongodb-js/eslint-config-compass": "^1.1.5", "@mongodb-js/mocha-config-compass": "^1.4.0", @@ -56773,7 +56773,7 @@ "@types/react-window": "^1.8.5", "@types/sinon-chai": "^3.2.5", "chai": "^4.3.4", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "depcheck": "^1.4.1", "eslint": "^7.25.0", "mocha": "^10.2.0", @@ -56815,17 +56815,17 @@ "@mongodb-js/compass-crud": { "version": "file:packages/compass-crud", "requires": { - "@mongodb-js/compass-app-stores": "^7.26.0", - "@mongodb-js/compass-collection": "^4.39.0", + "@mongodb-js/compass-app-stores": "^7.26.1", + "@mongodb-js/compass-collection": "^4.39.1", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", + "@mongodb-js/compass-connections": "^1.40.1", "@mongodb-js/compass-editor": "^0.29.2", - "@mongodb-js/compass-field-store": "^9.15.0", + "@mongodb-js/compass-field-store": "^9.15.1", "@mongodb-js/compass-logging": "^1.4.5", - "@mongodb-js/compass-query-bar": "^8.41.0", + "@mongodb-js/compass-query-bar": "^8.41.1", "@mongodb-js/compass-telemetry": "^1.1.5", "@mongodb-js/compass-test-server": "^0.1.20", - "@mongodb-js/compass-workspaces": "^0.21.0", + "@mongodb-js/compass-workspaces": "^0.21.1", "@mongodb-js/eslint-config-compass": "^1.1.5", "@mongodb-js/explain-plan-helper": "^1.2.1", "@mongodb-js/mocha-config-compass": "^1.4.0", @@ -56842,7 +56842,7 @@ "bson": "^6.7.0", "chai": "^4.1.2", "chai-as-promised": "^7.1.1", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "depcheck": "^1.4.1", "electron": "^30.4.0", "electron-mocha": "^12.2.0", @@ -56871,14 +56871,14 @@ "@mongodb-js/compass-databases-collections": { "version": "file:packages/databases-collections", "requires": { - "@mongodb-js/compass-app-stores": "^7.26.0", + "@mongodb-js/compass-app-stores": "^7.26.1", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", + "@mongodb-js/compass-connections": "^1.40.1", "@mongodb-js/compass-editor": "^0.29.2", "@mongodb-js/compass-logging": "^1.4.5", "@mongodb-js/compass-telemetry": "^1.1.5", - "@mongodb-js/compass-workspaces": "^0.21.0", - "@mongodb-js/databases-collections-list": "^1.37.0", + "@mongodb-js/compass-workspaces": "^0.21.1", + "@mongodb-js/databases-collections-list": "^1.37.1", "@mongodb-js/eslint-config-compass": "^1.1.5", "@mongodb-js/mocha-config-compass": "^1.4.0", "@mongodb-js/my-queries-storage": "^0.15.2", @@ -56888,7 +56888,7 @@ "@testing-library/user-event": "^13.5.0", "bson": "^6.7.0", "chai": "^4.2.0", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "depcheck": "^1.4.1", "enzyme": "^3.11.0", "eslint": "^7.25.0", @@ -56996,9 +56996,9 @@ "@mongodb-js/compass-explain-plan": { "version": "file:packages/compass-explain-plan", "requires": { - "@mongodb-js/compass-collection": "^4.39.0", + "@mongodb-js/compass-collection": "^4.39.1", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", + "@mongodb-js/compass-connections": "^1.40.1", "@mongodb-js/compass-editor": "^0.29.2", "@mongodb-js/compass-logging": "^1.4.5", "@mongodb-js/compass-telemetry": "^1.1.5", @@ -57012,7 +57012,7 @@ "@types/d3-flextree": "^2.1.0", "@types/d3-hierarchy": "^3.1.2", "chai": "^4.2.0", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "d3": "^3.5.17", "d3-flextree": "^2.1.2", "d3-hierarchy": "^3.1.2", @@ -57066,12 +57066,12 @@ "@mongodb-js/compass-export-to-language": { "version": "file:packages/compass-export-to-language", "requires": { - "@mongodb-js/compass-collection": "^4.39.0", + "@mongodb-js/compass-collection": "^4.39.1", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", + "@mongodb-js/compass-connections": "^1.40.1", "@mongodb-js/compass-editor": "^0.29.2", "@mongodb-js/compass-logging": "^1.4.5", - "@mongodb-js/compass-maybe-protect-connection-string": "^0.26.0", + "@mongodb-js/compass-maybe-protect-connection-string": "^0.26.1", "@mongodb-js/compass-telemetry": "^1.1.5", "@mongodb-js/eslint-config-compass": "^1.1.5", "@mongodb-js/mocha-config-compass": "^1.4.0", @@ -57082,7 +57082,7 @@ "@testing-library/user-event": "^13.5.0", "bson-transpilers": "^3.0.7", "chai": "^4.3.6", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "depcheck": "^1.4.1", "eslint": "^7.25.0", "hadron-app-registry": "^9.2.4", @@ -57124,7 +57124,7 @@ "@mongodb-js/compass-field-store": { "version": "file:packages/compass-field-store", "requires": { - "@mongodb-js/compass-connections": "^1.40.0", + "@mongodb-js/compass-connections": "^1.40.1", "@mongodb-js/compass-logging": "^1.4.5", "@mongodb-js/eslint-config-compass": "^1.1.5", "@mongodb-js/mocha-config-compass": "^1.4.0", @@ -57237,9 +57237,9 @@ "@mongodb-js/compass-generative-ai": { "version": "file:packages/compass-generative-ai", "requires": { - "@mongodb-js/atlas-service": "^0.28.0", + "@mongodb-js/atlas-service": "^0.28.1", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-intercom": "^0.12.0", + "@mongodb-js/compass-intercom": "^0.12.1", "@mongodb-js/compass-logging": "^1.4.5", "@mongodb-js/eslint-config-compass": "^1.1.5", "@mongodb-js/mocha-config-compass": "^1.4.0", @@ -57255,7 +57255,7 @@ "@types/sinon-chai": "^3.2.5", "bson": "^6.7.0", "chai": "^4.3.6", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "depcheck": "^1.4.1", "electron-mocha": "^12.2.0", "eslint": "^7.25.0", @@ -57322,13 +57322,13 @@ "requires": { "@electron/remote": "^2.1.2", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", + "@mongodb-js/compass-connections": "^1.40.1", "@mongodb-js/compass-editor": "^0.29.2", "@mongodb-js/compass-logging": "^1.4.5", "@mongodb-js/compass-telemetry": "^1.1.5", "@mongodb-js/compass-test-server": "^0.1.20", "@mongodb-js/compass-utils": "^0.6.10", - "@mongodb-js/compass-workspaces": "^0.21.0", + "@mongodb-js/compass-workspaces": "^0.21.1", "@mongodb-js/eslint-config-compass": "^1.1.5", "@mongodb-js/mocha-config-compass": "^1.4.0", "@mongodb-js/prettier-config-compass": "^1.0.2", @@ -57348,7 +57348,7 @@ "bson": "^6.7.0", "chai": "^4.3.6", "chai-as-promised": "^7.1.1", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "debug": "^4.3.4", "depcheck": "^1.4.1", "electron": "^30.4.0", @@ -57406,16 +57406,16 @@ "@mongodb-js/compass-indexes": { "version": "file:packages/compass-indexes", "requires": { - "@mongodb-js/compass-app-stores": "^7.26.0", - "@mongodb-js/compass-collection": "^4.39.0", + "@mongodb-js/compass-app-stores": "^7.26.1", + "@mongodb-js/compass-collection": "^4.39.1", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", + "@mongodb-js/compass-connections": "^1.40.1", "@mongodb-js/compass-editor": "^0.29.2", - "@mongodb-js/compass-field-store": "^9.15.0", + "@mongodb-js/compass-field-store": "^9.15.1", "@mongodb-js/compass-logging": "^1.4.5", "@mongodb-js/compass-telemetry": "^1.1.5", - "@mongodb-js/compass-workspaces": "^0.21.0", - "@mongodb-js/connection-storage": "^0.19.0", + "@mongodb-js/compass-workspaces": "^0.21.1", + "@mongodb-js/connection-storage": "^0.19.1", "@mongodb-js/eslint-config-compass": "^1.1.5", "@mongodb-js/mocha-config-compass": "^1.4.0", "@mongodb-js/mongodb-constants": "^0.10.0", @@ -57426,7 +57426,7 @@ "@testing-library/user-event": "^13.5.0", "bson": "^6.7.0", "chai": "^4.2.0", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "depcheck": "^1.4.1", "electron": "^30.4.0", "electron-mocha": "^12.2.0", @@ -57491,7 +57491,7 @@ "@types/mocha": "^9.0.0", "@types/sinon-chai": "^3.2.5", "chai": "^4.3.6", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "depcheck": "^1.4.1", "eslint": "^7.25.0", "gen-esm-wrapper": "^1.1.0", @@ -57644,7 +57644,7 @@ "@types/mocha": "^9.0.0", "@types/sinon-chai": "^3.2.5", "chai": "^4.3.6", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "depcheck": "^1.4.1", "eslint": "^7.25.0", "gen-esm-wrapper": "^1.1.0", @@ -57683,14 +57683,14 @@ "@mongodb-js/compass-query-bar": { "version": "file:packages/compass-query-bar", "requires": { - "@mongodb-js/atlas-service": "^0.28.0", - "@mongodb-js/compass-app-stores": "^7.26.0", - "@mongodb-js/compass-collection": "^4.39.0", + "@mongodb-js/atlas-service": "^0.28.1", + "@mongodb-js/compass-app-stores": "^7.26.1", + "@mongodb-js/compass-collection": "^4.39.1", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", + "@mongodb-js/compass-connections": "^1.40.1", "@mongodb-js/compass-editor": "^0.29.2", - "@mongodb-js/compass-field-store": "^9.15.0", - "@mongodb-js/compass-generative-ai": "^0.22.0", + "@mongodb-js/compass-field-store": "^9.15.1", + "@mongodb-js/compass-generative-ai": "^0.22.1", "@mongodb-js/compass-logging": "^1.4.5", "@mongodb-js/compass-telemetry": "^1.1.5", "@mongodb-js/eslint-config-compass": "^1.1.5", @@ -57704,7 +57704,7 @@ "@testing-library/user-event": "^13.5.0", "bson": "^6.7.0", "chai": "^4.2.0", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "depcheck": "^1.4.1", "electron": "^30.4.0", "electron-mocha": "^12.2.0", @@ -57754,13 +57754,13 @@ "@mongodb-js/compass-saved-aggregations-queries": { "version": "file:packages/compass-saved-aggregations-queries", "requires": { - "@mongodb-js/compass-app-stores": "^7.26.0", + "@mongodb-js/compass-app-stores": "^7.26.1", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", + "@mongodb-js/compass-connections": "^1.40.1", "@mongodb-js/compass-logging": "^1.4.5", "@mongodb-js/compass-telemetry": "^1.1.5", - "@mongodb-js/compass-workspaces": "^0.21.0", - "@mongodb-js/connection-form": "^1.38.0", + "@mongodb-js/compass-workspaces": "^0.21.1", + "@mongodb-js/connection-form": "^1.38.1", "@mongodb-js/connection-info": "^0.6.1", "@mongodb-js/eslint-config-compass": "^1.1.5", "@mongodb-js/mocha-config-compass": "^1.4.0", @@ -57778,7 +57778,7 @@ "@types/sinon-chai": "^3.2.5", "bson": "^6.7.0", "chai": "^4.3.4", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "depcheck": "^1.4.1", "electron-mocha": "^12.2.0", "eslint": "^7.25.0", @@ -57825,14 +57825,14 @@ "@mongodb-js/compass-schema": { "version": "file:packages/compass-schema", "requires": { - "@mongodb-js/compass-collection": "^4.39.0", + "@mongodb-js/compass-collection": "^4.39.1", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", - "@mongodb-js/compass-field-store": "^9.15.0", + "@mongodb-js/compass-connections": "^1.40.1", + "@mongodb-js/compass-field-store": "^9.15.1", "@mongodb-js/compass-logging": "^1.4.5", - "@mongodb-js/compass-query-bar": "^8.41.0", + "@mongodb-js/compass-query-bar": "^8.41.1", "@mongodb-js/compass-telemetry": "^1.1.5", - "@mongodb-js/connection-storage": "^0.19.0", + "@mongodb-js/connection-storage": "^0.19.1", "@mongodb-js/eslint-config-compass": "^1.1.5", "@mongodb-js/mocha-config-compass": "^1.4.0", "@mongodb-js/my-queries-storage": "^0.15.2", @@ -57849,7 +57849,7 @@ "@types/react-dom": "^17.0.10", "bson": "^6.7.0", "chai": "^4.3.4", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "d3": "^3.5.17", "depcheck": "^1.4.1", "electron-mocha": "^12.2.0", @@ -57903,13 +57903,13 @@ "@mongodb-js/compass-schema-validation": { "version": "file:packages/compass-schema-validation", "requires": { - "@mongodb-js/compass-app-stores": "^7.26.0", - "@mongodb-js/compass-collection": "^4.39.0", + "@mongodb-js/compass-app-stores": "^7.26.1", + "@mongodb-js/compass-collection": "^4.39.1", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", - "@mongodb-js/compass-crud": "^13.40.0", + "@mongodb-js/compass-connections": "^1.40.1", + "@mongodb-js/compass-crud": "^13.40.1", "@mongodb-js/compass-editor": "^0.29.2", - "@mongodb-js/compass-field-store": "^9.15.0", + "@mongodb-js/compass-field-store": "^9.15.1", "@mongodb-js/compass-logging": "^1.4.5", "@mongodb-js/compass-telemetry": "^1.1.5", "@mongodb-js/eslint-config-compass": "^1.1.5", @@ -57918,7 +57918,7 @@ "@mongodb-js/tsconfig-compass": "^1.0.4", "bson": "^6.7.0", "chai": "^4.2.0", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "depcheck": "^1.4.1", "electron": "^30.4.0", "electron-mocha": "^12.2.0", @@ -58166,11 +58166,11 @@ "@mongodb-js/compass-serverstats": { "version": "file:packages/compass-serverstats", "requires": { - "@mongodb-js/compass-app-stores": "^7.26.0", + "@mongodb-js/compass-app-stores": "^7.26.1", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", + "@mongodb-js/compass-connections": "^1.40.1", "@mongodb-js/compass-telemetry": "^1.1.5", - "@mongodb-js/compass-workspaces": "^0.21.0", + "@mongodb-js/compass-workspaces": "^0.21.1", "@mongodb-js/eslint-config-compass": "^1.1.5", "@mongodb-js/mocha-config-compass": "^1.4.0", "@mongodb-js/prettier-config-compass": "^1.0.2", @@ -58213,9 +58213,9 @@ "@mongodb-js/compass-settings": { "version": "file:packages/compass-settings", "requires": { - "@mongodb-js/atlas-service": "^0.28.0", + "@mongodb-js/atlas-service": "^0.28.1", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-generative-ai": "^0.22.0", + "@mongodb-js/compass-generative-ai": "^0.22.1", "@mongodb-js/compass-logging": "^1.4.5", "@mongodb-js/eslint-config-compass": "^1.1.5", "@mongodb-js/mocha-config-compass": "^1.4.0", @@ -58230,7 +58230,7 @@ "@types/react-dom": "^17.0.10", "@types/sinon-chai": "^3.2.5", "chai": "^4.3.6", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "depcheck": "^1.4.1", "electron-mocha": "^12.2.0", "eslint": "^7.25.0", @@ -58277,12 +58277,12 @@ "version": "file:packages/compass-shell", "requires": { "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", + "@mongodb-js/compass-connections": "^1.40.1", "@mongodb-js/compass-logging": "^1.4.5", "@mongodb-js/compass-telemetry": "^1.1.5", "@mongodb-js/compass-user-data": "^0.3.5", "@mongodb-js/compass-utils": "^0.6.10", - "@mongodb-js/compass-workspaces": "^0.21.0", + "@mongodb-js/compass-workspaces": "^0.21.1", "@mongodb-js/eslint-config-compass": "^1.1.5", "@mongodb-js/mocha-config-compass": "^1.4.0", "@mongodb-js/prettier-config-compass": "^1.0.2", @@ -58292,7 +58292,7 @@ "@mongosh/node-runtime-worker-thread": "^2.3.0", "bson": "^6.7.0", "chai": "^4.2.0", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "depcheck": "^1.4.1", "electron": "^30.4.0", "electron-mocha": "^12.2.0", @@ -58335,16 +58335,16 @@ "@mongodb-js/compass-sidebar": { "version": "file:packages/compass-sidebar", "requires": { - "@mongodb-js/compass-app-stores": "^7.26.0", + "@mongodb-js/compass-app-stores": "^7.26.1", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connection-import-export": "^0.36.0", - "@mongodb-js/compass-connections": "^1.40.0", - "@mongodb-js/compass-connections-navigation": "^1.39.0", + "@mongodb-js/compass-connection-import-export": "^0.36.1", + "@mongodb-js/compass-connections": "^1.40.1", + "@mongodb-js/compass-connections-navigation": "^1.39.1", "@mongodb-js/compass-logging": "^1.4.5", - "@mongodb-js/compass-maybe-protect-connection-string": "^0.26.0", + "@mongodb-js/compass-maybe-protect-connection-string": "^0.26.1", "@mongodb-js/compass-telemetry": "^1.1.5", - "@mongodb-js/compass-workspaces": "^0.21.0", - "@mongodb-js/connection-form": "^1.38.0", + "@mongodb-js/compass-workspaces": "^0.21.1", + "@mongodb-js/connection-form": "^1.38.1", "@mongodb-js/connection-info": "^0.6.1", "@mongodb-js/eslint-config-compass": "^1.1.5", "@mongodb-js/mocha-config-compass": "^1.4.0", @@ -58359,7 +58359,7 @@ "@types/react-dom": "^17.0.10", "@types/sinon-chai": "^3.2.5", "chai": "^4.3.6", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "depcheck": "^1.4.1", "electron-mocha": "^12.2.0", "eslint": "^7.25.0", @@ -58666,28 +58666,28 @@ "@mongodb-js/compass-web": { "version": "file:packages/compass-web", "requires": { - "@mongodb-js/atlas-service": "^0.28.0", - "@mongodb-js/compass-aggregations": "^9.42.0", - "@mongodb-js/compass-app-stores": "^7.26.0", - "@mongodb-js/compass-collection": "^4.39.0", + "@mongodb-js/atlas-service": "^0.28.1", + "@mongodb-js/compass-aggregations": "^9.42.1", + "@mongodb-js/compass-app-stores": "^7.26.1", + "@mongodb-js/compass-collection": "^4.39.1", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", - "@mongodb-js/compass-crud": "^13.40.0", - "@mongodb-js/compass-databases-collections": "^1.39.0", - "@mongodb-js/compass-explain-plan": "^6.40.0", - "@mongodb-js/compass-export-to-language": "^9.16.0", - "@mongodb-js/compass-field-store": "^9.15.0", - "@mongodb-js/compass-generative-ai": "^0.22.0", - "@mongodb-js/compass-indexes": "^5.39.0", + "@mongodb-js/compass-connections": "^1.40.1", + "@mongodb-js/compass-crud": "^13.40.1", + "@mongodb-js/compass-databases-collections": "^1.39.1", + "@mongodb-js/compass-explain-plan": "^6.40.1", + "@mongodb-js/compass-export-to-language": "^9.16.1", + "@mongodb-js/compass-field-store": "^9.15.1", + "@mongodb-js/compass-generative-ai": "^0.22.1", + "@mongodb-js/compass-indexes": "^5.39.1", "@mongodb-js/compass-logging": "^1.4.5", - "@mongodb-js/compass-query-bar": "^8.41.0", - "@mongodb-js/compass-schema": "^6.41.0", - "@mongodb-js/compass-schema-validation": "^6.40.0", - "@mongodb-js/compass-sidebar": "^5.40.0", + "@mongodb-js/compass-query-bar": "^8.41.1", + "@mongodb-js/compass-schema": "^6.41.1", + "@mongodb-js/compass-schema-validation": "^6.40.1", + "@mongodb-js/compass-sidebar": "^5.40.1", "@mongodb-js/compass-telemetry": "^1.1.5", - "@mongodb-js/compass-welcome": "^0.38.0", - "@mongodb-js/compass-workspaces": "^0.21.0", - "@mongodb-js/connection-storage": "^0.19.0", + "@mongodb-js/compass-welcome": "^0.38.1", + "@mongodb-js/compass-workspaces": "^0.21.1", + "@mongodb-js/connection-storage": "^0.19.1", "@mongodb-js/eslint-config-compass": "^1.1.5", "@mongodb-js/mocha-config-compass": "^1.4.0", "@mongodb-js/prettier-config-compass": "^1.0.2", @@ -58707,7 +58707,7 @@ "bson": "^6.2.0", "buffer": "^6.0.3", "chai": "^4.3.6", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "crypto-browserify": "^3.12.0", "debug": "^4.3.4", "depcheck": "^1.4.1", @@ -58893,10 +58893,10 @@ "version": "file:packages/compass-welcome", "requires": { "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", + "@mongodb-js/compass-connections": "^1.40.1", "@mongodb-js/compass-logging": "^1.4.5", "@mongodb-js/compass-telemetry": "^1.1.5", - "@mongodb-js/compass-workspaces": "^0.21.0", + "@mongodb-js/compass-workspaces": "^0.21.1", "@mongodb-js/eslint-config-compass": "^1.1.5", "@mongodb-js/mocha-config-compass": "^1.4.0", "@mongodb-js/prettier-config-compass": "^1.0.2", @@ -58910,7 +58910,7 @@ "@types/react-dom": "^17.0.10", "@types/sinon-chai": "^3.2.5", "chai": "^4.3.6", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "depcheck": "^1.4.1", "electron-mocha": "^12.2.0", "eslint": "^7.25.0", @@ -58954,9 +58954,9 @@ "@mongodb-js/compass-workspaces": { "version": "file:packages/compass-workspaces", "requires": { - "@mongodb-js/compass-app-stores": "^7.26.0", + "@mongodb-js/compass-app-stores": "^7.26.1", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", + "@mongodb-js/compass-connections": "^1.40.1", "@mongodb-js/compass-logging": "^1.4.5", "@mongodb-js/eslint-config-compass": "^1.1.5", "@mongodb-js/mocha-config-compass": "^1.4.0", @@ -58970,7 +58970,7 @@ "@types/sinon-chai": "^3.2.5", "bson": "^6.7.0", "chai": "^4.3.6", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "depcheck": "^1.4.1", "electron-mocha": "^12.2.0", "eslint": "^7.25.0", @@ -59114,7 +59114,7 @@ "@types/sinon-chai": "^3.2.5", "bson": "^6.7.0", "chai": "^4.3.4", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "depcheck": "^1.4.1", "electron-mocha": "^12.2.0", "eslint": "^7.25.0", @@ -59300,7 +59300,7 @@ "@types/sinon-chai": "^3.2.5", "bson": "^6.7.0", "chai": "^4.3.6", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "depcheck": "^1.4.1", "electron": "^30.4.0", "eslint": "^7.25.0", @@ -59343,9 +59343,9 @@ "version": "file:packages/databases-collections-list", "requires": { "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", + "@mongodb-js/compass-connections": "^1.40.1", "@mongodb-js/compass-telemetry": "^1.1.5", - "@mongodb-js/compass-workspaces": "^0.21.0", + "@mongodb-js/compass-workspaces": "^0.21.1", "@mongodb-js/connection-info": "^0.6.1", "@mongodb-js/eslint-config-compass": "^1.1.5", "@mongodb-js/mocha-config-compass": "^1.4.0", @@ -59360,7 +59360,7 @@ "@types/react-dom": "^17.0.10", "@types/sinon-chai": "^3.2.5", "chai": "^4.3.4", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "depcheck": "^1.4.1", "eslint": "^7.25.0", "mocha": "^10.2.0", @@ -68392,7 +68392,7 @@ "chai": "^4.3.4", "chai-as-promised": "^7.1.1", "clipboardy": "^2.3.0", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "cross-spawn": "^7.0.3", "debug": "^4.3.4", "depcheck": "^1.4.1", @@ -80476,38 +80476,38 @@ "requires": { "@electron/rebuild": "^3.6.0", "@electron/remote": "^2.1.2", - "@mongodb-js/atlas-service": "^0.28.0", - "@mongodb-js/compass-aggregations": "^9.42.0", - "@mongodb-js/compass-app-stores": "^7.26.0", - "@mongodb-js/compass-collection": "^4.39.0", + "@mongodb-js/atlas-service": "^0.28.1", + "@mongodb-js/compass-aggregations": "^9.42.1", + "@mongodb-js/compass-app-stores": "^7.26.1", + "@mongodb-js/compass-collection": "^4.39.1", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connection-import-export": "^0.36.0", - "@mongodb-js/compass-connections": "^1.40.0", - "@mongodb-js/compass-crud": "^13.40.0", - "@mongodb-js/compass-databases-collections": "^1.39.0", - "@mongodb-js/compass-explain-plan": "^6.40.0", - "@mongodb-js/compass-export-to-language": "^9.16.0", - "@mongodb-js/compass-field-store": "^9.15.0", + "@mongodb-js/compass-connection-import-export": "^0.36.1", + "@mongodb-js/compass-connections": "^1.40.1", + "@mongodb-js/compass-crud": "^13.40.1", + "@mongodb-js/compass-databases-collections": "^1.39.1", + "@mongodb-js/compass-explain-plan": "^6.40.1", + "@mongodb-js/compass-export-to-language": "^9.16.1", + "@mongodb-js/compass-field-store": "^9.15.1", "@mongodb-js/compass-find-in-page": "^4.30.2", - "@mongodb-js/compass-generative-ai": "^0.22.0", - "@mongodb-js/compass-import-export": "^7.39.0", - "@mongodb-js/compass-indexes": "^5.39.0", - "@mongodb-js/compass-intercom": "^0.12.0", + "@mongodb-js/compass-generative-ai": "^0.22.1", + "@mongodb-js/compass-import-export": "^7.39.1", + "@mongodb-js/compass-indexes": "^5.39.1", + "@mongodb-js/compass-intercom": "^0.12.1", "@mongodb-js/compass-logging": "^1.4.5", - "@mongodb-js/compass-query-bar": "^8.41.0", - "@mongodb-js/compass-saved-aggregations-queries": "^1.40.0", - "@mongodb-js/compass-schema": "^6.41.0", - "@mongodb-js/compass-schema-validation": "^6.40.0", - "@mongodb-js/compass-serverstats": "^16.39.0", - "@mongodb-js/compass-settings": "^0.40.0", - "@mongodb-js/compass-shell": "^3.39.0", - "@mongodb-js/compass-sidebar": "^5.40.0", + "@mongodb-js/compass-query-bar": "^8.41.1", + "@mongodb-js/compass-saved-aggregations-queries": "^1.40.1", + "@mongodb-js/compass-schema": "^6.41.1", + "@mongodb-js/compass-schema-validation": "^6.40.1", + "@mongodb-js/compass-serverstats": "^16.39.1", + "@mongodb-js/compass-settings": "^0.40.1", + "@mongodb-js/compass-shell": "^3.39.1", + "@mongodb-js/compass-sidebar": "^5.40.1", "@mongodb-js/compass-telemetry": "^1.1.5", "@mongodb-js/compass-utils": "^0.6.10", - "@mongodb-js/compass-welcome": "^0.38.0", - "@mongodb-js/compass-workspaces": "^0.21.0", + "@mongodb-js/compass-welcome": "^0.38.1", + "@mongodb-js/compass-workspaces": "^0.21.1", "@mongodb-js/connection-info": "^0.6.1", - "@mongodb-js/connection-storage": "^0.19.0", + "@mongodb-js/connection-storage": "^0.19.1", "@mongodb-js/devtools-proxy-support": "^0.3.6", "@mongodb-js/eslint-config-compass": "^1.1.5", "@mongodb-js/get-os-info": "^0.3.24", @@ -80526,7 +80526,7 @@ "chalk": "^4.1.2", "clean-stack": "^2.0.0", "clipboard": "^2.0.6", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "debug": "^4.3.4", "depcheck": "^1.4.1", "electron": "^30.4.0", diff --git a/packages/atlas-service/package.json b/packages/atlas-service/package.json index 9ac7a8649e0..ba98e7a7e20 100644 --- a/packages/atlas-service/package.json +++ b/packages/atlas-service/package.json @@ -13,7 +13,7 @@ "email": "compass@mongodb.com" }, "homepage": "https://github.com/mongodb-js/compass", - "version": "0.28.0", + "version": "0.28.1", "repository": { "type": "git", "url": "https://github.com/mongodb-js/compass.git" @@ -82,7 +82,7 @@ "@mongodb-js/devtools-proxy-support": "^0.3.6", "@mongodb-js/oidc-plugin": "^1.1.1", "hadron-app-registry": "^9.2.4", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "electron": "^30.4.0", "hadron-ipc": "^3.2.21", "lodash": "^4.17.21", diff --git a/packages/compass-aggregations/package.json b/packages/compass-aggregations/package.json index 6bcb5816ae2..eea0dfa03cd 100644 --- a/packages/compass-aggregations/package.json +++ b/packages/compass-aggregations/package.json @@ -2,7 +2,7 @@ "name": "@mongodb-js/compass-aggregations", "description": "Compass Aggregation Pipeline Builder", "private": true, - "version": "9.42.0", + "version": "9.42.1", "main": "dist/index.js", "compass:main": "src/index.ts", "types": "dist/index.d.ts", @@ -61,25 +61,25 @@ "@dnd-kit/core": "^6.0.7", "@dnd-kit/sortable": "^7.0.2", "@dnd-kit/utilities": "^3.2.1", - "@mongodb-js/atlas-service": "^0.28.0", - "@mongodb-js/compass-app-stores": "^7.26.0", - "@mongodb-js/compass-collection": "^4.39.0", + "@mongodb-js/atlas-service": "^0.28.1", + "@mongodb-js/compass-app-stores": "^7.26.1", + "@mongodb-js/compass-collection": "^4.39.1", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", - "@mongodb-js/compass-crud": "^13.40.0", + "@mongodb-js/compass-connections": "^1.40.1", + "@mongodb-js/compass-crud": "^13.40.1", "@mongodb-js/compass-editor": "^0.29.2", - "@mongodb-js/compass-field-store": "^9.15.0", - "@mongodb-js/compass-generative-ai": "^0.22.0", + "@mongodb-js/compass-field-store": "^9.15.1", + "@mongodb-js/compass-generative-ai": "^0.22.1", "@mongodb-js/compass-logging": "^1.4.5", "@mongodb-js/compass-telemetry": "^1.1.5", "@mongodb-js/compass-utils": "^0.6.10", - "@mongodb-js/compass-workspaces": "^0.21.0", + "@mongodb-js/compass-workspaces": "^0.21.1", "@mongodb-js/explain-plan-helper": "^1.2.1", "@mongodb-js/mongodb-constants": "^0.10.0", "@mongodb-js/my-queries-storage": "^0.15.2", "@mongodb-js/shell-bson-parser": "^1.1.2", "bson": "^6.7.0", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "hadron-app-registry": "^9.2.4", "hadron-document": "^8.6.1", "hadron-type-checker": "^7.2.2", diff --git a/packages/compass-app-stores/package.json b/packages/compass-app-stores/package.json index 3299c79b63a..9d9fe40e9c4 100644 --- a/packages/compass-app-stores/package.json +++ b/packages/compass-app-stores/package.json @@ -11,7 +11,7 @@ "email": "compass@mongodb.com" }, "homepage": "https://github.com/mongodb-js/compass", - "version": "7.26.0", + "version": "7.26.1", "repository": { "type": "git", "url": "https://github.com/mongodb-js/compass.git" @@ -73,7 +73,7 @@ }, "dependencies": { "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", + "@mongodb-js/compass-connections": "^1.40.1", "@mongodb-js/compass-logging": "^1.4.5", "@mongodb-js/connection-info": "^0.6.1", "hadron-app-registry": "^9.2.4", diff --git a/packages/compass-collection/package.json b/packages/compass-collection/package.json index 0fb7e461633..7ed6611b0e0 100644 --- a/packages/compass-collection/package.json +++ b/packages/compass-collection/package.json @@ -11,7 +11,7 @@ "email": "compass@mongodb.com" }, "homepage": "https://github.com/mongodb-js/compass", - "version": "4.39.0", + "version": "4.39.1", "repository": { "type": "git", "url": "https://github.com/mongodb-js/compass.git" @@ -48,15 +48,15 @@ "reformat": "npm run eslint . -- --fix && npm run prettier -- --write ." }, "dependencies": { - "@mongodb-js/compass-app-stores": "^7.26.0", + "@mongodb-js/compass-app-stores": "^7.26.1", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", + "@mongodb-js/compass-connections": "^1.40.1", "@mongodb-js/compass-logging": "^1.4.5", "@mongodb-js/compass-telemetry": "^1.1.5", - "@mongodb-js/compass-workspaces": "^0.21.0", + "@mongodb-js/compass-workspaces": "^0.21.1", "@mongodb-js/connection-info": "^0.6.1", "@mongodb-js/mongodb-constants": "^0.10.2", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "hadron-app-registry": "^9.2.4", "mongodb-collection-model": "^5.23.1", "mongodb-ns": "^2.4.2", diff --git a/packages/compass-connection-import-export/package.json b/packages/compass-connection-import-export/package.json index d23f8f2b5ec..0c8121fdfeb 100644 --- a/packages/compass-connection-import-export/package.json +++ b/packages/compass-connection-import-export/package.json @@ -14,7 +14,7 @@ "email": "compass@mongodb.com" }, "homepage": "https://github.com/mongodb-js/compass", - "version": "0.36.0", + "version": "0.36.1", "repository": { "type": "git", "url": "https://github.com/mongodb-js/compass.git" @@ -52,9 +52,9 @@ }, "dependencies": { "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", - "@mongodb-js/connection-storage": "^0.19.0", - "compass-preferences-model": "^2.28.0", + "@mongodb-js/compass-connections": "^1.40.1", + "@mongodb-js/connection-storage": "^0.19.1", + "compass-preferences-model": "^2.28.1", "hadron-ipc": "^3.2.21", "react": "^17.0.2" }, diff --git a/packages/compass-connections-navigation/package.json b/packages/compass-connections-navigation/package.json index 79e211e871f..7ca91a8582c 100644 --- a/packages/compass-connections-navigation/package.json +++ b/packages/compass-connections-navigation/package.json @@ -13,7 +13,7 @@ "email": "compass@mongodb.com" }, "homepage": "https://github.com/mongodb-js/compass", - "version": "1.39.0", + "version": "1.39.1", "repository": { "type": "git", "url": "https://github.com/mongodb-js/compass.git" @@ -49,12 +49,12 @@ "reformat": "npm run eslint . -- --fix && npm run prettier -- --write ." }, "dependencies": { - "@mongodb-js/compass-connections": "^1.40.0", + "@mongodb-js/compass-connections": "^1.40.1", "@mongodb-js/compass-components": "^1.29.2", "@mongodb-js/connection-info": "^0.6.1", - "@mongodb-js/connection-form": "^1.38.0", - "@mongodb-js/compass-workspaces": "^0.21.0", - "compass-preferences-model": "^2.28.0", + "@mongodb-js/connection-form": "^1.38.1", + "@mongodb-js/compass-workspaces": "^0.21.1", + "compass-preferences-model": "^2.28.1", "mongodb-build-info": "^1.7.2", "react": "^17.0.2", "react-virtualized-auto-sizer": "^1.0.6", diff --git a/packages/compass-connections/package.json b/packages/compass-connections/package.json index 25a5504cac4..5f160fd1c78 100644 --- a/packages/compass-connections/package.json +++ b/packages/compass-connections/package.json @@ -13,7 +13,7 @@ "email": "compass@mongodb.com" }, "homepage": "https://github.com/mongodb-js/compass", - "version": "1.40.0", + "version": "1.40.1", "repository": { "type": "git", "url": "https://github.com/mongodb-js/compass.git" @@ -54,14 +54,14 @@ "dependencies": { "@mongodb-js/compass-components": "^1.29.2", "@mongodb-js/compass-logging": "^1.4.5", - "@mongodb-js/compass-maybe-protect-connection-string": "^0.26.0", + "@mongodb-js/compass-maybe-protect-connection-string": "^0.26.1", "@mongodb-js/compass-telemetry": "^1.1.5", "@mongodb-js/compass-utils": "^0.6.10", - "@mongodb-js/connection-form": "^1.38.0", + "@mongodb-js/connection-form": "^1.38.1", "@mongodb-js/connection-info": "^0.6.1", - "@mongodb-js/connection-storage": "^0.19.0", + "@mongodb-js/connection-storage": "^0.19.1", "bson": "^6.7.0", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "hadron-app-registry": "^9.2.4", "lodash": "^4.17.21", "mongodb-build-info": "^1.7.2", diff --git a/packages/compass-crud/package.json b/packages/compass-crud/package.json index 934dae12fb1..a0128b72bcd 100644 --- a/packages/compass-crud/package.json +++ b/packages/compass-crud/package.json @@ -6,7 +6,7 @@ "email": "compass@mongodb.com" }, "private": true, - "version": "13.40.0", + "version": "13.40.1", "repository": { "type": "git", "url": "https://github.com/mongodb-js/compass.git" @@ -71,16 +71,16 @@ "typescript": "^5.0.4" }, "dependencies": { - "@mongodb-js/compass-app-stores": "^7.26.0", - "@mongodb-js/compass-collection": "^4.39.0", + "@mongodb-js/compass-app-stores": "^7.26.1", + "@mongodb-js/compass-collection": "^4.39.1", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", + "@mongodb-js/compass-connections": "^1.40.1", "@mongodb-js/compass-editor": "^0.29.2", - "@mongodb-js/compass-field-store": "^9.15.0", + "@mongodb-js/compass-field-store": "^9.15.1", "@mongodb-js/compass-logging": "^1.4.5", - "@mongodb-js/compass-query-bar": "^8.41.0", + "@mongodb-js/compass-query-bar": "^8.41.1", "@mongodb-js/compass-telemetry": "^1.1.5", - "@mongodb-js/compass-workspaces": "^0.21.0", + "@mongodb-js/compass-workspaces": "^0.21.1", "@mongodb-js/explain-plan-helper": "^1.2.1", "@mongodb-js/my-queries-storage": "^0.15.2", "@mongodb-js/reflux-state-mixin": "^1.0.5", @@ -88,7 +88,7 @@ "ag-grid-community": "^20.2.0", "ag-grid-react": "^20.2.0", "bson": "^6.7.0", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "hadron-app-registry": "^9.2.4", "hadron-document": "^8.6.1", "hadron-type-checker": "^7.2.2", diff --git a/packages/compass-e2e-tests/package.json b/packages/compass-e2e-tests/package.json index 61fd1983bab..bb55e6c1d32 100644 --- a/packages/compass-e2e-tests/package.json +++ b/packages/compass-e2e-tests/package.json @@ -1,6 +1,6 @@ { "name": "compass-e2e-tests", - "version": "1.26.0", + "version": "1.26.1", "private": true, "description": "E2E test suite for Compass app that follows smoke tests / feature testing matrix", "scripts": { @@ -48,7 +48,7 @@ "chai": "^4.3.4", "chai-as-promised": "^7.1.1", "clipboardy": "^2.3.0", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "cross-spawn": "^7.0.3", "debug": "^4.3.4", "depcheck": "^1.4.1", diff --git a/packages/compass-explain-plan/package.json b/packages/compass-explain-plan/package.json index 74bd3020ffe..ce6f42b43e0 100644 --- a/packages/compass-explain-plan/package.json +++ b/packages/compass-explain-plan/package.json @@ -6,7 +6,7 @@ "email": "compass@mongodb.com" }, "private": true, - "version": "6.40.0", + "version": "6.40.1", "repository": { "type": "git", "url": "https://github.com/mongodb-js/compass.git" @@ -69,14 +69,14 @@ "xvfb-maybe": "^0.2.1" }, "dependencies": { - "@mongodb-js/compass-collection": "^4.39.0", + "@mongodb-js/compass-collection": "^4.39.1", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", + "@mongodb-js/compass-connections": "^1.40.1", "@mongodb-js/compass-editor": "^0.29.2", "@mongodb-js/compass-logging": "^1.4.5", "@mongodb-js/compass-telemetry": "^1.1.5", "@mongodb-js/explain-plan-helper": "^1.2.1", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "d3": "^3.5.17", "d3-flextree": "^2.1.2", "d3-hierarchy": "^3.1.2", diff --git a/packages/compass-export-to-language/package.json b/packages/compass-export-to-language/package.json index 405a2a0d5a3..27c9ab78dec 100644 --- a/packages/compass-export-to-language/package.json +++ b/packages/compass-export-to-language/package.json @@ -11,7 +11,7 @@ "email": "compass@mongodb.com" }, "homepage": "https://github.com/mongodb-js/compass", - "version": "9.16.0", + "version": "9.16.1", "repository": { "type": "git", "url": "https://github.com/mongodb-js/compass.git" @@ -48,15 +48,15 @@ "reformat": "npm run eslint . -- --fix && npm run prettier -- --write ." }, "dependencies": { - "@mongodb-js/compass-collection": "^4.39.0", + "@mongodb-js/compass-collection": "^4.39.1", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", + "@mongodb-js/compass-connections": "^1.40.1", "@mongodb-js/compass-editor": "^0.29.2", - "@mongodb-js/compass-maybe-protect-connection-string": "^0.26.0", + "@mongodb-js/compass-maybe-protect-connection-string": "^0.26.1", "@mongodb-js/compass-telemetry": "^1.1.5", "@mongodb-js/shell-bson-parser": "^1.1.2", "bson-transpilers": "^3.0.7", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "hadron-app-registry": "^9.2.4", "mongodb-ns": "^2.4.2", "react": "^17.0.2", diff --git a/packages/compass-field-store/package.json b/packages/compass-field-store/package.json index a72efae94a0..020f37dd6fc 100644 --- a/packages/compass-field-store/package.json +++ b/packages/compass-field-store/package.json @@ -11,7 +11,7 @@ "email": "compass@mongodb.com" }, "homepage": "https://github.com/mongodb-js/compass", - "version": "9.15.0", + "version": "9.15.1", "repository": { "type": "git", "url": "https://github.com/mongodb-js/compass.git" @@ -68,7 +68,7 @@ "xvfb-maybe": "^0.2.1" }, "dependencies": { - "@mongodb-js/compass-connections": "^1.40.0", + "@mongodb-js/compass-connections": "^1.40.1", "@mongodb-js/compass-logging": "^1.4.5", "hadron-app-registry": "^9.2.4", "lodash": "^4.17.21", diff --git a/packages/compass-generative-ai/package.json b/packages/compass-generative-ai/package.json index e3e3e50739b..cdb21db4227 100644 --- a/packages/compass-generative-ai/package.json +++ b/packages/compass-generative-ai/package.json @@ -11,7 +11,7 @@ "email": "compass@mongodb.com" }, "homepage": "https://github.com/mongodb-js/compass", - "version": "0.22.0", + "version": "0.22.1", "repository": { "type": "git", "url": "https://github.com/mongodb-js/compass.git" @@ -52,12 +52,12 @@ "reformat": "npm run eslint . -- --fix && npm run prettier -- --write ." }, "dependencies": { - "@mongodb-js/atlas-service": "^0.28.0", + "@mongodb-js/atlas-service": "^0.28.1", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-intercom": "^0.12.0", + "@mongodb-js/compass-intercom": "^0.12.1", "@mongodb-js/compass-logging": "^1.4.5", "bson": "^6.7.0", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "hadron-app-registry": "^9.2.4", "mongodb": "^6.8.0", "mongodb-schema": "^12.2.0", diff --git a/packages/compass-import-export/package.json b/packages/compass-import-export/package.json index f65bb9749f9..23cc4b52da0 100644 --- a/packages/compass-import-export/package.json +++ b/packages/compass-import-export/package.json @@ -11,7 +11,7 @@ "email": "compass@mongodb.com" }, "homepage": "https://github.com/mongodb-js/compass", - "version": "7.39.0", + "version": "7.39.1", "repository": { "type": "git", "url": "https://github.com/mongodb-js/compass.git" @@ -50,14 +50,14 @@ "dependencies": { "@electron/remote": "^2.1.2", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", + "@mongodb-js/compass-connections": "^1.40.1", "@mongodb-js/compass-editor": "^0.29.2", "@mongodb-js/compass-logging": "^1.4.5", "@mongodb-js/compass-telemetry": "^1.1.5", "@mongodb-js/compass-utils": "^0.6.10", - "@mongodb-js/compass-workspaces": "^0.21.0", + "@mongodb-js/compass-workspaces": "^0.21.1", "bson": "^6.7.0", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "debug": "^4.3.4", "electron": "^30.4.0", "hadron-app-registry": "^9.2.4", diff --git a/packages/compass-indexes/package.json b/packages/compass-indexes/package.json index b88f7cceeed..b05f21349e9 100644 --- a/packages/compass-indexes/package.json +++ b/packages/compass-indexes/package.json @@ -6,7 +6,7 @@ "email": "compass@mongodb.com" }, "private": true, - "version": "5.39.0", + "version": "5.39.1", "repository": { "type": "git", "url": "https://github.com/mongodb-js/compass.git" @@ -67,20 +67,20 @@ "xvfb-maybe": "^0.2.1" }, "dependencies": { - "@mongodb-js/compass-app-stores": "^7.26.0", - "@mongodb-js/compass-collection": "^4.39.0", + "@mongodb-js/compass-app-stores": "^7.26.1", + "@mongodb-js/compass-collection": "^4.39.1", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", + "@mongodb-js/compass-connections": "^1.40.1", "@mongodb-js/compass-editor": "^0.29.2", - "@mongodb-js/compass-field-store": "^9.15.0", + "@mongodb-js/compass-field-store": "^9.15.1", "@mongodb-js/compass-logging": "^1.4.5", "@mongodb-js/compass-telemetry": "^1.1.5", - "@mongodb-js/compass-workspaces": "^0.21.0", - "@mongodb-js/connection-storage": "^0.19.0", + "@mongodb-js/compass-workspaces": "^0.21.1", + "@mongodb-js/connection-storage": "^0.19.1", "@mongodb-js/mongodb-constants": "^0.10.0", "@mongodb-js/shell-bson-parser": "^1.1.2", "bson": "^6.7.0", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "hadron-app-registry": "^9.2.4", "lodash": "^4.17.21", "mongodb": "^6.8.0", diff --git a/packages/compass-intercom/package.json b/packages/compass-intercom/package.json index 16c38a066e3..d498f6b86a8 100644 --- a/packages/compass-intercom/package.json +++ b/packages/compass-intercom/package.json @@ -13,7 +13,7 @@ "email": "compass@mongodb.com" }, "homepage": "https://github.com/mongodb-js/compass", - "version": "0.12.0", + "version": "0.12.1", "repository": { "type": "git", "url": "https://github.com/mongodb-js/compass.git" @@ -67,7 +67,7 @@ "typescript": "^5.0.4" }, "dependencies": { - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "@mongodb-js/compass-logging": "^1.4.5" } } diff --git a/packages/compass-maybe-protect-connection-string/package.json b/packages/compass-maybe-protect-connection-string/package.json index 83eff4c3c6f..2e5b3e4641c 100644 --- a/packages/compass-maybe-protect-connection-string/package.json +++ b/packages/compass-maybe-protect-connection-string/package.json @@ -13,7 +13,7 @@ "email": "compass@mongodb.com" }, "homepage": "https://github.com/mongodb-js/compass", - "version": "0.26.0", + "version": "0.26.1", "repository": { "type": "git", "url": "https://github.com/mongodb-js/compass.git" @@ -50,7 +50,7 @@ "reformat": "npm run eslint . -- --fix && npm run prettier -- --write ." }, "dependencies": { - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "mongodb-connection-string-url": "^3.0.1" }, "devDependencies": { diff --git a/packages/compass-preferences-model/package.json b/packages/compass-preferences-model/package.json index 2b157126f67..a7df5392205 100644 --- a/packages/compass-preferences-model/package.json +++ b/packages/compass-preferences-model/package.json @@ -2,7 +2,7 @@ "name": "compass-preferences-model", "description": "Compass preferences model", "author": "Lucas Hrabovsky ", - "version": "2.28.0", + "version": "2.28.1", "bugs": { "url": "https://jira.mongodb.org/projects/COMPASS/issues", "email": "compass@mongodb.com" diff --git a/packages/compass-query-bar/package.json b/packages/compass-query-bar/package.json index 1850a24571c..4f5a2aafc9a 100644 --- a/packages/compass-query-bar/package.json +++ b/packages/compass-query-bar/package.json @@ -6,7 +6,7 @@ "email": "compass@mongodb.com" }, "private": true, - "version": "8.41.0", + "version": "8.41.1", "homepage": "https://github.com/mongodb-js/compass", "license": "SSPL", "bugs": { @@ -68,20 +68,20 @@ "xvfb-maybe": "^0.2.1" }, "dependencies": { - "@mongodb-js/atlas-service": "^0.28.0", - "@mongodb-js/compass-app-stores": "^7.26.0", - "@mongodb-js/compass-collection": "^4.39.0", + "@mongodb-js/atlas-service": "^0.28.1", + "@mongodb-js/compass-app-stores": "^7.26.1", + "@mongodb-js/compass-collection": "^4.39.1", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", + "@mongodb-js/compass-connections": "^1.40.1", "@mongodb-js/compass-editor": "^0.29.2", - "@mongodb-js/compass-field-store": "^9.15.0", - "@mongodb-js/compass-generative-ai": "^0.22.0", + "@mongodb-js/compass-field-store": "^9.15.1", + "@mongodb-js/compass-generative-ai": "^0.22.1", "@mongodb-js/compass-logging": "^1.4.5", "@mongodb-js/compass-telemetry": "^1.1.5", "@mongodb-js/mongodb-constants": "^0.10.0", "@mongodb-js/my-queries-storage": "^0.15.2", "bson": "^6.7.0", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "hadron-app-registry": "^9.2.4", "lodash": "^4.17.21", "mongodb": "^6.8.0", diff --git a/packages/compass-saved-aggregations-queries/package.json b/packages/compass-saved-aggregations-queries/package.json index 994259fb2f5..f5ba706a1a2 100644 --- a/packages/compass-saved-aggregations-queries/package.json +++ b/packages/compass-saved-aggregations-queries/package.json @@ -11,7 +11,7 @@ "email": "compass@mongodb.com" }, "homepage": "https://github.com/mongodb-js/compass", - "version": "1.40.0", + "version": "1.40.1", "repository": { "type": "git", "url": "https://github.com/mongodb-js/compass.git" @@ -48,17 +48,17 @@ "reformat": "npm run eslint . -- --fix && npm run prettier -- --write ." }, "dependencies": { - "@mongodb-js/compass-app-stores": "^7.26.0", + "@mongodb-js/compass-app-stores": "^7.26.1", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", + "@mongodb-js/compass-connections": "^1.40.1", "@mongodb-js/compass-logging": "^1.4.5", "@mongodb-js/compass-telemetry": "^1.1.5", - "@mongodb-js/compass-workspaces": "^0.21.0", - "@mongodb-js/connection-form": "^1.38.0", + "@mongodb-js/compass-workspaces": "^0.21.1", + "@mongodb-js/connection-form": "^1.38.1", "@mongodb-js/connection-info": "^0.6.1", "@mongodb-js/my-queries-storage": "^0.15.2", "bson": "^6.7.0", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "fuse.js": "^6.5.3", "hadron-app-registry": "^9.2.4", "mongodb-ns": "^2.4.2", diff --git a/packages/compass-schema-validation/package.json b/packages/compass-schema-validation/package.json index ab29b8c0e81..0483f9a840e 100644 --- a/packages/compass-schema-validation/package.json +++ b/packages/compass-schema-validation/package.json @@ -6,7 +6,7 @@ "email": "compass@mongodb.com" }, "private": true, - "version": "6.40.0", + "version": "6.40.1", "repository": { "type": "git", "url": "https://github.com/mongodb-js/compass.git" @@ -67,17 +67,17 @@ "typescript": "^5.0.4" }, "dependencies": { - "@mongodb-js/compass-app-stores": "^7.26.0", - "@mongodb-js/compass-collection": "^4.39.0", + "@mongodb-js/compass-app-stores": "^7.26.1", + "@mongodb-js/compass-collection": "^4.39.1", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", - "@mongodb-js/compass-crud": "^13.40.0", + "@mongodb-js/compass-connections": "^1.40.1", + "@mongodb-js/compass-crud": "^13.40.1", "@mongodb-js/compass-editor": "^0.29.2", - "@mongodb-js/compass-field-store": "^9.15.0", + "@mongodb-js/compass-field-store": "^9.15.1", "@mongodb-js/compass-logging": "^1.4.5", "@mongodb-js/compass-telemetry": "^1.1.5", "bson": "^6.7.0", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "hadron-app-registry": "^9.2.4", "javascript-stringify": "^2.0.1", "lodash": "^4.17.21", diff --git a/packages/compass-schema/package.json b/packages/compass-schema/package.json index a89b64cbf1c..a909beefe7d 100644 --- a/packages/compass-schema/package.json +++ b/packages/compass-schema/package.json @@ -6,7 +6,7 @@ "email": "compass@mongodb.com" }, "private": true, - "version": "6.41.0", + "version": "6.41.1", "repository": { "type": "git", "url": "https://github.com/mongodb-js/compass.git" @@ -73,16 +73,16 @@ "xvfb-maybe": "^0.2.1" }, "dependencies": { - "@mongodb-js/compass-collection": "^4.39.0", + "@mongodb-js/compass-collection": "^4.39.1", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", - "@mongodb-js/compass-field-store": "^9.15.0", + "@mongodb-js/compass-connections": "^1.40.1", + "@mongodb-js/compass-field-store": "^9.15.1", "@mongodb-js/compass-logging": "^1.4.5", "@mongodb-js/compass-telemetry": "^1.1.5", - "@mongodb-js/compass-query-bar": "^8.41.0", - "@mongodb-js/connection-storage": "^0.19.0", + "@mongodb-js/compass-query-bar": "^8.41.1", + "@mongodb-js/connection-storage": "^0.19.1", "bson": "^6.7.0", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "d3": "^3.5.17", "hadron-app-registry": "^9.2.4", "hadron-document": "^8.6.1", diff --git a/packages/compass-serverstats/package.json b/packages/compass-serverstats/package.json index 4ab06ba7e61..323989d72bb 100644 --- a/packages/compass-serverstats/package.json +++ b/packages/compass-serverstats/package.json @@ -2,7 +2,7 @@ "name": "@mongodb-js/compass-serverstats", "description": "Compass Real Time", "private": true, - "version": "16.39.0", + "version": "16.39.1", "main": "dist/index.js", "compass:main": "src/index.ts", "exports": { @@ -30,11 +30,11 @@ }, "license": "SSPL", "dependencies": { - "@mongodb-js/compass-app-stores": "^7.26.0", + "@mongodb-js/compass-app-stores": "^7.26.1", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", + "@mongodb-js/compass-connections": "^1.40.1", "@mongodb-js/compass-telemetry": "^1.1.5", - "@mongodb-js/compass-workspaces": "^0.21.0", + "@mongodb-js/compass-workspaces": "^0.21.1", "d3": "^3.5.17", "d3-timer": "^1.0.3", "debug": "^4.3.4", diff --git a/packages/compass-settings/package.json b/packages/compass-settings/package.json index c84efeefd2e..3f2b8234351 100644 --- a/packages/compass-settings/package.json +++ b/packages/compass-settings/package.json @@ -11,7 +11,7 @@ "email": "compass@mongodb.com" }, "homepage": "https://github.com/mongodb-js/compass", - "version": "0.40.0", + "version": "0.40.1", "repository": { "type": "git", "url": "https://github.com/mongodb-js/compass.git" @@ -49,11 +49,11 @@ "reformat": "npm run eslint . -- --fix && npm run prettier -- --write ." }, "dependencies": { - "@mongodb-js/atlas-service": "^0.28.0", + "@mongodb-js/atlas-service": "^0.28.1", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-generative-ai": "^0.22.0", + "@mongodb-js/compass-generative-ai": "^0.22.1", "@mongodb-js/compass-logging": "^1.4.5", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "hadron-app-registry": "^9.2.4", "hadron-ipc": "^3.2.21", "react": "^17.0.2", diff --git a/packages/compass-shell/package.json b/packages/compass-shell/package.json index af9a7b5c507..d1b0b17c7ef 100644 --- a/packages/compass-shell/package.json +++ b/packages/compass-shell/package.json @@ -6,7 +6,7 @@ "email": "compass@mongodb.com" }, "private": true, - "version": "3.39.0", + "version": "3.39.1", "repository": { "type": "git", "url": "https://github.com/mongodb-js/compass.git" @@ -50,17 +50,17 @@ }, "dependencies": { "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", + "@mongodb-js/compass-connections": "^1.40.1", "@mongodb-js/compass-logging": "^1.4.5", "@mongodb-js/compass-telemetry": "^1.1.5", "@mongodb-js/compass-user-data": "^0.3.5", "@mongodb-js/compass-utils": "^0.6.10", - "@mongodb-js/compass-workspaces": "^0.21.0", + "@mongodb-js/compass-workspaces": "^0.21.1", "@mongosh/browser-repl": "^2.3.0", "@mongosh/logging": "^2.3.0", "@mongosh/node-runtime-worker-thread": "^2.3.0", "bson": "^6.7.0", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "hadron-app-registry": "^9.2.4", "react": "^17.0.2", "react-redux": "^8.1.3", diff --git a/packages/compass-sidebar/package.json b/packages/compass-sidebar/package.json index ed6a7ae2afd..dc8f7d3a812 100644 --- a/packages/compass-sidebar/package.json +++ b/packages/compass-sidebar/package.json @@ -11,7 +11,7 @@ "email": "compass@mongodb.com" }, "homepage": "https://github.com/mongodb-js/compass", - "version": "5.40.0", + "version": "5.40.1", "repository": { "type": "git", "url": "https://github.com/mongodb-js/compass.git" @@ -48,18 +48,18 @@ "reformat": "npm run eslint . -- --fix && npm run prettier -- --write ." }, "dependencies": { - "@mongodb-js/compass-app-stores": "^7.26.0", + "@mongodb-js/compass-app-stores": "^7.26.1", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connection-import-export": "^0.36.0", - "@mongodb-js/compass-connections": "^1.40.0", - "@mongodb-js/compass-connections-navigation": "^1.39.0", + "@mongodb-js/compass-connection-import-export": "^0.36.1", + "@mongodb-js/compass-connections": "^1.40.1", + "@mongodb-js/compass-connections-navigation": "^1.39.1", "@mongodb-js/compass-logging": "^1.4.5", - "@mongodb-js/compass-maybe-protect-connection-string": "^0.26.0", + "@mongodb-js/compass-maybe-protect-connection-string": "^0.26.1", "@mongodb-js/compass-telemetry": "^1.1.5", - "@mongodb-js/compass-workspaces": "^0.21.0", - "@mongodb-js/connection-form": "^1.38.0", + "@mongodb-js/compass-workspaces": "^0.21.1", + "@mongodb-js/connection-form": "^1.38.1", "@mongodb-js/connection-info": "^0.6.1", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "hadron-app-registry": "^9.2.4", "lodash": "^4.17.21", "mongodb": "^6.8.0", diff --git a/packages/compass-web/package.json b/packages/compass-web/package.json index abb8bc734c1..9bc930420cf 100644 --- a/packages/compass-web/package.json +++ b/packages/compass-web/package.json @@ -14,7 +14,7 @@ "email": "compass@mongodb.com" }, "homepage": "https://github.com/mongodb-js/compass", - "version": "0.6.1", + "version": "0.6.2", "repository": { "type": "git", "url": "https://github.com/mongodb-js/compass.git" @@ -62,28 +62,28 @@ "react-dom": "^17.0.2" }, "devDependencies": { - "@mongodb-js/atlas-service": "^0.28.0", - "@mongodb-js/compass-aggregations": "^9.42.0", - "@mongodb-js/compass-app-stores": "^7.26.0", - "@mongodb-js/compass-collection": "^4.39.0", + "@mongodb-js/atlas-service": "^0.28.1", + "@mongodb-js/compass-aggregations": "^9.42.1", + "@mongodb-js/compass-app-stores": "^7.26.1", + "@mongodb-js/compass-collection": "^4.39.1", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", - "@mongodb-js/compass-crud": "^13.40.0", - "@mongodb-js/compass-databases-collections": "^1.39.0", - "@mongodb-js/compass-explain-plan": "^6.40.0", - "@mongodb-js/compass-export-to-language": "^9.16.0", - "@mongodb-js/compass-field-store": "^9.15.0", - "@mongodb-js/compass-generative-ai": "^0.22.0", - "@mongodb-js/compass-indexes": "^5.39.0", + "@mongodb-js/compass-connections": "^1.40.1", + "@mongodb-js/compass-crud": "^13.40.1", + "@mongodb-js/compass-databases-collections": "^1.39.1", + "@mongodb-js/compass-explain-plan": "^6.40.1", + "@mongodb-js/compass-export-to-language": "^9.16.1", + "@mongodb-js/compass-field-store": "^9.15.1", + "@mongodb-js/compass-generative-ai": "^0.22.1", + "@mongodb-js/compass-indexes": "^5.39.1", "@mongodb-js/compass-logging": "^1.4.5", - "@mongodb-js/compass-query-bar": "^8.41.0", - "@mongodb-js/compass-schema": "^6.41.0", - "@mongodb-js/compass-schema-validation": "^6.40.0", - "@mongodb-js/compass-sidebar": "^5.40.0", + "@mongodb-js/compass-query-bar": "^8.41.1", + "@mongodb-js/compass-schema": "^6.41.1", + "@mongodb-js/compass-schema-validation": "^6.40.1", + "@mongodb-js/compass-sidebar": "^5.40.1", "@mongodb-js/compass-telemetry": "^1.1.5", - "@mongodb-js/compass-welcome": "^0.38.0", - "@mongodb-js/compass-workspaces": "^0.21.0", - "@mongodb-js/connection-storage": "^0.19.0", + "@mongodb-js/compass-welcome": "^0.38.1", + "@mongodb-js/compass-workspaces": "^0.21.1", + "@mongodb-js/connection-storage": "^0.19.1", "@mongodb-js/eslint-config-compass": "^1.1.5", "@mongodb-js/mocha-config-compass": "^1.4.0", "@mongodb-js/prettier-config-compass": "^1.0.2", @@ -103,7 +103,7 @@ "bson": "^6.2.0", "buffer": "^6.0.3", "chai": "^4.3.6", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "crypto-browserify": "^3.12.0", "debug": "^4.3.4", "depcheck": "^1.4.1", diff --git a/packages/compass-welcome/package.json b/packages/compass-welcome/package.json index 0b495596914..08b190d159f 100644 --- a/packages/compass-welcome/package.json +++ b/packages/compass-welcome/package.json @@ -11,7 +11,7 @@ "email": "compass@mongodb.com" }, "homepage": "https://github.com/mongodb-js/compass", - "version": "0.38.0", + "version": "0.38.1", "repository": { "type": "git", "url": "https://github.com/mongodb-js/compass.git" @@ -50,11 +50,11 @@ }, "dependencies": { "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", + "@mongodb-js/compass-connections": "^1.40.1", "@mongodb-js/compass-logging": "^1.4.5", "@mongodb-js/compass-telemetry": "^1.1.5", - "@mongodb-js/compass-workspaces": "^0.21.0", - "compass-preferences-model": "^2.28.0", + "@mongodb-js/compass-workspaces": "^0.21.1", + "compass-preferences-model": "^2.28.1", "hadron-app-registry": "^9.2.4", "react": "^17.0.2", "redux": "^4.2.1", diff --git a/packages/compass-workspaces/package.json b/packages/compass-workspaces/package.json index 37a3d934fa1..ca6f8dc11e1 100644 --- a/packages/compass-workspaces/package.json +++ b/packages/compass-workspaces/package.json @@ -11,7 +11,7 @@ "email": "compass@mongodb.com" }, "homepage": "https://github.com/mongodb-js/compass", - "version": "0.21.0", + "version": "0.21.1", "repository": { "type": "git", "url": "https://github.com/mongodb-js/compass.git" @@ -51,11 +51,11 @@ "reformat": "npm run eslint . -- --fix && npm run prettier -- --write ." }, "dependencies": { - "@mongodb-js/compass-app-stores": "^7.26.0", + "@mongodb-js/compass-app-stores": "^7.26.1", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", + "@mongodb-js/compass-connections": "^1.40.1", "@mongodb-js/compass-logging": "^1.4.5", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "bson": "^6.7.0", "hadron-app-registry": "^9.2.4", "lodash": "^4.17.21", diff --git a/packages/compass/package.json b/packages/compass/package.json index 65a7c7335d6..908dc7ccdef 100644 --- a/packages/compass/package.json +++ b/packages/compass/package.json @@ -191,38 +191,38 @@ "devDependencies": { "@electron/rebuild": "^3.6.0", "@electron/remote": "^2.1.2", - "@mongodb-js/atlas-service": "^0.28.0", - "@mongodb-js/compass-aggregations": "^9.42.0", - "@mongodb-js/compass-app-stores": "^7.26.0", - "@mongodb-js/compass-collection": "^4.39.0", + "@mongodb-js/atlas-service": "^0.28.1", + "@mongodb-js/compass-aggregations": "^9.42.1", + "@mongodb-js/compass-app-stores": "^7.26.1", + "@mongodb-js/compass-collection": "^4.39.1", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", - "@mongodb-js/compass-connection-import-export": "^0.36.0", - "@mongodb-js/compass-crud": "^13.40.0", - "@mongodb-js/compass-databases-collections": "^1.39.0", - "@mongodb-js/compass-explain-plan": "^6.40.0", - "@mongodb-js/compass-export-to-language": "^9.16.0", - "@mongodb-js/compass-field-store": "^9.15.0", + "@mongodb-js/compass-connections": "^1.40.1", + "@mongodb-js/compass-connection-import-export": "^0.36.1", + "@mongodb-js/compass-crud": "^13.40.1", + "@mongodb-js/compass-databases-collections": "^1.39.1", + "@mongodb-js/compass-explain-plan": "^6.40.1", + "@mongodb-js/compass-export-to-language": "^9.16.1", + "@mongodb-js/compass-field-store": "^9.15.1", "@mongodb-js/compass-find-in-page": "^4.30.2", - "@mongodb-js/compass-generative-ai": "^0.22.0", - "@mongodb-js/compass-import-export": "^7.39.0", - "@mongodb-js/compass-indexes": "^5.39.0", - "@mongodb-js/compass-intercom": "^0.12.0", + "@mongodb-js/compass-generative-ai": "^0.22.1", + "@mongodb-js/compass-import-export": "^7.39.1", + "@mongodb-js/compass-indexes": "^5.39.1", + "@mongodb-js/compass-intercom": "^0.12.1", "@mongodb-js/compass-logging": "^1.4.5", "@mongodb-js/compass-telemetry": "^1.1.5", - "@mongodb-js/compass-query-bar": "^8.41.0", - "@mongodb-js/compass-saved-aggregations-queries": "^1.40.0", - "@mongodb-js/compass-schema": "^6.41.0", - "@mongodb-js/compass-schema-validation": "^6.40.0", - "@mongodb-js/compass-serverstats": "^16.39.0", - "@mongodb-js/compass-settings": "^0.40.0", - "@mongodb-js/compass-shell": "^3.39.0", - "@mongodb-js/compass-sidebar": "^5.40.0", + "@mongodb-js/compass-query-bar": "^8.41.1", + "@mongodb-js/compass-saved-aggregations-queries": "^1.40.1", + "@mongodb-js/compass-schema": "^6.41.1", + "@mongodb-js/compass-schema-validation": "^6.40.1", + "@mongodb-js/compass-serverstats": "^16.39.1", + "@mongodb-js/compass-settings": "^0.40.1", + "@mongodb-js/compass-shell": "^3.39.1", + "@mongodb-js/compass-sidebar": "^5.40.1", "@mongodb-js/compass-utils": "^0.6.10", - "@mongodb-js/compass-welcome": "^0.38.0", - "@mongodb-js/compass-workspaces": "^0.21.0", + "@mongodb-js/compass-welcome": "^0.38.1", + "@mongodb-js/compass-workspaces": "^0.21.1", "@mongodb-js/connection-info": "^0.6.1", - "@mongodb-js/connection-storage": "^0.19.0", + "@mongodb-js/connection-storage": "^0.19.1", "@mongodb-js/devtools-proxy-support": "^0.3.6", "@mongodb-js/eslint-config-compass": "^1.1.5", "@mongodb-js/get-os-info": "^0.3.24", @@ -239,7 +239,7 @@ "chai": "^4.3.4", "chalk": "^4.1.2", "clean-stack": "^2.0.0", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "debug": "^4.3.4", "depcheck": "^1.4.1", "electron": "^30.4.0", diff --git a/packages/connection-form/package.json b/packages/connection-form/package.json index 59c60955ab9..7d714cbbd6f 100644 --- a/packages/connection-form/package.json +++ b/packages/connection-form/package.json @@ -13,7 +13,7 @@ "email": "compass@mongodb.com" }, "homepage": "https://github.com/mongodb-js/compass", - "version": "1.38.0", + "version": "1.38.1", "repository": { "type": "git", "url": "https://github.com/mongodb-js/compass.git" @@ -52,7 +52,7 @@ "@mongodb-js/compass-editor": "^0.29.2", "@mongodb-js/connection-info": "^0.6.1", "@mongodb-js/shell-bson-parser": "^1.1.2", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "lodash": "^4.17.21", "mongodb": "^6.8.0", "mongodb-build-info": "^1.7.2", diff --git a/packages/connection-storage/package.json b/packages/connection-storage/package.json index 97fe5651fa6..d7fc06f5209 100644 --- a/packages/connection-storage/package.json +++ b/packages/connection-storage/package.json @@ -13,7 +13,7 @@ "email": "compass@mongodb.com" }, "homepage": "https://github.com/mongodb-js/compass", - "version": "0.19.0", + "version": "0.19.1", "repository": { "type": "git", "url": "https://github.com/mongodb-js/compass.git" @@ -62,7 +62,7 @@ "@mongodb-js/compass-utils": "^0.6.10", "@mongodb-js/connection-info": "^0.6.1", "bson": "^6.7.0", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "electron": "^30.4.0", "hadron-app-registry": "^9.2.4", "hadron-ipc": "^3.2.21", diff --git a/packages/databases-collections-list/package.json b/packages/databases-collections-list/package.json index 618d63de8b3..39a5716e319 100644 --- a/packages/databases-collections-list/package.json +++ b/packages/databases-collections-list/package.json @@ -13,7 +13,7 @@ "email": "compass@mongodb.com" }, "homepage": "https://github.com/mongodb-js/compass", - "version": "1.37.0", + "version": "1.37.1", "repository": { "type": "git", "url": "https://github.com/mongodb-js/compass.git" @@ -49,11 +49,11 @@ }, "dependencies": { "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", + "@mongodb-js/compass-connections": "^1.40.1", "@mongodb-js/compass-telemetry": "^1.1.5", - "@mongodb-js/compass-workspaces": "^0.21.0", + "@mongodb-js/compass-workspaces": "^0.21.1", "@mongodb-js/connection-info": "^0.6.1", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "mongodb-ns": "^2.4.2", "react": "^17.0.2" }, diff --git a/packages/databases-collections/package.json b/packages/databases-collections/package.json index 9510f7edf43..53ea72a9414 100644 --- a/packages/databases-collections/package.json +++ b/packages/databases-collections/package.json @@ -2,7 +2,7 @@ "name": "@mongodb-js/compass-databases-collections", "description": "Plugin for viewing the list of, creating, and dropping databases and collections", "private": true, - "version": "1.39.0", + "version": "1.39.1", "license": "SSPL", "homepage": "https://github.com/mongodb-js/compass", "bugs": { @@ -60,16 +60,16 @@ "typescript": "^5.0.4" }, "dependencies": { - "@mongodb-js/compass-app-stores": "^7.26.0", + "@mongodb-js/compass-app-stores": "^7.26.1", "@mongodb-js/compass-components": "^1.29.2", - "@mongodb-js/compass-connections": "^1.40.0", + "@mongodb-js/compass-connections": "^1.40.1", "@mongodb-js/compass-editor": "^0.29.2", "@mongodb-js/compass-logging": "^1.4.5", "@mongodb-js/compass-telemetry": "^1.1.5", - "@mongodb-js/compass-workspaces": "^0.21.0", - "@mongodb-js/databases-collections-list": "^1.37.0", + "@mongodb-js/compass-workspaces": "^0.21.1", + "@mongodb-js/databases-collections-list": "^1.37.1", "@mongodb-js/my-queries-storage": "^0.15.2", - "compass-preferences-model": "^2.28.0", + "compass-preferences-model": "^2.28.1", "hadron-app-registry": "^9.2.4", "lodash": "^4.17.21", "mongodb-collection-model": "^5.23.1",