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.
What?
Moves the
Swiftsoup
dependency out into its own package that can be conditionally used.Why?
The library current requires that its hosting app adopt
Swiftsoup
. It's only used for a small corner of the functionality where regex might not properly parse the data we get back from the server.How?
Creates a new
AssetManifestParser
package that can be included (or not). By default, the implementation now uses a regex-based approach, but warns that it's not recommended.Testing Instructions
I've added unit tests for both the default and new parsers that cover the parsing better than it was before.
I'd recommend testing it against a site using the assets plugin.
Accessibility Testing Instructions
n/a
Screenshots or screencast
n/a