@graphty/graph-io 0.3.42 → 0.3.43

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/gexf.js CHANGED
@@ -3236,8 +3236,9 @@ function collectAttributes(snapshot, domain, roles, tables, version, note) {
3236
3236
  const table = domain === "node" ? snapshot.nodes : snapshot.edges;
3237
3237
  const reserved = domain === "node" ? RESERVED_NODE_NAMES : RESERVED_EDGE_NAMES;
3238
3238
  const roleColumns = /* @__PURE__ */ new Set();
3239
- for (const value of Object.values(roles)) {
3240
- if (value !== null && !(value instanceof Map)) {
3239
+ const { companions: _companions, ...columns } = roles;
3240
+ for (const value of Object.values(columns)) {
3241
+ if (value !== null) {
3241
3242
  roleColumns.add(value);
3242
3243
  }
3243
3244
  }