Skip to content

Outdated apglib dependency breaks compatibility with modern JS environments #3

@kelkes

Description

@kelkes

It seems that digital-link.js depends on an outdated version of the apglib library, which no longer works in modern JavaScript environments (such as Node 18+, Node 20+, ESM-based builds, or browser bundlers like Vite and Webpack 5).

As a result, importing or using digital-link.js leads to runtime errors like:

TypeError: Cannot read properties of undefined (reading 'decode')

This makes the library effectively unusable in modern setups.

I’m opening this issue here because the issue board of the digital-link.js repository itself appears to be closed.

Although the project has not been updated in some time, digital-link.js remains a valuable implementation of the GS1 Digital Link standard (for validation of user input). It would be great to know if there are any plans to revisit or modernize the codebase so the community can continue using it in modern environments.

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