observablehq / parser

The Observable parser.
ISC License
176 stars 27 forks source link

acorn 8, esm, mocha #205

Closed mbostock closed 2 years ago

mbostock commented 2 years ago

This:

We could do this change more minimally, but I think we’re going to want to do this in the near future anyway, so we might as well tie breaking changes together to minimize the number of major version bumps.

mbostock commented 2 years ago

If you want to compare to the pre-Tap snapshots of yore:

https://github.com/observablehq/parser/compare/812e84eba1cdff328b53839bf27e97676a9b6192~...mbostock/update-acorn

sydneypalumbo commented 2 years ago

sorry I've been slow to get to this! one thing I just wanted to call out is that we do use peekId when constructing document history currently in order to get cell names (we could either remove that logic now or do a normal parse if we wanted to keep it)

mbostock commented 2 years ago

Okay, I’ll restore the peekId functionality.

mbostock commented 2 years ago

Okay @sydneypalumbo this should be ready for another look! Thanks.