Ecosyste.ms: OpenCollective

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

SVGO

Developing and maintaining SVGO
Collective - Host: opensource - https://opencollective.com/svgo - Code: https://github.com/svg/svgo

Add fix script

github.com/svg/svgo - 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...

github.com/svg/svgo - 4cacd9e676abaecdf4eba3631812290ead96c2c1 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Access attributes directly (#1433)

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

github.com/svg/svgo - 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.

github.com/svg/svgo - 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...

github.com/svg/svgo - 8098ab7fb6a83a454641b381c9d82479af97b28d authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Move attrs polyfill into jsapi

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

Refactor apply transforms

github.com/svg/svgo - 604a9c5cdbd3ce3e0ad217de08cfc404814f17d6 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Fix ts

github.com/svg/svgo - 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...

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

Refactor convertToRelative

github.com/svg/svgo - c6254eb45d091b3e20849a16cbc31182449bbc81 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Remove broken optimisation

github.com/svg/svgo - 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...

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

Convert element children to xast

github.com/svg/svgo - 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.

github.com/svg/svgo - 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

github.com/svg/svgo - b9a682443c8955a795a66f7d0e834f032b5cea36 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Fix lint

github.com/svg/svgo - 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 ...

github.com/svg/svgo - 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

github.com/svg/svgo - cdcd265fb720cd6160915d39ee998e39e45746f6 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Fix lint

github.com/svg/svgo - 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...

github.com/svg/svgo - 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

github.com/svg/svgo - 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

github.com/svg/svgo - f369f244345579bd766ac7c51171424522abad5f authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Remove whitespaces and comments from the browser bundle

github.com/svg/svgo - 279962207e8c99ca8dd9f0ac093071aabafc8721 authored almost 4 years ago by Vlad Shilov <[email protected]>
Fix types

github.com/svg/svgo - 73768cb65b9dfa9568dbf896efbf5cf9af04fb09 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Clarify condition and add todo with new plugin

github.com/svg/svgo - 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 ...

github.com/svg/svgo - 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, ...

github.com/svg/svgo - 10ac71228273ef65dba9c6d3aada9c30fbd8c194 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Fix types

github.com/svg/svgo - 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...

github.com/svg/svgo - 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 ...

github.com/svg/svgo - d1d6e5efe8ca7922973b4d180d1b64119320aaab authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Remove licenses

github.com/svg/svgo - 2458b70f3126df67f928bcf857f6c8d5f97e431a authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Lint unformatted code

github.com/svg/svgo - cfb7c28bf69b392cc4b0d353c6c1c1133d023cb8 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Format all plugins with prettier

github.com/svg/svgo - 00ec0f71fe29f963e80d8bbf232a97ce6a867651 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
2.2.2

github.com/svg/svgo - 1be0d0dba121ddfd18011817ca1b77ce88db01bd authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Ignore keyframes in computeStyle

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

github.com/svg/svgo - ddbd7046b2aed8133864b2d98feef6a80f665540 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
2.2.1

github.com/svg/svgo - aa803bc88951d833767cf730bf652280dabaf912 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Preverve viewBox in nested <svg>

github.com/svg/svgo - 28c01cfe65cd87796fb061fe3ede7c6f59d0e1f6 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Preserve conditional processing attributes

github.com/svg/svgo - a2b0e737670a46955097a5b02fe3daa35c3f231b authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Keep markers with display: none

github.com/svg/svgo - d3e3726ac42bf623572ff06405e12f4ee72873dd authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Allow empty pattern when any attribute is present

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

github.com/svg/svgo - ba7e9bdc0d4ee677336f09b6fb24fd6cc866e97d authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Keep single point path for markers

github.com/svg/svgo - 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...

github.com/svg/svgo - 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...

github.com/svg/svgo - 555a9619dbc6273c665818a0ade27e5d4ab27a09 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Remove useless path commands considering static styles

github.com/svg/svgo - c21fef54e1aede8cf9f4b4b73ab79d91b7907d2b authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Pass floatPrecision to implemented plugin

github.com/svg/svgo - 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...

github.com/svg/svgo - 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

github.com/svg/svgo - 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...

github.com/svg/svgo - 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...

github.com/svg/svgo - 6842b47cc719fbdc22eecb6306f09fe7a8c89cc7 authored almost 4 years ago by Sebastian Kreft <[email protected]>
Fix noSpaceAfterFlags support

github.com/svg/svgo - 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...

github.com/svg/svgo - 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:
...

github.com/svg/svgo - 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...

github.com/svg/svgo - 318bd5b8fa5216818683c61affa93948a13cdf63 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Commit fixtures

github.com/svg/svgo - 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.

github.com/svg/svgo - 2f3c35d52e03c6f474813b90e1698f12886db538 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Format plugins utilities with prettier (#1394)

Note: review with hidden whitespaces

github.com/svg/svgo - 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

github.com/svg/svgo - 93a5db197ca32990131bf41becf2e002bb0841bf authored almost 4 years ago by XhmikosR <[email protected]>
Fix typo in README.md (#1396)

github.com/svg/svgo - 3cdb14c42799fd78ca3f6fcfc5c8781ecfe481df authored almost 4 years ago by Artem Badrtdinov <[email protected]>
Fix scientific notation parsing in paths

github.com/svg/svgo - d6f972c970d3cdd68ccc740e1a610ff0b23fcd34 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Enforce LF (#1393)

On Windows `autocrlf` is true by default

github.com/svg/svgo - c1b8c3e261857ea179a6b4973a40011f030c88af authored almost 4 years ago by XhmikosR <[email protected]>
2.2.0

github.com/svg/svgo - a2947e33b5dd2de635a2b49980fa8b4423393e7e authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Implement path stringify (#1387)

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

Added `stringifyPathData` utility to produce small ...

github.com/svg/svgo - 04b2ae9a37c3450205a83f0948c8e6bd83f9a254 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
New logo (#1389)

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

Big thanks to @DerianAndre

github.com/svg/svgo - cf807fbe340d81e6be74b5e11f909f599d28e4e7 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Implement new path parser (#1378)

Regexps are quite leaky for complex parsing. Regression tests caught
a few issues related to pa...

github.com/svg/svgo - 4086e313346ce918dac5d82dc18c9176edc7def5 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Fix path optimisation with stroke-linecap round

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

github.com/svg/svgo - 7901588a9f18d6ef476389405a73cd7fe42ed179 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Prevent applyTransform when inline style present

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

With disabled convertStyleToAttrs applyTransform fa...

github.com/svg/svgo - 79dbb4bf6e7464e946d838ade0aa23c7189762f7 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Format lib with prettier (#1386)

Note: review with hidden whitespaces

github.com/svg/svgo - 71e47370bdaf81d8d35159e8b27204262108112b authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Format tests with prettier (#1380)

Will format the code with prettier in a few commits.

github.com/svg/svgo - a99cc08e4f6a1bc9b6d61b65e14c138195ba14c1 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
refactor: replace uses of for in (#1382)

Replace the uses of `for in` with `for of` and `Object.entries`/`Object.values`/`Object.keys`.
...

github.com/svg/svgo - 0394bf0ea6a4326b162acb21a9e43c7f9a856ccd authored almost 4 years ago by Sebastian Kreft <[email protected]>
Replaced stackoverflow with discord

github.com/svg/svgo - ed89fbe88149fd53dfd7da4f8dd325c5cf5f2c81 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Add discord badge (#1379)

Chatting would help with communication.

github.com/svg/svgo - 42d75b1f81484ed36ac94426e1589d5dd2f855e4 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Backers -> Donators

github.com/svg/svgo - 0a11dadc6bb73443b69a189a3261ad5609b3bf1c authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Update FUNDING.yml

github.com/svg/svgo - 62257487a7a2bf6677500fe2380335495130796b authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Create FUNDING.yml

github.com/svg/svgo - d74d3ac2b94ebfe7726d7594ab914da78eb5786a authored almost 4 years ago by Kir Belevich <[email protected]>
Remove "donations" section

github.com/svg/svgo - f92f7dec864b1b94159b6301eb948141f0fbea6b authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Use https when possible and fix an inactive domain (#1374)

github.com/svg/svgo - 1310210d4e13391390cf202a6b903dca29de0ab5 authored almost 4 years ago by XhmikosR <[email protected]>
Apply scale to stroke-dasharray and stroke-dashoffset

github.com/svg/svgo - dd37fcfebbe2f3cea687ad0bf890ff83ab3c9eb7 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Tweak README.md (#1375)

github.com/svg/svgo - 83a03ecb8eaa455aef25f98363734c5675e03a91 authored almost 4 years ago by XhmikosR <[email protected]>
Keep hidden elements if any descendant enables visibility

github.com/svg/svgo - d06747abca1e9e652a764db9747395d14f7f6f98 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Keep transparent elements inside <clipPath>

github.com/svg/svgo - 9d67586787ad16799d7a1cfce1eb0bce829470da authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Keep empty <mask> which can hide element by id

github.com/svg/svgo - d14315b68fc1fcb43212219a0da5857ad7a23cd0 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Preserve stroke-width when marker-end is specified

github.com/svg/svgo - 36391564f2d0b2c7ad86c746bacdd6de030ebd3d authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Remove convertStyleToAttrs from defaults in readme

github.com/svg/svgo - 51f12d1f4f7096629c61dc4e1afbfc2c00b50e80 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Fix <tspan> inside of <a>

github.com/svg/svgo - 091172a392f6d751855477d51e5c8bd3e44fde97 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Fix svg spec urls in plugins

github.com/svg/svgo - 9263d9ab90aff0283e036e92cbb609e63b8ac135 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
2.1.0

github.com/svg/svgo - 355fb1ff24d2b90c0376e8d82230cbad6395907b authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Handle nested textual tags

This bug was also catched by regression tests. Single state was
overriden in opentag/closetag ca...

github.com/svg/svgo - 9de471a0f4bea20581034c2d74b0652c27e0fad0 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Fix parsing xml entities (#1371)

Ref https://github.com/svg/sax/releases/tag/v0.1.1

This fixes enother case in [regression tes...

github.com/svg/svgo - 4b4259bc604d008d17098a1b7a22eb9d757d16d3 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Keep empty <g> when filter attributes is specified

github.com/svg/svgo - c1d5f0f7a93a6f1c947baa5860ddd40f8d1bb701 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Fix incorrect xml:space default

github.com/svg/svgo - 776ec1e71bcd2aa768b2d3ac987177f706834547 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Preserve whitespace in elements containing text (#1220)

github.com/svg/svgo - 9f084cc0865dc2dd5fa867afbbe8e10647757a6f authored almost 4 years ago by Max Goodhart <[email protected]>
Fork sax (#1369)

There was a lot of PR with switching to another xml parser because sax
is not maintained for al...

github.com/svg/svgo - 0021144d4ef10d476792407318d76fc01e4e32b1 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Fix npm install script typo (#1368)

github.com/svg/svgo - 797a8e843d4a4ddf7482785e6ac58c579515d287 authored almost 4 years ago by Chris Hayes <[email protected]>
Disable convertStyleToAttrs plugin by default (#1365)

Ref https://github.com/svg/svgo/issues/1362 https://github.com/svg/svgo/issues/1360

From the ...

github.com/svg/svgo - a1fcd034fe697fd823b2309b63110d2a24c4dc50 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Fail when specified config is wrong or json is specified

github.com/svg/svgo - a855b40ec5d53f3ce3b45213fd4c65bc4dc05347 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
Add Github Issue Templates (#1367)

* Path intersection was not checking paths with circles.

As an optimization the path intersec...

github.com/svg/svgo - aa8e0bd3f60f88aaab849448a00f9030876b5f0e authored almost 4 years ago by Sebastian Kreft <[email protected]>
Fix empty <svg /> in cleanupIDs plugin

github.com/svg/svgo - 9b97e06ef69b7961f342c9ee8468c552c9b503a3 authored almost 4 years ago by Bogdan Chadkin <[email protected]>
convertTransform: remove unused assignment (#1354)

github.com/svg/svgo - 727646e6a78cc82fc3f1cd6cc18f2642c4941683 authored almost 4 years ago by XhmikosR <[email protected]>
2.0.3

github.com/svg/svgo - 4ad91f2323d3d290811fee79d86115bba2893a93 authored almost 4 years ago by Bogdan Chadkin <[email protected]>