@graphty/graph-io 0.3.28 → 0.3.30

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 (142) hide show
  1. package/dist/chunks/{choose-DrXtu_96.js → choose-BfOLq6OX.js} +2 -2
  2. package/dist/chunks/{choose-DrXtu_96.js.map → choose-BfOLq6OX.js.map} +1 -1
  3. package/dist/chunks/{constants-ikG85dT8.js → constants-M8Qsjz1C.js} +2 -2
  4. package/dist/chunks/{constants-ikG85dT8.js.map → constants-M8Qsjz1C.js.map} +1 -1
  5. package/dist/chunks/{escape-D1HPTUrP.js → escape-UMMpQZqs.js} +2 -2
  6. package/dist/chunks/{escape-D1HPTUrP.js.map → escape-UMMpQZqs.js.map} +1 -1
  7. package/dist/chunks/{export-CHd4tQE2.js → export-Dq4U8Ubq.js} +165 -148
  8. package/dist/chunks/{export-CHd4tQE2.js.map → export-Dq4U8Ubq.js.map} +1 -1
  9. package/dist/chunks/{exporter-DhtW6FxK.js → exporter-BUosqV0K.js} +34 -34
  10. package/dist/chunks/exporter-BUosqV0K.js.map +1 -0
  11. package/dist/chunks/{exporter-D23CKNqF.js → exporter-Bd_VZ9ph.js} +9 -10
  12. package/dist/chunks/exporter-Bd_VZ9ph.js.map +1 -0
  13. package/dist/chunks/{exporter-DfWTgrti.js → exporter-COgVm-ff.js} +8 -7
  14. package/dist/chunks/{exporter-DfWTgrti.js.map → exporter-COgVm-ff.js.map} +1 -1
  15. package/dist/chunks/{exporter-Cl021ZIE.js → exporter-DEk_XLLs.js} +4 -4
  16. package/dist/chunks/{exporter-Cl021ZIE.js.map → exporter-DEk_XLLs.js.map} +1 -1
  17. package/dist/chunks/{importer-BZB7iP9r.js → importer-AQ3KpNHz.js} +11 -20
  18. package/dist/chunks/importer-AQ3KpNHz.js.map +1 -0
  19. package/dist/chunks/{importer-BVRE--Un.js → importer-BsZa2Phx.js} +5 -5
  20. package/dist/chunks/importer-BsZa2Phx.js.map +1 -0
  21. package/dist/chunks/{importer-DpEW5zeG.js → importer-CV8au8gH.js} +4 -4
  22. package/dist/chunks/{importer-DpEW5zeG.js.map → importer-CV8au8gH.js.map} +1 -1
  23. package/dist/chunks/{importer-BSALvkui.js → importer-Cj4-lXlv.js} +10 -9
  24. package/dist/chunks/importer-Cj4-lXlv.js.map +1 -0
  25. package/dist/chunks/{importer-B2W_58pz.js → importer-DQsgmhxc.js} +5 -5
  26. package/dist/chunks/{importer-B2W_58pz.js.map → importer-DQsgmhxc.js.map} +1 -1
  27. package/dist/chunks/{importer-CIAzt-wo.js → importer-Dkn79TjB.js} +6 -6
  28. package/dist/chunks/importer-Dkn79TjB.js.map +1 -0
  29. package/dist/chunks/{importer-z_FL4VMb.js → importer-DwSZvMDq.js} +10 -19
  30. package/dist/chunks/importer-DwSZvMDq.js.map +1 -0
  31. package/dist/chunks/{json-elements-BAmNBZok.js → json-elements-CreeKoaH.js} +12 -16
  32. package/dist/chunks/{json-elements-BAmNBZok.js.map → json-elements-CreeKoaH.js.map} +1 -1
  33. package/dist/chunks/{ontology-export-Bab4eUA8.js → ontology-export-C5Xd3W-7.js} +2 -2
  34. package/dist/chunks/{ontology-export-Bab4eUA8.js.map → ontology-export-C5Xd3W-7.js.map} +1 -1
  35. package/dist/chunks/{records-CdlvL4RO.js → records-BwaH_2ll.js} +2 -2
  36. package/dist/chunks/{records-CdlvL4RO.js.map → records-BwaH_2ll.js.map} +1 -1
  37. package/dist/chunks/{text-DzXjAiTl.js → text-4HHe6YH3.js} +2 -2
  38. package/dist/chunks/{text-DzXjAiTl.js.map → text-4HHe6YH3.js.map} +1 -1
  39. package/dist/csv.js +22 -15
  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 +9 -8
  46. package/dist/gexf.js.map +1 -1
  47. package/dist/gml.js +3 -3
  48. package/dist/graph-io.js +69 -69
  49. package/dist/graphml.js +2 -2
  50. package/dist/json.js +1 -1
  51. package/dist/neo4j.js +3 -3
  52. package/dist/obo.js +1 -1
  53. package/dist/pajek.js +1 -1
  54. package/dist/src/common/export.d.ts +6 -0
  55. package/dist/src/common/export.d.ts.map +1 -1
  56. package/dist/src/common/export.js +62 -28
  57. package/dist/src/common/export.js.map +1 -1
  58. package/dist/src/common/format.d.ts +0 -8
  59. package/dist/src/common/format.d.ts.map +1 -1
  60. package/dist/src/common/format.js +0 -10
  61. package/dist/src/common/format.js.map +1 -1
  62. package/dist/src/common/json-elements.d.ts +1 -9
  63. package/dist/src/common/json-elements.d.ts.map +1 -1
  64. package/dist/src/common/json-elements.js +2 -12
  65. package/dist/src/common/json-elements.js.map +1 -1
  66. package/dist/src/formats/csv/exporter.d.ts.map +1 -1
  67. package/dist/src/formats/csv/exporter.js +18 -7
  68. package/dist/src/formats/csv/exporter.js.map +1 -1
  69. package/dist/src/formats/cx/importer.d.ts.map +1 -1
  70. package/dist/src/formats/cx/importer.js +3 -3
  71. package/dist/src/formats/cx/importer.js.map +1 -1
  72. package/dist/src/formats/cx2/importer.d.ts.map +1 -1
  73. package/dist/src/formats/cx2/importer.js +3 -3
  74. package/dist/src/formats/cx2/importer.js.map +1 -1
  75. package/dist/src/formats/cys/exporter.d.ts.map +1 -1
  76. package/dist/src/formats/cys/exporter.js +4 -3
  77. package/dist/src/formats/cys/exporter.js.map +1 -1
  78. package/dist/src/formats/dot/exporter.js +1 -1
  79. package/dist/src/formats/dot/importer.d.ts +2 -2
  80. package/dist/src/formats/dot/importer.d.ts.map +1 -1
  81. package/dist/src/formats/dot/importer.js +7 -11
  82. package/dist/src/formats/dot/importer.js.map +1 -1
  83. package/dist/src/formats/gexf/exporter.d.ts +2 -2
  84. package/dist/src/formats/gexf/exporter.d.ts.map +1 -1
  85. package/dist/src/formats/gexf/exporter.js +7 -5
  86. package/dist/src/formats/gexf/exporter.js.map +1 -1
  87. package/dist/src/formats/gexf/schema.js +1 -1
  88. package/dist/src/formats/json/exporter.js +1 -1
  89. package/dist/src/formats/json/importer.d.ts.map +1 -1
  90. package/dist/src/formats/json/importer.js +4 -6
  91. package/dist/src/formats/json/importer.js.map +1 -1
  92. package/dist/src/formats/obo/syntax.d.ts +4 -0
  93. package/dist/src/formats/obo/syntax.d.ts.map +1 -1
  94. package/dist/src/formats/obo/syntax.js +35 -31
  95. package/dist/src/formats/obo/syntax.js.map +1 -1
  96. package/dist/src/formats/pajek/exporter.d.ts.map +1 -1
  97. package/dist/src/formats/pajek/exporter.js +5 -4
  98. package/dist/src/formats/pajek/exporter.js.map +1 -1
  99. package/dist/src/formats/pajek/importer.d.ts.map +1 -1
  100. package/dist/src/formats/pajek/importer.js +3 -7
  101. package/dist/src/formats/pajek/importer.js.map +1 -1
  102. package/dist/src/formats/pajek/syntax.d.ts +1 -1
  103. package/dist/src/formats/pajek/syntax.js +1 -1
  104. package/dist/src/formats/xgmml/constants.d.ts +1 -1
  105. package/dist/src/formats/xgmml/constants.js +1 -1
  106. package/dist/src/formats/xgmml/emit.js +1 -1
  107. package/dist/src/formats/xgmml/exporter.d.ts.map +1 -1
  108. package/dist/src/formats/xgmml/exporter.js +4 -3
  109. package/dist/src/formats/xgmml/exporter.js.map +1 -1
  110. package/dist/src/types.d.ts +6 -0
  111. package/dist/src/types.d.ts.map +1 -1
  112. package/dist/src/types.js.map +1 -1
  113. package/dist/xgmml.js +2 -2
  114. package/package.json +1 -1
  115. package/src/common/export.ts +105 -62
  116. package/src/common/format.ts +0 -11
  117. package/src/common/json-elements.ts +2 -13
  118. package/src/formats/csv/exporter.ts +19 -15
  119. package/src/formats/cx/importer.ts +2 -3
  120. package/src/formats/cx2/importer.ts +2 -3
  121. package/src/formats/cys/exporter.ts +4 -3
  122. package/src/formats/dot/exporter.ts +1 -1
  123. package/src/formats/dot/importer.ts +7 -17
  124. package/src/formats/gexf/exporter.ts +7 -5
  125. package/src/formats/gexf/schema.ts +1 -1
  126. package/src/formats/json/exporter.ts +1 -1
  127. package/src/formats/json/importer.ts +4 -7
  128. package/src/formats/obo/syntax.ts +35 -31
  129. package/src/formats/pajek/exporter.ts +5 -4
  130. package/src/formats/pajek/importer.ts +3 -13
  131. package/src/formats/pajek/syntax.ts +1 -1
  132. package/src/formats/xgmml/constants.ts +1 -1
  133. package/src/formats/xgmml/emit.ts +1 -1
  134. package/src/formats/xgmml/exporter.ts +4 -3
  135. package/src/types.ts +6 -0
  136. package/dist/chunks/exporter-D23CKNqF.js.map +0 -1
  137. package/dist/chunks/exporter-DhtW6FxK.js.map +0 -1
  138. package/dist/chunks/importer-BSALvkui.js.map +0 -1
  139. package/dist/chunks/importer-BVRE--Un.js.map +0 -1
  140. package/dist/chunks/importer-BZB7iP9r.js.map +0 -1
  141. package/dist/chunks/importer-CIAzt-wo.js.map +0 -1
  142. package/dist/chunks/importer-z_FL4VMb.js.map +0 -1
