puresyntax71 / hugo-theme-chunky-poster

A simple, bootstrap 4 based hugo blog theme.
https://hugo-theme-chunky-poster.netlify.com
MIT License
109 stars 87 forks source link

Bump vanilla-lazyload from 15.1.1 to 17.3.0 #157

Closed dependabot-preview[bot] closed 3 years ago

dependabot-preview[bot] commented 3 years ago

Bumps vanilla-lazyload from 15.1.1 to 17.3.0.

Release notes

Sourced from vanilla-lazyload's releases.

Version 17.3

17.3.0

  • Added class_entered and class_exited options to apply a class when an element entered and/or exited the viewport

Version 17.2

17.2.0

Rolling back the "data attribute cleanup" feature that was released on 16.1.0 and was causing issues like #484 when more than one instance of LazyLoad were working on the same elements of the page - the script is also 500 bytes lighter now

Version 17.1

17.1.3

17.1.2

17.1.1

  • Fixed npm audit vulnerabilities

17.1.0

  • Unobserve all elements on loadAll() call. It's better for performance, and it solves #469.
  • Added some hidden images in the load_all.html demo

Version 17.0

17.0.1

  • Bug fix: callback_exit() was not being called on non-image elements (#468).

17.0.0

  • The elements_selector option now defaults to .lazy (was img)
  • The cancel_on_exit option now defaults to true (was false)

See https://github.com/verlok/vanilla-lazyload/blob/HEAD/UPGRADE.md to understand if you are impacted by any breaking change and how to upgrade from previous versions.

Version 16.1

16.1.0

Improved speed, cleaning DOM, better working destroy, and also fixed 2 bugs.

  • Cleaning up data attributes from the DOM when finished using them (mainly when elements have finished loading)
  • Improved destroy method, which now also removes lazyload's additions to the DOM elements
  • Video elements are now only listening to the loadeddata event, no longer to load
  • Removed constants containing strings. I thought it would produced shorter minified code, but discovered that terser expands them to strings.
  • Bugfix: when lazily loading videos, the error _poster_ is undefined was thrown
Changelog

Sourced from vanilla-lazyload's changelog.

17.3.0

  • Added class_entered and class_exited options to apply a class when an element entered and/or exited the viewport

17.2.0

  • Rolling back the "data attribute cleanup" feature that was released on 16.1.0 and was causing issues like #484 when more than one instance of LazyLoad were working on the same elements of the page - the script is also 500 bytes lighter now

17.1.3

17.1.2

17.1.1

  • Fixing npm audit vulnerabilities

17.1.0

  • Unobserve all elements on loadAll() call. It's better for performance, and it solves #469.
  • Added some hidden images in the load_all.html demo

17.0.1

  • Bug fix: callback_exit() was not being called on non-image elements (#468).

17.0.0

  • The elements_selector option now defaults to .lazy (was img)
  • The cancel_on_exit option now defaults to true (was false)

See https://github.com/verlok/vanilla-lazyload/blob/master/UPGRADE.md to understand if you are impacted by any breaking change and how to upgrade from previous versions.


Love this project? 😍 Buy me a coffee!


Version 16

16.1.0

Improved speed, cleaning DOM, better working destroy, and also fixed 2 bugs.

  • Cleaning up data attributes from the DOM when finished using them (mainly when elements have finished loading)
  • Improved destroy method, which now also removes lazyload's additions to the DOM elements
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

Commits


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 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 - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)
dependabot-preview[bot] commented 3 years ago

Superseded by #171.