@vitessce/config 3.3.3 → 3.3.5
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 +37 -15094
- package/dist-tsc/VitessceConfig.js +3 -3
- package/package.json +3 -3
- package/src/VitessceConfig.js +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* eslint-disable react-hooks/rules-of-hooks */
|
|
2
2
|
import { CoordinationType } from '@vitessce/constants-internal';
|
|
3
|
-
import {
|
|
3
|
+
import { getNextScope, createPrefixedGetNextScopeNumeric } from '@vitessce/utils';
|
|
4
4
|
/**
|
|
5
5
|
* Class representing a file within a Vitessce config dataset.
|
|
6
6
|
*/
|
|
@@ -882,9 +882,9 @@ export class VitessceConfig {
|
|
|
882
882
|
return {
|
|
883
883
|
...this.config,
|
|
884
884
|
datasets: this.config.datasets.map(d => d.toJSON()),
|
|
885
|
-
coordinationSpace: fromEntries(Object.entries(this.config.coordinationSpace).map(([cType, cScopes]) => ([
|
|
885
|
+
coordinationSpace: Object.fromEntries(Object.entries(this.config.coordinationSpace).map(([cType, cScopes]) => ([
|
|
886
886
|
cType,
|
|
887
|
-
fromEntries(Object.entries(cScopes).map(([cScopeName, cScope]) => ([
|
|
887
|
+
Object.fromEntries(Object.entries(cScopes).map(([cScopeName, cScope]) => ([
|
|
888
888
|
cScopeName,
|
|
889
889
|
cScope.cValue,
|
|
890
890
|
]))),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/config",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.5",
|
|
4
4
|
"author": "Gehlenborg Lab",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
"dist-tsc"
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@vitessce/
|
|
20
|
-
"@vitessce/
|
|
19
|
+
"@vitessce/utils": "3.3.5",
|
|
20
|
+
"@vitessce/constants-internal": "3.3.5"
|
|
21
21
|
},
|
|
22
22
|
"scripts": {
|
|
23
23
|
"bundle": "pnpm exec vite build -c ../../scripts/vite.config.js",
|
package/src/VitessceConfig.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* eslint-disable react-hooks/rules-of-hooks */
|
|
2
2
|
import { CoordinationType } from '@vitessce/constants-internal';
|
|
3
|
-
import {
|
|
3
|
+
import { getNextScope, createPrefixedGetNextScopeNumeric } from '@vitessce/utils';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Class representing a file within a Vitessce config dataset.
|
|
@@ -954,10 +954,10 @@ export class VitessceConfig {
|
|
|
954
954
|
return {
|
|
955
955
|
...this.config,
|
|
956
956
|
datasets: this.config.datasets.map(d => d.toJSON()),
|
|
957
|
-
coordinationSpace: fromEntries(
|
|
957
|
+
coordinationSpace: Object.fromEntries(
|
|
958
958
|
Object.entries(this.config.coordinationSpace).map(([cType, cScopes]) => ([
|
|
959
959
|
cType,
|
|
960
|
-
fromEntries(
|
|
960
|
+
Object.fromEntries(
|
|
961
961
|
Object.entries(cScopes).map(([cScopeName, cScope]) => ([
|
|
962
962
|
cScopeName,
|
|
963
963
|
cScope.cValue,
|