Skip to content

Commit 01d8322

Browse files
committed
Merge remote-tracking branch 'origin/main' into 1.35-releases
2 parents 1e91b21 + 887a3da commit 01d8322

File tree

255 files changed

+9433
-6847
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

255 files changed

+9433
-6847
lines changed

.depalignrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@
131131
"babel-loader": ["^7.1.5"],
132132
"@babel/core": ["7.16.0"],
133133
"@babel/parser": ["7.16.0"],
134-
"js-yaml": ["^3.13.1"]
134+
"js-yaml": ["^3.13.1"],
135+
"bson": ["^4.4.1", "^5.0.0"]
135136
}
136137
}

configs/webpack-config-compass/src/loaders.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const cloudSupportedBrowserslistConfig =
1818
'last 2 Chrome versions, last 2 Safari versions, last 2 Firefox versions';
1919

2020
export const javascriptLoader = (args: ConfigArgs, web = false) => ({
21-
test: /\.(mjs|jsx?|tsx?)$/,
21+
test: /\.(mjs|c?jsx?|tsx?)$/,
2222
exclude: [
2323
/\bnode_modules\b/,
2424
// Otherwise core-js will polyfill itself with core-js and this doesn't work

package-lock.json

Lines changed: 3633 additions & 3083 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"scripts": {
1212
"bootstrap": "npm install && lerna run bootstrap --stream",
1313
"bootstrap-ci": "npm ci && lerna run bootstrap",
14+
"postinstall": "node scripts/fixup-bson5-packagejson.js",
1415
"precheck": "npm run depcheck && npm run check-logids && npm run check-leafygreen-dependency-usage",
1516
"changed": "node ./scripts/changed.js",
1617
"check": "lerna run check --stream",

packages/bson-transpilers/codegeneration/javascript/Visitor.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -585,8 +585,8 @@ module.exports = (CodeGenerationVisitor) => class Visitor extends CodeGeneration
585585
Map: bson.Map,
586586
MaxKey: bson.MaxKey,
587587
MinKey: bson.MinKey,
588-
ObjectID: bson.ObjectID,
589-
ObjectId: bson.ObjectID,
588+
ObjectID: bson.ObjectId,
589+
ObjectId: bson.ObjectId,
590590
BSONSymbol: bson.BSONSymbol,
591591
Timestamp: bson.Timestamp,
592592
Code: function(c, s) {

packages/bson-transpilers/codegeneration/shell/Visitor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ module.exports = (JavascriptVisitor) => class Visitor extends JavascriptVisitor
2929
Map: bson.Map,
3030
MaxKey: bson.MaxKey,
3131
MinKey: bson.MinKey,
32-
ObjectId: bson.ObjectID,
32+
ObjectId: bson.ObjectId,
3333
BSONSymbol: bson.BSONSymbol,
3434
Timestamp: bson.Timestamp,
3535
Code: function(c, s) {

packages/bson-transpilers/test/run-yaml.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ const executeJavascript = (input) => {
4040
Map: bson.Map,
4141
MaxKey: bson.MaxKey,
4242
MinKey: bson.MinKey,
43-
ObjectID: bson.ObjectID,
44-
ObjectId: bson.ObjectID,
43+
ObjectID: bson.ObjectId,
44+
ObjectId: bson.ObjectId,
4545
BSONSymbol: bson.BSONSymbol,
4646
Timestamp: bson.Timestamp,
4747
Code: function(c, s) {

packages/collection-model/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "mongodb-collection-model",
33
"description": "MongoDB collection model",
44
"author": "Lucas Hrabovsky <[email protected]>",
5-
"version": "5.4.0",
5+
"version": "5.4.1",
66
"bugs": {
77
"url": "https://jira.mongodb.org/projects/COMPASS/issues",
88
"email": "[email protected]"
@@ -34,7 +34,7 @@
3434
"mongodb-ns": "^2.4.0"
3535
},
3636
"peerDependencies": {
37-
"mongodb-data-service": "^22.4.0"
37+
"mongodb-data-service": "^22.4.1"
3838
},
3939
"devDependencies": {
4040
"@mongodb-js/eslint-config-compass": "^1.0.2",
@@ -43,7 +43,7 @@
4343
"electron-mocha": "^10.1.0",
4444
"eslint": "^7.25.0",
4545
"mocha": "^8.4.0",
46-
"mongodb-data-service": "^22.4.0",
46+
"mongodb-data-service": "^22.4.1",
4747
"xvfb-maybe": "^0.2.1"
4848
}
4949
}

packages/compass-aggregations/package.json

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@mongodb-js/compass-aggregations",
33
"productName": "Aggregations plugin",
4-
"version": "9.5.2",
4+
"version": "9.6.0",
55
"apiVersion": "3.0.0",
66
"description": "Compass Aggregation Pipeline Builder",
77
"main": "dist/index.js",
@@ -40,15 +40,15 @@
4040
"license": "SSPL",
4141
"peerDependencies": {
4242
"@mongodb-js/compass-components": "^1.5.0",
43-
"@mongodb-js/compass-crud": "^13.5.2",
43+
"@mongodb-js/compass-crud": "^13.5.3",
4444
"@mongodb-js/compass-editor": "^0.4.2",
4545
"@mongodb-js/compass-logging": "^1.1.2",
46-
"@mongodb-js/compass-utils": "^0.2.0",
46+
"@mongodb-js/compass-utils": "^0.2.1",
4747
"@mongodb-js/explain-plan-helper": "^1.0.2",
48-
"@mongodb-js/mongodb-constants": "^0.1.5",
48+
"@mongodb-js/mongodb-constants": "^0.2.1",
4949
"@mongodb-js/mongodb-redux-common": "^2.0.4",
50-
"bson": "^4.4.1",
51-
"compass-preferences-model": "^2.5.0",
50+
"bson": "^5.0.0",
51+
"compass-preferences-model": "^2.5.1",
5252
"hadron-document": "^8.1.0",
5353
"react": "^17.0.2"
5454
},
@@ -72,17 +72,17 @@
7272
"chai": "^4.3.6",
7373
"debug": "^4.2.0",
7474
"depcheck": "^1.4.1",
75-
"ejson-shell-parser": "^1.2.0",
75+
"ejson-shell-parser": "^1.2.1",
7676
"electron": "^22.0.2",
7777
"enzyme": "^3.11.0",
7878
"eslint": "^7.25.0",
7979
"hadron-app-registry": "^9.0.3",
8080
"lodash": "^4.17.21",
8181
"mocha": "^8.4.0",
82-
"mongodb": "^4.13.0",
83-
"mongodb-data-service": "^22.4.0",
82+
"mongodb": "^5.0.0",
83+
"mongodb-data-service": "^22.4.1",
8484
"mongodb-ns": "^2.4.0",
85-
"mongodb-query-parser": "^2.4.6",
85+
"mongodb-query-parser": "^2.4.8",
8686
"nyc": "^15.1.0",
8787
"prettier": "^2.7.1",
8888
"prop-types": "^15.7.2",
@@ -95,19 +95,20 @@
9595
"rimraf": "^3.0.0",
9696
"semver": "^5.7.1",
9797
"sinon": "^9.2.3",
98-
"xvfb-maybe": "^0.2.1"
98+
"xvfb-maybe": "^0.2.1",
99+
"react-intersection-observer": "^8.34.0"
99100
},
100101
"dependencies": {
101102
"@mongodb-js/compass-components": "^1.5.0",
102-
"@mongodb-js/compass-crud": "^13.5.2",
103+
"@mongodb-js/compass-crud": "^13.5.3",
103104
"@mongodb-js/compass-editor": "^0.4.2",
104105
"@mongodb-js/compass-logging": "^1.1.2",
105-
"@mongodb-js/compass-utils": "^0.2.0",
106+
"@mongodb-js/compass-utils": "^0.2.1",
106107
"@mongodb-js/explain-plan-helper": "^1.0.2",
107-
"@mongodb-js/mongodb-constants": "^0.1.5",
108+
"@mongodb-js/mongodb-constants": "^0.2.1",
108109
"@mongodb-js/mongodb-redux-common": "^2.0.4",
109-
"bson": "^4.4.1",
110-
"compass-preferences-model": "^2.5.0",
110+
"bson": "^5.0.0",
111+
"compass-preferences-model": "^2.5.1",
111112
"hadron-document": "^8.1.0"
112113
},
113114
"homepage": "https://github.com/mongodb-js/compass",

packages/compass-aggregations/src/components/add-stage/add-stage.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import {
77
spacing,
88
Link,
99
} from '@mongodb-js/compass-components';
10+
import { PIPELINE_HELP_URI } from '../../constants';
1011

1112
const iconContainerStyles = css({
1213
textAlign: 'center',
@@ -59,7 +60,7 @@ export const AddStage = ({ onAddStage, variant }: AddStageProps) => {
5960
</Button>
6061

6162
<div className={linkContainerStyles}>
62-
<Link href="https://www.mongodb.com/docs/manual/reference/operator/aggregation-pipeline/">
63+
<Link href={PIPELINE_HELP_URI}>
6364
Learn more about aggregation pipeline stages
6465
</Link>
6566
</div>

0 commit comments

Comments
 (0)