This started as a deps update for the eslint plugin (so apologies for the large yarn.lock update), but then turned into bug fixes:
The unplugin wasn't using specified parseOptions if TS mode was off (no emitDeclaration or typecheck).
The eslint plugin was using old-style import assertions (import...assert) which I just learned have been removed from Node 22. I switched it to import attributes (import...with) which has been around longer now so is hopefully sufficiently backward compatible.
The VSCode plugin was also using import assertions. I tested on NodeJS 20.14.0 used by current VSCode, and it supports import attributes, so I changed the code. (I think this wasn't the case last time I checked.) We don't need to release yet, but we should release sometime before Electron/VSCode switches to NodeJS 22.
Also update unplugin build script to use Civet's new parseOptions interface for comptime.
This started as a deps update for the eslint plugin (so apologies for the large
yarn.lock
update), but then turned into bug fixes:parseOptions
if TS mode was off (noemitDeclaration
ortypecheck
).import...assert
) which I just learned have been removed from Node 22. I switched it to import attributes (import...with
) which has been around longer now so is hopefully sufficiently backward compatible.parseOptions
interface forcomptime
.