Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/lumeland/svgo

Deno fork of SVGO
https://github.com/lumeland/svgo

added deprecated message

d3f6d67146b69d5d12f95af533d16b9092253af0 authored over 3 years ago by Oscar Otero <[email protected]>
apply 9b8f13e91136bcab74843d3b8c8066a37ef31bb7

c7a049fec354a99a0569cdb5e5a65f2004be1406 authored over 3 years ago by Oscar Otero <[email protected]>
fmt

b3db919a97b4bd2a1d54cb0e5e194d8cc6b48397 authored over 3 years ago by Oscar Otero <[email protected]>
apply 7ec255719c95f4c08e4c9a1b993261535c88b837

4f105383bb0908e9189faa29c71553fc6fe192a4 authored over 3 years ago by Oscar Otero <[email protected]>
apply e6b441aca014dc3f7965cb8ed1b3966f14f41d56

a04f5de9c016ab566438115ceb026eb213a3c156 authored over 3 years ago by Oscar Otero <[email protected]>
apply 7b6e73048fe12af61c550ba2b87691da7cfcf0bd

f2ff3b748d10559cdc7c1aa102a6c15ecd423635 authored over 3 years ago by Oscar Otero <[email protected]>
apply b41c6fe473ea566cef660cb3597e9e57585be9e1

faf1446921c47af06d3f30eff1d9ef0003005b0d authored over 3 years ago by Oscar Otero <[email protected]>
skip failing test

896cef2e9e09dacaf50c8f0f3a21bfd2b93b8315 authored over 3 years ago by Oscar Otero <[email protected]>
[svgo 2.4.0] Reset current cursor on Z

From svg/svgo@9e578b515a6b23e6ab4bd41f7b28e2655d3bd110

6e558d80e44392d2a03ca3b770d576578f39092c authored over 3 years ago by Valtteri Laitinen <[email protected]>
[svgo 2.4.0] Remove the unused `intersectArrays` util

From svg/svgo@179ca5c60f208017c1fd47cfccd004aecafe6029

b34ee50d47f4b5903386478426e89406a761eff6 authored over 3 years ago by Valtteri Laitinen <[email protected]>
[svgo 2.4.0] Replace deprecated methods in jsAPI

From svg/svgo@efa518b23d94fb17bd82978f968b1762b4b606ec

86ffad22501d6d557bf55e1cdec75c3a70a0b763 authored over 3 years ago by Valtteri Laitinen <[email protected]>
[svgo 2.4.0] Remove flag spaces for all arcs

From svg/svgo@454b4277a3634d5a9289d2cf8a24f43ce8f25a3b

3a9a6bd06bacb0cd95147cc4f10d30f5dfd388d8 authored over 3 years ago by Valtteri Laitinen <[email protected]>
[svgo 2.4.0] Refactor convertShapeToPath with visitor api

From svg/svgo@9892e28a711349216dc080ff0930553c98e2e0c5

7c819700d6848499c882df8cf6cd686724692618 authored over 3 years ago by Valtteri Laitinen <[email protected]>
[svgo 2.4.0] Refactor basic plugins with visitor api

From svg/svgo@f00bd727b0378efd308dff31b0b02df71dd5f9a7

77451b687f43e2465d869e84136b9def216e1bf2 authored over 3 years ago by Valtteri Laitinen <[email protected]>
[svgo 2.4.0] Pass parent node to visitor

From svg/svgo@35b7356ff0c0f03e6ec5947e8a2eb30e126d11b9

3501f54f6a50dd6a8ce7935f6e259cd5bafbd438 authored over 3 years ago by Valtteri Laitinen <[email protected]>
[svgo 2.4.0] Collect stylesheet once per plugin

From svg/svgo@2c0c3610747587a7731ccf6db2372983d6e5f643

1b27d78e7c645c75089e790e538aab77b272f988 authored over 3 years ago by Valtteri Laitinen <[email protected]>
Move std/path to deps/

