@mongodb-js/compass-query-history 9.7.0 → 9.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. package/dist/browser.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/index.js.LICENSE.txt +0 -96
  4. package/dist/src/components/favorite/favorite-list-item.d.ts +2 -2
  5. package/dist/src/components/favorite/favorite-list-item.d.ts.map +1 -1
  6. package/dist/src/components/favorite/index.d.ts +3 -23
  7. package/dist/src/components/favorite/index.d.ts.map +1 -1
  8. package/dist/src/components/list/index.d.ts +1 -1
  9. package/dist/src/components/list/index.d.ts.map +1 -1
  10. package/dist/src/components/list/list.d.ts +4 -24
  11. package/dist/src/components/list/list.d.ts.map +1 -1
  12. package/dist/src/components/query/query.d.ts +1 -1
  13. package/dist/src/components/query/query.d.ts.map +1 -1
  14. package/dist/src/components/query-history/index.d.ts +1 -1
  15. package/dist/src/components/query-history/index.d.ts.map +1 -1
  16. package/dist/src/components/query-history/query-history.d.ts +2 -2
  17. package/dist/src/components/query-history/query-history.d.ts.map +1 -1
  18. package/dist/src/components/recent/index.d.ts +3 -23
  19. package/dist/src/components/recent/index.d.ts.map +1 -1
  20. package/dist/src/components/recent/recent-list-item.d.ts +2 -2
  21. package/dist/src/components/recent/recent-list-item.d.ts.map +1 -1
  22. package/dist/src/components/toolbar/toolbar.d.ts +1 -1
  23. package/dist/src/components/toolbar/toolbar.d.ts.map +1 -1
  24. package/dist/src/models/index.d.ts +5 -5
  25. package/dist/src/models/index.d.ts.map +1 -1
  26. package/dist/src/plugin.d.ts +3 -3
  27. package/dist/src/plugin.d.ts.map +1 -1
  28. package/dist/src/stores/favorite-list-store.d.ts +1 -1
  29. package/dist/src/stores/favorite-list-store.d.ts.map +1 -1
  30. package/dist/src/stores/index.d.ts +1 -1
  31. package/dist/src/stores/index.d.ts.map +1 -1
  32. package/dist/src/stores/query-history-store.d.ts +1 -1
  33. package/dist/src/stores/query-history-store.d.ts.map +1 -1
  34. package/dist/src/stores/recent-list-store.d.ts +1 -1
  35. package/dist/src/stores/recent-list-store.d.ts.map +1 -1
  36. package/dist/src/utils/index.d.ts +3 -3
  37. package/dist/src/utils/index.d.ts.map +1 -1
  38. package/package.json +23 -25
@@ -1,97 +1,3 @@
1
- /*!
2
- * Copyright 2010 LearnBoost <dev@learnboost.com>
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
-
17
- /*!
18
- * Copyright (c) 2015, Salesforce.com, Inc.
19
- * All rights reserved.
20
- *
21
- * Redistribution and use in source and binary forms, with or without
22
- * modification, are permitted provided that the following conditions are met:
23
- *
24
- * 1. Redistributions of source code must retain the above copyright notice,
25
- * this list of conditions and the following disclaimer.
26
- *
27
- * 2. Redistributions in binary form must reproduce the above copyright notice,
28
- * this list of conditions and the following disclaimer in the documentation
29
- * and/or other materials provided with the distribution.
30
- *
31
- * 3. Neither the name of Salesforce.com nor the names of its contributors may
32
- * be used to endorse or promote products derived from this software without
33
- * specific prior written permission.
34
- *
35
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
36
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
37
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
38
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
39
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
40
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
41
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
42
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
43
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
44
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
45
- * POSSIBILITY OF SUCH DAMAGE.
46
- */
47
-
48
- /*!
49
- * Copyright (c) 2018, Salesforce.com, Inc.
50
- * All rights reserved.
51
- *
52
- * Redistribution and use in source and binary forms, with or without
53
- * modification, are permitted provided that the following conditions are met:
54
- *
55
- * 1. Redistributions of source code must retain the above copyright notice,
56
- * this list of conditions and the following disclaimer.
57
- *
58
- * 2. Redistributions in binary form must reproduce the above copyright notice,
59
- * this list of conditions and the following disclaimer in the documentation
60
- * and/or other materials provided with the distribution.
61
- *
62
- * 3. Neither the name of Salesforce.com nor the names of its contributors may
63
- * be used to endorse or promote products derived from this software without
64
- * specific prior written permission.
65
- *
66
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
67
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
68
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
69
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
70
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
71
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
72
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
73
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
74
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
75
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
76
- * POSSIBILITY OF SUCH DAMAGE.
77
- */
78
-
79
- /*!
80
- * mime-db
81
- * Copyright(c) 2014 Jonathan Ong
82
- * Copyright(c) 2015-2022 Douglas Christopher Wilson
83
- * MIT Licensed
84
- */
85
-
86
- /*!
87
- * mime-types
88
- * Copyright(c) 2014 Jonathan Ong
89
- * Copyright(c) 2015 Douglas Christopher Wilson
90
- * MIT Licensed
91
- */
92
-
93
- /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
94
-
95
1
  /**
96
2
  * @license
97
3
  * Lodash <https://lodash.com/>
@@ -100,5 +6,3 @@
100
6
  * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
101
7
  * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
102
8
  */
103
-
104
- /** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import type { QueryAttributes } from '../query/query';
3
- declare type FavoriteModel = {
3
+ type FavoriteModel = {
4
4
  _lastExecuted: {
5
5
  toString: () => string;
6
6
  };
@@ -9,7 +9,7 @@ declare type FavoriteModel = {
9
9
  props: true;
10
10
  }) => QueryAttributes;
11
11
  };
12
- declare type FavoriteListItemProps = {
12
+ type FavoriteListItemProps = {
13
13
  model: FavoriteModel;
14
14
  actions: {
15
15
  copyQuery: (model: FavoriteModel) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"favorite-list-item.d.ts","sourceRoot":"","sources":["../../../../src/components/favorite/favorite-list-item.tsx"],"names":[],"mappings":";AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAEtD,aAAK,aAAa,GAAG;IACnB,aAAa,EAAE;QACb,QAAQ,EAAE,MAAM,MAAM,CAAC;KACxB,CAAC;IACF,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,CAAC,IAAI,EAAE;QAAE,KAAK,EAAE,IAAI,CAAA;KAAE,KAAK,eAAe,CAAC;CAC3D,CAAC;AAEF,aAAK,qBAAqB,GAAG;IAC3B,KAAK,EAAE,aAAa,CAAC;IACrB,OAAO,EAAE;QACP,SAAS,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;QAC1C,cAAc,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;QAC/C,QAAQ,EAAE,CAAC,UAAU,EAAE,eAAe,KAAK,IAAI,CAAC;KACjD,CAAC;CACH,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,EACvC,KAAK,EACL,OAAO,GACR,EAAE,qBAAqB,eA4CvB"}
1
+ {"version":3,"file":"favorite-list-item.d.ts","sourceRoot":"","sources":["../../../../src/components/favorite/favorite-list-item.tsx"],"names":[],"mappings":";AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAEtD,KAAK,aAAa,GAAG;IACnB,aAAa,EAAE;QACb,QAAQ,EAAE,MAAM,MAAM,CAAC;KACxB,CAAC;IACF,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,CAAC,IAAI,EAAE;QAAE,KAAK,EAAE,IAAI,CAAA;KAAE,KAAK,eAAe,CAAC;CAC3D,CAAC;AAEF,KAAK,qBAAqB,GAAG;IAC3B,KAAK,EAAE,aAAa,CAAC;IACrB,OAAO,EAAE;QACP,SAAS,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;QAC1C,cAAc,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;QAC/C,QAAQ,EAAE,CAAC,UAAU,EAAE,eAAe,KAAK,IAAI,CAAC;KACjD,CAAC;CACH,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,EACvC,KAAK,EACL,OAAO,GACR,EAAE,qBAAqB,eA4CvB"}
@@ -57,35 +57,15 @@ export const FavoriteList: {
57
57
  items: import("prop-types").Validator<object>;
58
58
  actions: import("prop-types").Validator<object>;
59
59
  current: import("prop-types").Requireable<object>;
60
- ns: import("prop-types").Requireable<object>;
60
+ ns: import("prop-types").Requireable<string>;
61
61
  };
62
62
  defaultProps: {
63
63
  items: never[];
64
64
  current: null;
65
- ns: {
66
- ns: string;
67
- dotIndex: number;
68
- database: string;
69
- collection: string;
70
- system: boolean;
71
- isSystem: boolean;
72
- oplog: boolean;
73
- isOplog: boolean;
74
- command: boolean;
75
- isCommand: boolean;
76
- special: boolean;
77
- isSpecial: boolean;
78
- specialish: boolean;
79
- normal: boolean;
80
- isNormal: boolean;
81
- validDatabaseName: boolean;
82
- validCollectionName: boolean;
83
- databaseHash: number;
84
- toString(): string;
85
- };
65
+ ns: string;
86
66
  };
87
67
  contextType?: import("react").Context<any> | undefined;
88
68
  };
89
- import FavoriteListItem from "./favorite-list-item";
69
+ import FavoriteListItem from './favorite-list-item';
90
70
  export { FavoriteListItem };
91
71
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/favorite/index.js"],"names":[],"mappings":";AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAmD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/favorite/index.js"],"names":[],"mappings":";AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAmD;6BAFtB,sBAAsB"}
@@ -1,4 +1,4 @@
1
1
  export default listFactory;
2
2
  export { listFactory };
3
- import { listFactory } from "./list";
3
+ import { listFactory } from './list';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/list/index.js"],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/list/index.js"],"names":[],"mappings":";;4BAA4B,QAAQ"}
@@ -58,35 +58,15 @@ declare function factory(ListItem: any): {
58
58
  items: PropTypes.Validator<object>;
59
59
  actions: PropTypes.Validator<object>;
60
60
  current: PropTypes.Requireable<object>;
61
- ns: PropTypes.Requireable<object>;
61
+ ns: PropTypes.Requireable<string>;
62
62
  };
63
63
  defaultProps: {
64
64
  items: never[];
65
65
  current: null;
66
- ns: {
67
- ns: string;
68
- dotIndex: number;
69
- database: string;
70
- collection: string;
71
- system: boolean;
72
- isSystem: boolean;
73
- oplog: boolean;
74
- isOplog: boolean;
75
- command: boolean;
76
- isCommand: boolean;
77
- special: boolean;
78
- isSpecial: boolean;
79
- specialish: boolean;
80
- normal: boolean;
81
- isNormal: boolean;
82
- validDatabaseName: boolean;
83
- validCollectionName: boolean;
84
- databaseHash: number;
85
- toString(): string;
86
- };
66
+ ns: string;
87
67
  };
88
68
  contextType?: React.Context<any> | undefined;
89
69
  };
90
- import React from "react";
91
- import PropTypes from "prop-types";
70
+ import React from 'react';
71
+ import PropTypes from 'prop-types';
92
72
  //# sourceMappingURL=list.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../src/components/list/list.jsx"],"names":[],"mappings":";;AAcA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+CC"}
1
+ {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../src/components/list/list.jsx"],"names":[],"mappings":";;AAaA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+CC;kBA5DgC,OAAO;sBAClB,YAAY"}
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- export declare type QueryAttributes = Record<string, any>;
2
+ export type QueryAttributes = Record<string, any>;
3
3
  export declare const Query: React.FunctionComponent<{
4
4
  title: string;
5
5
  attributes: QueryAttributes;
@@ -1 +1 @@
1
- {"version":3,"file":"query.d.ts","sourceRoot":"","sources":["../../../../src/components/query/query.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAc1B,oBAAY,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;AAwFlD,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,iBAAiB,CAAC;IAC1C,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,eAAe,CAAC;IAC5B,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,CAAC,aAAa,CAAC,CAAC,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC;CAC7B,CA4BA,CAAC"}
1
+ {"version":3,"file":"query.d.ts","sourceRoot":"","sources":["../../../../src/components/query/query.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAc1B,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;AAwFlD,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,iBAAiB,CAAC;IAC1C,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,eAAe,CAAC;IAC5B,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,CAAC,aAAa,CAAC,CAAC,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC;CAC7B,CA4BA,CAAC"}
@@ -1,4 +1,4 @@
1
1
  export default QueryHistory;
2
2
  export { QueryHistory };
3
- import QueryHistory from "./query-history";
3
+ import QueryHistory from './query-history';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/query-history/index.js"],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/query-history/index.js"],"names":[],"mappings":";;yBAAyB,iBAAiB"}
@@ -37,6 +37,6 @@ export class QueryHistory extends React.PureComponent<any, any, any> {
37
37
  renderRecents: () => JSX.Element;
38
38
  render(): JSX.Element;
39
39
  }
40
- import React from "react";
41
- import PropTypes from "prop-types";
40
+ import React from 'react';
41
+ import PropTypes from 'prop-types';
42
42
  //# sourceMappingURL=query-history.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"query-history.d.ts","sourceRoot":"","sources":["../../../../src/components/query-history/query-history.jsx"],"names":[],"mappings":";AAkBA;IACE,2BAAoC;IAEpC;;;;;MAKE;IAEF;;;;;;;;;;;;;;;;;;;;;;;MAGE;IA8CugjB,wBAA8C;IAAA,sCAAyJ;IA5ChtjB,mCAYE;IAEF,iCAYE;IAEF,sBAWC;CACF"}
1
+ {"version":3,"file":"query-history.d.ts","sourceRoot":"","sources":["../../../../src/components/query-history/query-history.jsx"],"names":[],"mappings":";AAkBA;IACE,2BAAoC;IAEpC;;;;;MAKE;IAEF;;;;;;;;;;;;;;;;;;;;;;;MAGE;IA4C6jjB,wBAA8C;IAAA,sCAAyJ;IA1CtwjB,mCAWE;IAEF,iCAWE;IAEF,sBAWC;CACF;kBAvEoC,OAAO;sBACtB,YAAY"}
@@ -57,35 +57,15 @@ export const RecentList: {
57
57
  items: import("prop-types").Validator<object>;
58
58
  actions: import("prop-types").Validator<object>;
59
59
  current: import("prop-types").Requireable<object>;
60
- ns: import("prop-types").Requireable<object>;
60
+ ns: import("prop-types").Requireable<string>;
61
61
  };
62
62
  defaultProps: {
63
63
  items: never[];
64
64
  current: null;
65
- ns: {
66
- ns: string;
67
- dotIndex: number;
68
- database: string;
69
- collection: string;
70
- system: boolean;
71
- isSystem: boolean;
72
- oplog: boolean;
73
- isOplog: boolean;
74
- command: boolean;
75
- isCommand: boolean;
76
- special: boolean;
77
- isSpecial: boolean;
78
- specialish: boolean;
79
- normal: boolean;
80
- isNormal: boolean;
81
- validDatabaseName: boolean;
82
- validCollectionName: boolean;
83
- databaseHash: number;
84
- toString(): string;
85
- };
65
+ ns: string;
86
66
  };
87
67
  contextType?: import("react").Context<any> | undefined;
88
68
  };
89
- import RecentListItem from "./recent-list-item";
69
+ import RecentListItem from './recent-list-item';
90
70
  export { RecentListItem };
91
71
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/recent/index.js"],"names":[],"mappings":";AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA+C"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/recent/index.js"],"names":[],"mappings":";AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA+C;2BAFpB,oBAAoB"}
@@ -1,12 +1,12 @@
1
1
  /// <reference types="react" />
2
2
  import type { QueryAttributes } from '../query/query';
3
- declare type RecentModel = {
3
+ type RecentModel = {
4
4
  _lastExecuted: Date;
5
5
  getAttributes: (arg0: {
6
6
  props: true;
7
7
  }) => QueryAttributes;
8
8
  };
9
- declare type RecentListItemProps = {
9
+ type RecentListItemProps = {
10
10
  model: RecentModel;
11
11
  actions: {
12
12
  copyQuery: (model: RecentModel) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"recent-list-item.d.ts","sourceRoot":"","sources":["../../../../src/components/recent/recent-list-item.tsx"],"names":[],"mappings":";AAcA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAEtD,aAAK,WAAW,GAAG;IACjB,aAAa,EAAE,IAAI,CAAC;IACpB,aAAa,EAAE,CAAC,IAAI,EAAE;QAAE,KAAK,EAAE,IAAI,CAAA;KAAE,KAAK,eAAe,CAAC;CAC3D,CAAC;AAoEF,aAAK,mBAAmB,GAAG;IACzB,KAAK,EAAE,WAAW,CAAC;IACnB,OAAO,EAAE;QACP,SAAS,EAAE,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC;QACxC,YAAY,EAAE,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC;QAC3C,QAAQ,EAAE,CAAC,UAAU,EAAE,eAAe,KAAK,IAAI,CAAC;QAChD,YAAY,EAAE,CAAC,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;QAC1D,aAAa,EAAE,MAAM,IAAI,CAAC;KAC3B,CAAC;CACH,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EACrC,KAAK,EACL,OAAO,GACR,EAAE,mBAAmB,eA2ErB"}
1
+ {"version":3,"file":"recent-list-item.d.ts","sourceRoot":"","sources":["../../../../src/components/recent/recent-list-item.tsx"],"names":[],"mappings":";AAcA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAEtD,KAAK,WAAW,GAAG;IACjB,aAAa,EAAE,IAAI,CAAC;IACpB,aAAa,EAAE,CAAC,IAAI,EAAE;QAAE,KAAK,EAAE,IAAI,CAAA;KAAE,KAAK,eAAe,CAAC;CAC3D,CAAC;AAoEF,KAAK,mBAAmB,GAAG;IACzB,KAAK,EAAE,WAAW,CAAC;IACnB,OAAO,EAAE;QACP,SAAS,EAAE,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC;QACxC,YAAY,EAAE,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC;QAC3C,QAAQ,EAAE,CAAC,UAAU,EAAE,eAAe,KAAK,IAAI,CAAC;QAChD,YAAY,EAAE,CAAC,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;QAC1D,aAAa,EAAE,MAAM,IAAI,CAAC;KAC3B,CAAC;CACH,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EACrC,KAAK,EACL,OAAO,GACR,EAAE,mBAAmB,eA2ErB"}
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- declare type ToolbarProps = {
2
+ type ToolbarProps = {
3
3
  actions: {
4
4
  showRecent: () => void;
5
5
  showFavorites: () => void;
@@ -1 +1 @@
1
- {"version":3,"file":"toolbar.d.ts","sourceRoot":"","sources":["../../../../src/components/toolbar/toolbar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AA0C3C,aAAK,YAAY,GAAG;IAClB,OAAO,EAAE;QACP,UAAU,EAAE,MAAM,IAAI,CAAC;QACvB,aAAa,EAAE,MAAM,IAAI,CAAC;KAC3B,CAAC;IACF,SAAS,EAAE;QACT,EAAE,EAAE,MAAM,CAAC;KACZ,CAAC;IACF,OAAO,EAAE,QAAQ,GAAG,WAAW,CAAC;CACjC,CAAC;AAEF,iBAAS,OAAO,CAAC,EACf,OAAO,EACP,SAAS,EACT,OAAO,GACR,EAAE,YAAY,GAAG,KAAK,CAAC,YAAY,CAsDnC;AAED,OAAO,EAAE,OAAO,EAAE,CAAC"}
1
+ {"version":3,"file":"toolbar.d.ts","sourceRoot":"","sources":["../../../../src/components/toolbar/toolbar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AA0C3C,KAAK,YAAY,GAAG;IAClB,OAAO,EAAE;QACP,UAAU,EAAE,MAAM,IAAI,CAAC;QACvB,aAAa,EAAE,MAAM,IAAI,CAAC;KAC3B,CAAC;IACF,SAAS,EAAE;QACT,EAAE,EAAE,MAAM,CAAC;KACZ,CAAC;IACF,OAAO,EAAE,QAAQ,GAAG,WAAW,CAAC;CACjC,CAAC;AAEF,iBAAS,OAAO,CAAC,EACf,OAAO,EACP,SAAS,EACT,OAAO,GACR,EAAE,YAAY,GAAG,KAAK,CAAC,YAAY,CAsDnC;AAED,OAAO,EAAE,OAAO,EAAE,CAAC"}
@@ -1,7 +1,7 @@
1
- import Query from "./query";
2
- import FavoriteQuery from "./favorite-query";
3
- import RecentQuery from "./recent-query";
4
- import FavoriteQueryCollection from "./favorite-query-collection";
5
- import RecentQueryCollection from "./recent-query-collection";
1
+ import Query from './query';
2
+ import FavoriteQuery from './favorite-query';
3
+ import RecentQuery from './recent-query';
4
+ import FavoriteQueryCollection from './favorite-query-collection';
5
+ import RecentQueryCollection from './recent-query-collection';
6
6
  export { Query, FavoriteQuery, RecentQuery, FavoriteQueryCollection, RecentQueryCollection };
7
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/index.js"],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/index.js"],"names":[],"mappings":"kBAAkB,SAAS;0BACD,kBAAkB;wBACpB,gBAAgB;oCACJ,6BAA6B;kCAC/B,2BAA2B"}
@@ -9,7 +9,7 @@ export class Plugin extends React.Component<any, any, any> {
9
9
  constructor(props: any, context: any);
10
10
  render(): React.Component;
11
11
  }
12
- import React from "react";
13
- import { Component } from "react";
14
- import PropTypes from "prop-types";
12
+ import React from 'react';
13
+ import { Component } from 'react';
14
+ import PropTypes from 'prop-types';
15
15
  //# sourceMappingURL=plugin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../src/plugin.jsx"],"names":[],"mappings":";AAKA;IACE,2BAA0C;IAC1C;;;MAGE;IAkBkplB,wBAA8C;IAAA,sCAAyJ;IAX31lB,UAFa,eAAe,CAQ3B;CACF"}
1
+ {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../src/plugin.jsx"],"names":[],"mappings":";AAKA;IACE,2BAA0C;IAC1C;;;MAGE;IAkBkplB,wBAA8C;IAAA,sCAAyJ;IAX31lB,UAFa,eAAe,CAQ3B;CACF;kBAxBgC,OAAO;0BAAP,OAAO;sBAGlB,YAAY"}
@@ -1,4 +1,4 @@
1
1
  export default configureStore;
2
2
  declare function configureStore(options?: {}): Reflux.Store;
3
- import Reflux from "reflux";
3
+ import Reflux from 'reflux';
4
4
  //# sourceMappingURL=favorite-list-store.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"favorite-list-store.d.ts","sourceRoot":"","sources":["../../../src/stores/favorite-list-store.js"],"names":[],"mappings":";AAWA,4DAoFC"}
1
+ {"version":3,"file":"favorite-list-store.d.ts","sourceRoot":"","sources":["../../../src/stores/favorite-list-store.js"],"names":[],"mappings":";AAWA,4DAuFC;mBAjGkB,QAAQ"}
@@ -1,3 +1,3 @@
1
1
  export default configureStore;
2
- import configureStore from "./query-history-store";
2
+ import configureStore from './query-history-store';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/stores/index.js"],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/stores/index.js"],"names":[],"mappings":";2BAA2B,uBAAuB"}
@@ -1,4 +1,4 @@
1
1
  export default configureStore;
2
2
  declare function configureStore(options?: {}): Reflux.Store;
3
- import Reflux from "reflux";
3
+ import Reflux from 'reflux';
4
4
  //# sourceMappingURL=query-history-store.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"query-history-store.d.ts","sourceRoot":"","sources":["../../../src/stores/query-history-store.js"],"names":[],"mappings":";AAcA,4DA2FC"}
1
+ {"version":3,"file":"query-history-store.d.ts","sourceRoot":"","sources":["../../../src/stores/query-history-store.js"],"names":[],"mappings":";AAcA,4DA2FC;mBAzGkB,QAAQ"}
@@ -1,4 +1,4 @@
1
1
  export default configureStore;
2
2
  declare function configureStore(options?: {}): Reflux.Store;
3
- import Reflux from "reflux";
3
+ import Reflux from 'reflux';
4
4
  //# sourceMappingURL=recent-list-store.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"recent-list-store.d.ts","sourceRoot":"","sources":["../../../src/stores/recent-list-store.js"],"names":[],"mappings":";AAcA,4DAiJC"}
1
+ {"version":3,"file":"recent-list-store.d.ts","sourceRoot":"","sources":["../../../src/stores/recent-list-store.js"],"names":[],"mappings":";AAcA,4DA+IC;mBA7JkB,QAAQ"}
@@ -1,5 +1,5 @@
1
- import formatQuery from "./format-query";
2
- import comparableQuery from "./comparable-query";
3
- import { FavoriteQueryStorage } from "./favorite-query-storage";
1
+ import formatQuery from './format-query';
2
+ import comparableQuery from './comparable-query';
3
+ import { FavoriteQueryStorage } from './favorite-query-storage';
4
4
  export { formatQuery, comparableQuery, FavoriteQueryStorage };
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/index.js"],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/index.js"],"names":[],"mappings":"wBAAwB,gBAAgB;4BACZ,oBAAoB;qCACX,0BAA0B"}
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@mongodb-js/compass-query-history",
3
3
  "productName": "Query History plugin",
4
4
  "description": "Load and manage saved queries in Compass",
5
- "version": "9.7.0",
5
+ "version": "9.9.0",
6
6
  "author": {
7
7
  "name": "MongoDB Inc",
8
8
  "email": "compass@mongodb.com"
@@ -37,7 +37,6 @@
37
37
  "bootstrap": "npm run compile",
38
38
  "prepublishOnly": "npm run compile && compass-scripts check-exports-exist",
39
39
  "compile": "npm run webpack -- --mode production",
40
- "prewebpack": "rimraf ./dist",
41
40
  "webpack": "webpack-compass",
42
41
  "postcompile": "tsc --emitDeclarationOnly",
43
42
  "analyze": "npm run webpack -- --mode production --analyze",
@@ -50,55 +49,54 @@
50
49
  "check-ci": "npm run check",
51
50
  "test": "mocha",
52
51
  "test-electron": "xvfb-maybe electron-mocha --no-sandbox",
53
- "test-cov": "nyc -x \"**/*.spec.*\" --reporter=lcov --reporter=text --reporter=html npm run test",
52
+ "test-cov": "nyc --compact=false --produce-source-map=false -x \"**/*.spec.*\" --reporter=lcov --reporter=text --reporter=html npm run test",
54
53
  "test-watch": "npm run test -- --watch",
55
54
  "test-ci": "npm run test-cov",
56
55
  "test-ci-electron": "npm run test-electron",
57
56
  "reformat": "npm run prettier -- --write . && npm run eslint . --fix"
58
57
  },
59
58
  "dependencies": {
60
- "@mongodb-js/compass-components": "^1.7.0",
61
- "@mongodb-js/compass-logging": "^1.1.4",
62
- "@mongodb-js/compass-utils": "^0.2.3",
63
- "bson": "^5.0.1",
64
- "storage-mixin": "^5.1.3"
59
+ "@mongodb-js/compass-components": "^1.9.0",
60
+ "@mongodb-js/compass-logging": "^1.1.6",
61
+ "@mongodb-js/compass-utils": "^0.3.1",
62
+ "bson": "^5.2.0",
63
+ "storage-mixin": "^5.1.5"
65
64
  },
66
65
  "peerDependencies": {
67
- "@mongodb-js/compass-components": "^1.7.0",
68
- "@mongodb-js/compass-logging": "^1.1.4",
69
- "@mongodb-js/compass-utils": "^0.2.3",
70
- "bson": "^5.0.1",
66
+ "@mongodb-js/compass-components": "^1.9.0",
67
+ "@mongodb-js/compass-logging": "^1.1.6",
68
+ "@mongodb-js/compass-utils": "^0.3.1",
69
+ "bson": "^5.2.0",
71
70
  "react": "^17.0.2",
72
- "storage-mixin": "^5.1.3"
71
+ "storage-mixin": "^5.1.5"
73
72
  },
74
73
  "devDependencies": {
75
- "@mongodb-js/eslint-config-compass": "^1.0.4",
76
- "@mongodb-js/mocha-config-compass": "^1.1.0",
74
+ "@mongodb-js/eslint-config-compass": "^1.0.6",
75
+ "@mongodb-js/mocha-config-compass": "^1.2.0",
77
76
  "@mongodb-js/prettier-config-compass": "^1.0.0",
78
- "@mongodb-js/tsconfig-compass": "^1.0.1",
79
- "@mongodb-js/webpack-config-compass": "^1.0.7",
77
+ "@mongodb-js/tsconfig-compass": "^1.0.2",
78
+ "@mongodb-js/webpack-config-compass": "^1.1.0",
80
79
  "@testing-library/react": "^12.1.4",
81
80
  "@testing-library/user-event": "^13.5.0",
82
81
  "ampersand-model": "^8.0.1",
83
82
  "ampersand-rest-collection": "^6.0.0",
84
83
  "chai": "^4.1.2",
85
84
  "depcheck": "^1.4.1",
86
- "electron": "^22.0.2",
85
+ "electron": "^22.3.12",
87
86
  "eslint": "^7.25.0",
88
- "hadron-app-registry": "^9.0.5",
89
- "lodash": "^4.17.15",
90
- "mocha": "^8.4.0",
87
+ "hadron-app-registry": "^9.0.7",
88
+ "lodash": "^4.17.21",
89
+ "mocha": "^10.2.0",
91
90
  "mongodb-ns": "^2.4.0",
92
- "mongodb-query-parser": "^2.4.8",
93
- "nyc": "^15.0.0",
91
+ "mongodb-query-parser": "^2.5.0",
92
+ "nyc": "^15.1.0",
94
93
  "prop-types": "^15.7.2",
95
94
  "react": "^17.0.2",
96
95
  "react-dom": "^17.0.2",
97
96
  "reflux": "^0.4.1",
98
97
  "reflux-state-mixin": "github:mongodb-js/reflux-state-mixin",
99
- "rimraf": "^3.0.2",
100
98
  "sinon": "^9.2.3",
101
99
  "uuid": "^3.1.0"
102
100
  },
103
- "gitHead": "fe181eedfcb07251b9b9a3dce8254a4941d74e42"
101
+ "gitHead": "129d5d5375a2815408e12ee15e1b6bd566f52600"
104
102
  }