Node.js is improving built-in APIs continuously. This issue reports unsupported Node.js built-in APIs on the configured Node.js version as lint errors.
// this won't work in older versions of node.js
import assert from 'node:assert'
assert(array.length !== 0)
// an NPM package
import Assert from 'assert-js'
Assert.notEmpty(array)