6ea02164ab54ffd5b50b0eb70fb0bffe7574c8f7 authored over 3 years ago by Valtteri Laitinen <[email protected]>
Update CI and dev deps

fc8952c6f1c8a7f532f0d281be10e7427db85abb authored over 3 years ago by Valtteri Laitinen <[email protected]>
[svgo 2.3.1] Upgrade css-select from `^3.1.2` to `^4.1.3`

From svg/svgo@25d0f87e3321684f5529831c6b7b105a25f92f4b

ffeaa8daa0eb5ab8ab5b9499caf2465e0092742d authored over 3 years ago by Valtteri Laitinen <[email protected]>
[svgo 2.3.1] Convert convertPathData to visitor

From svg/svgo@3d79f57a10d7b3dba4bcd30d0b94e22410626cae

859bff1ed2929a4e0c4317694545dec64b6cc860 authored over 3 years ago by Valtteri Laitinen <[email protected]>
[svgo 2.3.1] Convert mergePaths to visitor

From svg/svgo@06110b4fc058e34cadacbf6eaba080468e892d31

97e50c32808652a9631a80cc7839add600878d4d authored over 3 years ago by Valtteri Laitinen <[email protected]>
[svgo 2.3.1] Convert removeHiddenElems to visitor

From svg/svgo@368a67b70fabcfc0c4e2c30b57ec788081c9e306

d06c4af19ee187980e07d9ae049bab8170f3cf20 authored over 3 years ago by Valtteri Laitinen <[email protected]>
[svgo 2.3.1] Cleanup collapseGroups tests

From svg/svgo@17aaf3617f84667d4fb16e4616b2487c03ae3785

a2f81b7684faa886ce1589bc3c766898a7be7a88 authored over 3 years ago by Valtteri Laitinen <[email protected]>
added ci tests

d92e2602d67db007280dc43269fab84581afab64 authored over 3 years ago by Oscar Otero <[email protected]>
Merge pull request #1 from valtlai/deno-update

Update to match svgo v2.3.0

9b0af6776feb8f0a2cbf2973db4bee1035405d88 authored over 3 years ago by Oscar Otero <[email protected]>
[svgo 2.3.0] Add "visitor" plugins support

From svg/svgo@27bef1a954d7a709e2d54d8d926d36aed8a79f5e

f7df2280e2b4a0035041ae7e5a51690ff7159115 authored almost 4 years ago by Valtteri Laitinen <[email protected]>
[svgo 2.3.0] Add mergeStyles plugin

From svg/svgo@19c77d23989739ee94d8bfa051646ad501f59278

d3eb088beaba0e3e1d418bfdf2a732f464a90340 authored almost 4 years ago by Valtteri Laitinen <[email protected]>
[svgo 2.3.0] Override default floatPrecision with global

From svg/svgo@7389bcddbfadc49de84203b048199b4a397d656a

45a44205008e2f8dd02b9413d27b0b234a3bafd5 authored almost 4 years ago by Valtteri Laitinen <[email protected]>
[svgo 2.3.0] Implement simple node clone

From svg/svgo@d08815c1cd3ad087c536c24868fcd9299cb4da31

e2f325103c38898f30725c50c6dda284e19a9230 authored almost 4 years ago by Valtteri Laitinen <[email protected]>
[svgo 2.3.0] Simplify number rendering and fix -0 in path

From svg/svgo@3d4adb6b044ff1361a970ea049f90d5626ea9888

5997e7ced77559b3132d88a72f3880ce56dfde26 authored almost 4 years ago by Valtteri Laitinen <[email protected]>
[svgo 2.3.0] Remove hasAttr and hasAttrLocal usages

From svg/svgo@316a002299ae6ec94749e1ff34c08575eccc9dce

9d3b9cdcff5f471042f6b5687c4cb25cc5c4cabf authored almost 4 years ago by Valtteri Laitinen <[email protected]>
[svgo 2.3.0] Convert addAttributesToSVGElement to item plugin

From svg/svgo@447f82ca6bc8406f73328abecaf205bee309f73b

6803bbfad44622ba9824356dad49ddbcdf84cda7 authored almost 4 years ago by Valtteri Laitinen <[email protected]>
[svgo 2.3.0] Add a test for removeXMLNS plugin

From svg/svgo@bc5c4ea29c7f37a716ceefc82a127499d958aea6

e51eaa52d10941bfff2501d1c5ff7f2702ff93a8 authored almost 4 years ago by Valtteri Laitinen <[email protected]>
[svgo 2.3.0] removeOffCanvasPaths: Add one more test

From svg/svgo@3390df1186a102314600dc01f3b5f682b0c355a3

63b252abcdcbe653dc9b31f042444a530cb1f3dc authored almost 4 years ago by Valtteri Laitinen <[email protected]>
[svgo 2.3.0] addClassesToSVGElement: add one more test

From svg/svgo@f44612e7a220e8d7de64eb2ee2c818f5222f82c5

7e6dbcfa4e3a8f33697a9249863b713fa647b65b authored almost 4 years ago by Valtteri Laitinen <[email protected]>
[svgo 2.3.0] Use charAt instead of charCodeAt when possible

From svg/svgo@65c733a42a7cf1da54716ae9964b6e3534c83ed2

11a29a76c06f11459b6f63d046b27f48a531e495 authored almost 4 years ago by Valtteri Laitinen <[email protected]>
[svgo 2.3.0] Remove the executable flag from files

From svg/svgo@21d24006fd1bc97e6a47723d983b0b428d50a7a9

2c36653fa69079dd194959328be2a15bd547a6e1 authored almost 4 years ago by Valtteri Laitinen <[email protected]>
removed cjs dependencies

04290fbf269a546e67788d6371b6ff45afb7e4a6 authored almost 4 years ago by Oscar Otero <[email protected]>
moved assert dependency to deps folder

7cc7ff300b5a56919c21d19115f7fe1b43988c3a authored almost 4 years ago by Oscar Otero <[email protected]>
tests, fixes

f33ebd384f2efa3b46ab949dacba237b739c4c2a authored almost 4 years ago by Oscar Otero <[email protected]>
moved main module to root

0331f4de4e8ac6c874c8e009bac045f01e634e0d authored almost 4 years ago by Oscar Otero <[email protected]>
denoify

f0ac4d852bdf779febc370a75b5c30bef523a1d3 authored almost 4 years ago by Oscar Otero <[email protected]>
Add fix script

