It shows a warning like the below when running. I'll submit a PR soon.
[awilix] The registerFunction and other "register*" shortcuts have been deprecated and will be removed in v3.
Use "container.register({ name: asFunction(target) })" instead. See https://github.com/jeffijoe/awilix/issues/60
It shows a warning like the below when running. I'll submit a PR soon.