Open MasterKuat opened 2 months ago
@kaby76 , I don't know if you are aware of that
It's caused by running npm i -g --save-dev antlr-format-cli
, which is a prereq for the static checks, specifically for formatting. The
05/30-07:13:45 ~/issues/g4-4121/sql/snowflake
$ npm i -g --save-dev antlr-format-cli
npm WARN deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm WARN deprecated glob@8.1.0: Glob versions prior to v9 are no longer supported
changed 88 packages in 3s
16 packages are looking for funding
run `npm fund` for details
05/30-07:13:53 ~/issues/g4-4121/sql/snowflake
There is no --version
option for antlr-format
so I can't directly query what version the tool--and the transitive closure of all dependencies--are running. --version
is not something, apparently, is a "TypeScript" thing. I have to look at the "node_modules/" directory. But, heck if I know where it puts that with -g --save-dev
. Probably some deeply hidden directory on my TB system.
Found it. I need to do "where antlr-format", go do the owning directory and start fishing around for the package.json for the file.
{
"name": "antlr-format-cli",
"version": "1.2.5",
"description": "A cli wrapper for the antlr-format package",
"author": "Mike Lischke",
"files": [
"License.txt",
"dist/antlr-format.cjs"
],
"bin": {
"antlr-format": "./dist/antlr-format.cjs"
},
We are on the latest of antlr-format. Will raise issue here: https://github.com/mike-lischke/antlr-format/issues
(This bug is fixed with Mike's latest antlr-format-cli. There may be other issues, but the last workflow run seems ok.)
Hi, Sorry if already aware but statis-check : format and useless-paren complain about deprecated module in title :
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated glob@8.1.0: Glob versions prior to v9 are no longer supported