@@ -1,6 +1,6 @@
1
1
  import { GraphFormatError, INVALID_INDEX } from "@graphty/graph-format";
2
- import { S as SINK_OPTION_CODE, O as OPTION_IGNORED_CODE, R as ROLE_TAKEN_CODE, ay as RENAMED_CODE, I as ID_MERGED_CODE, i as DANGLING_REFERENCE_CODE, g as UNKNOWN_ELEMENT_CODE, o as DUPLICATE_ATTRIBUTE_CODE, n as DUPLICATE_NODE_CODE, a3 as BAD_VALUE_CODE, t as MISSING_ID_CODE, w as UNKNOWN_ENCODING_CODE, x as ENCODING_FALLBACK_CODE, y as INVALID_ENCODING_CODE, z as INVALID_UTF8_CODE, E as EMPTY_INPUT_CODE, F as ELEMENT_ISSUE, G as INPUT_ISSUE, al as resolveImportOptions, a8 as ImportReportBuilder, ao as reportSinkOptions, an as reportUnusedOptions, am as throwIfAborted, b as plural, a1 as declareResolved, ar as IdCoercer, aq as DirectionResolver, $ as agree, az as LineReader, c as capabilities, L as LOSS, au as ROLE_ASSUMED_CODE, aA as NODE_ORDER_CODE, aB as GRAPH_COLUMN_AS_METADATA_CODE, aC as TYPEDEF_NODES_CODE, aD as RELATION_ASSUMED_CODE, at as COLUMN_AS_PROPERTY_VALUE_CODE, r as resolveExportOptions, p as pairFolding, e as explicitWeights, av as formatNumber } from "./export-CHd4tQE2.js";
3
- import { S as SYNONYM_SCOPES, O as OBO_NODE_COLUMNS, o as oboColumnDecl, P as PLACEHOLDER_COLUMN, f as framelessNodes, m as movedNodes, s as slotColumn, c as capabilityNotes, e as emptyColumnNotes, a as cellOf, F as FRAME_KINDS$1, U as UNWRITTEN_ROLES, n as notePropertyColumn, b as fitsVocabulary, i as isQualifierRecord, t as textOf } from "./ontology-export-Bab4eUA8.js";
2
+ import { S as SINK_OPTION_CODE, O as OPTION_IGNORED_CODE, R as ROLE_TAKEN_CODE, ay as RENAMED_CODE, I as ID_MERGED_CODE, i as DANGLING_REFERENCE_CODE, g as UNKNOWN_ELEMENT_CODE, o as DUPLICATE_ATTRIBUTE_CODE, n as DUPLICATE_NODE_CODE, a3 as BAD_VALUE_CODE, t as MISSING_ID_CODE, w as UNKNOWN_ENCODING_CODE, x as ENCODING_FALLBACK_CODE, y as INVALID_ENCODING_CODE, z as INVALID_UTF8_CODE, E as EMPTY_INPUT_CODE, F as ELEMENT_ISSUE, G as INPUT_ISSUE, al as resolveImportOptions, a8 as ImportReportBuilder, ao as reportSinkOptions, an as reportUnusedOptions, am as throwIfAborted, b as plural, a1 as declareResolved, ar as IdCoercer, aq as DirectionResolver, $ as agree, az as LineReader, c as capabilities, L as LOSS, au as ROLE_ASSUMED_CODE, aA as NODE_ORDER_CODE, aB as GRAPH_COLUMN_AS_METADATA_CODE, aC as TYPEDEF_NODES_CODE, aD as RELATION_ASSUMED_CODE, at as COLUMN_AS_PROPERTY_VALUE_CODE, r as resolveExportOptions, p as pairFolding, e as explicitWeights, av as formatNumber } from "./export-Dq4U8Ubq.js";
3
+ import { S as SYNONYM_SCOPES, O as OBO_NODE_COLUMNS, o as oboColumnDecl, P as PLACEHOLDER_COLUMN, f as framelessNodes, m as movedNodes, s as slotColumn, c as capabilityNotes, e as emptyColumnNotes, a as cellOf, F as FRAME_KINDS$1, U as UNWRITTEN_ROLES, n as notePropertyColumn, b as fitsVocabulary, i as isQualifierRecord, t as textOf } from "./ontology-export-C5Xd3W-7.js";
4
4
  import { j as joinText, e as encodeChunks } from "./writer-DxjgHwSe.js";
5
5
  const ESCAPES = Object.freeze({
6
6
  n: "\n",
@@ -14,14 +14,14 @@ function unescapeObo(text) {
14
14
  }
15
15
  let out = "";
16
16
  for (let i = 0; i < text.length; i++) {
17
- const ch = text[i];
17
+ const ch = text.charAt(i);
18
18
  if (ch !== "\\") {
19
19
  out += ch;
20
20
  continue;
21
21
  }
22
22
  i++;
23
23
  if (i < text.length) {
24
- const next = text[i];
24
+ const next = text.charAt(i);
25
25
  out += ESCAPES[next] ?? next;
26
26
  }
27
27
  }
@@ -29,7 +29,7 @@ function unescapeObo(text) {
29
29
  }
30
30
  function isEscaped(text, index) {
31
31
  let run = 0;
32
- for (let i = index - 1; i >= 0 && text[i] === "\\"; i--) {
32
+ for (let i = index - 1; i >= 0 && text.charAt(i) === "\\"; i--) {
33
33
  run++;
34
34
  }
35
35
  return run % 2 === 1;
@@ -41,8 +41,8 @@ function splitFormFeeds(line) {
41
41
  const pieces = [];
42
42
  let quoted = false;
43
43
  let start = 0;
44
- for (let i = 0; i < line.length; i += line[i] === "\\" ? 2 : 1) {
45
- const ch = line[i];
44
+ for (let i = 0; i < line.length; i += line.charAt(i) === "\\" ? 2 : 1) {
45
+ const ch = line.charAt(i);
46
46
  if (ch === '"') {
47
47
  quoted = !quoted;
48
48
  } else if (ch === "\f" && !quoted) {
@@ -58,11 +58,11 @@ function endsWithContinuation(line) {
58
58
  }
59
59
  function splitTagValue(line) {
60
60
  for (let i = 0; i < line.length; i++) {
61
- if (line[i] === "\\") {
61
+ if (line.charAt(i) === "\\") {
62
62
  i++;
63
63
  continue;
64
64
  }
65
- if (line[i] === ":") {
65
+ if (line.charAt(i) === ":") {
66
66
  return { tag: unescapeObo(line.slice(0, i).trim()), rest: line.slice(i + 1).trimStart() };
67
67
  }
68
68
  }
@@ -71,12 +71,12 @@ function splitTagValue(line) {
71
71
  function stripComment(rest) {
72
72
  let quoted = false;
73
73
  for (let i = 0; i < rest.length; i++) {
74
- const ch = rest[i];
74
+ const ch = rest.charAt(i);
75
75
  if (ch === "\\") {
76
76
  i++;
77
77
  continue;
78
78
  }
79
- const atStart = i === 0 || rest[i - 1] === " " || rest[i - 1] === " ";
79
+ const atStart = i === 0 || rest.charAt(i - 1) === " " || rest.charAt(i - 1) === " ";
80
80
  if (ch === '"' && (quoted || atStart)) {
81
81
  quoted = !quoted;
82
82
  } else if (ch === "!" && !quoted && atStart) {
@@ -93,7 +93,7 @@ function splitQualifiers(value) {
93
93
  const parsed = [];
94
94
  let end = value.length;
95
95
  let badBlock = null;
96
- while (end > 0 && value[end - 1] === "}" && !isEscaped(value, end - 1)) {
96
+ while (end > 0 && value.charAt(end - 1) === "}" && !isEscaped(value, end - 1)) {
97
97
  const open = blocks.get(end - 1) ?? -1;
98
98
  const block = open < 0 ? null : parseQualifiers(value.slice(open + 1, end - 1));
99
99
  if (block === null) {
@@ -102,7 +102,7 @@ function splitQualifiers(value) {
102
102
  }
103
103
  parsed.push(block);
104
104
  end = open;
105
- while (end > 0 && /\s/.test(value[end - 1])) {
105
+ while (end > 0 && /\s/.test(value.charAt(end - 1))) {
106
106
  end--;
107
107
  }
108
108
  }
@@ -120,7 +120,7 @@ function braceBlocks(value) {
120
120
  let quoted = false;
121
121
  let open = -1;
122
122
  for (let i = 0; i < value.length; i++) {
123
- const ch = value[i];
123
+ const ch = value.charAt(i);
124
124
  if (ch === "\\") {
125
125
  i++;
126
126
  continue;
@@ -139,8 +139,8 @@ function braceBlocks(value) {
139
139
  function unclosedBlock(value) {
140
140
  let quoted = false;
141
141
  let open = -1;
142
- for (let i = 0; i < value.length; i += value[i] === "\\" ? 2 : 1) {
143
- const ch = value[i];
142
+ for (let i = 0; i < value.length; i += value.charAt(i) === "\\" ? 2 : 1) {
143
+ const ch = value.charAt(i);
144
144
  if (ch === "\\") {
145
145
  continue;
146
146
  }
@@ -175,7 +175,7 @@ function parseQualifiers(inner) {
175
175
  const n = inner.length;
176
176
  let any = false;
177
177
  while (i < n) {
178
- while (i < n && (inner[i] === " " || inner[i] === " " || inner[i] === ",")) {
178
+ while (i < n && (inner.charAt(i) === " " || inner.charAt(i) === " " || inner.charAt(i) === ",")) {
179
179
  i++;
180
180
  }
181
181
  if (i >= n) {
@@ -190,11 +190,11 @@ function parseQualifiers(inner) {
190
190
  return null;
191
191
  }
192
192
  i = eq + 1;
193
- while (i < n && (inner[i] === " " || inner[i] === " ")) {
193
+ while (i < n && (inner.charAt(i) === " " || inner.charAt(i) === " ")) {
194
194
  i++;
195
195
  }
196
196
  let value;
197
- if (inner[i] === '"') {
197
+ if (inner.charAt(i) === '"') {
198
198
  const end = closingQuote(inner, i + 1);
199
199
  if (end < 0) {
200
200
  return null;
@@ -203,8 +203,8 @@ function parseQualifiers(inner) {
203
203
  i = end + 1;
204
204
  } else {
205
205
  let end = i;
206
- while (end < n && inner[end] !== ",") {
207
- end += inner[end] === "\\" ? 2 : 1;
206
+ while (end < n && inner.charAt(end) !== ",") {
207
+ end += inner.charAt(end) === "\\" ? 2 : 1;
208
208
  }
209
209
  value = unescapeObo(inner.slice(i, end).trim());
210
210
  i = end;
@@ -216,9 +216,9 @@ function parseQualifiers(inner) {
216
216
  }
217
217
  function closingQuote(text, from) {
218
218
  for (let i = from; i < text.length; i++) {
219
- if (text[i] === "\\") {
219
+ if (text.charAt(i) === "\\") {
220
220
  i++;
221
- } else if (text[i] === '"') {
221
+ } else if (text.charAt(i) === '"') {
222
222
  return i;
223
223
  }
224
224
  }
@@ -229,7 +229,7 @@ function tokenize(value) {
229
229
  const n = value.length;
230
230
  let i = 0;
231
231
  while (i < n) {
232
- const ch = value[i];
232
+ const ch = value.charAt(i);
233
233
  if (ch === " " || ch === " ") {
234
234
  i++;
235
235
  continue;
@@ -238,8 +238,8 @@ function tokenize(value) {
238
238
  const end2 = closingQuote(value, i + 1);
239
239
  const stop = end2 < 0 ? n : end2;
240
240
  let after = stop + 1;
241
- if (end2 >= 0 && value[after] === "@") {
242
- while (after < n && value[after] !== " " && value[after] !== " ") {
241
+ if (end2 >= 0 && value.charAt(after) === "@") {
242
+ while (after < n && value.charAt(after) !== " " && value.charAt(after) !== " ") {
243
243
  after++;
244
244
  }
245
245
  }
@@ -260,8 +260,8 @@ function tokenize(value) {
260
260
  continue;
261
261
  }
262
262
  let end = i;
263
- while (end < n && value[end] !== " " && value[end] !== " ") {
264
- end += value[end] === "\\" ? 2 : 1;
263
+ while (end < n && value.charAt(end) !== " " && value.charAt(end) !== " ") {
264
+ end += value.charAt(end) === "\\" ? 2 : 1;
265
265
  }
266
266
  tokens.push({ kind: "word", text: unescapeObo(value.slice(i, Math.min(end, n))), unterminated: false });
267
267
  i = end;
@@ -271,7 +271,7 @@ function tokenize(value) {
271
271
  function closingBracket(text, from) {
272
272
  let quoted = false;
273
273
  for (let i = from; i < text.length; i++) {
274
- const ch = text[i];
274
+ const ch = text.charAt(i);
275
275
  if (ch === "\\") {
276
276
  i++;
277
277
  } else if (ch === '"') {
@@ -286,9 +286,9 @@ function parseXref(raw) {
286
286
  const { value, qualifiers } = splitQualifiers(raw.trim());
287
287
  let quote = -1;
288
288
  for (let i = 0; i < value.length; i++) {
289
- if (value[i] === "\\") {
289
+ if (value.charAt(i) === "\\") {
290
290
  i++;
291
- } else if (value[i] === '"') {
291
+ } else if (value.charAt(i) === '"') {
292
292
  quote = i;
293
293
  break;
294
294
  }
@@ -318,7 +318,7 @@ function parseXrefList(inner) {
318
318
  }
319
319
  };
320
320
  for (let i = 0; i < inner.length; i++) {
321
- const ch = inner[i];
321
+ const ch = inner.charAt(i);
322
322
  if (ch === "\\") {
323
323
  i++;
324
324
  } else if (ch === '"') {
@@ -339,7 +339,7 @@ function hasStrayBrace(value) {
339
339
  let quoted = false;
340
340
  let listed = false;
341
341
  for (let i = 0; i < value.length; i++) {
342
- const ch = value[i];
342
+ const ch = value.charAt(i);
343
343
  if (ch === "\\") {
344
344
  i++;
345
345
  } else if (ch === '"') {
@@ -3462,4 +3462,4 @@ export {
3462
3462
  oboImporter as c,
3463
3463
  oboExporter as o
3464
3464
  };
3465
- //# sourceMappingURL=exporter-DhtW6FxK.js.map
3465
+ //# sourceMappingURL=exporter-BUosqV0K.js.map