-
Notifications
You must be signed in to change notification settings - Fork 4
Description
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.