Skip to content

[Snyk] Upgrade markdown-it-image-figures from 2.0.0 to 2.1.1 - #22

Open
snyk-bot wants to merge 1 commit into
mainfrom
snyk-upgrade-94e84aa6239caa4b50034412faf4f9b5
Open

[Snyk] Upgrade markdown-it-image-figures from 2.0.0 to 2.1.1#22
snyk-bot wants to merge 1 commit into
mainfrom
snyk-upgrade-94e84aa6239caa4b50034412faf4f9b5

Conversation

@snyk-bot

Copy link
Copy Markdown

Snyk has created this PR to upgrade markdown-it-image-figures from 2.0.0 to 2.1.1.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 4 versions ahead of your current version.
  • The recommended version was released 4 months ago, on 2023-01-07.

The recommended version fixes:

Severity Issue PriorityScore (*) Exploit Maturity
Prototype Pollution
SNYK-JS-FASTXMLPARSER-3325616
482/1000
Why? Proof of Concept exploit, CVSS 7.5
Proof of Concept

(*) Note that the real score may have changed since the PR was raised.

Release notes
Package name: markdown-it-image-figures
  • 2.1.1 - 2023-01-07
    • Update eslint to 8.31.0 (minor)
    • Update eslint-plugin-import to 2.26.0 (minor)
    • Update eslint-plugin-mocha to 10.1.0 (minor)
    • Update microbundle to 0.15.1 (major)
    • Update mocha to 10.2.0 (major)
    • Ensure vulnerabilities are fixed by updating package-lock.json
  • 2.1.0 - 2022-04-05
    • Add figcaption:alt and figcaption:title options by @ nzakas in #12

    New Contributors

  • 2.0.2 - 2022-04-04
    • Fixes issues with importing in ESM. #10
  • 2.0.1 - 2022-03-28

    What's Changed

    • Bump minimist from 1.2.5 to 1.2.6 by @ dependabot in #9
    • Cleaning package.json and ensuring the latest practices are used.
  • 2.0.0 - 2021-09-17

    Changes

    • Updated dependencies to avoid Moderate security issue: https://npmjs.com/advisories/1773
    • Changed the behaviour of lazy which, if truthy, it will only add loading="lazy" to the image (see below on breaking).
    • Added support for async decoding. Using async: true as an option, will add decoding="async" to all images by default.
    • Added removeSrc option which, if truthy, will allow you to remove the attribute src and store it as data-src.
    • Added classes option which will be appended / added as classes to the images.
    • Ensuring now that both async and lazy can be overridden per image base.
    • Enhanced the README to be more Web Performance aligned by default.

    Breaking

    • lazy now acts as a toggle to align with evergreen browsers which will only enable loading="lazy" on an image. If you want to replicate the same behaviour you got with lazy: true you need to use the following options: { lazy: true, removeSrc: true, classes: 'lazy' }

    Thanks to @ paulrobertlloyd for the suggestion on #7 !

from markdown-it-image-figures GitHub release notes
Commit messages
Package name: markdown-it-image-figures

Compare


Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant