-
Notifications
You must be signed in to change notification settings - Fork 89
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
Fix/neotraverse #753
Fix/neotraverse #753
Conversation
Much better. 😁 |
Thanks a lot for considering neotraver 😄! That graph looks svelte and lean! |
That was fast. I didn't think you'll see this. Thanks for your work! 💚 |
Hey there, thanks for the great work!
Should the import statements in
If not, I'm getting an error in my project when I run my Jest tests |
Ah that’s correct, it should be legacy if you’re still shipping commonJS
builds
…On Sun, 21 Jul 2024 at 9:59 AM, Ryan Kotzen ***@***.***> wrote:
Hey there, thanks for the great work!
I think there might be an issue with this though (but perhaps I just need
to change something my side), it looks like it's importing the ESM
version of traverse and the minified output contains the export keyword:
... minifiedCode;export{m as Traverse,v as default};
Should the import statements in feathers-hooks-common not be changed to
this instead?:
import traverse from 'neotraverse/legacy';
If not, I'm getting an error in my project when I run my Jest tests
SyntaxError: Unexpected token 'export'
Coming from node_modules/neotraverse/dist/min/index.js which is in my
project due to ***@***.***
—
Reply to this email directly, view it on GitHub
<#753 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALMH4FYY557ZIRILJBPREOLZNM2MLAVCNFSM6AAAAABLBDXTDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBRGQ3DAMZXHA>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
released as |
see this: https://github.com/puruvj/neotraverse
if you missed it, this is the drama behind the update of
[email protected]
->[email protected]
: https://x.com/passle_/status/1810805530706792930see current graph of feathers-hooks-common:
source: https://npmgraph.js.org/?q=feathers-hooks-common#zoom=h