@graphty/graph-io 0.3.37 → 0.3.39

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.
Files changed (141) hide show
  1. package/dist/chunks/{choose-CsO24U-5.js → choose-CS3fvGT1.js} +2 -2
  2. package/dist/chunks/{choose-CsO24U-5.js.map → choose-CS3fvGT1.js.map} +1 -1
  3. package/dist/chunks/{constants-BPRiVyBu.js → constants-DqKZT6cH.js} +2 -2
  4. package/dist/chunks/{constants-BPRiVyBu.js.map → constants-DqKZT6cH.js.map} +1 -1
  5. package/dist/chunks/{escape-BRcyzD77.js → escape-BpYMQZVa.js} +2 -2
  6. package/dist/chunks/{escape-BRcyzD77.js.map → escape-BpYMQZVa.js.map} +1 -1
  7. package/dist/chunks/{export-CTUlibzr.js → export-B-aVCwyG.js} +103 -92
  8. package/dist/chunks/export-B-aVCwyG.js.map +1 -0
  9. package/dist/chunks/{exporter-flsHFoER.js → exporter-BqKs1Q12.js} +5 -5
  10. package/dist/chunks/exporter-BqKs1Q12.js.map +1 -0
  11. package/dist/chunks/{exporter-B_YFZ4ix.js → exporter-CNJZF_BN.js} +7 -7
  12. package/dist/chunks/exporter-CNJZF_BN.js.map +1 -0
  13. package/dist/chunks/{exporter-Bn4jdYfd.js → exporter-DXqCPNrI.js} +4 -4
  14. package/dist/chunks/exporter-DXqCPNrI.js.map +1 -0
  15. package/dist/chunks/{exporter-2UNIxzcu.js → exporter-SFYkDzD0.js} +6 -5
  16. package/dist/chunks/exporter-SFYkDzD0.js.map +1 -0
  17. package/dist/chunks/{importer-oIUx9u_g.js → importer--tQQsY4W.js} +40 -18
  18. package/dist/chunks/importer--tQQsY4W.js.map +1 -0
  19. package/dist/chunks/{importer-yWUPR_nU.js → importer-B7Ir269L.js} +4 -4
  20. package/dist/chunks/{importer-yWUPR_nU.js.map → importer-B7Ir269L.js.map} +1 -1
  21. package/dist/chunks/{importer-Dwqepe_B.js → importer-BfJ1jnNr.js} +10 -4
  22. package/dist/chunks/importer-BfJ1jnNr.js.map +1 -0
  23. package/dist/chunks/{importer-CEuUmyPe.js → importer-CSt-gaYE.js} +6 -6
  24. package/dist/chunks/{importer-CEuUmyPe.js.map → importer-CSt-gaYE.js.map} +1 -1
  25. package/dist/chunks/{importer-Bgb9sgZZ.js → importer-CqgYq4Ld.js} +6 -8
  26. package/dist/chunks/importer-CqgYq4Ld.js.map +1 -0
  27. package/dist/chunks/{importer-BD3mi2QH.js → importer-DvFznt5-.js} +5 -5
  28. package/dist/chunks/importer-DvFznt5-.js.map +1 -0
  29. package/dist/chunks/{importer-DqMtyYLX.js → importer-PVXkeoaS.js} +6 -8
  30. package/dist/chunks/importer-PVXkeoaS.js.map +1 -0
  31. package/dist/chunks/{json-elements-AkglPS3m.js → json-elements-CXs4z1iL.js} +3 -3
  32. package/dist/chunks/{json-elements-AkglPS3m.js.map → json-elements-CXs4z1iL.js.map} +1 -1
  33. package/dist/chunks/{ontology-export-DDoG3egY.js → ontology-export-50L9DOV4.js} +2 -2
  34. package/dist/chunks/{ontology-export-DDoG3egY.js.map → ontology-export-50L9DOV4.js.map} +1 -1
  35. package/dist/chunks/{records-ChmWZGuz.js → records-C9jd7yLD.js} +2 -2
  36. package/dist/chunks/{records-ChmWZGuz.js.map → records-C9jd7yLD.js.map} +1 -1
  37. package/dist/chunks/{text-Btw3sBe_.js → text-Bjfa1xYL.js} +2 -2
  38. package/dist/chunks/{text-Btw3sBe_.js.map → text-Bjfa1xYL.js.map} +1 -1
  39. package/dist/csv.js +4 -4
  40. package/dist/csv.js.map +1 -1
  41. package/dist/cx.js +1 -1
  42. package/dist/cx2.js +2 -2
  43. package/dist/cys.js +1 -1
  44. package/dist/dot.js +1 -1
  45. package/dist/gexf.js +2 -2
  46. package/dist/gml.js +9 -7
  47. package/dist/gml.js.map +1 -1
  48. package/dist/graph-io.js +26 -26
  49. package/dist/graphml.js +2 -2
  50. package/dist/json.js +1 -1
  51. package/dist/neo4j.js +5 -5
  52. package/dist/neo4j.js.map +1 -1
  53. package/dist/obo.js +1 -1
  54. package/dist/pajek.js +1 -1
  55. package/dist/src/common/cx-export.d.ts +5 -2
  56. package/dist/src/common/cx-export.d.ts.map +1 -1
  57. package/dist/src/common/cx-export.js +11 -2
  58. package/dist/src/common/cx-export.js.map +1 -1
  59. package/dist/src/common/direction.js +1 -1
  60. package/dist/src/common/direction.js.map +1 -1
  61. package/dist/src/common/export.d.ts.map +1 -1
  62. package/dist/src/common/export.js +136 -71
  63. package/dist/src/common/export.js.map +1 -1
  64. package/dist/src/common/input.js +1 -1
  65. package/dist/src/common/input.js.map +1 -1
  66. package/dist/src/formats/cx/exporter.js +1 -1
  67. package/dist/src/formats/cx/exporter.js.map +1 -1
  68. package/dist/src/formats/cx2/exporter.js +1 -1
  69. package/dist/src/formats/cx2/exporter.js.map +1 -1
  70. package/dist/src/formats/dot/importer.d.ts +6 -0
  71. package/dist/src/formats/dot/importer.d.ts.map +1 -1
  72. package/dist/src/formats/dot/importer.js +11 -6
  73. package/dist/src/formats/dot/importer.js.map +1 -1
  74. package/dist/src/formats/dot/names.d.ts +5 -0
  75. package/dist/src/formats/dot/names.d.ts.map +1 -1
  76. package/dist/src/formats/dot/names.js +5 -0
  77. package/dist/src/formats/dot/names.js.map +1 -1
  78. package/dist/src/formats/dot/tokenizer.js +9 -9
  79. package/dist/src/formats/dot/tokenizer.js.map +1 -1
  80. package/dist/src/formats/gml/importer.d.ts +6 -0
  81. package/dist/src/formats/gml/importer.d.ts.map +1 -1
  82. package/dist/src/formats/gml/importer.js +6 -3
  83. package/dist/src/formats/gml/importer.js.map +1 -1
  84. package/dist/src/formats/gml/syntax.js +1 -1
  85. package/dist/src/formats/gml/syntax.js.map +1 -1
  86. package/dist/src/formats/graphml/importer.d.ts.map +1 -1
  87. package/dist/src/formats/graphml/importer.js +2 -4
  88. package/dist/src/formats/graphml/importer.js.map +1 -1
  89. package/dist/src/formats/json/dialect.js +1 -1
  90. package/dist/src/formats/json/dialect.js.map +1 -1
  91. package/dist/src/formats/neo4j/exporter.d.ts.map +1 -1
  92. package/dist/src/formats/neo4j/exporter.js +1 -4
  93. package/dist/src/formats/neo4j/exporter.js.map +1 -1
  94. package/dist/src/formats/neo4j/header.js +2 -2
  95. package/dist/src/formats/neo4j/header.js.map +1 -1
  96. package/dist/src/formats/obo/importer.d.ts.map +1 -1
  97. package/dist/src/formats/obo/importer.js +2 -1
  98. package/dist/src/formats/obo/importer.js.map +1 -1
  99. package/dist/src/formats/obo/syntax.js +1 -1
  100. package/dist/src/formats/obo/syntax.js.map +1 -1
  101. package/dist/src/formats/pajek/exporter.d.ts.map +1 -1
  102. package/dist/src/formats/pajek/exporter.js +4 -5
  103. package/dist/src/formats/pajek/exporter.js.map +1 -1
  104. package/dist/src/formats/xgmml/exporter.d.ts.map +1 -1
  105. package/dist/src/formats/xgmml/exporter.js.map +1 -1
  106. package/dist/src/sniff.js +1 -1
  107. package/dist/src/sniff.js.map +1 -1
  108. package/dist/xgmml.js +2 -2
  109. package/package.json +2 -2
  110. package/src/common/cx-export.ts +11 -2
  111. package/src/common/direction.ts +1 -1
  112. package/src/common/export.ts +190 -97
  113. package/src/common/input.ts +1 -1
  114. package/src/formats/csv/importer.ts +1 -1
  115. package/src/formats/cx/exporter.ts +1 -1
  116. package/src/formats/cx2/exporter.ts +1 -1
  117. package/src/formats/dot/importer.ts +36 -5
  118. package/src/formats/dot/names.ts +6 -0
  119. package/src/formats/dot/tokenizer.ts +9 -9
  120. package/src/formats/gml/importer.ts +15 -4
  121. package/src/formats/gml/syntax.ts +1 -1
  122. package/src/formats/graphml/importer.ts +2 -4
  123. package/src/formats/json/dialect.ts +1 -1
  124. package/src/formats/neo4j/exporter.ts +1 -4
  125. package/src/formats/neo4j/header.ts +2 -2
  126. package/src/formats/obo/importer.ts +2 -1
  127. package/src/formats/obo/syntax.ts +1 -1
  128. package/src/formats/pajek/exporter.ts +6 -4
  129. package/src/formats/pajek/importer.ts +1 -1
  130. package/src/formats/xgmml/exporter.ts +4 -1
  131. package/src/sniff.ts +1 -1
  132. package/dist/chunks/export-CTUlibzr.js.map +0 -1
  133. package/dist/chunks/exporter-2UNIxzcu.js.map +0 -1
  134. package/dist/chunks/exporter-B_YFZ4ix.js.map +0 -1
  135. package/dist/chunks/exporter-Bn4jdYfd.js.map +0 -1
  136. package/dist/chunks/exporter-flsHFoER.js.map +0 -1
  137. package/dist/chunks/importer-BD3mi2QH.js.map +0 -1
  138. package/dist/chunks/importer-Bgb9sgZZ.js.map +0 -1
  139. package/dist/chunks/importer-DqMtyYLX.js.map +0 -1
  140. package/dist/chunks/importer-Dwqepe_B.js.map +0 -1
  141. package/dist/chunks/importer-oIUx9u_g.js.map +0 -1
