steinbrueckri / steinbrueckri.io

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

Bump vanilla-lazyload from 18.0.0 to 19.0.5 #79

Closed dependabot[bot] closed 6 months ago

dependabot[bot] commented 6 months ago

Bumps vanilla-lazyload from 18.0.0 to 19.0.5.

Release notes

Sourced from vanilla-lazyload's releases.

Version 19.0

19.0.5

  • Removed .eslintrc.json, LICENSE, CHANGELOG.md, CODE_OF_CONDUCT.md, README.md, package.json from the package files, as they didn't have any impact on code quality.

19.0.4

  • Removed Babel plugin to polyfill Object.assign(), as suggested in #611.

19.0.3

  • Files .eslintrc.json, LICENSE, CHANGELOG.md, CODE_OF_CONDUCT.md, README.md, package.json are now included in the package

19.0.1

  • Restored compatibility for bundlers that used this module, see #609

Thanks to @​erikyo for #610

19.0.0

  • Rollup setup enhancement
    • Refactored the Rollup setup to improve performance and maintainability.
    • Switched to ES6 module format for better compatibility and readability.
    • Enabled tree shaking and module preservation to optimize the build output.
  • Added ESM demo to showcase the functionality of the esm module.
  • Updated various dependencies to their latest versions for better compatibility and security
  • Removed AMD module from the /dist folder, as it's been unused since version 11
  • Removed AMD-related demos

Thanks to @​erikyo for #607

Changelog

Sourced from vanilla-lazyload's changelog.

19.0.5

  • Removed .eslintrc.json, LICENSE, CHANGELOG.md, CODE_OF_CONDUCT.md, README.md, package.json from the package files, as they didn't have any impact on code quality.

19.0.4

  • Removed Babel plugin to polyfill Object.assign(), as suggested in #611.

19.0.3

  • Files .eslintrc.json, LICENSE, CHANGELOG.md, CODE_OF_CONDUCT.md, README.md, package.json are now included in the package

19.0.1

  • Restored compatibility for bundlers that used this module, see #609

19.0.0

  • Rollup setup enhancement
    • Refactored the Rollup setup to improve performance and maintainability.
    • Switched to ES6 module format for better compatibility and readability.
    • Enabled tree shaking and module preservation to optimize the build output.
  • Added ESM demo to showcase the functionality of the esm module.
  • Updated various dependencies to their latest versions for better compatibility and security
  • Removed AMD module from the /dist folder, as it's been unused since version 11
  • Removed AMD-related demos

Version 18

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


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)