chore(deps): update dependency @poppanator/sveltekit-svg to v5 #83
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.
This PR contains the following updates:
3.0.1
->5.0.0
Release Notes
poppa/sveltekit-svg (@poppanator/sveltekit-svg)
v5.0.0
Compare Source
Added
v4.2.1
Compare Source
Changed
@rollup/pluginutils
needs to be a dependency.This should fix #54
v4.2.0
Compare Source
Added
SVGs imported as URLs (
import svgUrl from ./some.svg?url
) will now beSVGO optimized before written to disk on production builds.
NOTE: SVGs imported as URLs will not be optimized in
dev
mode.This should fix #52
v4.1.3
Compare Source
Changed
Always return a partial
SourceDescription
when returning codeThis hopefully fixes #48
Updated dev dependencies
v4.1.2
Compare Source
Changed
Return the full JS result from compile
This will include the
map
property as well.This should fix #48.
v4.1.1
Compare Source
Changed
Set Svelte compiler css option to 'none'
The
css
option to Sveltecompile()
has changed and setting it to aboolean
value has been deprecated.This gave the compilerOptions.css as a boolean is deprecated. Use 'external'
instead of false. warning.
Since we're disregarding the
css
field in the generated result, we can setthis option to
none
and skip all CSS stuff altogether.v4.1.0
Compare Source
Added
Added the
preCompileHook
option.This is a function that lets the consumer transform the SVG into a Svelte
component before being passed to the Svelte compiler.
v4.0.1
Compare Source
Changed
Render the contents of the
<svg>
tag using{@​html}
in the component mode.This is to prevent Svelte having to parse the entire SVG.
Thanks Arad Alvand for the code.
This solves #39
v4.0.0
Compare Source
Updated dependencies and stuff to play along with Svelte 4
No code changes
Configuration
📅 Schedule: Branch creation - "before 4am on the first day of the month" in timezone America/Denver, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.