@vitessce/utils 3.0.0 → 3.1.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/dist/index.js CHANGED
@@ -8682,6 +8682,10 @@ const FileType$1 = {
8682
8682
  ANNDATA_EXPRESSION_MATRIX_ZARR: "anndata-expression-matrix.zarr"
8683
8683
  };
8684
8684
  const CoordinationType$1 = {
8685
+ // Meta coordination scopes
8686
+ META_COORDINATION_SCOPES: "metaCoordinationScopes",
8687
+ META_COORDINATION_SCOPES_BY: "metaCoordinationScopesBy",
8688
+ // Other coordination scopes
8685
8689
  DATASET: "dataset",
8686
8690
  // Entity types
8687
8691
  OBS_TYPE: "obsType",
@@ -1,3 +1,4 @@
1
+ import { describe, it, expect } from 'vitest';
1
2
  import { interpolateRdBu, interpolatePlasma } from './interpolate-colors.js';
2
3
  const expectRgb = ([testR, testG, testB], [r, g, b]) => ([
3
4
  expect(testR).toBeCloseTo(r),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/utils",
3
- "version": "3.0.0",
3
+ "version": "3.1.0",
4
4
  "author": "Gehlenborg Lab",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -19,11 +19,11 @@
19
19
  "bowser": "^2.11.0",
20
20
  "lodash-es": "^4.17.21",
21
21
  "lz-string": "^1.4.4",
22
- "@vitessce/sets-utils": "3.0.0"
22
+ "@vitessce/sets-utils": "3.1.0"
23
23
  },
24
24
  "scripts": {
25
25
  "bundle": "pnpm exec vite build -c ../../../scripts/vite.config.js",
26
- "test": "pnpm exec vitest --run -r ../../../ --dir ."
26
+ "test": "pnpm exec vitest --run"
27
27
  },
28
28
  "module": "dist/index.js",
29
29
  "exports": {
@@ -1,3 +1,4 @@
1
+ import { describe, it, expect } from 'vitest';
1
2
  import { interpolateRdBu, interpolatePlasma } from './interpolate-colors.js';
2
3
 
3
4
  const expectRgb = ([testR, testG, testB], [r, g, b]) => ([