JetBrains / logos

Other
27 stars 9 forks source link

chore(deps): bump nth-check, @svgr/plugin-svgo, cheerio and svgo #31

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps nth-check to 2.1.1 and updates ancestor dependencies nth-check, @svgr/plugin-svgo, cheerio and svgo. These dependencies need to be updated together.

Updates nth-check from 1.0.1 to 2.1.1

Release notes

Sourced from nth-check's releases.

v2.1.1

  • The ESM code had some issues that are now fixed aeeb067

https://github.com/fb55/nth-check/compare/v2.1.0...v2.1.1

v2.1.0

What's Changed

  • nth-check is now a dual CommonJS and ESM module fb55/nth-check#206
  • With the new sequence and generate methods, it is now possible to generate a sequence of indices for a given formula fb55/nth-check#207

Full Changelog: https://github.com/fb55/nth-check/compare/v2.0.1...v2.1.0

v2.0.1

Fixes:

  • Replace regex with hand-rolled parser for nth-expressions (#9) 9894c1d
    • Ensures parsing will always have linear time complexity.

Internal:

  • chore(ci): Use GitHub Actions, Dependabot (#10) e02b4dd
  • Bump dependencies

https://github.com/fb55/nth-check/compare/v2.0.0...v2.0.1

v2.0.0

  • Port module to TS, Jest, ESLint

Breaking:

  • The main export is now a default export.
  • The module now throws regular Errors on invalid selectors instead of SyntaxErrors.
Commits


Updates @svgr/plugin-svgo from 5.4.0 to 6.5.0

Release notes

Sourced from @​svgr/plugin-svgo's releases.

v6.5.0

Bug Fixes

Features

  • babel-preset: fix 'role' attribute on svg element for react native (#787) (35d85e0)

v6.4.0

Bug Fixes

  • deps: add babel-preset to core dependencies (#782) (464ec5f)

Features

  • a11y: add attribute role="img" to the svg element (#750) (8b9edc4)
  • support spaces in file names (#779) (6ee639a)

v6.3.1

Bug Fixes

v6.3.0

Bug Fixes

Features

  • add descProp option (#729) (a0637d4)
  • cli: output file name when error happen to handling a file (#702) (0ec1fbd)

v6.2.1

... (truncated)

Changelog

Sourced from @​svgr/plugin-svgo's changelog.

6.5.0 (2022-10-14)

Bug Fixes

  • fix Yarn peer dependency warning from @​babel/core (#786) (db35837), closes #785

Features

  • babel-preset: fix 'role' attribute on svg element for react native (#787) (35d85e0)

6.4.0 (2022-10-01)

Bug Fixes

  • deps: add babel-preset to core dependencies (#782) (464ec5f)

Features

  • a11y: add attribute role="img" to the svg element (#750) (8b9edc4)
  • support spaces in file names (#779) (6ee639a)

6.3.1 (2022-07-22)

Bug Fixes

6.3.0 (2022-07-18)

Bug Fixes

... (truncated)

Commits
  • b385279 v6.5.0
  • 35d85e0 feat(babel-preset): fix 'role' attribute on svg element for react native (#787)
  • db35837 fix: fix Yarn peer dependency warning from @​babel/core (#786)
  • 80e8833 docs: rename "master" to "main" in package.json repository fields (#784)
  • 7c290d1 chore: fix package-lock.json
  • fd423ae v6.4.0
  • 464ec5f fix(deps): add babel-preset to core dependencies (#782)
  • 8b9edc4 feat(a11y): add attribute role="img" to the svg element (#750)
  • a9d9e98 docs: correct function name (#757)
  • 725bd87 docs: update vite plugin recommendation (#766)
  • Additional commits viewable in compare view


Updates cheerio from 0.22.0 to 1.0.0-rc.12

Release notes

Sourced from cheerio's releases.

v1.0.0-rc.12

Bugfix release. Fixed issues:

New Contributors

Full Changelog: https://github.com/cheeriojs/cheerio/compare/v1.0.0-rc.11...v1.0.0-rc.12

v1.0.0-rc.11

cheerio@1.0.0-rc.11 is hopefully the last RC before the 1.0.0 release of Cheerio. There are two APIs that will be added for the next major release: An exract method (cheeriojs/cheerio#2523) and NodeJS specific loader methods (cheeriojs/cheerio#2051). These are still in flux and I'd appreciate feedback on the proposals.

A big thank you to everyone that contributed to this release! This includes code contributors, as well as the amazing financial support on GitHub Sponsors!

Under the hood, a lot of work for this release went into updating parse5, cheerio's default HTML parser. Have a look at parse5's release notes to see what has changed there.

Breaking

  • Cheerio is now a dual CommonJS and ESM module. That means that deep imports will now fail in newer versions of Node. cheeriojs/cheerio#2508
  • script and style contents are added again in .text() cheeriojs/cheerio#2509
    • To keep the old behavior, switch .text() to .prop('innerText')
  • The TypeScript types inherited from upstream dependencies have changed. cheeriojs/cheerio#2503
    • Node types are now using tagged unions, which will make consumption a bit easier.

Features

Fixes

Refactor

... (truncated)

Changelog

Sourced from cheerio's changelog.

Starting with 1.0.0-rc.4, release notes are exclusively tracked in GitHub Releases.

1.0.0-rc.3 / 2019-04-06

This release corrects a test expectation that was fixed by one of the project's dependencies.

1.0.0-rc.2 / 2017-07-02

This release changes Cheerio's default parser to the Parse5 HTML parser. Parse5 is an excellent project that rigorously conforms to the HTML standard. It does not support XML, so Cheerio continues to use htmlparser2 when working with XML documents.

This switch addresses many long-standing bugs in Cheerio, but some users may experience slower behavior in performance-critical applications. In addition, htmlparser2 is more forgiving of invalid markup which can be useful when input sourced from a third party and cannot be corrected. For these reasons, the load method also accepts a DOM structure as produced by the htmlparser2 library. See the project's "readme" file for more details on this usage pattern.

Migrating from version 0.x

cheerio.load( html[, options ] ) This method continues to act as a "factory" function. It produces functions that define an API that is similar to the global jQuery function provided by the jQuery library. The generated function operates on a DOM structure based on the provided HTML.

In releases prior to version 1.0, the provided HTML was interpreted as a document fragment. Following version 1.0, strings provided to the load method are interpreted as documents. The same example will produce a $ function that operates on a full HTML document, including an <html> document element with nested <head> and <body> tags. This mimics web browser behavior much more closely, but may require alterations to existing code.

For example, the following code will produce different results between 0.x and 1.0 releases:

var $ = cheerio.load('<p>Hello, <b>world</b>!</p>');

$.root().html();

//=> In version 0.x: '<p>Hello, <b>world</b>!</p>' //=> In version 1.0: '<html><head></head><body><p>Hello, <b>world</b>!</p></body></html>'

Users wishing to parse, manipulate, and render full documents should not need to modify their code. Likewise, code that does not interact with the "root"

... (truncated)

Commits


Updates svgo from 1.2.2 to 2.8.0

Release notes

Sourced from svgo's releases.

v2.8.0

If you enjoy SVGO and would like to support our work, consider sponsoring us directly via our OpenCollective.

Join us in our discord

Features and bug fixes

  • added --no-color flag for testing purposes but you may find it useful (svg/svgo#1588)
  • handle url() in style attributes properly (svg/svgo#1592)
  • removeXMLNS plugin now removes xmlns:xlink attribute (svg/svgo#1508)
  • load .cjs configuration only with require to fix segfaults in linux (svg/svgo#1605)

Refactorings

  • simplified and covered with types svg stringifier (svg/svgo#1593)
  • migrated to visitor api and covered with types removeEmptyAttrs plugin (svg/svgo#1594)
  • migrated to visitor api and covered with types inlineStyles plugin (svg/svgo#1601)
  • migrated to picocolors (svg/svgo#1606)

DX

I found some users are trying to enable plugins which are not part of default preset, for example

{
  name: 'preset-default',
  params: {
    overrides: {
      cleanupListOfValues: true
    }
  }
}

To fix this I made docs more concrete about plugin (https://github.com/svg/svgo/commit/5165ccb9d1f116b26a30a020e65aadd666012cb1) and introduced a warning when true is specified in overrides (https://github.com/svg/svgo/commit/cb7e9be623b6e2fbbfcb9b67c4c85131e1477925). Please give us feedback if you still have issues.

Thanks to @​IlyaSkriblovsky, @​devongovett, @​matheus1lva, @​omgovich, @​renatorib and @​TrySound

v2.7.0

If you enjoy SVGO and would like to support our work, consider sponsoring us directly via our OpenCollective.

Join us in our discord

ES Modules support

This release adds support for es modules in svgo.config.js when package.json type field is "module". For projects with mixed cjs and esm svgo.config.mjs and svgo.config.cjs are also supported as fallback.

... (truncated)

Changelog

Sourced from svgo's changelog.

[ > ] 1.3.2 / 30.10.2019

  • Fixed TypeError: Cannot set property 'multipassCount' of undefined

[ > ] 1.3.1 / 29.10.2019

  • Updated CSSO version to 4.0.2 fixing the issue with empty semicolons ";;" in styles (thanks to @​strarsis and @​lahmatiy).
  • prefixIds plugin now runs only once with --multipass option (by @​strarsis).
  • cleanupIDs plugin is prevented from producing a preserved ID, including one which matches a preserved prefix, when minifying (by @​thomsj).

[ > ] 1.3.0 / 14.07.2019

  • Custom plugins now can be loaded from external js through path plugin param.
  • New plugin convertEllipseToCircle to convert ellipse with equal radius measures to circle (by @​tigt).
  • New plugin sortDefsChildren for improved compression (by @​davidleston).
  • SVGO now removes unnecessary spaces after arcto path command flags.
  • removeDimensions plugin now adds viewBox if it's missing (by @​adipascu).
  • Fixed removeUnusedNS not counting attributes in <svg> tag itself.
  • Fixed an issue with incorrect processing multiple images (by @​cyberalien).
  • Fixed an error with incorrect converting multiple segmented curve to an arc.
  • Fixed an error with matrix decomposition in convertTransform due to rounding error leading to illegal value.
  • Added force option for mergePaths plugin (by @​goyney).
  • Added options to prefixIds plugin for selectively prefixing IDs and/or classes (by @​strarsis).
  • Exported config function (by @​1000ch).
Commits
Maintainer changes

This version was pushed to npm by trysound, a new releaser for svgo since your current version.


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/JetBrains/logos/network/alerts).
Hypnosphi commented 1 year ago

@dependabot rebase