@graphty/graph-io 0.3.37 → 0.3.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.
- package/dist/chunks/{exporter-flsHFoER.js → exporter-Bf5tZA0X.js} +3 -3
- package/dist/chunks/exporter-Bf5tZA0X.js.map +1 -0
- package/dist/chunks/exporter-Bn4jdYfd.js.map +1 -1
- package/dist/chunks/{exporter-B_YFZ4ix.js → exporter-D-qQuRcG.js} +2 -2
- package/dist/chunks/exporter-D-qQuRcG.js.map +1 -0
- package/dist/chunks/{exporter-2UNIxzcu.js → exporter-F0vT919P.js} +2 -2
- package/dist/chunks/exporter-F0vT919P.js.map +1 -0
- package/dist/chunks/importer-Bgb9sgZZ.js.map +1 -1
- package/dist/chunks/{importer-Dwqepe_B.js → importer-BuzbaFFY.js} +8 -2
- package/dist/chunks/importer-BuzbaFFY.js.map +1 -0
- package/dist/chunks/{importer-BD3mi2QH.js → importer-CNMQnHDd.js} +3 -3
- package/dist/chunks/importer-CNMQnHDd.js.map +1 -0
- package/dist/chunks/importer-oIUx9u_g.js.map +1 -1
- package/dist/csv.js.map +1 -1
- package/dist/cx.js +1 -1
- package/dist/cx2.js +2 -2
- package/dist/gml.js +1 -1
- package/dist/gml.js.map +1 -1
- package/dist/graph-io.js +10 -10
- package/dist/json.js +1 -1
- package/dist/neo4j.js +2 -2
- package/dist/neo4j.js.map +1 -1
- package/dist/obo.js +1 -1
- package/dist/src/common/cx-export.d.ts +5 -2
- package/dist/src/common/cx-export.d.ts.map +1 -1
- package/dist/src/common/cx-export.js +11 -2
- package/dist/src/common/cx-export.js.map +1 -1
- package/dist/src/formats/cx/exporter.js +1 -1
- package/dist/src/formats/cx/exporter.js.map +1 -1
- package/dist/src/formats/cx2/exporter.js +1 -1
- package/dist/src/formats/cx2/exporter.js.map +1 -1
- package/dist/src/formats/gml/importer.js.map +1 -1
- package/dist/src/formats/gml/syntax.js +1 -1
- package/dist/src/formats/gml/syntax.js.map +1 -1
- package/dist/src/formats/json/dialect.js +1 -1
- package/dist/src/formats/json/dialect.js.map +1 -1
- package/dist/src/formats/neo4j/exporter.d.ts.map +1 -1
- package/dist/src/formats/neo4j/exporter.js +1 -4
- package/dist/src/formats/neo4j/exporter.js.map +1 -1
- package/dist/src/formats/neo4j/header.js +2 -2
- package/dist/src/formats/neo4j/header.js.map +1 -1
- package/dist/src/formats/obo/syntax.js +1 -1
- package/dist/src/formats/obo/syntax.js.map +1 -1
- package/dist/src/formats/xgmml/exporter.d.ts.map +1 -1
- package/dist/src/formats/xgmml/exporter.js.map +1 -1
- package/package.json +2 -2
- package/src/common/cx-export.ts +11 -2
- package/src/formats/csv/importer.ts +1 -1
- package/src/formats/cx/exporter.ts +1 -1
- package/src/formats/cx2/exporter.ts +1 -1
- package/src/formats/dot/importer.ts +1 -1
- package/src/formats/gml/importer.ts +1 -1
- package/src/formats/gml/syntax.ts +1 -1
- package/src/formats/json/dialect.ts +1 -1
- package/src/formats/neo4j/exporter.ts +1 -4
- package/src/formats/neo4j/header.ts +2 -2
- package/src/formats/obo/syntax.ts +1 -1
- package/src/formats/pajek/importer.ts +1 -1
- package/src/formats/xgmml/exporter.ts +4 -1
- package/dist/chunks/exporter-2UNIxzcu.js.map +0 -1
- package/dist/chunks/exporter-B_YFZ4ix.js.map +0 -1
- package/dist/chunks/exporter-flsHFoER.js.map +0 -1
- package/dist/chunks/importer-BD3mi2QH.js.map +0 -1
- package/dist/chunks/importer-Dwqepe_B.js.map +0 -1
package/dist/graph-io.js
CHANGED
|
@@ -9,12 +9,12 @@ import { c as collectBytes } from "./chunks/writer-DxjgHwSe.js";
|
|
|
9
9
|
import { D as D2, d as d2, e as e2, j as j2, t as t2 } from "./chunks/writer-DxjgHwSe.js";
|
|
10
10
|
import { csvImporter, csvExporter } from "./csv.js";
|
|
11
11
|
import { CSV_CAPABILITIES, CSV_ISSUE, CSV_LOSS } from "./csv.js";
|
|
12
|
-
import { d as cxImporter, c as cxExporter } from "./chunks/importer-
|
|
13
|
-
import { C as C3, a as a7, b } from "./chunks/importer-
|
|
14
|
-
import { c as cx2Exporter } from "./chunks/exporter-
|
|
15
|
-
import { C as C4, a as a8 } from "./chunks/exporter-
|
|
16
|
-
import { c as cx2Importer } from "./chunks/importer-
|
|
17
|
-
import { C as C5 } from "./chunks/importer-
|
|
12
|
+
import { d as cxImporter, c as cxExporter } from "./chunks/importer-CNMQnHDd.js";
|
|
13
|
+
import { C as C3, a as a7, b } from "./chunks/importer-CNMQnHDd.js";
|
|
14
|
+
import { c as cx2Exporter } from "./chunks/exporter-Bf5tZA0X.js";
|
|
15
|
+
import { C as C4, a as a8 } from "./chunks/exporter-Bf5tZA0X.js";
|
|
16
|
+
import { c as cx2Importer } from "./chunks/importer-BuzbaFFY.js";
|
|
17
|
+
import { C as C5 } from "./chunks/importer-BuzbaFFY.js";
|
|
18
18
|
import { d as cysImporter, c as cysExporter } from "./chunks/importer-CEuUmyPe.js";
|
|
19
19
|
import { C as C6, a as a9, b as b10 } from "./chunks/importer-CEuUmyPe.js";
|
|
20
20
|
import { b as dotImporter, d as dotExporter } from "./chunks/importer-oIUx9u_g.js";
|
|
@@ -24,12 +24,12 @@ import { GEXF_1_2_CAPABILITIES, GEXF_ISSUE, GEXF_LOSS } from "./gexf.js";
|
|
|
24
24
|
import { gmlImporter, gmlExporter } from "./gml.js";
|
|
25
25
|
import { GML_ISSUE, GML_LOSS } from "./gml.js";
|
|
26
26
|
import { a as graphmlImporter, g as graphmlExporter } from "./chunks/importer-DqMtyYLX.js";
|
|
27
|
-
import { r as rankFormats, S as SNIFF_HEAD_BYTES, e as jsonImporter, c as jsonExporter } from "./chunks/exporter-
|
|
28
|
-
import { G as G2, J as J2, a as a11, b as b11, d as d3, g as g2, h as h2, j as j3, f as f2, n as n2, s as s2, i as i3 } from "./chunks/exporter-
|
|
27
|
+
import { r as rankFormats, S as SNIFF_HEAD_BYTES, e as jsonImporter, c as jsonExporter } from "./chunks/exporter-D-qQuRcG.js";
|
|
28
|
+
import { G as G2, J as J2, a as a11, b as b11, d as d3, g as g2, h as h2, j as j3, f as f2, n as n2, s as s2, i as i3 } from "./chunks/exporter-D-qQuRcG.js";
|
|
29
29
|
import { neo4jImporter, neo4jExporter } from "./neo4j.js";
|
|
30
30
|
import { ID_SPACE_COLUMN, LABELS_COLUMN, NEO4J_CAPABILITIES, NEO4J_ISSUE, NEO4J_LOSS, ORIGINAL_ID_COLUMN, TYPE_COLUMN, exportNeo4jFiles } from "./neo4j.js";
|
|
31
|
-
import { c as oboImporter, o as oboExporter } from "./chunks/exporter-
|
|
32
|
-
import { O, a as a12, b as b12 } from "./chunks/exporter-
|
|
31
|
+
import { c as oboImporter, o as oboExporter } from "./chunks/exporter-F0vT919P.js";
|
|
32
|
+
import { O, a as a12, b as b12 } from "./chunks/exporter-F0vT919P.js";
|
|
33
33
|
import { b as pajekImporter, p as pajekExporter } from "./chunks/importer-Bgb9sgZZ.js";
|
|
34
34
|
import { P as P2, a as a13 } from "./chunks/importer-Bgb9sgZZ.js";
|
|
35
35
|
import { x as xgmmlExporter } from "./chunks/exporter-Bn4jdYfd.js";
|
package/dist/json.js
CHANGED
package/dist/neo4j.js
CHANGED
|
@@ -11,7 +11,7 @@ function isHeaderRecord(cells, count, quoted) {
|
|
|
11
11
|
let quotedMarker = false;
|
|
12
12
|
for (let i = 0; i < count; i++) {
|
|
13
13
|
const cell = cells[i];
|
|
14
|
-
if (cell.
|
|
14
|
+
if (cell.includes(":") && HEADER_MARKER.test(cell.trim())) {
|
|
15
15
|
if (quoted?.[i] !== true) {
|
|
16
16
|
return true;
|
|
17
17
|
}
|
|
@@ -2214,7 +2214,7 @@ class ExportPlan {
|
|
|
2214
2214
|
return null;
|
|
2215
2215
|
}
|
|
2216
2216
|
if (labels.dtype === "list") {
|
|
2217
|
-
return labels.sliceOf(index).map(
|
|
2217
|
+
return labels.sliceOf(index).map(String).join(this.options.arrayDelimiter);
|
|
2218
2218
|
}
|
|
2219
2219
|
return textOf(labels, index);
|
|
2220
2220
|
}
|