Remove unnecessary override for strtok3 #1091
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🔗 Linked issue
This wasn't from an issue, but from an interesting bug found by a discord member. Essentially they had conflicting versions of strtok3 installed, and this caused file uploads via
@adonisjs/bodyparserto fail, but seemingly only when it was a.docxfile (which sounds like ghosts in the computer tbh).❓ Type of change
📚 Description
This removes the override for strtok3 which was causing in some applications an outdated version of strtok3 to be installed. Lucid doesn't seem to directly depend on strtok3, so I'm guessing this was necessary for something in the broader adonisjs ecosystem, the original commit doesn't give much in the way of details.
The current version of strtok3 that gets installed with adonisjs 6.17.2 is strtok3 10.2.1, but lucid was causing it to be overridden sometimes with strtok3 8.0.1 (I saw this with npm but not with pnpm)
📝 Checklist
Neither are applicable, but I have run the full test suite before and after this change, removing the node_modules folder in between.