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

Fix/neotraverse #753

Merged
merged 5 commits into from
Jul 17, 2024
Merged

Fix/neotraverse #753

merged 5 commits into from
Jul 17, 2024

Conversation

fratzinger
Copy link
Collaborator

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/1810805530706792930

see current graph of feathers-hooks-common:
Bildschirmfoto 2024-07-17 um 19 55 53
source: https://npmgraph.js.org/?q=feathers-hooks-common#zoom=h

@fratzinger
Copy link
Collaborator Author

released as v8.2.0

image

@marshallswain
Copy link
Member

Much better. 😁

@PuruVJ
Copy link
Contributor

PuruVJ commented Jul 18, 2024

Thanks a lot for considering neotraver 😄! That graph looks svelte and lean!

@fratzinger
Copy link
Collaborator Author

That was fast. I didn't think you'll see this. Thanks for your work! 💚

@eXigentCoder
Copy link

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 [email protected]

@PuruVJ
Copy link
Contributor

PuruVJ commented Jul 21, 2024 via email

@fratzinger
Copy link
Collaborator Author

released as v8.2.1 🎉 @eXigentCoder please try it out and let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants