@graphty/graph-io 0.3.3 → 0.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.
Files changed (87) hide show
  1. package/README.md +17 -4
  2. package/dist/chunks/{escape-DXbOoLKl.js → escape-BjmIaFFo.js} +2 -2
  3. package/dist/chunks/{escape-DXbOoLKl.js.map → escape-BjmIaFFo.js.map} +1 -1
  4. package/dist/chunks/{importer-BELrICWM.js → importer-BOxwmef_.js} +352 -19
  5. package/dist/chunks/importer-BOxwmef_.js.map +1 -0
  6. package/dist/chunks/{importer-B9qF4e32.js → importer-BddBW3sf.js} +2 -2
  7. package/dist/chunks/{importer-B9qF4e32.js.map → importer-BddBW3sf.js.map} +1 -1
  8. package/dist/chunks/{importer-xoHpRG5x.js → importer-BtHFICnf.js} +2 -2
  9. package/dist/chunks/{importer-xoHpRG5x.js.map → importer-BtHFICnf.js.map} +1 -1
  10. package/dist/chunks/{importer-C2caVvl6.js → importer-DfI8POXb.js} +272 -63
  11. package/dist/chunks/importer-DfI8POXb.js.map +1 -0
  12. package/dist/csv.js +1 -1
  13. package/dist/dot.js +1 -1
  14. package/dist/gexf.js +1 -1
  15. package/dist/gml.js +1 -1
  16. package/dist/graph-io.js +11 -10
  17. package/dist/graph-io.js.map +1 -1
  18. package/dist/graphml.js +1 -1
  19. package/dist/json.js +1 -1
  20. package/dist/neo4j.js +51 -16
  21. package/dist/neo4j.js.map +1 -1
  22. package/dist/pajek.js +1 -1
  23. package/dist/src/common/escape.d.ts +4 -3
  24. package/dist/src/common/escape.d.ts.map +1 -1
  25. package/dist/src/common/escape.js +5 -4
  26. package/dist/src/common/escape.js.map +1 -1
  27. package/dist/src/formats/json/dialect.d.ts +21 -4
  28. package/dist/src/formats/json/dialect.d.ts.map +1 -1
  29. package/dist/src/formats/json/dialect.js +29 -4
  30. package/dist/src/formats/json/dialect.js.map +1 -1
  31. package/dist/src/formats/json/exporter.d.ts.map +1 -1
  32. package/dist/src/formats/json/exporter.js +27 -7
  33. package/dist/src/formats/json/exporter.js.map +1 -1
  34. package/dist/src/formats/json/importer.d.ts +17 -4
  35. package/dist/src/formats/json/importer.d.ts.map +1 -1
  36. package/dist/src/formats/json/importer.js +356 -8
  37. package/dist/src/formats/json/importer.js.map +1 -1
  38. package/dist/src/formats/json/index.d.ts +1 -1
  39. package/dist/src/formats/json/index.d.ts.map +1 -1
  40. package/dist/src/formats/json/index.js +1 -1
  41. package/dist/src/formats/json/index.js.map +1 -1
  42. package/dist/src/formats/neo4j/exporter.d.ts +3 -1
  43. package/dist/src/formats/neo4j/exporter.d.ts.map +1 -1
  44. package/dist/src/formats/neo4j/exporter.js +34 -6
  45. package/dist/src/formats/neo4j/exporter.js.map +1 -1
  46. package/dist/src/formats/neo4j/importer.d.ts +16 -3
  47. package/dist/src/formats/neo4j/importer.d.ts.map +1 -1
  48. package/dist/src/formats/neo4j/importer.js +49 -11
  49. package/dist/src/formats/neo4j/importer.js.map +1 -1
  50. package/dist/src/formats/neo4j/index.d.ts +3 -3
  51. package/dist/src/formats/neo4j/index.d.ts.map +1 -1
  52. package/dist/src/formats/neo4j/index.js +3 -3
  53. package/dist/src/formats/neo4j/index.js.map +1 -1
  54. package/dist/src/formats/pajek/exporter.d.ts.map +1 -1
  55. package/dist/src/formats/pajek/exporter.js +3 -2
  56. package/dist/src/formats/pajek/exporter.js.map +1 -1
  57. package/dist/src/formats/pajek/importer.d.ts +14 -8
  58. package/dist/src/formats/pajek/importer.d.ts.map +1 -1
  59. package/dist/src/formats/pajek/importer.js +233 -61
  60. package/dist/src/formats/pajek/importer.js.map +1 -1
  61. package/dist/src/formats/pajek/syntax.d.ts +39 -8
  62. package/dist/src/formats/pajek/syntax.d.ts.map +1 -1
  63. package/dist/src/formats/pajek/syntax.js +81 -11
  64. package/dist/src/formats/pajek/syntax.js.map +1 -1
  65. package/dist/src/index.d.ts +2 -2
  66. package/dist/src/index.d.ts.map +1 -1
  67. package/dist/src/index.js +1 -1
  68. package/dist/src/index.js.map +1 -1
  69. package/dist/src/sniff.d.ts +3 -3
  70. package/dist/src/sniff.d.ts.map +1 -1
  71. package/dist/src/sniff.js.map +1 -1
  72. package/package.json +2 -2
  73. package/src/common/escape.ts +5 -4
  74. package/src/formats/json/dialect.ts +40 -6
  75. package/src/formats/json/exporter.ts +28 -7
  76. package/src/formats/json/importer.ts +411 -21
  77. package/src/formats/json/index.ts +7 -1
  78. package/src/formats/neo4j/exporter.ts +43 -6
  79. package/src/formats/neo4j/importer.ts +56 -11
  80. package/src/formats/neo4j/index.ts +10 -3
  81. package/src/formats/pajek/exporter.ts +3 -1
  82. package/src/formats/pajek/importer.ts +284 -60
  83. package/src/formats/pajek/syntax.ts +98 -12
  84. package/src/index.ts +2 -0
  85. package/src/sniff.ts +3 -3
  86. package/dist/chunks/importer-BELrICWM.js.map +0 -1
  87. package/dist/chunks/importer-C2caVvl6.js.map +0 -1
@@ -1,7 +1,7 @@
1
1
  import { GraphFormatError, INVALID_INDEX } from "@graphty/graph-format";
2
2
  import { c as childrenCsr } from "./children-CL3Cy0ez.js";
3
3
  import { L as LOSS, ax as joinText, ak as encodeChunks, aE as resolveExportOptions, ad as checkCapabilities, ac as capabilities, aJ as countMixedEdges, al as explicitWeights, az as pairFolding, aG as sanitizeIds, an as formatF32, ao as formatF64, am as formatDecimal, aq as formatInteger, ab as canonicalId, z as MIXED_DIRECTION_CODE, g as DIRECTION_FORCED_CODE, h as DIRECTION_REFUSED_CODE, Y as SINK_OPTION_CODE, o as ID_MERGED_CODE, P as OPTION_IGNORED_CODE, C as COLUMN_RENAMED_CODE, X as ROLE_TAKEN_CODE, A as MULTIPLE_GRAPHS_CODE, a5 as UNKNOWN_ENCODING_CODE, n as ENCODING_FALLBACK_CODE, s as INVALID_ENCODING_CODE, u as INVALID_UTF8_CODE, m as EMPTY_INPUT_CODE, $ as SYNTAX_CODE, aF as resolveImportOptions, I as ImportReportBuilder, aD as reportUnusedOptions, aB as readText, aC as reportSinkOptions, a as throwIfAborted, v as IdCoercer, l as DirectionResolver, aA as parseWeightText, ai as declareResolved } from "./writer-BdMak4_J.js";
4
- import { b as quoteDotId, c as isWritableDotText } from "./escape-DXbOoLKl.js";
4
+ import { b as quoteDotId, c as isWritableDotText } from "./escape-BjmIaFFo.js";
5
5
  import { i as inferTextDtype, W as WIDENING_UNSUPPORTED_CODE, p as parseTextCell, T as TextCellWriter } from "./text-Dr0Ifpag.js";
6
6
  const DOT_FORMAT = "dot";
7
7
  const DOT_ORIGIN = Object.freeze({ format: DOT_FORMAT });
@@ -2429,4 +2429,4 @@ export {
2429
2429
  dotImporter as b,
2430
2430
  dotExporter as d
2431
2431
  };
2432
- //# sourceMappingURL=importer-xoHpRG5x.js.map
2432
+ //# sourceMappingURL=importer-BtHFICnf.js.map