dbos-inc / dbos-transact-ts

The TypeScript framework for backends that scale
https://docs.dbos.dev
MIT License
346 stars 22 forks source link

Suppress cloud CLI experimental warning #553

Closed qianl15 closed 1 month ago

qianl15 commented 1 month ago

Our cloud CLI uses ESM. Due to some recent updates in our dependencies, we start seeing a warning like:

(node:85015) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
    at emitExperimentalWarning (node:internal/util:275:11)
    at ModuleLoader.jsonStrategy (node:internal/modules/esm/translators:464:3)
    at callTranslator (node:internal/modules/esm/loader:285:14)
    at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:291:30)

This PR suppresses this experimental warning.