testing-library / dom-testing-library

🐙 Simple and complete DOM testing utilities that encourage good testing practices.
https://testing-library.com/dom
MIT License
3.26k stars 466 forks source link

Node.js 14: Unsuported operator in 9.x #1326

Closed marcoslor closed 1 month ago

marcoslor commented 1 month ago

I believe there is a single operator in the sourcecode that made 9.x drop support for node 14.x early. It is a &&= operator, which was added in Node 15.

It was commited in the 9.2 release: https://github.com/testing-library/dom-testing-library/commit/eadf7485430968df8d1e1293535d78cdbeea20a5

Since I could not find any warnings of dropped Node 14 support in 9.2 (seem to have happened here before 10.x), I think this may have been a mistake, and may be worth a patch.

In which version was support for 14.x oficially dropped?

Thanks!

eps1lon commented 1 month ago

We don't backport fixes unless security related.