@mongodb-js/compass-aggregations 9.6.0 → 9.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/dist/browser.js +1 -1
  2. package/dist/browser.js.LICENSE.txt +0 -4
  3. package/dist/index.js +1 -1
  4. package/dist/index.js.LICENSE.txt +0 -4
  5. package/dist/src/components/add-stage/add-stage.d.ts.map +1 -1
  6. package/dist/src/components/focus-mode/focus-mode-modal-header.d.ts.map +1 -1
  7. package/dist/src/components/focus-mode/focus-mode-stage-editor.d.ts.map +1 -1
  8. package/dist/src/components/focus-mode/focus-mode.d.ts.map +1 -1
  9. package/dist/src/components/pipeline/pipeline.d.ts.map +1 -1
  10. package/dist/src/components/saved-pipelines/saved-pipelines.d.ts +5 -9
  11. package/dist/src/components/saved-pipelines/saved-pipelines.d.ts.map +1 -1
  12. package/dist/src/components/stage-editor/stage-editor.d.ts +7 -15
  13. package/dist/src/components/stage-editor/stage-editor.d.ts.map +1 -1
  14. package/dist/src/components/stage-preview/output-stage-preview.d.ts.map +1 -1
  15. package/dist/src/components/stage-toolbar/index.d.ts +7 -2
  16. package/dist/src/components/stage-toolbar/index.d.ts.map +1 -1
  17. package/dist/src/components/stage-toolbar/stage-operator-select.d.ts +4 -2
  18. package/dist/src/components/stage-toolbar/stage-operator-select.d.ts.map +1 -1
  19. package/dist/src/components/stage.d.ts.map +1 -1
  20. package/dist/src/constants.d.ts +4 -0
  21. package/dist/src/constants.d.ts.map +1 -1
  22. package/dist/src/index.d.ts +1 -1
  23. package/dist/src/index.d.ts.map +1 -1
  24. package/dist/src/modules/collation-string.d.ts.map +1 -1
  25. package/dist/src/modules/fields.d.ts +16 -4
  26. package/dist/src/modules/fields.d.ts.map +1 -1
  27. package/dist/src/modules/index.d.ts +1 -3
  28. package/dist/src/modules/index.d.ts.map +1 -1
  29. package/dist/src/modules/input-documents.d.ts.map +1 -1
  30. package/dist/src/modules/is-new-pipeline-confirm.d.ts +0 -10
  31. package/dist/src/modules/is-new-pipeline-confirm.d.ts.map +1 -1
  32. package/dist/src/modules/pipeline-builder/stage-editor.d.ts.map +1 -1
  33. package/dist/src/modules/saved-pipeline.d.ts +3 -2
  34. package/dist/src/modules/saved-pipeline.d.ts.map +1 -1
  35. package/dist/src/modules/update-view.d.ts.map +1 -1
  36. package/dist/src/plugin.d.ts +2 -3
  37. package/dist/src/plugin.d.ts.map +1 -1
  38. package/dist/src/stores/store.d.ts +108 -4
  39. package/dist/src/stores/store.d.ts.map +1 -1
  40. package/dist/src/utils/local-storage.d.ts +3 -0
  41. package/dist/src/utils/local-storage.d.ts.map +1 -0
  42. package/dist/src/utils/stage.d.ts +0 -2
  43. package/dist/src/utils/stage.d.ts.map +1 -1
  44. package/package.json +34 -33
  45. package/dist/src/components/pipeline-confirm-modal/pipeline-confirm-modal.d.ts +0 -13
  46. package/dist/src/components/pipeline-confirm-modal/pipeline-confirm-modal.d.ts.map +0 -1
  47. package/dist/src/components/saved-pipelines/saved-pipeline-confirmation-modals.d.ts +0 -12
  48. package/dist/src/components/saved-pipelines/saved-pipeline-confirmation-modals.d.ts.map +0 -1
  49. package/dist/src/modules/is-readonly.d.ts +0 -3
  50. package/dist/src/modules/is-readonly.d.ts.map +0 -1
  51. package/dist/src/stores/index.d.ts +0 -4
  52. package/dist/src/stores/index.d.ts.map +0 -1
  53. package/dist/src/utils/configure-store.d.ts +0 -5
  54. package/dist/src/utils/configure-store.d.ts.map +0 -1
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mongodb-js/compass-aggregations",
3
3
  "productName": "Aggregations plugin",
4
- "version": "9.6.0",
4
+ "version": "9.8.0",
5
5
  "apiVersion": "3.0.0",
6
6
  "description": "Compass Aggregation Pipeline Builder",
7
7
  "main": "dist/index.js",
@@ -35,21 +35,21 @@
35
35
  "test-ci": "npm run test-cov",
36
36
  "test-ci-electron": "npm run test-electron",
37
37
  "prettier": "prettier",
