steinbrueckri / steinbrueckri.io

my personal website
https://steinbrueck.io
1 stars 0 forks source link

Bump vanilla-lazyload from 17.8.8 to 18.0.0 #77

Closed dependabot[bot] closed 7 months ago

dependabot[bot] commented 7 months ago

Bumps vanilla-lazyload from 17.8.8 to 18.0.0.

Release notes

Sourced from vanilla-lazyload's releases.

Version 18.0.0

  • Dropped support for Internet Explorer 11
  • Modernized code
  • Smaller file

Version 17.9

17.9.0

  • Allowing to pass empty string ("") as value for class options (class_loading, class_applied, class_loaded, class_error, class_entered, class_exited) so that no DOM mutation will happen if not necessary. This is a potential performance improvement. Suggested in #605.
Changelog

Sourced from vanilla-lazyload's changelog.

18.0.0

  • Dropped support for Internet Explorer 11
  • Modernized code
  • Smaller file

Version 17

17.9.0

  • Allowing to pass empty string ("") as value for class options (class_loading, class_applied, class_loaded, class_error, class_entered, class_exited) so that no DOM mutation will happen if not necessary. This is a potential performance improvement. Suggested in #605.
Upgrade guide

Sourced from vanilla-lazyload's upgrade guide.

🗺 HOW TO UPDATE FROM PREVIOUS VERSIONS

Version 16 to 17

If you were NOT setting the elements_selector option

You should add the lazy class to your lazy images.

<!-- FROM -->
<img data-src="lazyImage.jpg" alt="Lazy image" />
<!-- TO -->
<img class="lazy" data-src="lazyImage.jpg" alt="Lazy image" />

ALTERNATIVELY, you could set the elements_selector option to "img"

const myLazyLoad = new LazyLoad({
  /* other options here */
  elements_selector: "img" // ADD THIS OPTION
});

If you were using cancel_on_exit: true

// From
const myLazyLoad = new LazyLoad({
  /* other options here */
  cancel_on_exit: true // REMOVE THIS OPTION
});

You should remove cancel_on_exit: true from the settings.


Love this project? 😍 Buy me a coffee!


Version 15 to 16

If you were using the callback_reveal callback

You should replace callback_reveal with callback_loading in your JS code.

If you were using the instance load(element) method

... (truncated)

Commits
  • 28c2089 Merge branch 'release/18.0.0'
  • 9a91099 Releasing 18.0.0
  • aba06f8 Merge branch 'feature/modernize-code' into develop
  • f497b37 Assuming IntersectionObserver is there.
  • ae60bb3 Removed useless supportsFetch
  • 49162b1 Removed useless supportsCreateImageBitmap
  • 98c95b1 addClass and removeClass rely on classList
  • 88bd9e9 Merge branch 'master' into develop
  • c29d621 Merge branch 'release/17.9.0'
  • b9be369 Merge branch 'release/17.9.0' into develop
  • Additional commits viewable in compare view


Dependabot compatibility score

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 show ignore conditions` will show all of the ignore conditions of the specified dependency - `@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)