@uwdata/mosaic-spec 0.15.0 → 0.16.2

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.
@@ -34,7 +34,7 @@ export class InstantiateContext {
34
34
  coordinator: any;
35
35
  error(message: any, data: any): void;
36
36
  }
37
- import { SpecNode } from './ast/SpecNode.js';
38
- import { Param } from '@uwdata/mosaic-core';
39
- import { Selection } from '@uwdata/mosaic-core';
37
+ import type { SpecNode } from './ast/SpecNode.js';
38
+ import type { Param } from '@uwdata/mosaic-core';
39
+ import type { Selection } from '@uwdata/mosaic-core';
40
40
  import { createAPIContext } from '@uwdata/vgplot';
@@ -61,4 +61,4 @@ export class CodegenContext {
61
61
  maybeLineWrap(spans: any): any;
62
62
  error(message: any, data: any): void;
63
63
  }
64
- import { SpecNode } from './ast/SpecNode.js';
64
+ import type { SpecNode } from './ast/SpecNode.js';
@@ -6,4 +6,4 @@
6
6
  * @returns {Set<string>} A set of extension names.
7
7
  */
8
8
  export function resolveExtensions(ast: SpecNode): Set<string>;
9
- import { SpecNode } from '../ast/SpecNode.js';
9
+ import type { SpecNode } from '../ast/SpecNode.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uwdata/mosaic-spec",
3
- "version": "0.15.0",
3
+ "version": "0.16.2",
4
4
  "description": "Declarative specification of Mosaic-powered applications.",
5
5
  "keywords": [
6
6
  "mosaic",
@@ -33,10 +33,10 @@
33
33
  "prepublishOnly": "npm run test && npm run lint && npm run build"
34
34
  },
35
35
  "dependencies": {
36
- "@uwdata/mosaic-core": "^0.15.0",
37
- "@uwdata/mosaic-sql": "^0.15.0",
38
- "@uwdata/vgplot": "^0.15.0",
36
+ "@uwdata/mosaic-core": "^0.16.2",
37
+ "@uwdata/mosaic-sql": "^0.16.2",
38
+ "@uwdata/vgplot": "^0.16.2",
39
39
  "ts-json-schema-generator": "^2.3.0"
40
40
  },
41
- "gitHead": "671ad1ba86749a8435bd4aa7e722e2a8553f2cb0"
41
+ "gitHead": "26d2719f4bcab471d2831145e1f03f39f3509869"
42
42
  }
package/src/ast-to-dom.js CHANGED
@@ -1,6 +1,8 @@
1
- import { Param, Selection } from '@uwdata/mosaic-core';
1
+ /**
2
+ * @import { Param, Selection } from '@uwdata/mosaic-core'
3
+ * @import { SpecNode } from './ast/SpecNode.js'
4
+ */
2
5
  import { createAPIContext, loadExtension } from '@uwdata/vgplot';
3
- import { SpecNode } from './ast/SpecNode.js';
4
6
  import { resolveExtensions } from './config/extensions.js';
5
7
  import { error } from './util.js';
6
8
 
package/src/ast-to-esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import { SpecNode } from './ast/SpecNode.js';
1
+ /** @import { SpecNode } from './ast/SpecNode.js' */
2
2
  import { resolveExtensions } from './config/extensions.js';
3
3
  import { error, isArray, isObject, isString, toArray, toParamRef } from './util.js';
4
4
 
@@ -1,5 +1,5 @@
1
+ /** @import { SpecNode } from '../ast/SpecNode.js' */
1
2
  import { SPATIAL_DATA } from '../ast/DataNode.js';
2
- import { SpecNode } from '../ast/SpecNode.js';
3
3
  import { toArray } from '../util.js';
4
4
 
5
5
  /**