package/dist/graph-io.js CHANGED
@@ -1,42 +1,42 @@
1
1
  import { INVALID_INDEX, GraphFormatError, GraphBuilder } from "@graphty/graph-format";
2
2
  import { GraphBuilder as GraphBuilder2, GraphFormatError as GraphFormatError2, INVALID_INDEX as INVALID_INDEX2 } from "@graphty/graph-format";
3
- import { al as resolveImportOptions, a8 as ImportReportBuilder, ao as reportSinkOptions, an as reportUnusedOptions, ar as IdCoercer, aq as DirectionResolver, az as LineReader, am as throwIfAborted, aK as parseWeightText, aL as isAbortError, aM as BAD_LINE_CODE, aN as messageOf, aO as describe, b as plural, aP as UNKNOWN_OPTION_CODE, a7 as chooseGraph, aQ as normalizeInput, aR as foreignKind, E as EMPTY_INPUT_CODE, aS as ImportError, aT as FETCH_CODE, $ as agree, aU as EDGES_MERGED_CODE, aV as SELF_LOOPS_DROPPED_CODE, O as OPTION_IGNORED_CODE, aW as WEIGHT_NOT_FOUND_CODE, aX as lockReader, aY as abortable } from "./chunks/export-CTUlibzr.js";
4
- import { ae, Y, V, B, aZ, a3, at, a_, C, a$, A, b0, k, j, i, b1, b2, b3, D, d, o, b4, m, u, n, F, b5, v, x, b6, b7, aB, af, H, I, b8, J, G, b9, y, z, ba, a2, L, s, t, M, l, W, T, bb, bc, aA, bd, be, N, bf, bg, Q, ai, bh, P, aD, ay, au, K, R, bi, ag, S, Z, _, bj, f, ah, ak, bk, bl, bm, ad, aC, U, g, w, q, bn, h, bo, bp, aj, ax, X, aH, c, a, bq, aI, br, a1, bs, bt, e, bu, aF, aa, ab, bv, aG, ap, bw, bx, by, bz, aJ, bA, p, bB, bC, r, aE, a4 } from "./chunks/export-CTUlibzr.js";
5
- import { T as TextCellWriter } from "./chunks/text-Btw3sBe_.js";
6
- import { W as W2, i as i2, a as a5, p as p2 } from "./chunks/text-Btw3sBe_.js";
3
+ import { al as resolveImportOptions, a8 as ImportReportBuilder, ao as reportSinkOptions, an as reportUnusedOptions, ar as IdCoercer, aq as DirectionResolver, az as LineReader, am as throwIfAborted, aK as parseWeightText, aL as isAbortError, aM as BAD_LINE_CODE, aN as messageOf, aO as describe, b as plural, aP as UNKNOWN_OPTION_CODE, a7 as chooseGraph, aQ as normalizeInput, aR as foreignKind, E as EMPTY_INPUT_CODE, aS as ImportError, aT as FETCH_CODE, $ as agree, aU as EDGES_MERGED_CODE, aV as SELF_LOOPS_DROPPED_CODE, O as OPTION_IGNORED_CODE, aW as WEIGHT_NOT_FOUND_CODE, aX as lockReader, aY as abortable } from "./chunks/export-B-aVCwyG.js";
4
+ import { ae, Y, V, B, aZ, a3, at, a_, C, a$, A, b0, k, j, i, b1, b2, b3, D, d, o, b4, m, u, n, F, b5, v, x, b6, b7, aB, af, H, I, b8, J, G, b9, y, z, ba, a2, L, s, t, M, l, W, T, bb, bc, aA, bd, be, N, bf, bg, Q, ai, bh, P, aD, ay, au, K, R, bi, ag, S, Z, _, bj, f, ah, ak, bk, bl, bm, ad, aC, U, g, w, q, bn, h, bo, bp, aj, ax, X, aH, c, a, bq, aI, br, a1, bs, bt, e, bu, aF, aa, ab, bv, aG, ap, bw, bx, by, bz, aJ, bA, p, bB, bC, r, aE, a4 } from "./chunks/export-B-aVCwyG.js";
5
+ import { T as TextCellWriter } from "./chunks/text-Bjfa1xYL.js";
6
+ import { W as W2, i as i2, a as a5, p as p2 } from "./chunks/text-Bjfa1xYL.js";
7
7
  import { C as C2, c as c2, a as a6 } from "./chunks/children-CL3Cy0ez.js";
