semanticdb-core 1.0.37 → 1.0.38

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.
@@ -22,6 +22,10 @@ const tws = (0, date_1.getSupportedTimeWindows)();
22
22
  */
23
23
  const isDimensionInQuery = (query, dimension, strictMode = true) => {
24
24
  const flattenQuery = (0, exports.getFlattenQuery)(query);
25
+ // 最简单的
26
+ if (typeof dimension === 'string' && dimension in flattenQuery) {
27
+ return true;
28
+ }
25
29
  if (strictMode) {
26
30
  if (typeof dimension === 'string') {
27
31
  return dimension in flattenQuery;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "semanticdb-core",
3
- "version": "1.0.37",
3
+ "version": "1.0.38",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [