Skip to content
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

Warnings when used inside ES modules #14

Open
sneko opened this issue Oct 29, 2024 · 3 comments
Open

Warnings when used inside ES modules #14

sneko opened this issue Oct 29, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@sneko
Copy link

sneko commented Oct 29, 2024

Hi,

I'm using v0.8.3 in my ES module program, but when running it due to imports it always logs:

(node:44267) [DEP0151] DeprecationWarning: No "main" or "exports" field defined in the package.json for /xxxxxxxxxxxx/node_modules/zod_utilz/ resolving the main entry point "index.js", imported from /xxxxxxxxxxxx/src/yyyyyyy.ts.
Default "index" lookups for the main are deprecated for ES modules.

Maybe a related issue: #10

@JacobWeisenburger
Copy link
Owner

I will try to take a look when I can. But I have been very busy lately, so I can't make any promises about how soon that will be. If you are able to find the problem in the code and submit a PR that would really help make this process faster.

@JacobWeisenburger JacobWeisenburger added the bug Something isn't working label Oct 29, 2024
@yhc44
Copy link

yhc44 commented Dec 28, 2024

Hey, did you already find time to look into this? Anything we can help with?

@JacobWeisenburger
Copy link
Owner

Anything we can help with?

If you are able to find the problem in the code and submit a PR that would really help make this process faster.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants