Skip to content

make supercli compatible with node 20+ #68

@tremarkley

Description

@tremarkley

when run on node 20, super-cli fails to run with:


[main] $ sup
file:///Users/hmarkley/Library/pnpm/global/5/.pnpm/cli-spinners@3.2.0/node_modules/cli-spinners/index.js:1
import spinners from './spinners.json' with {type: 'json'};
                                       ^^^^

SyntaxError: Unexpected token 'with'
    at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:118:18)
    at callTranslator (node:internal/modules/esm/loader:273:14)
    at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:278:30)

Node.js v20.9.0

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions