Update NPM dependencies.

Most relevant is updating acorn from v9 to v11 which improves ES6 coverage.

Parser behavior changes affected test cases, so fixed those up.