Skip to content

Commit

Permalink
Merge pull request #496 from bitdefender/fix-ts-particles
Browse files Browse the repository at this point in the history
update tsparticles dependencies to version 3.7.1
  • Loading branch information
Matei-Iordache authored Jan 22, 2025
2 parents 1309625 + ceb3a4a commit 5501fc2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _src/blocks/particle-background/particle-background.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ let loadAll;

async function init(block, aemOptions) {
// eslint-disable-next-line import/no-unresolved
tsParticles = (await import('https://cdn.jsdelivr.net/npm/@tsparticles/engine@3.1.0/+esm')).tsParticles;
tsParticles = (await import('https://cdn.jsdelivr.net/npm/@tsparticles/engine@3.7.1/+esm')).tsParticles;
// eslint-disable-next-line import/no-unresolved
loadAll = (await import('https://cdn.jsdelivr.net/npm/@tsparticles/all@3.1.0/+esm')).loadAll;
loadAll = (await import('https://cdn.jsdelivr.net/npm/@tsparticles/all@3.7.1/+esm')).loadAll;
const particleIdSelector = 'ts-particles';

const particleDiv = document.createElement('div');
Expand Down

0 comments on commit 5501fc2

Please sign in to comment.