38
- "reformat": "npm run prettier -- --write ."
38
+ "reformat": "npm run prettier -- --write . && npm run eslint . --fix"
39
39
  },
40
40
  "license": "SSPL",
41
41
  "peerDependencies": {
42
- "@mongodb-js/compass-components": "^1.5.0",
43
- "@mongodb-js/compass-crud": "^13.5.3",
44
- "@mongodb-js/compass-editor": "^0.4.2",
45
- "@mongodb-js/compass-logging": "^1.1.2",
46
- "@mongodb-js/compass-utils": "^0.2.1",
47
- "@mongodb-js/explain-plan-helper": "^1.0.2",
48
- "@mongodb-js/mongodb-constants": "^0.1.5",
49
- "@mongodb-js/mongodb-redux-common": "^2.0.4",
50
- "bson": "^4.4.1",
51
- "compass-preferences-model": "^2.5.1",
52
- "hadron-document": "^8.1.0",
42
+ "@mongodb-js/compass-components": "^1.7.0",
43
+ "@mongodb-js/compass-crud": "^13.7.0",
44
+ "@mongodb-js/compass-editor": "^0.6.0",
45
+ "@mongodb-js/compass-logging": "^1.1.4",
46
+ "@mongodb-js/compass-utils": "^0.2.3",
47
+ "@mongodb-js/explain-plan-helper": "^1.0.4",
48
+ "@mongodb-js/mongodb-constants": "^0.2.1",
49
+ "@mongodb-js/mongodb-redux-common": "^2.0.6",
50
+ "bson": "^5.0.1",
51
+ "compass-preferences-model": "^2.7.0",
52
+ "hadron-document": "^8.1.2",
53
53
  "react": "^17.0.2"
54
54
  },
55
55
  "devDependencies": {
@@ -60,11 +60,11 @@
60
60
  "@dnd-kit/sortable": "^7.0.2",
61
61
  "@dnd-kit/utilities": "^3.2.1",
62
62
  "@electron/remote": "^2.0.9",
63
- "@mongodb-js/eslint-config-compass": "^1.0.2",
64
- "@mongodb-js/mocha-config-compass": "^1.0.2",
63
+ "@mongodb-js/eslint-config-compass": "^1.0.4",
64
+ "@mongodb-js/mocha-config-compass": "^1.1.0",
65
65
  "@mongodb-js/prettier-config-compass": "^1.0.0",
66
66
  "@mongodb-js/tsconfig-compass": "^1.0.1",
67
- "@mongodb-js/webpack-config-compass": "^1.0.5",
67
+ "@mongodb-js/webpack-config-compass": "^1.0.7",
68
68
  "@testing-library/react": "^12.1.4",
69
69
  "@testing-library/user-event": "^13.5.0",
70
70
  "@types/lodash": "^4.14.188",
@@ -72,23 +72,24 @@
72
72
  "chai": "^4.3.6",
73
73
  "debug": "^4.2.0",
74
74
  "depcheck": "^1.4.1",
75
- "ejson-shell-parser": "^1.2.0",
75
+ "ejson-shell-parser": "^1.2.1",
76
76
  "electron": "^22.0.2",
77
77
  "enzyme": "^3.11.0",
78
78
  "eslint": "^7.25.0",
79
- "hadron-app-registry": "^9.0.3",
79
+ "hadron-app-registry": "^9.0.5",
80
80
  "lodash": "^4.17.21",
81
81
  "mocha": "^8.4.0",
82
- "mongodb": "^4.13.0",
83
- "mongodb-data-service": "^22.4.1",
82
+ "mongodb": "^5.1.0",
83
+ "mongodb-data-service": "^22.5.1",
84
84
  "mongodb-ns": "^2.4.0",
85
- "mongodb-query-parser": "^2.4.6",
85
+ "mongodb-query-parser": "^2.4.8",
86
86
  "nyc": "^15.1.0",
87
87
  "prettier": "^2.7.1",
88
88
  "prop-types": "^15.7.2",
89
89
  "re-resizable": "^6.9.0",
90
90
  "react": "^17.0.2",
91
91
  "react-dom": "^17.0.2",
92
+ "react-intersection-observer": "^8.34.0",
92
93
  "react-redux": "^8.0.5",
93
94
  "redux": "^4.2.0",
94
95
  "redux-thunk": "^2.3.0",
@@ -98,17 +99,17 @@
98
99
  "xvfb-maybe": "^0.2.1"
99
100
  },
100
101
  "dependencies": {
101
- "@mongodb-js/compass-components": "^1.5.0",
102
- "@mongodb-js/compass-crud": "^13.5.3",
103
- "@mongodb-js/compass-editor": "^0.4.2",
104
- "@mongodb-js/compass-logging": "^1.1.2",
105
- "@mongodb-js/compass-utils": "^0.2.1",
106
- "@mongodb-js/explain-plan-helper": "^1.0.2",
107
- "@mongodb-js/mongodb-constants": "^0.1.5",
108
- "@mongodb-js/mongodb-redux-common": "^2.0.4",
109
- "bson": "^4.4.1",
110
- "compass-preferences-model": "^2.5.1",
111
- "hadron-document": "^8.1.0"
102
+ "@mongodb-js/compass-components": "^1.7.0",
103
+ "@mongodb-js/compass-crud": "^13.7.0",
104
+ "@mongodb-js/compass-editor": "^0.6.0",
105
+ "@mongodb-js/compass-logging": "^1.1.4",
106
+ "@mongodb-js/compass-utils": "^0.2.3",
107
+ "@mongodb-js/explain-plan-helper": "^1.0.4",
108
+ "@mongodb-js/mongodb-constants": "^0.2.1",
109
+ "@mongodb-js/mongodb-redux-common": "^2.0.6",
110
+ "bson": "^5.0.1",
111
+ "compass-preferences-model": "^2.7.0",
112
+ "hadron-document": "^8.1.2"
112
113
  },
113
114
  "homepage": "https://github.com/mongodb-js/compass",
114
115
  "bugs": {
@@ -119,5 +120,5 @@
119
120
  "type": "git",
120
121
  "url": "https://github.com/mongodb-js/compass.git"
121
122
  },
122
- "gitHead": "b625bfb4b1c028513e232069ca2f56b14ffa5422"
123
+ "gitHead": "fe181eedfcb07251b9b9a3dce8254a4941d74e42"
123
124
  }
@@ -1,13 +0,0 @@
1
- import React from 'react';
2
- declare type PipelineConfirmModalProps = {
3
- isModalOpen: boolean;
4
- onCloseModal: () => void;
5
- onConfirmNewPipeline: () => void;
6
- };
7
- export declare const PipelineConfirmModal: React.FunctionComponent<PipelineConfirmModalProps>;
8
- declare const _default: import("react-redux").ConnectedComponent<React.FunctionComponent<PipelineConfirmModalProps>, {
9
- context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
10
- store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
11
- }>;
12
- export default _default;
13
- //# sourceMappingURL=pipeline-confirm-modal.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pipeline-confirm-modal.d.ts","sourceRoot":"","sources":["../../../../src/components/pipeline-confirm-modal/pipeline-confirm-modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,aAAK,yBAAyB,GAAG;IAC/B,WAAW,EAAE,OAAO,CAAC;IACrB,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,oBAAoB,EAAE,MAAM,IAAI,CAAC;CAClC,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,iBAAiB,CACxD,yBAAyB,CAgB1B,CAAC;;;;;AAUF,wBAAoE"}
@@ -1,12 +0,0 @@
1
- import React from 'react';
2
- export declare const OpenPipelineConfirmationModal: React.FunctionComponent<{
3
- isOpen: boolean;
4
- onCancel: () => void;
5
- onConfirm: () => void;
6
- }>;
7
- export declare const DeletePipelineConfirmationModal: React.FunctionComponent<{
8
- isOpen: boolean;
9
- onCancel: () => void;
10
- onConfirm: () => void;
11
- }>;
12
- //# sourceMappingURL=saved-pipeline-confirmation-modals.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"saved-pipeline-confirmation-modals.d.ts","sourceRoot":"","sources":["../../../../src/components/saved-pipelines/saved-pipeline-confirmation-modals.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,eAAO,MAAM,6BAA6B,EAAE,KAAK,CAAC,iBAAiB,CAAC;IAClE,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,EAAE,MAAM,IAAI,CAAC;CACvB,CAgBA,CAAC;AAEF,eAAO,MAAM,+BAA+B,EAAE,KAAK,CAAC,iBAAiB,CAAC;IACpE,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,EAAE,MAAM,IAAI,CAAC;CACvB,CAeA,CAAC"}
@@ -1,3 +0,0 @@
1
- export default function reducer(state?: boolean): boolean;
2
- export const INITIAL_STATE: false;
3
- //# sourceMappingURL=is-readonly.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"is-readonly.d.ts","sourceRoot":"","sources":["../../../src/modules/is-readonly.js"],"names":[],"mappings":"AAaA,0DAEC;AAZD,kCAAmC"}
@@ -1,4 +0,0 @@
1
- export default configureStore;
2
- import configureStore from "./store";
3
- export { refreshInput, setFields, setIndexes } from "./store";
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/stores/index.js"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- export function configureStore(preloadedState?: {}): import("redux").Store<any, import("redux").Action<any>> & {
2
- dispatch: any;
3
- };
4
- export function configureCreateViewStore(preloadedState?: {}): any;
5
- //# sourceMappingURL=configure-store.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"configure-store.d.ts","sourceRoot":"","sources":["../../../src/utils/configure-store.js"],"names":[],"mappings":"AAoBA;;EAiBC;AAID,mEAeC"}