| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Breaking change: export function instead of value returned from it to avoid caching the value
| @@ -14,6 +14,7 @@ | |||
| }, | |||
| "dependencies": { | |||
| "moduleconfig": "^2.0.0", | |||
There was a problem hiding this comment.
This will be updated after releasing changes from ebdrup/moduleconfig#6
Sorry, something went wrong.
|
I'm closing this PR as we decided to implement these changes in forked repository for now. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This package doesn't work correctly together with Opentelemetry packages.
Changes:
Exported function in lib/nodeerrors.js instead of exporting value returned by the function to avoid caching the value (so the errors definitions)
It uses update moduleconfig that accepts a directory that should be checked for config, because it was also being cached by opentelemetry package (so it was always looking for the config in the same directory).
Used parent-module because of module.parent deprecation nodejs/node#32217
Depends on ebdrup/moduleconfig#6