Skip to content

Issue with bytefield example #1860

@Jii-Hoo

Description

@Jii-Hoo

This example for bytefield does not work with Kroki presently:

https://bytefield-svg.deepsymmetry.org/bytefield-svg/examples.html#_internet_protocol_version_6_header_rfc2460

It produces below error when trying it with kroki.io's editor:

Error 400: undefined:0 Nn [Error]: Could not resolve symbol: number-as-hex [at line 3, column 28] at new Nn (/snapshot/app/node_modules/bytefield-svg/lib.js) at Function.Gc (/snapshot/app/node_modules/bytefield-svg/lib.js) at Function.Na (/snapshot/app/node_modules/bytefield-svg/lib.js) at l_ (/snapshot/app/node_modules/bytefield-svg/lib.js) at k_ (/snapshot/app/node_modules/bytefield-svg/lib.js) at /snapshot/app/node_modules/bytefield-svg/lib.js at H_ (/snapshot/app/node_modules/bytefield-svg/lib.js) at h0 (/snapshot/app/node_modules/bytefield-svg/lib.js) at J_ (/snapshot/app/node_modules/bytefield-svg/lib.js) at /snapshot/app/node_modules/bytefield-svg/lib.js { data: h { v: null, A: 3, l: [ y { kb: null, name: 'type', la: 'type', yc: 1174270348, o: 2153775105, F: 4096 }, y { kb: 'sci', name: 'error', la: 'sci/error', yc: -979082803, o: 2153775105, F: 4096 }, y { kb: null, name: 'line', la: 'line', yc: 212345235, o: 2153775105, F: 4096 }, 3, y { kb: null, name: 'column', la: 'column', yc: 2078222095, o: 2153775105, F: 4096 }, 28 ], Ie: null, o: 16647951, F: 139268 }, cause: null, description: undefined, number: undefined, fileName: undefined, lineNumber: undefined, columnNumber: undefined } Node.js v22.10.0 (exit code 1)

bytefield looks to be updated to 1.11, which I think is not yet included into Kroki, Perhaps that explains this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions