Tags: svg/svgo
Tags
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.
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.
Merge commit from fork * fix(publish): migrate *.test.js files to test directory When publishing v2.8.1 there was a hiccup where test files were included in the package. It seems the likely cause is that previous maintainers published with "npm publish" but I tried to publish to "yarn npm publish". To avoid a hiccup like this from happening again, let's just move the tests into the tests directory. This is a change I'd like to make in the development branch anyway. * test: make billion laughts test compatible with node.js v10 Back when I originally published the first security fix for SVGO v2, I didn't actually run the tests using Node.js v10 specifically. However this time I did as I wanted to make sure I wasn't making a breaking change that inadvertenly used APIs that were too modern. Turns out the test case I wrote for billion laughs was not compatible so the tests were failing. This just makes it used older APIs so that the rests of the tests can run. * fix(removeScriptElement): make namespace aware 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.
PreviousNext