-
Notifications
You must be signed in to change notification settings - Fork 33
fix: warning from use of context.importAssertions #179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
A warning is printed when using context.importAssertions instead of context.importAttributes since Node.js v21.0.0, v20.10.0 and v18.19.0.
@timfish Thoughts on this? CI failure is unrelated |
What makes you think the CI failures are unrelated? I just re-ran them and they still fail. |
@timfish The same failure has been happening in the main branch starting since CI #1498. Something to do with the openai module:
|
Ah, well we need to fix this before we can merge any PRs because it's stopping the complete test suite from running! |
Issue seems to have been introduced with openai v4.85.0 |
See https://github.com/nodejs/import-in-the-middle/releases/tag/import-in-the-middle-v1.13.1 ### Bug Fixes * handling of circular dependencies ([#181](nodejs/import-in-the-middle#181)) ([b58092e](nodejs/import-in-the-middle@b58092e)) * importing JSON files ([#182](nodejs/import-in-the-middle#182)) ([8c52014](nodejs/import-in-the-middle@8c52014)) * warning from use of context.importAssertions ([#179](nodejs/import-in-the-middle#179)) ([8e56cf1](nodejs/import-in-the-middle@8e56cf1))
See https://github.com/nodejs/import-in-the-middle/releases/tag/import-in-the-middle-v1.13.1 ### Bug Fixes * handling of circular dependencies ([#181](nodejs/import-in-the-middle#181)) ([b58092e](nodejs/import-in-the-middle@b58092e)) * importing JSON files ([#182](nodejs/import-in-the-middle#182)) ([8c52014](nodejs/import-in-the-middle@8c52014)) * warning from use of context.importAssertions ([#179](nodejs/import-in-the-middle#179)) ([8e56cf1](nodejs/import-in-the-middle@8e56cf1)) This version is already allowed by our range, but in order to ensure everybody gets this, bumping it here.
A warning is printed when using context.importAssertions instead of context.importAttributes since Node.js v21.0.0, v20.10.0 and v18.19.0.
Fixes #172