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: don't split paths on ^ characters #192

Merged
merged 3 commits into from
Apr 12, 2022
Merged

Conversation

yusefnapora
Copy link
Contributor

This removes the extra ^ char from this regex that was causing us to treat the ^ as a path separator.

Closes #177, and will fix web3-storage/web3.storage#375 when pulled into the web3.storage client.

Copy link
Member

@alanshaw alanshaw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can it be tested?

I used http://www.regexplained.co.uk/ to make sense of this...

@lidel lidel marked this pull request as draft February 4, 2022 15:41
@lidel lidel marked this pull request as ready for review February 4, 2022 15:41
@lidel lidel added the kind/test Testing work label Feb 18, 2022
@lidel
Copy link
Member

lidel commented Feb 18, 2022

This needs tests :)

@lidel lidel removed the kind/test Testing work label Feb 18, 2022
@lidel lidel marked this pull request as draft February 18, 2022 15:22
@lidel
Copy link
Member

lidel commented Mar 4, 2022

Still needs tests :^)

@BigLep
Copy link

BigLep commented Mar 18, 2022

@yusefnapora : are you going to add tests so that this can land?

@BigLep BigLep added the need/author-input Needs input from the original author label Mar 25, 2022
@yusefnapora
Copy link
Contributor Author

hey everyone, sorry for sleeping on this! will add tests today

@yusefnapora yusefnapora force-pushed the fix/caret-path-split branch from dd2ad14 to b99706f Compare March 29, 2022 16:35
@yusefnapora yusefnapora marked this pull request as ready for review March 29, 2022 16:36
@lidel lidel requested a review from alanshaw April 1, 2022 13:51
@lidel lidel removed the need/author-input Needs input from the original author label Apr 1, 2022
Copy link
Member

@vasco-santos vasco-santos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yusefnapora yusefnapora merged commit 9a69908 into master Apr 12, 2022
@yusefnapora yusefnapora deleted the fix/caret-path-split branch April 12, 2022 16:32
github-actions bot pushed a commit that referenced this pull request Apr 26, 2022
## [ipfs-unixfs-importer-v9.0.7](ipfs-unixfs-importer-v9.0.6...ipfs-unixfs-importer-v9.0.7) (2022-04-26)

### Bug Fixes

* do not add metadata to leaves ([#193](#193)) ([f5d3a67](f5d3a67))
* don't split paths on `^` characters ([#192](#192)) ([9a69908](9a69908))

### Trivial Changes

* switch to auto-release ([#208](#208)) ([99386e6](99386e6))
* switch to gh actions ([#175](#175)) ([395852b](395852b))
* update readmes ([#188](#188)) ([273a141](273a141))
@github-actions
Copy link

🎉 This PR is included in version ipfs-unixfs-importer-v9.0.7 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Archived in project
5 participants