observablehq / stdlib

The Observable standard library.
https://observablehq.com/@observablehq/standard-library
ISC License
957 stars 83 forks source link

Node 12 compatibility #297

Closed annie closed 2 years ago

annie commented 2 years ago

Remove the nullish coalescing operator and optional chaining in makeQueryTemplate, which seem to be unavailable in Node 12 (see runtime PR).

Since it seems like the runtime expects compatibility with Node 12, should we add a Node 12 test to stdlib as well?