Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/compass-aggregations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"@mongodb-js/mongodb-ns": "^3.2.9",
"@mongodb-js/mongodb-schema": "^12.8.11",
"@mongodb-js/my-queries-storage": "^1.8.1",
"@mongodb-js/shell-bson-parser": "^2.2.0",
"@mongodb-js/shell-bson-parser": "^2.2.3",
"bson": "^7.3.2",
"lodash": "^4.18.1",
"mongodb": "^7.5.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,23 @@ describe('PipelineBuilderUIWorkspace [Component]', function () {
expect(screen.getAllByTestId('stage-card')).to.have.lengthOf(3);
});

it('renders a field named _bsontype as regular document data', async function () {
await renderPipelineBuilderUIWorkspace(
{},
{
pipeline: [
{
$match: {
field: { _bsontype: 'Timestamp', high: 'a', low: 'b' },
},
},
],
}
);
expect(screen.getAllByTestId('stage-card')).to.have.lengthOf(1);
expect(screen.getByTestId('stage-editor')).to.contain.text('_bsontype');
});

it('renders add stage icon button between stages', async function () {
await renderPipelineBuilderUIWorkspace();
const buttons = screen.getAllByTestId('add-stage-icon-button');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ describe('ServerErrorBanner', function () {
const onEditSearchIndexClick = sinon.spy();
const element = (
<AssistantActionsContext.Provider
value={{ debugSearchError: sinon.stub() } as any}
value={{ debugSearchError: sinon.stub() }}
>
<ServerErrorBanner
message={ERROR_MESSAGE}
Expand Down Expand Up @@ -168,7 +168,7 @@ describe('ServerErrorBanner', function () {
const debugSearchError = sinon.stub();
const onEditSearchIndexClick = sinon.spy();
const element = (
<AssistantActionsContext.Provider value={{ debugSearchError } as any}>
<AssistantActionsContext.Provider value={{ debugSearchError }}>
<ServerErrorBanner
message={ERROR_MESSAGE}
searchIndexName="test-index"
Expand Down
2 changes: 1 addition & 1 deletion packages/compass-aggregations/test/configure-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export function wrapWithExperimentProvider(
testName: ExperimentTestName
): ExperimentTestGroup | null =>
variant && typeof variant === 'object'
? variant[testName] ?? null
? (variant[testName] ?? null)
: variant;

return React.createElement(
Expand Down
2 changes: 1 addition & 1 deletion packages/compass-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
"@mongodb-js/hadron-document": "^8.13.2",
"@mongodb-js/hadron-type-checker": "^7.5.16",
"@mongodb-js/mongodb-query-util": "^2.6.16",
"@mongodb-js/shell-bson-parser": "^2.2.0",
"@mongodb-js/shell-bson-parser": "^2.2.3",
"@react-aria/interactions": "^3.9.1",
"@react-aria/utils": "^3.13.1",
"@react-aria/visually-hidden": "^3.3.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/compass-crud/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"@mongodb-js/mongodb-ns": "^3.2.9",
"@mongodb-js/my-queries-storage": "^1.8.1",
"@mongodb-js/reflux-state-mixin": "^1.2.45",
"@mongodb-js/shell-bson-parser": "^2.2.0",
"@mongodb-js/shell-bson-parser": "^2.2.3",
"ag-grid-community": "^36.2.0",
"ag-grid-react": "^36.2.0",
"bson": "^7.3.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/compass-editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"@lezer/highlight": "^1.2.1",
"@mongodb-js/compass-components": "^1.71.2",
"@mongodb-js/mongodb-constants": "^0.34.15",
"@mongodb-js/shell-bson-parser": "^2.2.0",
"@mongodb-js/shell-bson-parser": "^2.2.3",
"hast": "^0.0.2",
"json-schema": "^0.4.0",
"polished": "^4.2.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/compass-export-to-language/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"@mongodb-js/compass-preferences-model": "^3.9.1",
"@mongodb-js/compass-telemetry": "^1.37.2",
"@mongodb-js/mongodb-ns": "^3.2.9",
"@mongodb-js/shell-bson-parser": "^2.2.0",
"@mongodb-js/shell-bson-parser": "^2.2.3",
"react": "^18.3.1",
"react-redux": "^8.1.3",
"redux": "^4.2.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/compass-generative-ai/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"@mongodb-js/mock-data-generator": "^1.2.2",
"@mongodb-js/mongodb-build-info": "^1.9.19",
"@mongodb-js/mongodb-schema": "^12.8.11",
"@mongodb-js/shell-bson-parser": "^2.2.0",
"@mongodb-js/shell-bson-parser": "^2.2.3",
"@mongosh/service-provider-core": "^5.2.0",
"@mongosh/service-provider-node-driver": "^5.2.0",
"ai": "^7.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/compass-import-export/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"@mongodb-js/mongodb-data-service": "^22.42.1",
"@mongodb-js/mongodb-ns": "^3.2.9",
"@mongodb-js/mongodb-schema": "^12.8.11",
"@mongodb-js/shell-bson-parser": "^2.2.0",
"@mongodb-js/shell-bson-parser": "^2.2.3",
"bson": "^7.3.2",
"debug": "^4.3.4",
"electron": "^45.3.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/compass-indexes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"@mongodb-js/mongodb-data-service": "^22.42.1",
"@mongodb-js/mongodb-ns": "^3.2.9",
"@mongodb-js/search-index-schema": "^3.0.0",
"@mongodb-js/shell-bson-parser": "^2.2.0",
"@mongodb-js/shell-bson-parser": "^2.2.3",
"@mongodb-js/workspace-info": "^1.15.1",
"bson": "^7.3.2",
"json-schema": "^0.4.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/compass-query-bar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"@mongodb-js/mongodb-query-util": "^2.6.16",
"@mongodb-js/mongodb-schema": "^12.8.11",
"@mongodb-js/my-queries-storage": "^1.8.1",
"@mongodb-js/shell-bson-parser": "^2.2.0",
"@mongodb-js/shell-bson-parser": "^2.2.3",
"bson": "^7.3.2",
"lodash": "^4.18.1",
"mongodb": "^7.5.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/compass-schema-validation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"@mongodb-js/compass-workspaces": "^1.10.0",
"@mongodb-js/mongodb-constants": "^0.34.15",
"@mongodb-js/mongodb-ns": "^3.2.9",
"@mongodb-js/shell-bson-parser": "^2.2.0",
"@mongodb-js/shell-bson-parser": "^2.2.3",
"bson": "^7.3.2",
"lodash": "^4.18.1",
"mongodb": "^7.5.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/connection-form/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@mongodb-js/connection-info": "^0.30.1",
"@mongodb-js/mongodb-build-info": "^1.9.19",
"@mongodb-js/mongodb-data-service": "^22.42.1",
"@mongodb-js/shell-bson-parser": "^2.2.0",
"@mongodb-js/shell-bson-parser": "^2.2.3",
"lodash": "^4.18.1",
"mongodb": "^7.5.0",
"mongodb-connection-string-url": "^7.0.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/databases-collections/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"@mongodb-js/mongodb-instance-model": "^13.9.1",
"@mongodb-js/mongodb-ns": "^3.2.9",
"@mongodb-js/my-queries-storage": "^1.8.1",
"@mongodb-js/shell-bson-parser": "^2.2.0",
"@mongodb-js/shell-bson-parser": "^2.2.3",
"@mongodb-js/workspace-info": "^1.15.1",
"lodash": "^4.18.1",
"prop-types": "^15.7.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/explain-plan-helper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"reformat": "npm run eslint . -- --fix && npm run prettier -- --write ."
},
"dependencies": {
"@mongodb-js/shell-bson-parser": "^2.2.0",
"@mongodb-js/shell-bson-parser": "^2.2.3",
"mongodb-explain-compat": "^3.3.44"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/hadron-document/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"typecheck": "tsc -p tsconfig.json --noEmit"
},
"dependencies": {
"@mongodb-js/shell-bson-parser": "^2.2.0",
"@mongodb-js/shell-bson-parser": "^2.2.3",
"bson": "^7.3.2",
"eventemitter3": "^4.0.0",
"@mongodb-js/hadron-type-checker": "^7.5.16",
Expand Down
2 changes: 1 addition & 1 deletion packages/mock-data-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"dependencies": {
"@faker-js/faker": "^10.5.0",
"@mongodb-js/mongodb-schema": "^12.8.11",
"@mongodb-js/shell-bson-parser": "^2.2.0",
"@mongodb-js/shell-bson-parser": "^2.2.3",
"lodash": "^4.18.1",
"prettier": "^2.8.8",
"zod": "^4.6.7"
Expand Down
Loading