robatwilliams / es-compat

*** DEPRECATED*** Check JavaScript code compatibility with target runtime environments
MIT License
65 stars 13 forks source link

Deal with breaking changes from MDN compat DB #61

Closed robatwilliams closed 1 year ago

robatwilliams commented 1 year ago

They have a non-traditional SemVer policy, which includes releasing breaking changes as minor and patch releases.

In #60 and other upgrades I find these breaking changes, but they could happen to package users any time, because we don't depend on a fixed patch version (we use ^x.x.x). The user workaround would be to manually install an older version, but I can't expect that users would be able to figure out what the problem is (with the current error caused, at least).

There has been some discussion on https://github.com/mdn/browser-compat-data/issues/7563 and other linked issues on their repo.

Ideas to solve:

robatwilliams commented 1 year ago

Dependabot will be no good as I don't want to be regularly having to release this.

Use a pinned version and let people use package.json:overrides if they need newer data