I have a Firebase Functions project that has "type" set to "module" in package.json so that I can use ES6 syntax. Some of the files import data from another json file with a line like:
import oAuth2Data from './client_secrets.json' assert { type: 'json' };
Recently, in my server logs, I noticed a warning from Firebase that: 'assert' is being deprecated...use 'with' instead. Unfortunately, VSCode gives me the error "'with' is not supported in strict mode" which I believe is necessary to use type:module. Is there another option that allows me to continue using strict mode?