8
8
  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-BD3mi2QH.js";
13
- import { C as C3, a as a7, b } from "./chunks/importer-BD3mi2QH.js";
14
- import { c as cx2Exporter } from "./chunks/exporter-flsHFoER.js";
15
- import { C as C4, a as a8 } from "./chunks/exporter-flsHFoER.js";
16
- import { c as cx2Importer } from "./chunks/importer-Dwqepe_B.js";
17
- import { C as C5 } from "./chunks/importer-Dwqepe_B.js";
18
- import { d as cysImporter, c as cysExporter } from "./chunks/importer-CEuUmyPe.js";
19
- import { C as C6, a as a9, b as b10 } from "./chunks/importer-CEuUmyPe.js";
20
- import { b as dotImporter, d as dotExporter } from "./chunks/importer-oIUx9u_g.js";
21
- import { D as D3, a as a10 } from "./chunks/importer-oIUx9u_g.js";
12
+ import { d as cxImporter, c as cxExporter } from "./chunks/importer-DvFznt5-.js";
13
+ import { C as C3, a as a7, b } from "./chunks/importer-DvFznt5-.js";
14
+ import { c as cx2Exporter } from "./chunks/exporter-BqKs1Q12.js";
15
+ import { C as C4, a as a8 } from "./chunks/exporter-BqKs1Q12.js";
16
+ import { c as cx2Importer } from "./chunks/importer-BfJ1jnNr.js";
17
+ import { C as C5 } from "./chunks/importer-BfJ1jnNr.js";
18
+ import { d as cysImporter, c as cysExporter } from "./chunks/importer-CSt-gaYE.js";
19
+ import { C as C6, a as a9, b as b10 } from "./chunks/importer-CSt-gaYE.js";
20
+ import { b as dotImporter, d as dotExporter } from "./chunks/importer--tQQsY4W.js";
21
+ import { D as D3, a as a10 } from "./chunks/importer--tQQsY4W.js";
22
22
  import { gexfImporter, gexfExporter } from "./gexf.js";
