Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: svg/svgo
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.3.3
Choose a base ref
...
head repository: svg/svgo
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.3.5
Choose a head ref
  • 4 commits
  • 11 files changed
  • 2 contributors

Commits on Jul 11, 2026

  1. Merge commit from fork

    Match JavaScript URIs case insensitively, such as JAVASCRIPT or
    JavaScript.
    
    Match <*:script> elements that are explicitly namespaced/prefixed with
    the SVG namespace or XHTML namespace. We leave intact any other
    namespace like a custom <filmmaker:script> script which isn't
    executable.
    SethFalco authored Jul 11, 2026
    Configuration menu
    Copy the full SHA
    72a2388 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2026

  1. fix(removeScriptElement): backport security hardening to v3 (#2269)

    ## Summary
    
    Backport the v4 `removeScripts` security hardening to v3's
    `removeScriptElement` plugin:
    
    - reject executable `data:` URLs and legacy `vbscript:` URLs while
    preserving inert data URLs
    - sanitize executable content inside SVG `foreignObject` elements
    - recognize namespace-prefixed SVG anchors
    - normalize ASCII tabs and newlines before checking URL schemes
    - add v3 regression coverage and update the plugin documentation
    
    This backports the fixes from #2263, #2264, and #2268 and addresses
    GHSA-4vpr-x523-8j87 and GHSA-w27v-7q3p-w38r for the v3 release line.
    
    ## Validation
    
    - `yarn test` — 425 passed, 3 skipped
    - `yarn lint`
    - `yarn typecheck`
    - `git diff --check`
    TrySound authored Aug 24, 2026
    Configuration menu
    Copy the full SHA
    994a9f0 View commit details
    Browse the repository at this point in the history
  2. ci: publish v3 with npm trusted publishing (#2270)

    ## Summary
    
    - switch the v3 publish workflow from Yarn's publisher to npm 11.5.1 so
    npm trusted publishing can use GitHub OIDC
    - build the package with Yarn before invoking npm with lifecycle scripts
    disabled
    - always publish this release line under the `v3` dist-tag
    - use Node.js 24 for publishing
    
    This fixes the authentication failure observed while publishing v3.3.5
    (`YN0033: No authentication configured for request`).
    TrySound authored Aug 24, 2026
    Configuration menu
    Copy the full SHA
    4c84fe7 View commit details
    Browse the repository at this point in the history
  3. ci: configure v3 publish tag in package metadata (#2271)

    ## Summary
    
    Configure `v3` through `publishConfig.tag` and let `npm publish` consume
    it.
    
    npm 11 rejects `--tag v3` at the CLI because `v3` is a valid semver
    range, even though this package already uses `v3` as an established
    registry dist-tag. `publishConfig` passes the tag to the registry
    publisher without the CLI's semver-range validation, preserving the
    existing dist-tag.
    TrySound authored Aug 24, 2026
    Configuration menu
    Copy the full SHA
    4380590 View commit details
    Browse the repository at this point in the history
Loading