@mongodb-js/compass-aggregations 8.19.1 → 8.21.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.
- package/.depcheckrc +5 -25
- package/.eslintignore +2 -0
- package/.eslintrc.js +12 -0
- package/.mocharc.js +1 -0
- package/lib/browser.js +2 -0
- package/lib/browser.js.LICENSE.txt +29 -0
- package/lib/index.css +4492 -0
- package/lib/index.js +15 -36
- package/lib/index.js.LICENSE.txt +106 -0
- package/package.json +62 -113
- package/tsconfig-lint.json +5 -0
- package/tsconfig.json +9 -0
- package/webpack.config.js +2 -0
- package/.babelrc.js +0 -24
- package/.browserslistrc +0 -1
@@ -0,0 +1,106 @@
|
|
1
|
+
/*
|
2
|
+
object-assign
|
3
|
+
(c) Sindre Sorhus
|
4
|
+
@license MIT
|
5
|
+
*/
|
6
|
+
|
7
|
+
/*!
|
8
|
+
Copyright (c) 2017 Jed Watson.
|
9
|
+
Licensed under the MIT License (MIT), see
|
10
|
+
http://jedwatson.github.io/react-select
|
11
|
+
*/
|
12
|
+
|
13
|
+
/*!
|
14
|
+
Copyright (c) 2018 Jed Watson.
|
15
|
+
Licensed under the MIT License (MIT), see
|
16
|
+
http://jedwatson.github.io/classnames
|
17
|
+
*/
|
18
|
+
|
19
|
+
/*!
|
20
|
+
* Programatically add the following
|
21
|
+
*/
|
22
|
+
|
23
|
+
/*!
|
24
|
+
* focus-trap 6.5.1
|
25
|
+
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
26
|
+
*/
|
27
|
+
|
28
|
+
/*!
|
29
|
+
* tabbable 5.2.0
|
30
|
+
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
31
|
+
*/
|
32
|
+
|
33
|
+
/**
|
34
|
+
* @license
|
35
|
+
* Lodash <https://lodash.com/>
|
36
|
+
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
37
|
+
* Released under MIT license <https://lodash.com/license>
|
38
|
+
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
39
|
+
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
40
|
+
*/
|
41
|
+
|
42
|
+
/**
|
43
|
+
* ag-grid-community - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
|
44
|
+
* @version v20.2.0
|
45
|
+
* @link http://www.ag-grid.com/
|
46
|
+
* @license MIT
|
47
|
+
*/
|
48
|
+
|
49
|
+
/** @license React v0.19.1
|
50
|
+
* scheduler.production.min.js
|
51
|
+
*
|
52
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
53
|
+
*
|
54
|
+
* This source code is licensed under the MIT license found in the
|
55
|
+
* LICENSE file in the root directory of this source tree.
|
56
|
+
*/
|
57
|
+
|
58
|
+
/** @license React v16.13.1
|
59
|
+
* react-is.production.min.js
|
60
|
+
*
|
61
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
62
|
+
*
|
63
|
+
* This source code is licensed under the MIT license found in the
|
64
|
+
* LICENSE file in the root directory of this source tree.
|
65
|
+
*/
|
66
|
+
|
67
|
+
/** @license React v16.14.0
|
68
|
+
* react-dom.production.min.js
|
69
|
+
*
|
70
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
71
|
+
*
|
72
|
+
* This source code is licensed under the MIT license found in the
|
73
|
+
* LICENSE file in the root directory of this source tree.
|
74
|
+
*/
|
75
|
+
|
76
|
+
/** @license React v16.14.0
|
77
|
+
* react.production.min.js
|
78
|
+
*
|
79
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
80
|
+
*
|
81
|
+
* This source code is licensed under the MIT license found in the
|
82
|
+
* LICENSE file in the root directory of this source tree.
|
83
|
+
*/
|
84
|
+
|
85
|
+
/** @license React v17.0.2
|
86
|
+
* react-is.production.min.js
|
87
|
+
*
|
88
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
89
|
+
*
|
90
|
+
* This source code is licensed under the MIT license found in the
|
91
|
+
* LICENSE file in the root directory of this source tree.
|
92
|
+
*/
|
93
|
+
|
94
|
+
//! Copyright (c) JS Foundation and other contributors
|
95
|
+
|
96
|
+
//! github.com/moment/moment-timezone
|
97
|
+
|
98
|
+
//! license : MIT
|
99
|
+
|
100
|
+
//! moment-timezone.js
|
101
|
+
|
102
|
+
//! moment.js
|
103
|
+
|
104
|
+
//! moment.js locale configuration
|
105
|
+
|
106
|
+
//! version : 0.5.33
|
package/package.json
CHANGED
@@ -1,54 +1,54 @@
|
|
1
1
|
{
|
2
2
|
"name": "@mongodb-js/compass-aggregations",
|
3
3
|
"productName": "Aggregations plugin",
|
4
|
-
"version": "8.
|
4
|
+
"version": "8.21.0",
|
5
5
|
"apiVersion": "3.0.0",
|
6
6
|
"description": "Compass Aggregation Pipeline Builder",
|
7
7
|
"main": "lib/index.js",
|
8
8
|
"exports": {
|
9
9
|
"webpack": "./src/index.js",
|
10
|
+
"browser": "./lib/browser.js",
|
10
11
|
"require": "./lib/index.js"
|
11
12
|
},
|
12
13
|
"scripts": {
|
13
|
-
"clean": "rimraf lib",
|
14
|
-
"precompile": "npm run clean",
|
15
|
-
"compile": "cross-env NODE_ENV=production webpack --config ./config/webpack.prod.config.js",
|
16
|
-
"prestart": "electron-rebuild --force --only keytar",
|
17
|
-
"start": "cross-env NODE_ENV=development webpack-dev-server --config ./config/webpack.dev.config.js",
|
18
|
-
"start:watch": "npm run clean && webpack --config ./config/webpack.watch.config.js",
|
19
|
-
"test": "cross-env NODE_ENV=test mocha-webpack \"./src/**/*.spec.js\"",
|
20
|
-
"test:dev": "cross-env NODE_ENV=test mocha-webpack",
|
21
|
-
"test:watch": "cross-env NODE_ENV=test mocha-webpack \"./src/**/*.spec.js\" --watch",
|
22
|
-
"test:karma": "cross-env NODE_ENV=test karma start",
|
23
|
-
"cover": "nyc npm run test",
|
24
|
-
"check": "npm run lint && npm run depcheck",
|
25
|
-
"preanalyze": "mkdir -p .ghpages && cross-env NODE_ENV=production webpack --profile --json --config ./config/webpack.prod.config.js > .ghpages/stats.json",
|
26
|
-
"analyze": "webpack-bundle-analyzer .ghpages/stats.json --no-open --report .ghpages/report.html --mode static --bundleDir lib",
|
27
14
|
"prepublishOnly": "npm run compile",
|
28
|
-
"
|
15
|
+
"compile": "npm run webpack -- --mode production",
|
16
|
+
"prewebpack": "rimraf ./lib",
|
17
|
+
"webpack": "webpack-compass",
|
18
|
+
"start": "npm run webpack serve -- --mode development",
|
19
|
+
"analyze": "npm run webpack -- --mode production --analyze",
|
20
|
+
"typecheck": "tsc --noEmit",
|
29
21
|
"depcheck": "depcheck",
|
30
|
-
"
|
31
|
-
"
|
22
|
+
"eslint": "eslint",
|
23
|
+
"lint": "npm run eslint .",
|
24
|
+
"check": "npm run typecheck && npm run lint && npm run depcheck",
|
25
|
+
"check-ci": "npm run check",
|
26
|
+
"test": "mocha",
|
27
|
+
"test-electron": "xvfb-maybe electron-mocha --no-sandbox",
|
28
|
+
"test-cov": "nyc -x \"**/*.spec.*\" --reporter=lcov --reporter=text --reporter=html npm run test",
|
29
|
+
"test-watch": "npm run test -- --watch",
|
30
|
+
"test-ci": "npm run test-cov",
|
31
|
+
"test-ci-electron": "npm run test-electron"
|
32
32
|
},
|
33
33
|
"license": "SSPL",
|
34
34
|
"peerDependencies": {
|
35
|
-
"@mongodb-js/compass-components": "^0.
|
36
|
-
"@mongodb-js/compass-crud": "^12.
|
37
|
-
"@mongodb-js/compass-export-to-language": "^7.
|
38
|
-
"@mongodb-js/compass-field-store": "^7.
|
35
|
+
"@mongodb-js/compass-components": "^0.12.0",
|
36
|
+
"@mongodb-js/compass-crud": "^12.21.0",
|
37
|
+
"@mongodb-js/compass-export-to-language": "^7.20.0",
|
38
|
+
"@mongodb-js/compass-field-store": "^7.20.0",
|
39
39
|
"ace-builds": "^1.4.3",
|
40
40
|
"async": "^3.2.0",
|
41
41
|
"bson": "*",
|
42
42
|
"electron": "^13.5.1",
|
43
|
-
"hadron-react-bson": "^5.
|
44
|
-
"hadron-react-buttons": "^5.
|
45
|
-
"hadron-react-components": "^5.
|
43
|
+
"hadron-react-bson": "^5.8.0",
|
44
|
+
"hadron-react-buttons": "^5.7.0",
|
45
|
+
"hadron-react-components": "^5.12.0",
|
46
46
|
"mongodb-ace-autocompleter": "*",
|
47
|
-
"mongodb-ace-mode": "^1.
|
48
|
-
"mongodb-ace-theme": "^1.
|
49
|
-
"mongodb-data-service": "^21.
|
50
|
-
"mongodb-js-metrics": "^7.
|
51
|
-
"mongodb-query-parser": "^2.4.
|
47
|
+
"mongodb-ace-mode": "^1.6.0",
|
48
|
+
"mongodb-ace-theme": "^1.6.0",
|
49
|
+
"mongodb-data-service": "^21.18.0",
|
50
|
+
"mongodb-js-metrics": "^7.9.0",
|
51
|
+
"mongodb-query-parser": "^2.4.4",
|
52
52
|
"prop-types": "^15.7.2",
|
53
53
|
"react": "^16.14.0",
|
54
54
|
"react-ace": "^9.5.0",
|
@@ -56,104 +56,54 @@
|
|
56
56
|
"react-dom": "^16.14.0"
|
57
57
|
},
|
58
58
|
"devDependencies": {
|
59
|
-
"@
|
60
|
-
"@
|
61
|
-
"@
|
62
|
-
"@
|
63
|
-
"@
|
64
|
-
"@
|
65
|
-
"@
|
66
|
-
"@
|
67
|
-
"@mongodb-js/compass
|
68
|
-
"@
|
69
|
-
"@mongodb-js/compass-export-to-language": "^7.18.1",
|
70
|
-
"@mongodb-js/compass-field-store": "^7.18.1",
|
59
|
+
"@mongodb-js/compass-components": "^0.12.0",
|
60
|
+
"@mongodb-js/compass-crud": "^12.21.0",
|
61
|
+
"@mongodb-js/compass-export-to-language": "^7.20.0",
|
62
|
+
"@mongodb-js/compass-field-store": "^7.20.0",
|
63
|
+
"@mongodb-js/eslint-config-compass": "^0.7.0",
|
64
|
+
"@mongodb-js/mocha-config-compass": "^0.9.0",
|
65
|
+
"@mongodb-js/prettier-config-compass": "^0.5.0",
|
66
|
+
"@mongodb-js/tsconfig-compass": "^0.6.0",
|
67
|
+
"@mongodb-js/webpack-config-compass": "^0.6.0",
|
68
|
+
"@types/lodash.isempty": "^4.4.6",
|
71
69
|
"ace-builds": "^1.4.3",
|
72
70
|
"async": "^3.2.0",
|
73
|
-
"
|
74
|
-
"babel-loader": "^8.2.2",
|
75
|
-
"chai": "^4.2.0",
|
76
|
-
"chai-as-promised": "^7.1.1",
|
77
|
-
"chai-enzyme": "1.0.0-beta.1",
|
71
|
+
"chai": "^4.3.6",
|
78
72
|
"classnames": "^2.2.6",
|
79
|
-
"core-js": "^3.12.1",
|
80
|
-
"cross-env": "^7.0.0",
|
81
|
-
"css-loader": "^4.3.0",
|
82
73
|
"debug": "4.3.0",
|
83
74
|
"depcheck": "^1.4.1",
|
84
75
|
"electron": "^13.5.1",
|
85
76
|
"enzyme": "^3.11.0",
|
86
|
-
"enzyme-adapter-react-16": "^1.15.2",
|
87
77
|
"eslint": "^7.25.0",
|
88
|
-
"
|
89
|
-
"
|
90
|
-
"
|
91
|
-
"
|
92
|
-
"
|
93
|
-
"hadron-
|
94
|
-
"
|
95
|
-
"
|
96
|
-
"
|
97
|
-
"
|
98
|
-
"
|
99
|
-
"
|
100
|
-
"
|
101
|
-
"
|
102
|
-
"jquery": "^3.3.1",
|
103
|
-
"jsdom": "^16.7.0",
|
104
|
-
"jsdom-global": "^3.0.2",
|
105
|
-
"karma": "^6.3.4",
|
106
|
-
"karma-chai": "^0.1.0",
|
107
|
-
"karma-chai-sinon": "^0.1.5",
|
108
|
-
"karma-electron": "^7.0.0",
|
109
|
-
"karma-mocha": "^1.3.0",
|
110
|
-
"karma-mocha-reporter": "^2.2.5",
|
111
|
-
"karma-sinon": "^1.0.5",
|
112
|
-
"karma-sourcemap-loader": "^0.3.8",
|
113
|
-
"karma-webpack": "^4.0.2",
|
114
|
-
"less": "^3.11.1",
|
115
|
-
"less-loader": "^7.3.0",
|
116
|
-
"mocha": "^7.0.1",
|
117
|
-
"mocha-webpack": "^2.0.0-beta.0",
|
118
|
-
"mongodb-ace-autocompleter": "^0.10.0",
|
119
|
-
"mongodb-ace-mode": "^1.5.0",
|
120
|
-
"mongodb-ace-theme": "^1.5.0",
|
121
|
-
"mongodb-connection-model": "^21.12.1",
|
122
|
-
"mongodb-data-service": "^21.16.1",
|
123
|
-
"mongodb-js-metrics": "^7.7.0",
|
124
|
-
"mongodb-query-parser": "^2.4.3",
|
78
|
+
"hadron-app": "^4.20.0",
|
79
|
+
"hadron-app-registry": "^8.9.0",
|
80
|
+
"hadron-document": "^7.8.0",
|
81
|
+
"hadron-react-bson": "^5.8.0",
|
82
|
+
"hadron-react-buttons": "^5.7.0",
|
83
|
+
"hadron-react-components": "^5.12.0",
|
84
|
+
"mocha": "^8.4.0",
|
85
|
+
"mongodb-ace-autocompleter": "^0.11.0",
|
86
|
+
"mongodb-ace-mode": "^1.6.0",
|
87
|
+
"mongodb-ace-theme": "^1.6.0",
|
88
|
+
"mongodb-connection-model": "^21.14.0",
|
89
|
+
"mongodb-data-service": "^21.18.0",
|
90
|
+
"mongodb-js-metrics": "^7.9.0",
|
91
|
+
"mongodb-query-parser": "^2.4.4",
|
125
92
|
"mongodb-reflux-store": "^0.0.1",
|
126
|
-
"
|
127
|
-
"mongodb-stitch-browser-sdk": "^4.8.0",
|
128
|
-
"nise": "4.0.2",
|
129
|
-
"node-loader": "^0.6.0",
|
130
|
-
"nyc": "^15.0.0",
|
131
|
-
"peer-deps-externals-webpack-plugin": "^1.0.4",
|
132
|
-
"postcss-loader": "^2.1.6",
|
93
|
+
"nyc": "^15.1.0",
|
133
94
|
"prop-types": "^15.7.2",
|
134
95
|
"react": "^16.14.0",
|
135
96
|
"react-ace": "^9.5.0",
|
136
97
|
"react-dom": "^16.14.0",
|
137
|
-
"react-hot-loader": "^4.13.0",
|
138
98
|
"reflux": "^0.4.1",
|
139
99
|
"reflux-state-mixin": "github:mongodb-js/reflux-state-mixin",
|
140
|
-
"resolve": "^1.15.1",
|
141
100
|
"rimraf": "^3.0.0",
|
142
|
-
"
|
143
|
-
"
|
144
|
-
"sinon-chai": "^3.3.0",
|
145
|
-
"style-loader": "^2.0.0",
|
146
|
-
"url-loader": "^3.0.0",
|
147
|
-
"webpack": "^4.46.0",
|
148
|
-
"webpack-bundle-analyzer": "^3.1.0",
|
149
|
-
"webpack-cli": "^3.3.12",
|
150
|
-
"webpack-dev-server": "^3.11.2",
|
151
|
-
"webpack-merge": "^4.2.2",
|
152
|
-
"webpack-node-externals": "^3.0.0"
|
101
|
+
"sinon": "^9.2.3",
|
102
|
+
"xvfb-maybe": "^0.2.1"
|
153
103
|
},
|
154
104
|
"dependencies": {
|
155
|
-
"@mongodb-js/compass-logging": "^0.
|
156
|
-
"@mongodb-js/mongodb-redux-common": "^1.
|
105
|
+
"@mongodb-js/compass-logging": "^0.9.0",
|
106
|
+
"@mongodb-js/mongodb-redux-common": "^1.9.0",
|
157
107
|
"acorn-loose": "^8.0.2",
|
158
108
|
"astring": "^1.7.0",
|
159
109
|
"bson": "*",
|
@@ -171,8 +121,7 @@
|
|
171
121
|
"react-select-plus": "^1.2.0",
|
172
122
|
"redux": "^4.1.2",
|
173
123
|
"redux-thunk": "^2.3.0",
|
174
|
-
"semver": "^5.7.1"
|
175
|
-
"storage-mixin": "^4.10.0"
|
124
|
+
"semver": "^5.7.1"
|
176
125
|
},
|
177
126
|
"homepage": "https://github.com/mongodb-js/compass",
|
178
127
|
"bugs": {
|
@@ -183,5 +132,5 @@
|
|
183
132
|
"type": "git",
|
184
133
|
"url": "https://github.com/mongodb-js/compass.git"
|
185
134
|
},
|
186
|
-
"gitHead": "
|
135
|
+
"gitHead": "c125a379bd769b3305e494b68a4fc9bdfdc7d1bb"
|
187
136
|
}
|
package/tsconfig.json
ADDED
package/.babelrc.js
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
module.exports = (api) => {
|
2
|
-
api.cache.using(() => process.env.NODE_ENV);
|
3
|
-
|
4
|
-
return {
|
5
|
-
presets: [
|
6
|
-
[
|
7
|
-
require.resolve('@babel/preset-env'),
|
8
|
-
{
|
9
|
-
modules: api.env('test') ? 'commonjs' : false,
|
10
|
-
useBuiltIns: 'usage',
|
11
|
-
corejs: { version: '3.12', proposals: true }
|
12
|
-
}
|
13
|
-
],
|
14
|
-
require.resolve('@babel/preset-react')
|
15
|
-
],
|
16
|
-
plugins: [
|
17
|
-
require.resolve('@babel/plugin-syntax-dynamic-import'),
|
18
|
-
[require.resolve('@babel/plugin-proposal-decorators'), { legacy: true }],
|
19
|
-
// TODO: Replace with 'fast-refresh'
|
20
|
-
// https://github.com/gaearon/react-hot-loader#moving-towards-next-step
|
21
|
-
api.env('development') && require.resolve('react-hot-loader/babel')
|
22
|
-
].filter(Boolean)
|
23
|
-
};
|
24
|
-
}
|
package/.browserslistrc
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
Electron >= 6
|