Skip to content

codec-string 0.2.2

Latest

Choose a tag to compare

@paulhiggs paulhiggs released this 30 Nov 09:43

This release fixes installing and building codec-string from a fresh or existing checkout. The decoders and their output have not changed since 0.2.0.

Installation (#76)

  • npm 11 or later is now required. npm 10 crashes while resolving the dependencies (Cannot read properties of null (reading 'edgesOut')). package.json now declares "npm": ">=11.0.0", and the Node.js engine range is corrected to >=24.15.0 (>= ^24.15.0 did not match newer Node.js releases).
  • npm install no longer fails with ERESOLVE on an older checkout. @babel/core ^8 is now a direct dependency, so npm upgrades it from a node_modules or package-lock.json left over from before the move to Babel 8.
  • The README says npm install, not npm ci. No package-lock.json is provided, so npm ci could not work. The README also explains how to recover from an ERESOLVE error: rm -rf node_modules package-lock.json && npm install.
  • No more deprecation warnings during install. clean-webpack-plugin and del-webpack-plugin were removed; they pulled in the deprecated inflight, rimraf and glob packages. The built files in dist are unchanged.

Build and CI

  • The pull request and main workflow now runs npm run build, so the tests run on every push and pull request (#75 follow-up).