You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using Node 16 I see a deprecation warning when using the ResponseError exported from a subpath.
[DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at ./opensearchplay/node_modules/@opensearch-project/opensearch/package.json. Update this package.json to use a subpath pattern like "./*".
Here is a short example to reproduce this when run with ts-node:
When using Node 16 I see a deprecation warning when using the ResponseError exported from a subpath.
[DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at ./opensearchplay/node_modules/@opensearch-project/opensearch/package.json. Update this package.json to use a subpath pattern like "./*".
Here is a short example to reproduce this when run with ts-node:
I guess either update the package.json exports to .* as suggested in the warning or export ResponseError from the root?
TIA
The text was updated successfully, but these errors were encountered: