Skip to content

Commit ee81463

Browse files
committed
Merge branch 'main' into 1.31-releases
2 parents ec98b2f + e77720e commit ee81463

File tree

369 files changed

+8437
-6114
lines changed

Some content is hidden

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

369 files changed

+8437
-6114
lines changed

THIRD-PARTY-NOTICES.md

Lines changed: 79 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
The following third-party software is used by and included in **compass**.
2-
This document was automatically generated on Wed Jan 26 2022.
2+
This document was automatically generated on Fri Feb 04 2022.
33

44
## List of dependencies
55

@@ -16,6 +16,7 @@ Package|Version|License
1616
**[code-point-at](#379e05be6a63bd336d679edcb4be511b99cb8d0c22ee03cf6286d0d661347467)**|1.1.0|MIT
1717
**[console-control-strings](#b5c95e92498080b75fd8a8ef4e497edcc8be28524f86d2a0f28ad489572f381e)**|1.1.0|ISC
1818
**[core-util-is](#ab5cbd313ac7ce6a02ce0c800c05b4e77771c80c411d95438946ce15408bbd4f)**|1.0.2|MIT
19+
**[debug](#f9ec34d64c9fa14faae00f8f6f1b768e0e2ccadbeb4bc9414e1786213dab82ed)**|4.3.3|MIT
1920
**[decompress-response](#a6cd6a055b9fb5f987ff8afad14fe0f248586487482a709c00f121ef5decdbbb)**|4.2.1|MIT
2021
**[deep-extend](#654bd7d00073c2195bca924a07d93393b2aaf5cacbb6f52a383877f6f33dbfbf)**|0.6.0|MIT
2122
**[delegates](#8ac2167c6a2c6f3786fad50a7d9495e4a01fa0fda57deb6ba96a2b682c19085e)**|1.0.0|MIT
@@ -40,6 +41,7 @@ Package|Version|License
4041
**[minimist](#1d497ee3a918b9779d45ef4833686d5d33d0591a41bba29f22efbd4691b12eb0)**|1.2.5|MIT
4142
**[mkdirp-classic](#e79cc875152b50c2eb57a97163d99f0155bf4e4af7ba4a7e01c12a17a4a3305c)**|0.5.3|MIT
4243
**[mongodb-compass](#2fd756a7b8b16bab9fcff1b6a60f3fe302c38dc1a73b48902ee106dcd5c6799f)**|0.0.0-dev.0|SSPL
44+
**[ms](#0a987b2f79ff37005e452a5afa7dacd3042061a7077054d2ba9cabacd88506d2)**|2.1.2|MIT
4345
**[napi-build-utils](#26912b5ff7632f262d64273f99cd1a869376c5c378960e24501585e35b31054a)**|1.0.2|MIT
4446
**[node-abi](#f58336e4167ecab0de6a7705e16bcc62344dc373d082eb2f438dd6c515380b37)**|2.30.0|MIT
4547
**[node-addon-api](#41cf4a77f0b640214c5bcc5fa57dc986f9dc30676e63e34e74f23b134fe518e0)**|4.2.0|MIT
@@ -49,7 +51,7 @@ Package|Version|License
4951
**[number-is-nan](#044063cb59ac16c3146a6aa01521f5bd00ae1e6c7a197f31df253f357faf9f75)**|1.0.1|MIT
5052
**[object-assign](#598e372231bb5bef26b7d61105282eb20e14ade430143052d064d2d406769b95)**|4.1.1|MIT
5153
**[once](#d0d1303998dfae04e4f898f477380aac35568f4d6679f4ea913c2441cf9ebb0b)**|1.4.0|ISC
52-
**[os-dns-native](#ba8dc45d4ba1cab6cd3a45e6be7d62e9a77da5e07fa33324e930bdeabafd5718)**|1.1.1|MIT
54+
**[os-dns-native](#9f97991fc286464a931f02cf2fa7f52d57075b08a0406b87ac19d3b8c268585f)**|1.1.2|MIT
5355
**[prebuild-install](#a9493a602227065e2247bd0f1087615024e9e96d36d1bd1e70b8db5292f7bdda)**|6.1.2|MIT
5456
**[process-nextick-args](#449a33b1fb1386db92b40df9073f48703b67ff05c4da5043d007fdb90ed76aca)**|2.0.1|MIT
5557
**[pump](#147f1bd3a6380306e696f0574feda0b1490121a1d12e4500e91ffb6e888ffa3a)**|3.0.0|MIT
@@ -591,6 +593,45 @@ Authors:
591593
* Isaac Z. Schlueter <[email protected]> (http://blog.izs.me/)
592594

593595

596+
<a id="f9ec34d64c9fa14faae00f8f6f1b768e0e2ccadbeb4bc9414e1786213dab82ed"></a>
597+
### [debug](https://www.npmjs.com/package/debug) (version 4.3.3)
598+
<!-- initially found at node_modules/os-dns-native/node_modules/debug -->
599+
> Lightweight debugging utility for Node.js and the browser
600+
601+
License tags: MIT
602+
603+
License files:
604+
* LICENSE:
605+
606+
(The MIT License)
607+
608+
Copyright (c) 2014-2017 TJ Holowaychuk <[email protected]>
609+
Copyright (c) 2018-2021 Josh Junon
610+
611+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software
612+
and associated documentation files (the 'Software'), to deal in the Software without restriction,
613+
including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
614+
and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
615+
subject to the following conditions:
616+
617+
The above copyright notice and this permission notice shall be included in all copies or substantial
618+
portions of the Software.
619+
620+
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
621+
LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
622+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
623+
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
624+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
625+
626+
627+
628+
Authors:
629+
* Josh Junon <[email protected]>
630+
* TJ Holowaychuk <[email protected]>
631+
* Nathan Rajlich <[email protected]> (http://n8.io)
632+
* Andrew Rhyne <[email protected]>
633+
634+
594635
<a id="a6cd6a055b9fb5f987ff8afad14fe0f248586487482a709c00f121ef5decdbbb"></a>
595636
### [decompress-response](https://www.npmjs.com/package/decompress-response) (version 4.2.1)
596637
<!-- initially found at node_modules/simple-get/node_modules/decompress-response -->
@@ -2427,6 +2468,40 @@ Authors:
24272468
* MongoDB Inc <[[email protected]](nomail)>
24282469

24292470

2471+
<a id="0a987b2f79ff37005e452a5afa7dacd3042061a7077054d2ba9cabacd88506d2"></a>
2472+
### [ms](https://www.npmjs.com/package/ms) (version 2.1.2)
2473+
<!-- initially found at node_modules/ms -->
2474+
> Tiny millisecond conversion utility
2475+
2476+
License tags: MIT
2477+
2478+
License files:
2479+
* license.md:
2480+
2481+
The MIT License (MIT)
2482+
2483+
Copyright (c) 2016 Zeit, Inc.
2484+
2485+
Permission is hereby granted, free of charge, to any person obtaining a copy
2486+
of this software and associated documentation files (the "Software"), to deal
2487+
in the Software without restriction, including without limitation the rights
2488+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
2489+
copies of the Software, and to permit persons to whom the Software is
2490+
furnished to do so, subject to the following conditions:
2491+
2492+
The above copyright notice and this permission notice shall be included in all
2493+
copies or substantial portions of the Software.
2494+
2495+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2496+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
2497+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
2498+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
2499+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2500+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2501+
SOFTWARE.
2502+
2503+
2504+
24302505
<a id="26912b5ff7632f262d64273f99cd1a869376c5c378960e24501585e35b31054a"></a>
24312506
### [napi-build-utils](https://www.npmjs.com/package/napi-build-utils) (version 1.0.2)
24322507
<!-- initially found at node_modules/napi-build-utils -->
@@ -2856,8 +2931,8 @@ Authors:
28562931
* Isaac Z. Schlueter <[email protected]> (http://blog.izs.me/)
28572932

28582933

2859-
<a id="ba8dc45d4ba1cab6cd3a45e6be7d62e9a77da5e07fa33324e930bdeabafd5718"></a>
2860-
### [os-dns-native](https://www.npmjs.com/package/os-dns-native) (version 1.1.1)
2934+
<a id="9f97991fc286464a931f02cf2fa7f52d57075b08a0406b87ac19d3b8c268585f"></a>
2935+
### [os-dns-native](https://www.npmjs.com/package/os-dns-native) (version 1.1.2)
28612936
<!-- initially found at node_modules/os-dns-native -->
28622937
> Perform DNS queries using OS APIs
28632938

configs/eslint-config-compass/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ const tsRules = {
1111
'@typescript-eslint/no-unsafe-call': 'off',
1212
'@typescript-eslint/no-unsafe-member-access': 'off',
1313
'@typescript-eslint/no-unsafe-return': 'off',
14+
'@typescript-eslint/consistent-type-imports': [
15+
'error',
16+
{ prefer: 'type-imports' },
17+
],
1418
};
1519

1620
const reactConfigurations = [

configs/eslint-config-compass/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mongodb-js/eslint-config-compass",
3-
"version": "0.5.0",
3+
"version": "0.6.0",
44
"description": "Shared Compass eslint configuration",
55
"license": "SSPL",
66
"main": "index.js",

configs/mocha-config-compass/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mongodb-js/mocha-config-compass",
3-
"version": "0.7.0",
3+
"version": "0.8.0",
44
"description": "Shared mocha mocha configuration for Compass packages",
55
"license": "SSPL",
66
"main": "index.js",

configs/tsconfig-compass/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mongodb-js/tsconfig-compass",
3-
"version": "0.4.0",
3+
"version": "0.5.0",
44
"description": "Shared Compass Typescript configuration",
55
"license": "SSPL",
66
"files": [

configs/webpack-config-compass/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"email": "[email protected]"
1414
},
1515
"homepage": "https://github.com/mongodb-js/compass",
16-
"version": "0.4.0",
16+
"version": "0.5.0",
1717
"repository": {
1818
"type": "git",
1919
"url": "https://github.com/mongodb-js/compass.git"
@@ -46,9 +46,9 @@
4646
"reformat": "npm run prettier -- --write ."
4747
},
4848
"devDependencies": {
49-
"@mongodb-js/eslint-config-compass": "^0.5.0",
49+
"@mongodb-js/eslint-config-compass": "^0.6.0",
5050
"@mongodb-js/prettier-config-compass": "^0.4.0",
51-
"@mongodb-js/tsconfig-compass": "^0.4.0",
51+
"@mongodb-js/tsconfig-compass": "^0.5.0",
5252
"@types/cli-progress": "^3.9.2",
5353
"@types/html-webpack-plugin": "^3.2.6",
5454
"@types/mini-css-extract-plugin": "^2.3.0",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Configuration, WebpackOptionsNormalized } from 'webpack';
1+
import type { Configuration, WebpackOptionsNormalized } from 'webpack';
22
import { merge } from 'webpack-merge';
33
import path from 'path';
44

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

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import fs from 'fs';
2-
import { WebpackPluginInstance } from 'webpack';
2+
import type { WebpackPluginInstance } from 'webpack';
33
import { merge } from 'webpack-merge';
44
import ReactRefreshWebpackPlugin from '@pmmmwh/react-refresh-webpack-plugin';
55
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -9,13 +9,8 @@ import path from 'path';
99
import { builtinModules } from 'module';
1010
import { BundleAnalyzerPlugin } from 'webpack-bundle-analyzer';
1111
import { WebpackPluginStartElectron } from './webpack-plugin-start-electron';
12-
import {
13-
ConfigArgs,
14-
isServe,
15-
WebpackConfig,
16-
webpackArgsWithDefaults,
17-
WebpackCLIArgs,
18-
} from './args';
12+
import type { ConfigArgs, WebpackConfig, WebpackCLIArgs } from './args';
13+
import { isServe, webpackArgsWithDefaults } from './args';
1914
import {
2015
javascriptLoader,
2116
nodeLoader,

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import path from 'path';
22
import MiniCssExtractPlugin from 'mini-css-extract-plugin';
3-
import { ConfigArgs, isServe } from './args';
3+
import type { ConfigArgs } from './args';
4+
import { isServe } from './args';
45

56
const electronVersion = (() => {
67
// eslint-disable-next-line @typescript-eslint/no-var-requires

configs/webpack-config-compass/src/webpack-plugin-multicompiler-progress.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import path from 'path';
2-
import { Compiler, ProgressPlugin, WebpackPluginInstance } from 'webpack';
3-
import { MultiBar, SingleBar } from 'cli-progress';
2+
import type { Compiler, WebpackPluginInstance } from 'webpack';
3+
import { ProgressPlugin } from 'webpack';
4+
import type { SingleBar } from 'cli-progress';
5+
import { MultiBar } from 'cli-progress';
46
import chalk from 'chalk';
57

68
const multibar = new MultiBar({

0 commit comments

Comments
 (0)