e4ce31a2873078014d43624f506b1fe85ffc295c authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Migrate ast traversing into xast module (#1434)

Replaced JSAPI methods with new utilities

- querySelectorAll(node, selector)
- querySelector...

4cacd9e676abaecdf4eba3631812290ead96c2c1 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Access attributes directly (#1433)

Got rid from `.attrs`, `.attr()` and `.addAttr()` usages

6f2f62c5ee8a841ca0793207e38ed82e939a8942 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Replace removeAttr with delete operator (#1432)

delete operator is more explicit and not much harder to use.

07928fc77e6a9da7c5e3cffc023e7115be1cc551 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Replace attributes iterators with for/of (#1431)

These iterators allows to directly manipulate passed value
which does not let us to get rid fro...

8098ab7fb6a83a454641b381c9d82479af97b28d authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Move attrs polyfill into jsapi

45d2b68a32ac4774c5bac1c2701ea78aae333862 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Merge pull request #1428 from svg/refactor_apply_transforms

Refactor apply transforms

604a9c5cdbd3ce3e0ad217de08cfc404814f17d6 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Fix ts

c925e4da0aef6827fec53aae609f4927f8ff9e82 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Refactor apply transforms

- handle each command separately
- handle both relative and absolute commands
- moved into _appl...

61657433e161b6e5de61d470ac34e302b3aa297b authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Merge pull request #1427 from svg/refactor-convert-to-relative

Refactor convertToRelative

c6254eb45d091b3e20849a16cbc31182449bbc81 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Remove broken optimisation

92053c7ed8e58ab0263f695335ec3d6da70e93e3 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Refactor convertToRelative

Slight code simplification. Each command is processed exclusively
without assumtions. Removed mo...

a04b27a1df12b9e6dc019fb8d50733d3d280a5c5 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Merge pull request #1420 from svg/xast-children

Convert element children to xast

d27961745af10a396e3e000f5fff2049c2fb2aa7 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Convert element children to xast

Ref https://github.com/syntax-tree/xast

Renamed content to children to match xast spec.

5314c12c99a687209114bab386cb1f8019b1bfe7 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Merge pull request #1419 from svg/xast-attributes

Convert attributes to xast with proxy fallback

b9a682443c8955a795a66f7d0e834f032b5cea36 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Fix lint

bc87eea85e8138a132a0328f6537149718ed87c0 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Convert attributes to xast with proxy fallback

There is a lot of attributes manipulation which is hard to remove at
once. In this diff I added ...

3e1bfd528db8fc2f945843f39b1d50b331993893 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Merge pull request #1418 from svg/xast-element

Prepare root and element nodes for xast

cdcd265fb720cd6160915d39ee998e39e45746f6 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Fix lint

685d9fa55e268ca21bec4d96cd47783037264a8d authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Prepare root and element nodes for xast

Ref https://github.com/syntax-tree/xast

- added type: root | element
- renamed elem to name
- r...

e82a672bbf1d614a120f09d3b2336bfb2ba3d28d authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Merge pull request #1416 from svg/xast-text

Convert cdata and text nodes to xast

54daf72d502d9e80b5b1c7b76836b7fae0eaab4c authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Merge pull request #1417 from omgovich/lighter-browser-bundle

Remove whitespaces and comments from the browser bundle

f369f244345579bd766ac7c51171424522abad5f authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Remove whitespaces and comments from the browser bundle

279962207e8c99ca8dd9f0ac093071aabafc8721 authored almost 4 years ago by Vlad Shilov <[email protected]>
Fix types

73768cb65b9dfa9568dbf896efbf5cf9af04fb09 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Clarify condition and add todo with new plugin

194058b9ebc467fc91290b7498ca912a5daf99ef authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Convert cdata and text nodes to xast

Ref https://github.com/syntax-tree/xast

More consistent naming and distinction by type looks a ...

c50decb438a13a5a368fd88a0172ba1f5a53ddf5 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Convert to xast doctype, instruction and comment nodes (#1415)

Here we add [xast](https://github.com/syntax-tree/xast) support
to three basic nodes: doctype, ...

10ac71228273ef65dba9c6d3aada9c30fbd8c194 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Fix types

51611564189ff3829df8e4da2a04b84408b16fed authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Convert to xast doctype, instruction and comment nodes

Here we add [xast](https://github.com/syntax-tree/xast) support
to three basic nodes: doctype, i...

8622a5f31b8fa60680b9f530c842b8ec834c4dbb authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Remove prefix/local support in elements and attributes (#1413)

These parts of element and attribute name are easy to extract.
Now we can easily replace attrs ...

d1d6e5efe8ca7922973b4d180d1b64119320aaab authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Remove licenses

2458b70f3126df67f928bcf857f6c8d5f97e431a authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Lint unformatted code

cfb7c28bf69b392cc4b0d353c6c1c1133d023cb8 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Format all plugins with prettier

00ec0f71fe29f963e80d8bbf232a97ce6a867651 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
2.2.2

1be0d0dba121ddfd18011817ca1b77ce88db01bd authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Ignore keyframes in computeStyle

Ref https://github.com/svg/svgo/issues/1408

ddbd7046b2aed8133864b2d98feef6a80f665540 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
2.2.1

aa803bc88951d833767cf730bf652280dabaf912 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Preverve viewBox in nested <svg>

28c01cfe65cd87796fb061fe3ede7c6f59d0e1f6 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Preserve conditional processing attributes

a2b0e737670a46955097a5b02fe3daa35c3f231b authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Keep markers with display: none

d3e3726ac42bf623572ff06405e12f4ee72873dd authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Allow empty pattern when any attribute is present

0e6b0c4a0182fb79775fb6af2f1df18c12f917d9 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Fix collapsing repeated with marker-mid in style rule

ba7e9bdc0d4ee677336f09b6fb24fd6cc866e97d authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Keep single point path for markers

21c04e4d8ae2765f3f00a87de7219d69c075bd22 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Prevent merging path when marker-end style is specified

Ref https://github.com/svg/svgo/issues/1217 https://github.com/svg/svgo/issues/958 https://githu...

de4fd79b5779a2e92f45dd06685cec5192067ecd authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Remove incorrect filter region assumption

Ref https://www.w3.org/TR/SVG11/filters.html

Spec says filter region is not always 100% 100% by...

555a9619dbc6273c665818a0ade27e5d4ab27a09 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Remove useless path commands considering static styles

c21fef54e1aede8cf9f4b4b73ab79d91b7907d2b authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Pass floatPrecision to implemented plugin

d58a7e6089ccf15ecc3928427d55e6b9601094af authored almost 4 years ago by Bogdan Chadkin <[email protected]>
chore: Improve TS config (#1405)

Changed the TS config file to include all relevant folders and explicitly exclude those files th...

76c7719604ef37b84f24000d2a5363689a88599b authored almost 4 years ago by Sebastian Kreft <[email protected]>
[convertShapeToPath] round path numbers with precision (#1404)

Ref https://github.com/svg/svgo/issues/1051

Note: review with hidden whitespaces

e2ec7e8bd2e706dcd29fccd81d7e2f9416a54c23 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Test regressions with W3C SVG 1.1 Test Suite (#1357)

Visual regressions tests will give us more confidence in SVGO stability.
Test cases are downloa...

4d0ee0c330939ee0f59429279c9ff212e851f7da authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Add TS support (#1370)

Added Typescript support via JSDoc comments for some files.

The code has really outdated type...

6842b47cc719fbdc22eecb6306f09fe7a8c89cc7 authored almost 4 years ago by Sebastian Kreft <[email protected]>
Fix noSpaceAfterFlags support

0e02fd9fdef0d031a8393a97af7207577cb86222 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Implement style computing (#1399)

Ref https://github.com/svg/svgo/issues/777

Currently a lot of optimisations are attributes sp...

be28d65d78fbc5b9cf556d53d86d4e623b064d35 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Update example for removeAttrs (#1401)

Old example didn't work with `removeAttrs` plugin. This worked for me and also validated here:
...

f3a6cf259a645073ec78ce1b88382487439206ee authored almost 4 years ago by Joona Viertola <[email protected]>
Forbid invalid <style> type attribute (#1400)

This fixes one more case in regression tests.
Also I added support for description in test case...

318bd5b8fa5216818683c61affa93948a13cdf63 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Commit fixtures

66bb0fb2ad23aad5448e695d6b386de8e7348f2c authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Host css-select adapter (#1395)

This is necessary for better control while implementing new style
manager.

2f3c35d52e03c6f474813b90e1698f12886db538 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Format plugins utilities with prettier (#1394)

Note: review with hidden whitespaces

a896d5de1376e3d102dd33e662cc78573dd88513 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Update CI config (#1397)

* separate lint step to a new job and run it only once
* add caching

93a5db197ca32990131bf41becf2e002bb0841bf authored almost 4 years ago by XhmikosR <[email protected]>