Ecosyste.ms: OpenCollective

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

github.com/svg/svgo

⚙️ Node.js tool for optimizing SVG files
https://github.com/svg/svgo

fix(convertTransform): do not add redundant space between functions (#1802)

The space is optional between transform functions in the `transform`
attribute and similar prop...

02c7a78536e115e401d90fe25d5b73a6ccb03785 authored about 1 year ago by Seth Falco <[email protected]>
fix(inlineStyles): remove all classes in multiclass selector (#1801)

When running into a multi-class selector with `inlineStyles`, it would
only remove the first cl...

2539b9f4c65af9aa4a72abac0b06db784388adbf authored about 1 year ago by Seth Falco <[email protected]>
fix(minifyStyles): pass empty arrays for usage (#1800)

b15da27af4832bbe9efbec2bef03eff0c0ed110d authored about 1 year ago by Seth Falco <[email protected]>
deps: update deps based on dependabot alerts (#1799)

* Deduplicate dependencies in our `yarn.lock` file with `yarn dedupe`.
* Upgrade dependencies w...

197be56958fe13881754bc26114f76feb643e00d authored about 1 year ago by Seth Falco <[email protected]>
GitHub Workflows security hardening (#1724)

Signed-off-by: Alex <[email protected]>

9a83ed43a25a572cd0a96c68ff162e3f96a40dc0 authored about 1 year ago by Alex <[email protected]>
fix(inlineStyles): case insensitive style props (#1797)

Style property names are case-insensitive, for example `fill`, `FILL`,
and `FiLl` are all valid...

7e99c0bd492f9cefd6ca5e7bbf84c618d9e87647 authored about 1 year ago by Seth Falco <[email protected]>
fix(cleanupIds): handle when 2 ids referenced in one attr (#1795)

42f7752db1c92e38341d373ad6dc7bd5761bfd65 authored about 1 year ago by Seth Falco <[email protected]>
fix: resolve regression test for removeHiddenElems (#1793)

f07e9de0892b1294cf2eceeb4818247382619bf3 authored about 1 year ago by Seth Falco <[email protected]>
fix(reusePaths): pass test-regression task (#1791)

Signed-off-by: Seth Falco <[email protected]>

078a09c19a81b324536e3ea6a1f13c0cf10790fc authored about 1 year ago by Seth Falco <[email protected]>
test: update jest (#1792)

82593c6134e29a3b6195b48eb3e4d5046de4bee9 authored about 1 year ago by Seth Falco <[email protected]>
Add support for image/jpeg mimetype (#1742)

In practice, this plugin does not work to remove embedded jpg images.

On further inspection, ...

437c09b006e058d200f2b74121bab65d9b7598ab authored about 1 year ago by Abe Fehr <[email protected]>
fix(reusePaths): dont reuse id if referenced in href (#1784)

Fixes a bug where the reusePaths plugin would reuse the node ID that
it's optimizing, but that ...

bd750ceebb9008ecc0ed1e541ee9005f6af26302 authored about 1 year ago by Seth Falco <[email protected]>
fix(reusePaths): reuse defs tag if exists and remove redundant nodes (#1785)

5f40d8bce4b00feaa21f44911543371d37760f43 authored about 1 year ago by Seth Falco <[email protected]>
test: add check for keyframe selector to (#1783)

Adds test for issue reported regarding keyframe selectors.

9f7894d7e9d2d53450b4a392196b19f98c902988 authored about 1 year ago by Seth Falco <[email protected]>
test: fix regression testing action (#1788)

The regression-test GitHub Action was failing for all pull requests due
to not handling the gzi...

59ab80eed22acd5db7f981161b1d8b5da3430483 authored about 1 year ago by Seth Falco <[email protected]>
Refactor README to be easier to read through (#1731)

Preview: https://github.com/ADTC/svgo/blob/patch-1/README.md

* Split up code blocks by moving...

73f7002ab614554446e26acf1552c2505448b96f authored over 1 year ago by ADTC <[email protected]>
Speed up stringifyNumber (#1717)

I'm currently profiling my build setup and noticed that
`stringifyNumber` pops up here and ther...

aa5d667fcb5a33be9e51f958bcd20d2b719f8345 authored almost 2 years ago by Marvin Hagemeister <[email protected]>
Speed up strongRound by avoiding string casting (#1716)

I'm currently profiling my build pipeline and noticed that the
`strongRound` function showed up...

c641da273415e22da190c2a924981405a91ecff6 authored almost 2 years ago by Marvin Hagemeister <[email protected]>
3.0.2

ae32acf5144be318872a45f49b3ece50c0a4cb18 authored almost 2 years ago by Bogdan Chadkin <[email protected]>
Upgrade css-tree types

2f8adced74c7fcdc03cbec99b9907682662d8604 authored almost 2 years ago by Bogdan Chadkin <[email protected]>
Remove csso types from definitions

2260aab8c1e9d554aa0680b279c261eac3793443 authored almost 2 years ago by Bogdan Chadkin <[email protected]>
v3.0.1

da8840c0e18534f4ecf88c358054df7f70164df4 authored almost 2 years ago by Bogdan Chadkin <[email protected]>
Revert version plugin

8dda989fadc2b78b6941265bb3362d3a97c95d25 authored almost 2 years ago by Bogdan Chadkin <[email protected]>
Add version plugin to yarn

0f8aa5dffa3b6f429df54f804386fa0d2da52420 authored almost 2 years ago by Bogdan Chadkin <[email protected]>
Remove unused json plugin

216082c591f95a97b96a68c93c41ad29272c0644 authored almost 2 years ago by Bogdan Chadkin <[email protected]>
fix: begin's attribute incorrectly modification (#1658)

Co-authored-by: Andrey Nelyubin <[email protected]>

dd70f34b6778f68285df25be8738e6be0acdeb47 authored almost 2 years ago by Andrew <[email protected]>
Reuse plugin types for config

422fa142f24adbd12a89623e8b3dfffc2976e4e7 authored almost 2 years ago by Bogdan Chadkin <[email protected]>
Move plugin types into d.ts

e2e65cfc1e674914277e3193a8d291c994942b1b authored almost 2 years ago by Bogdan Chadkin <[email protected]>
3.0.0

a40fa216b67d297e84ab8017bf4b45b4a0001223 authored almost 2 years ago by Bogdan Chadkin <[email protected]>
Update readme

cb1569b2215dda19b0d4b046842344218fd31f06 authored almost 2 years ago by Bogdan Chadkin <[email protected]>
Rename cleanupIDs to cleanupIds for consistency with prefixIds

6295c60fbfcc8325bf8c089ecd27cad7e5567f3d authored almost 2 years ago by Bogdan Chadkin <[email protected]>
Remove prefix param from cleanupIDs plugin

bc07c483c3b986c66834b5fe019bb75597dd45ab authored almost 2 years ago by Bogdan Chadkin <[email protected]>
Expose typescript types

53ed57c7e1e84a4ced57ee972001aeb34d9015a4 authored about 2 years ago by Bogdan Chadkin <[email protected]>
Loosly cover with types convertPathData

f5d1dd06cc88d952b2a458d46c7d084c6c002c47 authored about 2 years ago by Bogdan Chadkin <[email protected]>
Remove result.info.width and result.info.height

5857816a5aef5d6133f81c8c1e02dab5cfd8b4d3 authored about 2 years ago by Bogdan Chadkin <[email protected]>
Throw SvgoParserError

420ae9d8a1ea55c1c1bbf86c404434aabfb0ac62 authored about 2 years ago by Bogdan Chadkin <[email protected]>
Add sortAttrs to default preset

dd9cad1cf9c128f32368da68371a94af706427ec authored about 2 years ago by Bogdan Chadkin <[email protected]>
Remove unused active and type fields from plugins

e6bd703b0ad6b93ebcdbbb152d53f3ce9a8c1f5d authored about 2 years ago by Bogdan Chadkin <[email protected]>
Remove active flag in plugin config

f649eabf6df11f9e9318a4a27b4df8df39b280a7 authored about 2 years ago by Bogdan Chadkin <[email protected]>
Remove returning ast from invoker

2d1c12c754ee9ba7410d9b2136a7f2df4c35622e authored about 2 years ago by Bogdan Chadkin <[email protected]>
Upgrade csso and csstree

12272958dbad75f46642fd24df2f27b97be12978 authored about 2 years ago by Bogdan Chadkin <[email protected]>
Store builtin plugins as an array

075ab164f66f3f68d4d179b598be808709d37163 authored about 2 years ago by Bogdan Chadkin <[email protected]>
Remove default plugin.params support

954faf3c87de75d3b3285e834659bf7f27759daa authored about 2 years ago by Bogdan Chadkin <[email protected]>
Replace list of default plugins with default preset

97553d83b6c075097839ad9bc6224e94c48cf1e9 authored about 2 years ago by Bogdan Chadkin <[email protected]>
Drop full, perItem and perItemReverse plugin types

de5d68201bdcb3555e4841e51085d99d66692050 authored about 2 years ago by Bogdan Chadkin <[email protected]>
Fix encode without multipass

acf103251cc9ff933bc7fe2db23d7250f7d14f13 authored about 2 years ago by Bogdan Chadkin <[email protected]>
Drop node 10 require fallback when load config

d5a85557818ee809e682d8907baf27c4d61693b3 authored about 2 years ago by Bogdan Chadkin <[email protected]>
Drop createContentItem from public api and JSAPI node wrappers

516c6e1fc1ee5bd32ba205e95fe6dab468667034 authored about 2 years ago by Bogdan Chadkin <[email protected]>
Drop class list handler

50e836d5a4312f4e23acb269a4a6cea6cc65268d authored about 2 years ago by Bogdan Chadkin <[email protected]>
Drop all unused jsapi methods and fields

be458216a43c0a84b4da2036b5b25103942ab38f authored about 2 years ago by Bogdan Chadkin <[email protected]>
Drop legacy JSAPI style handler

783583538fc626fd233a466572147141a573f74a authored about 2 years ago by Bogdan Chadkin <[email protected]>
Drop extendDefaultPlugins

bb590b8928b26e9cc750f5887270c1fe138ba0f9 authored about 2 years ago by Bogdan Chadkin <[email protected]>
Remove `stable` package in favor of native stable sort (#1681)

2ea65860f01d4ad6f1f56bee484015c615cb5f9e authored about 2 years ago by Raphael Boidol <[email protected]>
Upgrade to css-select 5

fdc9ceb91476b055c7b07f3b410c0a5de0b3b449 authored about 2 years ago by Bogdan Chadkin <[email protected]>
Update snapshot format

b0d19ebd1b8a77c20839c7de54734eec919a0128 authored about 2 years ago by Bogdan Chadkin <[email protected]>
Upgrade checks

5fa6bf0e21772b9d36663c7a27f6fd51885915a9 authored about 2 years ago by Bogdan Chadkin <[email protected]>
Upgrade build

4769027865d89a99b179e8b88db9f41a3b1c1fff authored about 2 years ago by Bogdan Chadkin <[email protected]>
Upgrade to yarn 3

ce21f9b54ab78b3f00ddb1b3275fe60bde6e88c4 authored about 2 years ago by Bogdan Chadkin <[email protected]>
Require node 14+

07588be807ebdb0c786fad7a0bfed414310675b1 authored about 2 years ago by Bogdan Chadkin <[email protected]>
missing closing quote on plugin-api doc (#1685)

256bc5b2f9591d47fcdff9e1999c41a18a7219e3 authored about 2 years ago by Randall Hunt <[email protected]>
Add `funding` key to package.json (#1662)

a9834efa1603198ae606765292215462ae193d0d authored over 2 years ago by Álvaro Mondéjar <[email protected]>
README.md: fix broken image link (#1653)

d2785ae70750fb6e344254bebe3c2e163db0a0e1 authored over 2 years ago by Andreas Deininger <[email protected]>
More helpful preset warnings (#1645)

* More helpful preset warnings

* Optimise

1b88baa123d9878c5b7de5bdc5350e1d7160cf35 authored over 2 years ago by Liam Mitchell <[email protected]>
Refactor removeDimensions and removeXMLNS (#1640)

Migrated both to visitor api and tsdoc

da1d761b53c97cd7053b5370cb32c30e7e4978d4 authored over 2 years ago by Bogdan Chadkin <[email protected]>
Refactor convertStyleToAttrs (#1635)

Did not rewrite much, just migrated to tsdoc and visitor plugin api.
This plugin will be obsole...

238d3bf6001f6e755d50ff9903384693b594f700 authored over 2 years ago by Bogdan Chadkin <[email protected]>
Refactor removeNonInheritableGroupAttrs and moveGroupAttrsToElems (#1636)

Batched in one PR. Pretty simple changes. Just migrated to api and
added more safety checks for...

aaf1cfa5e7647d68a14c62ffbc14574b1c7ed3ec authored over 2 years ago by Bogdan Chadkin <[email protected]>
Refactor applyTransforms (#1637)

- applyTransforms is prepared to be a separate plugin, in v3 I will
remove it from convertPat...

068db0e89449fd3ddc495c180da7269aefe61e5a authored over 2 years ago by Bogdan Chadkin <[email protected]>
Plugin definitive guide (#1624)

This is just initial thoughts. Feel free to suggest any changes.

Here are described only the ...

bbc6baca78e598c644dedb7ea4df6245ca97d31e authored almost 3 years ago by Bogdan Chadkin <[email protected]>
Fix branch name in workflow

590b6b42051a7314eb3a239a1f71741f05b898ff authored almost 3 years ago by Bogdan Chadkin <[email protected]>
Correct typo in comment in removeDimensions plugin (#1633)

04abd6fc59eb55263f32635b661db702cf652e99 authored almost 3 years ago by Rogier Slag <[email protected]>
Rename master branch to main

dfc5b982c952094ed07dcaebcf04a5ac00052bc8 authored almost 3 years ago by Bogdan Chadkin <[email protected]>
Fix newline in tests

700f2031699e35da29efc19da74b8765aea127e6 authored almost 3 years ago by Bogdan Chadkin <[email protected]>
Improve configuration documentation

See https://github.com/svg/svgo/pull/1619

Thanks to @hugolpz

8ae65b72821ea1b02660a460fd977fd64f53db6d authored almost 3 years ago by Bogdan Chadkin <[email protected]>
Fix extra newline at end of -o - output (#1237)

3a1c509b74cafa37e2e136c36b39425ca777c7ce authored almost 3 years ago by Kris Kowal <[email protected]>
Replace closestByName utility with visitSkip (#1613)

The last usage of closestByName utility based on node.parentNode
is removed here. One step clos...

79d4babcaf2f70320582b36536b7b2a5f86d120c authored almost 3 years ago by Bogdan Chadkin <[email protected]>
Shorter commands section (#1620)

In code short comments allows more concise tutorials.

656bb09ccd3acab960c2ced3298e2a961cb642cb authored almost 3 years ago by Lopez Hugo <[email protected]>
2.8.0

b37d90e12a87312bba87a6c52780884e6e595e23 authored almost 3 years ago by Bogdan Chadkin <[email protected]>
Add warning about enabling plugins in presets

cb7e9be623b6e2fbbfcb9b67c4c85131e1477925 authored almost 3 years ago by Bogdan Chadkin <[email protected]>
Make docs more descriptive

5165ccb9d1f116b26a30a020e65aadd666012cb1 authored almost 3 years ago by Bogdan Chadkin <[email protected]>
Refactor inlineStyles (#1601)

This is a big one

- got rid from another closestByName usage
- delegated removing empty defs...

72b972261d03f0c40315cd6b9325100d7305a5d6 authored almost 3 years ago by Bogdan Chadkin <[email protected]>
Load .cjs with require only (#1605)

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

At the moment dynamic import may randomly fail wi...

c7995035efc2a5c11fabd1f53f990e954c64cb09 authored almost 3 years ago by Bogdan Chadkin <[email protected]>
Refactor basic cli tests (#1595)

Moved some tests to cli.test.js and got rid from mock-stdin dependency.

4b4391fbe36c7844535a42b79775d671683da87d authored about 3 years ago by Bogdan Chadkin <[email protected]>
Remove xmlns:xlink in removeXMLNS plugin (#1508)

xmlns:xlink is also not required in SVGs embedded in HTML

2d6deeaf219edacbad9cf362a67fc65456486040 authored about 3 years ago by Devon Govett <[email protected]>
Migrate to picocolors (#1606)

Ref https://github.com/ai/nanocolors#nano-colors

Nanocolors is deprecated in favour of picoco...

d29cec48e3f540bad8a20dbd68a2b9bd600a369d authored about 3 years ago by Bogdan Chadkin <[email protected]>
Migrate to simple yarn cache (#1608)

Good advice https://twitter.com/sitnikcode/status/1448634966326325255

4166c32eb8b0dbf09ab921b9e31ac3f8e02650fd authored about 3 years ago by Bogdan Chadkin <[email protected]>
Refactor removeEmptyAttrs (#1594)

- migrated to visitor plugin api
- covered with tsdoc

4377ea38c419fba373acef2eb56f6f7a21a77dda authored about 3 years ago by Bogdan Chadkin <[email protected]>
Refactor svg stringifier (#1593)

- rewrote prototype class with functions
- covered with tsdoc
- added a few TODOs for v3

65b6bf4c16a8c0a0faa1dac24157a746857f5cd7 authored about 3 years ago by Bogdan Chadkin <[email protected]>
Migrate to yarn 2 (#1602)

Yarn supports windows with custom shell, has better tools for
dependencies upgrade and more rea...

5fb42ab47a6853bf5a2329715c522abd902423c2 authored about 3 years ago by Bogdan Chadkin <[email protected]>
Rename js2svg to stringifier

7601b17ab5a35b4a51a894cd5934a3527734e76f authored about 3 years ago by Bogdan Chadkin <[email protected]>
Fix prefixIds plugin to properly handle url()s in style="..." (#1592)

`prefixIds` plugin currently breaks url()-links inside `style` attributes:

```javascript
o...

6235264cf30d173ffaad0c393e680e26a3206f29 authored about 3 years ago by Ilya Skriblovsky <[email protected]>
Replace strip-ansi with --no-color flag (#1588)

nanocolors checks for --color and --no-color flags to force or disable
output coloring. Which c...

203db9aaec248c5041290a20847a6b8c251c6846 authored about 3 years ago by Bogdan Chadkin <[email protected]>
2.7.0

acd91835f5dc554d76ce0cf16f88aca842f24a93 authored about 3 years ago by Bogdan Chadkin <[email protected]>
Refactor moveElemsAttrsToGroup (#1574)

- migrated to visitor plugin api
- covered with tsdoc
- added more test cases
- restructured ...

543346ca9718c9bb4aaf0261a982615f91a3c169 authored about 3 years ago by Bogdan Chadkin <[email protected]>
Refactor mergeStyles (#1575)

- covered with tsdoc
- replace another closestByName usage with visitSkip symbol to skip
sub...

9ebff13725d716fdbf8bbaa266f34de1cd20c499 authored about 3 years ago by Bogdan Chadkin <[email protected]>
fix(plugin): removeAttrs: warn without attrs (#1582)

8af10de8d440a4bfdeffeadcba6a34bed615b25c authored about 3 years ago by Samuel Vaillant <[email protected]>
Cover svg parser with tsdoc (#1584)

Moved to lib/parser.js. The code will be slightly simpler
when JSAPI will be removed in v3.

6e23b9cf562b40290e87105eb98e291a2c364bb0 authored about 3 years ago by Bogdan Chadkin <[email protected]>
Support es modules (#1583)

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

In config of course. Projects with type:module ca...

7111c52f9609bb91c2338ffcd703bedd2a22b30e authored about 3 years ago by Bogdan Chadkin <[email protected]>
Replace colorette with nanocolors (#1586)

Ref https://github.com/ai/nanocolors

Nanocolors is the new player in color libraries. And it'...

4c6a091a9026a6fdd0e67728e7bf7532e4b525dd authored about 3 years ago by Bogdan Chadkin <[email protected]>
Create SECURITY.md (#1580)

To verify that the repository authorises [email protected] as its security contact.

08373acf22370406aa03d49033d961629bc924ef authored about 3 years ago by Ziding Zhang <[email protected]>
Avoid node.parentNode in style manager (#1576)

node.parentNode will be removed in v3 along with JSAPI class wrapper on
each node.

Style man...

79ceb09dafc0ee2dc88482f3a875cd5e4b264741 authored about 3 years ago by Bogdan Chadkin <[email protected]>