23
23
  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
- 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-B_YFZ4ix.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-B_YFZ4ix.js";
26
+ import { a as graphmlImporter, g as graphmlExporter } from "./chunks/importer-PVXkeoaS.js";
27
+ import { r as rankFormats, S as SNIFF_HEAD_BYTES, e as jsonImporter, c as jsonExporter } from "./chunks/exporter-CNJZF_BN.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-CNJZF_BN.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-2UNIxzcu.js";
32
- import { O, a as a12, b as b12 } from "./chunks/exporter-2UNIxzcu.js";
33
- import { b as pajekImporter, p as pajekExporter } from "./chunks/importer-Bgb9sgZZ.js";
34
- import { P as P2, a as a13 } from "./chunks/importer-Bgb9sgZZ.js";
35
- import { x as xgmmlExporter } from "./chunks/exporter-Bn4jdYfd.js";
36
- import { x as xgmmlImporter } from "./chunks/importer-yWUPR_nU.js";
37
- import { X as X2, a as a14 } from "./chunks/importer-yWUPR_nU.js";
38
- import { G as G3, a as a15 } from "./chunks/constants-BPRiVyBu.js";
39
- import { X as X3, b as b13, h as h3, t as t3, x as x2 } from "./chunks/escape-BRcyzD77.js";
31
+ import { c as oboImporter, o as oboExporter } from "./chunks/exporter-SFYkDzD0.js";
32
+ import { O, a as a12, b as b12 } from "./chunks/exporter-SFYkDzD0.js";
33
+ import { b as pajekImporter, p as pajekExporter } from "./chunks/importer-CqgYq4Ld.js";
34
+ import { P as P2, a as a13 } from "./chunks/importer-CqgYq4Ld.js";
35
+ import { x as xgmmlExporter } from "./chunks/exporter-DXqCPNrI.js";
36
+ import { x as xgmmlImporter } from "./chunks/importer-B7Ir269L.js";
37
+ import { X as X2, a as a14 } from "./chunks/importer-B7Ir269L.js";
38
+ import { G as G3, a as a15 } from "./chunks/constants-DqKZT6cH.js";
39
+ import { X as X3, b as b13, h as h3, t as t3, x as x2 } from "./chunks/escape-BpYMQZVa.js";
40
40
  const USED = /* @__PURE__ */ new Set(["ids", "defaultDirected", "weightFrom", "addMissingNodes"]);
41
41
  function defineLineFormat(definition) {
42
42
  const { format, extensions, mimeTypes = [], directed = false, comment = "#", sniff: sniff2, parseLine } = definition;
package/dist/graphml.js CHANGED
@@ -1,5 +1,5 @@
1
- import { G, a } from "./chunks/constants-BPRiVyBu.js";
2
- import { g, a as a2 } from "./chunks/importer-DqMtyYLX.js";
1
+ import { G, a } from "./chunks/constants-DqKZT6cH.js";
2
+ import { g, a as a2 } from "./chunks/importer-PVXkeoaS.js";
3
3
  export {
4
4
  G as GRAPHML_ISSUE,
5
5
  a as GRAPHML_LOSS,
package/dist/json.js CHANGED
@@ -1,4 +1,4 @@
1
- import { J, a, b, d, j, c, e, f } from "./chunks/exporter-B_YFZ4ix.js";
1
+ import { J, a, b, d, j, c, e, f } from "./chunks/exporter-CNJZF_BN.js";
2
2
  export {
3
3
  J as JSON_DIALECTS,
4
4
  a as JSON_ISSUE,
package/dist/neo4j.js CHANGED
@@ -1,7 +1,7 @@
1
- import { i as DANGLING_REFERENCE_CODE$1, R as ROLE_TAKEN_CODE$1, I as ID_MERGED_CODE$1, n as DUPLICATE_NODE_CODE$1, s as MISSING_ENDPOINT_CODE$1, t as MISSING_ID_CODE$1, al as resolveImportOptions, a8 as ImportReportBuilder, ao as reportSinkOptions, an as reportUnusedOptions, am as throwIfAborted, ar as IdCoercer, aq as DirectionResolver, b as plural, $ as agree, aS as ImportError, bH as declareAttribute, bX as declareOn, a0 as uniqueColumnName, ay as RENAMED_CODE, aK as parseWeightText, bJ as parseDeclaredTemporal, bK as parseDeclaredValue, bL as losesPrecision, br as declareCompanion, P as PRECISION_CODE, bN as splitListText, by as isImportInput, bW as takenIn, bw as inputLength, bY as parseTemporal, bZ as withArticle, c as capabilities, b8 as ID_TEXT_COLLISION_CODE, J as ID_TEXT_TYPE_CODE, r as resolveExportOptions, a as checkCapabilities, p as pairFolding, L as LOSS, bR as mapDeclaredType, e as explicitWeights, bx as isCanonicalIntegerText, bT as formatTemporal, ab as formatF64, aa as formatF32, aG as formatInteger, S as SINK_OPTION_CODE, O as OPTION_IGNORED_CODE, C as COLUMN_RENAMED_CODE, U as UNKNOWN_ATTR_TYPE_CODE, w as UNKNOWN_ENCODING_CODE, x as ENCODING_FALLBACK_CODE, y as INVALID_ENCODING_CODE, z as INVALID_UTF8_CODE, A as COLUMN_TYPE_CODE, F as ELEMENT_ISSUE, G as INPUT_ISSUE, bp as WEIGHT_KEY_CLASH_CODE, K as ROLE_DROPPED_CODE, bc as MUTUAL_EXPANDED_CODE } from "./chunks/export-CTUlibzr.js";
2
- import { c as checkRecordSyntax, R as RecordReader, B as BAD_QUOTE_CODE, U as UNCLOSED_QUOTE_CODE } from "./chunks/records-ChmWZGuz.js";
1
+ import { i as DANGLING_REFERENCE_CODE$1, R as ROLE_TAKEN_CODE$1, I as ID_MERGED_CODE$1, n as DUPLICATE_NODE_CODE$1, s as MISSING_ENDPOINT_CODE$1, t as MISSING_ID_CODE$1, al as resolveImportOptions, a8 as ImportReportBuilder, ao as reportSinkOptions, an as reportUnusedOptions, am as throwIfAborted, ar as IdCoercer, aq as DirectionResolver, b as plural, $ as agree, aS as ImportError, bH as declareAttribute, bX as declareOn, a0 as uniqueColumnName, ay as RENAMED_CODE, aK as parseWeightText, bJ as parseDeclaredTemporal, bK as parseDeclaredValue, bL as losesPrecision, br as declareCompanion, P as PRECISION_CODE, bN as splitListText, by as isImportInput, bW as takenIn, bw as inputLength, bY as parseTemporal, bZ as withArticle, c as capabilities, b8 as ID_TEXT_COLLISION_CODE, J as ID_TEXT_TYPE_CODE, r as resolveExportOptions, a as checkCapabilities, p as pairFolding, L as LOSS, bR as mapDeclaredType, e as explicitWeights, bx as isCanonicalIntegerText, bT as formatTemporal, ab as formatF64, aa as formatF32, aG as formatInteger, S as SINK_OPTION_CODE, O as OPTION_IGNORED_CODE, C as COLUMN_RENAMED_CODE, U as UNKNOWN_ATTR_TYPE_CODE, w as UNKNOWN_ENCODING_CODE, x as ENCODING_FALLBACK_CODE, y as INVALID_ENCODING_CODE, z as INVALID_UTF8_CODE, A as COLUMN_TYPE_CODE, F as ELEMENT_ISSUE, G as INPUT_ISSUE, bp as WEIGHT_KEY_CLASH_CODE, K as ROLE_DROPPED_CODE, bc as MUTUAL_EXPANDED_CODE } from "./chunks/export-B-aVCwyG.js";
2
+ import { c as checkRecordSyntax, R as RecordReader, B as BAD_QUOTE_CODE, U as UNCLOSED_QUOTE_CODE } from "./chunks/records-C9jd7yLD.js";
3
3
  import { GraphFormatError, INVALID_INDEX } from "@graphty/graph-format";
4
- import { o as quoteCsvCell } from "./chunks/escape-BRcyzD77.js";
4
+ import { o as quoteCsvCell } from "./chunks/escape-BpYMQZVa.js";
5
5
  import { j as joinText, e as encodeChunks } from "./chunks/writer-DxjgHwSe.js";
6
6
  const STRUCTURAL = /* @__PURE__ */ new Set(["ID", "LABEL", "START_ID", "END_ID", "TYPE", "IGNORE"]);
7
7
  const SPACE_KINDS = /* @__PURE__ */ new Set(["ID", "START_ID", "END_ID"]);
@@ -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.indexOf(":") >= 0 && HEADER_MARKER.test(cell.trim())) {
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((item) => String(item)).join(this.options.arrayDelimiter);
2217
+ return labels.sliceOf(index).map(String).join(this.options.arrayDelimiter);
2218
2218
  }
2219
2219
  return textOf(labels, index);
2220
2220
  }