diff --git a/CHANGELOG.md b/CHANGELOG.md index f3806335513..9a68045b3ea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,35 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +### Bug Fixes + +- fixed clone style, closes [#5443](https://github.com/tsparticles/tsparticles/issues/5443) ([2127236](https://github.com/tsparticles/tsparticles/commit/21272366d002d78ba801ff17262f46b474381e1d)) +- fixed imports and constants ([caaf603](https://github.com/tsparticles/tsparticles/commit/caaf603932fb64de5c34bc075e0bbf2fb7821818)) +- fixed style reparation and full screen toggle issues ([3e4a03a](https://github.com/tsparticles/tsparticles/commit/3e4a03a0c6662873088787502e9c1ee98c8473ca)) +- improved spin initial positioning ([43edbbf](https://github.com/tsparticles/tsparticles/commit/43edbbf7e1f58137c3996be2dfbfbc3c5a930ba8)) +- improved style duplication ([55a8425](https://github.com/tsparticles/tsparticles/commit/55a84255b013ca6b08b77ef38ba2a1d4a19a0fca)) + +## [3.7.3](https://github.com/tsparticles/tsparticles/compare/v3.7.2...v3.7.3) (2024-12-13) + +### Bug Fixes + +- fixed some configs ([b421f4c](https://github.com/tsparticles/tsparticles/commit/b421f4c6a6f3fa42970a3a043e391075788c4b86)) + +## [3.7.2](https://github.com/tsparticles/tsparticles/compare/v3.7.1...v3.7.2) (2024-11-26) + +### Bug Fixes + +- fixed light preset ([b621cce](https://github.com/tsparticles/tsparticles/commit/b621cce7d9409676152fa3a4e697137d17420703)) + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fix resize issues introduced in 3.7.0 with the new size variable ([41b507f](https://github.com/tsparticles/tsparticles/commit/41b507f6fc638a4ce77614621d9300ed7099ebce)) +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Bug Fixes diff --git a/bundles/all/CHANGELOG.md b/bundles/all/CHANGELOG.md index b8fd73c18a6..ecb9c3d50b8 100644 --- a/bundles/all/CHANGELOG.md +++ b/bundles/all/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/all + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/bundles/all/package.dist.json b/bundles/all/package.dist.json index 332d01383e8..8e76fa13c28 100644 --- a/bundles/all/package.dist.json +++ b/bundles/all/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/all", - "version": "3.7.0", + "version": "3.8.0", "description": "Easily create highly customizable particle animations and use them as animated backgrounds for your website. Ready to use components available also for React, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Riot.js, Inferno.", "homepage": "https://particles.js.org", "repository": { @@ -99,56 +99,56 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/effect-bubble": "3.7.0", - "@tsparticles/effect-trail": "3.7.0", - "@tsparticles/engine": "3.7.0", - "@tsparticles/interaction-external-particle": "3.7.0", - "@tsparticles/interaction-external-pop": "3.7.0", - "@tsparticles/interaction-light": "3.7.0", - "@tsparticles/interaction-particles-repulse": "3.7.0", - "@tsparticles/path-curl-noise": "3.7.0", - "@tsparticles/path-curves": "3.7.0", - "@tsparticles/path-perlin-noise": "3.7.0", - "@tsparticles/path-polygon": "3.7.0", - "@tsparticles/path-simplex-noise": "3.7.0", - "@tsparticles/path-svg": "3.7.0", - "@tsparticles/path-zig-zag": "3.7.0", - "@tsparticles/pjs": "3.7.0", - "@tsparticles/plugin-canvas-mask": "3.7.0", - "@tsparticles/plugin-easing-back": "3.7.0", - "@tsparticles/plugin-easing-circ": "3.7.0", - "@tsparticles/plugin-easing-cubic": "3.7.0", - "@tsparticles/plugin-easing-expo": "3.7.0", - "@tsparticles/plugin-easing-linear": "3.7.0", - "@tsparticles/plugin-easing-quart": "3.7.0", - "@tsparticles/plugin-easing-quint": "3.7.0", - "@tsparticles/plugin-easing-sine": "3.7.0", - "@tsparticles/plugin-emitters-shape-canvas": "3.7.0", - "@tsparticles/plugin-emitters-shape-path": "3.7.0", - "@tsparticles/plugin-emitters-shape-polygon": "3.7.0", - "@tsparticles/plugin-export-image": "3.7.0", - "@tsparticles/plugin-export-json": "3.7.0", - "@tsparticles/plugin-export-video": "3.7.0", - "@tsparticles/plugin-hsv-color": "3.7.0", - "@tsparticles/plugin-infection": "3.7.0", - "@tsparticles/plugin-motion": "3.7.0", - "@tsparticles/plugin-named-color": "3.7.0", - "@tsparticles/plugin-oklch-color": "3.7.0", - "@tsparticles/plugin-poisson-disc": "3.7.0", - "@tsparticles/plugin-polygon-mask": "3.7.0", - "@tsparticles/plugin-sounds": "3.7.0", - "@tsparticles/shape-arrow": "3.7.0", - "@tsparticles/shape-cards": "3.7.0", - "@tsparticles/shape-cog": "3.7.0", - "@tsparticles/shape-heart": "3.7.0", - "@tsparticles/shape-infinity": "3.7.0", - "@tsparticles/shape-path": "3.7.0", - "@tsparticles/shape-rounded-polygon": "3.7.0", - "@tsparticles/shape-rounded-rect": "3.7.0", - "@tsparticles/shape-spiral": "3.7.0", - "@tsparticles/updater-gradient": "3.7.0", - "@tsparticles/updater-orbit": "3.7.0", - "tsparticles": "3.7.0" + "@tsparticles/effect-bubble": "3.8.0", + "@tsparticles/effect-trail": "3.8.0", + "@tsparticles/engine": "3.8.0", + "@tsparticles/interaction-external-particle": "3.8.0", + "@tsparticles/interaction-external-pop": "3.8.0", + "@tsparticles/interaction-light": "3.8.0", + "@tsparticles/interaction-particles-repulse": "3.8.0", + "@tsparticles/path-curl-noise": "3.8.0", + "@tsparticles/path-curves": "3.8.0", + "@tsparticles/path-perlin-noise": "3.8.0", + "@tsparticles/path-polygon": "3.8.0", + "@tsparticles/path-simplex-noise": "3.8.0", + "@tsparticles/path-svg": "3.8.0", + "@tsparticles/path-zig-zag": "3.8.0", + "@tsparticles/pjs": "3.8.0", + "@tsparticles/plugin-canvas-mask": "3.8.0", + "@tsparticles/plugin-easing-back": "3.8.0", + "@tsparticles/plugin-easing-circ": "3.8.0", + "@tsparticles/plugin-easing-cubic": "3.8.0", + "@tsparticles/plugin-easing-expo": "3.8.0", + "@tsparticles/plugin-easing-linear": "3.8.0", + "@tsparticles/plugin-easing-quart": "3.8.0", + "@tsparticles/plugin-easing-quint": "3.8.0", + "@tsparticles/plugin-easing-sine": "3.8.0", + "@tsparticles/plugin-emitters-shape-canvas": "3.8.0", + "@tsparticles/plugin-emitters-shape-path": "3.8.0", + "@tsparticles/plugin-emitters-shape-polygon": "3.8.0", + "@tsparticles/plugin-export-image": "3.8.0", + "@tsparticles/plugin-export-json": "3.8.0", + "@tsparticles/plugin-export-video": "3.8.0", + "@tsparticles/plugin-hsv-color": "3.8.0", + "@tsparticles/plugin-infection": "3.8.0", + "@tsparticles/plugin-motion": "3.8.0", + "@tsparticles/plugin-named-color": "3.8.0", + "@tsparticles/plugin-oklch-color": "3.8.0", + "@tsparticles/plugin-poisson-disc": "3.8.0", + "@tsparticles/plugin-polygon-mask": "3.8.0", + "@tsparticles/plugin-sounds": "3.8.0", + "@tsparticles/shape-arrow": "3.8.0", + "@tsparticles/shape-cards": "3.8.0", + "@tsparticles/shape-cog": "3.8.0", + "@tsparticles/shape-heart": "3.8.0", + "@tsparticles/shape-infinity": "3.8.0", + "@tsparticles/shape-path": "3.8.0", + "@tsparticles/shape-rounded-polygon": "3.8.0", + "@tsparticles/shape-rounded-rect": "3.8.0", + "@tsparticles/shape-spiral": "3.8.0", + "@tsparticles/updater-gradient": "3.8.0", + "@tsparticles/updater-orbit": "3.8.0", + "tsparticles": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/bundles/all/package.json b/bundles/all/package.json index 80d6cc59848..29711b316e8 100644 --- a/bundles/all/package.json +++ b/bundles/all/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/all", - "version": "3.7.0", + "version": "3.8.0", "description": "Easily create highly customizable particle animations and use them as animated backgrounds for your website. Ready to use components available also for React, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Riot.js, Inferno.", "homepage": "https://particles.js.org", "scripts": { @@ -107,56 +107,56 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/effect-bubble": "workspace:3.7.0", - "@tsparticles/effect-trail": "workspace:3.7.0", - "@tsparticles/engine": "workspace:3.7.0", - "@tsparticles/interaction-external-particle": "workspace:3.7.0", - "@tsparticles/interaction-external-pop": "workspace:3.7.0", - "@tsparticles/interaction-light": "workspace:3.7.0", - "@tsparticles/interaction-particles-repulse": "workspace:3.7.0", - "@tsparticles/path-curl-noise": "workspace:3.7.0", - "@tsparticles/path-curves": "workspace:3.7.0", - "@tsparticles/path-perlin-noise": "workspace:3.7.0", - "@tsparticles/path-polygon": "workspace:3.7.0", - "@tsparticles/path-simplex-noise": "workspace:3.7.0", - "@tsparticles/path-svg": "workspace:3.7.0", - "@tsparticles/path-zig-zag": "workspace:3.7.0", - "@tsparticles/pjs": "workspace:3.7.0", - "@tsparticles/plugin-canvas-mask": "workspace:3.7.0", - "@tsparticles/plugin-easing-back": "workspace:3.7.0", - "@tsparticles/plugin-easing-circ": "workspace:3.7.0", - "@tsparticles/plugin-easing-cubic": "workspace:3.7.0", - "@tsparticles/plugin-easing-expo": "workspace:3.7.0", - "@tsparticles/plugin-easing-linear": "workspace:3.7.0", - "@tsparticles/plugin-easing-quart": "workspace:3.7.0", - "@tsparticles/plugin-easing-quint": "workspace:3.7.0", - "@tsparticles/plugin-easing-sine": "workspace:3.7.0", - "@tsparticles/plugin-emitters-shape-canvas": "workspace:3.7.0", - "@tsparticles/plugin-emitters-shape-path": "workspace:3.7.0", - "@tsparticles/plugin-emitters-shape-polygon": "workspace:3.7.0", - "@tsparticles/plugin-export-image": "workspace:3.7.0", - "@tsparticles/plugin-export-json": "workspace:3.7.0", - "@tsparticles/plugin-export-video": "workspace:3.7.0", - "@tsparticles/plugin-hsv-color": "workspace:3.7.0", - "@tsparticles/plugin-infection": "workspace:3.7.0", - "@tsparticles/plugin-motion": "workspace:3.7.0", - "@tsparticles/plugin-named-color": "workspace:3.7.0", - "@tsparticles/plugin-oklch-color": "workspace:3.7.0", - "@tsparticles/plugin-poisson-disc": "workspace:3.7.0", - "@tsparticles/plugin-polygon-mask": "workspace:3.7.0", - "@tsparticles/plugin-sounds": "workspace:3.7.0", - "@tsparticles/shape-arrow": "workspace:3.7.0", - "@tsparticles/shape-cards": "workspace:3.7.0", - "@tsparticles/shape-cog": "workspace:3.7.0", - "@tsparticles/shape-heart": "workspace:3.7.0", - "@tsparticles/shape-infinity": "workspace:3.7.0", - "@tsparticles/shape-path": "workspace:3.7.0", - "@tsparticles/shape-rounded-polygon": "workspace:3.7.0", - "@tsparticles/shape-rounded-rect": "workspace:3.7.0", - "@tsparticles/shape-spiral": "workspace:3.7.0", - "@tsparticles/updater-gradient": "workspace:3.7.0", - "@tsparticles/updater-orbit": "workspace:3.7.0", - "tsparticles": "workspace:3.7.0" + "@tsparticles/effect-bubble": "workspace:3.8.0", + "@tsparticles/effect-trail": "workspace:3.8.0", + "@tsparticles/engine": "workspace:3.8.0", + "@tsparticles/interaction-external-particle": "workspace:3.8.0", + "@tsparticles/interaction-external-pop": "workspace:3.8.0", + "@tsparticles/interaction-light": "workspace:3.8.0", + "@tsparticles/interaction-particles-repulse": "workspace:3.8.0", + "@tsparticles/path-curl-noise": "workspace:3.8.0", + "@tsparticles/path-curves": "workspace:3.8.0", + "@tsparticles/path-perlin-noise": "workspace:3.8.0", + "@tsparticles/path-polygon": "workspace:3.8.0", + "@tsparticles/path-simplex-noise": "workspace:3.8.0", + "@tsparticles/path-svg": "workspace:3.8.0", + "@tsparticles/path-zig-zag": "workspace:3.8.0", + "@tsparticles/pjs": "workspace:3.8.0", + "@tsparticles/plugin-canvas-mask": "workspace:3.8.0", + "@tsparticles/plugin-easing-back": "workspace:3.8.0", + "@tsparticles/plugin-easing-circ": "workspace:3.8.0", + "@tsparticles/plugin-easing-cubic": "workspace:3.8.0", + "@tsparticles/plugin-easing-expo": "workspace:3.8.0", + "@tsparticles/plugin-easing-linear": "workspace:3.8.0", + "@tsparticles/plugin-easing-quart": "workspace:3.8.0", + "@tsparticles/plugin-easing-quint": "workspace:3.8.0", + "@tsparticles/plugin-easing-sine": "workspace:3.8.0", + "@tsparticles/plugin-emitters-shape-canvas": "workspace:3.8.0", + "@tsparticles/plugin-emitters-shape-path": "workspace:3.8.0", + "@tsparticles/plugin-emitters-shape-polygon": "workspace:3.8.0", + "@tsparticles/plugin-export-image": "workspace:3.8.0", + "@tsparticles/plugin-export-json": "workspace:3.8.0", + "@tsparticles/plugin-export-video": "workspace:3.8.0", + "@tsparticles/plugin-hsv-color": "workspace:3.8.0", + "@tsparticles/plugin-infection": "workspace:3.8.0", + "@tsparticles/plugin-motion": "workspace:3.8.0", + "@tsparticles/plugin-named-color": "workspace:3.8.0", + "@tsparticles/plugin-oklch-color": "workspace:3.8.0", + "@tsparticles/plugin-poisson-disc": "workspace:3.8.0", + "@tsparticles/plugin-polygon-mask": "workspace:3.8.0", + "@tsparticles/plugin-sounds": "workspace:3.8.0", + "@tsparticles/shape-arrow": "workspace:3.8.0", + "@tsparticles/shape-cards": "workspace:3.8.0", + "@tsparticles/shape-cog": "workspace:3.8.0", + "@tsparticles/shape-heart": "workspace:3.8.0", + "@tsparticles/shape-infinity": "workspace:3.8.0", + "@tsparticles/shape-path": "workspace:3.8.0", + "@tsparticles/shape-rounded-polygon": "workspace:3.8.0", + "@tsparticles/shape-rounded-rect": "workspace:3.8.0", + "@tsparticles/shape-spiral": "workspace:3.8.0", + "@tsparticles/updater-gradient": "workspace:3.8.0", + "@tsparticles/updater-orbit": "workspace:3.8.0", + "tsparticles": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/bundles/all/src/index.ts b/bundles/all/src/index.ts index f83f4001706..97c273a15d9 100644 --- a/bundles/all/src/index.ts +++ b/bundles/all/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { initPjs } from "@tsparticles/pjs"; import { loadArrowShape } from "@tsparticles/shape-arrow"; import { loadBubbleEffect } from "@tsparticles/effect-bubble"; @@ -61,7 +61,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadAll(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); initPjs(engine); diff --git a/bundles/basic/CHANGELOG.md b/bundles/basic/CHANGELOG.md index a95636250ce..c1bd882632a 100644 --- a/bundles/basic/CHANGELOG.md +++ b/bundles/basic/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/basic + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/bundles/basic/package.dist.json b/bundles/basic/package.dist.json index b42afa3bc53..7e1c7821a6c 100644 --- a/bundles/basic/package.dist.json +++ b/bundles/basic/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/basic", - "version": "3.7.0", + "version": "3.8.0", "description": "Easily create highly customizable particle animations and use them as animated backgrounds for your website. Ready to use components available also for React, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Riot.js, Inferno.", "homepage": "https://particles.js.org", "repository": { @@ -99,16 +99,16 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0", - "@tsparticles/move-base": "3.7.0", - "@tsparticles/plugin-hex-color": "3.7.0", - "@tsparticles/plugin-hsl-color": "3.7.0", - "@tsparticles/plugin-rgb-color": "3.7.0", - "@tsparticles/shape-circle": "3.7.0", - "@tsparticles/updater-color": "3.7.0", - "@tsparticles/updater-opacity": "3.7.0", - "@tsparticles/updater-out-modes": "3.7.0", - "@tsparticles/updater-size": "3.7.0" + "@tsparticles/engine": "3.8.0", + "@tsparticles/move-base": "3.8.0", + "@tsparticles/plugin-hex-color": "3.8.0", + "@tsparticles/plugin-hsl-color": "3.8.0", + "@tsparticles/plugin-rgb-color": "3.8.0", + "@tsparticles/shape-circle": "3.8.0", + "@tsparticles/updater-color": "3.8.0", + "@tsparticles/updater-opacity": "3.8.0", + "@tsparticles/updater-out-modes": "3.8.0", + "@tsparticles/updater-size": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/bundles/basic/package.json b/bundles/basic/package.json index d21a94f8022..bbd4c00ceb0 100644 --- a/bundles/basic/package.json +++ b/bundles/basic/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/basic", - "version": "3.7.0", + "version": "3.8.0", "description": "Easily create highly customizable particle animations and use them as animated backgrounds for your website. Ready to use components available also for React, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Riot.js, Inferno.", "homepage": "https://particles.js.org", "scripts": { @@ -107,16 +107,16 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0", - "@tsparticles/move-base": "workspace:3.7.0", - "@tsparticles/plugin-hex-color": "workspace:3.7.0", - "@tsparticles/plugin-hsl-color": "workspace:3.7.0", - "@tsparticles/plugin-rgb-color": "workspace:3.7.0", - "@tsparticles/shape-circle": "workspace:3.7.0", - "@tsparticles/updater-color": "workspace:3.7.0", - "@tsparticles/updater-opacity": "workspace:3.7.0", - "@tsparticles/updater-out-modes": "workspace:3.7.0", - "@tsparticles/updater-size": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0", + "@tsparticles/move-base": "workspace:3.8.0", + "@tsparticles/plugin-hex-color": "workspace:3.8.0", + "@tsparticles/plugin-hsl-color": "workspace:3.8.0", + "@tsparticles/plugin-rgb-color": "workspace:3.8.0", + "@tsparticles/shape-circle": "workspace:3.8.0", + "@tsparticles/updater-color": "workspace:3.8.0", + "@tsparticles/updater-opacity": "workspace:3.8.0", + "@tsparticles/updater-out-modes": "workspace:3.8.0", + "@tsparticles/updater-size": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/bundles/basic/src/index.ts b/bundles/basic/src/index.ts index 9ae0d6f0b5f..ae065cc0fa7 100644 --- a/bundles/basic/src/index.ts +++ b/bundles/basic/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { loadBaseMover } from "@tsparticles/move-base"; import { loadCircleShape } from "@tsparticles/shape-circle"; import { loadColorUpdater } from "@tsparticles/updater-color"; @@ -21,7 +21,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadBasic(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await loadHexColorPlugin(engine, false); await loadHslColorPlugin(engine, false); diff --git a/bundles/confetti/CHANGELOG.md b/bundles/confetti/CHANGELOG.md index 764cac63a79..439f7b69c32 100644 --- a/bundles/confetti/CHANGELOG.md +++ b/bundles/confetti/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/confetti + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/bundles/confetti/package.dist.json b/bundles/confetti/package.dist.json index 98a9ae19589..356255731d1 100644 --- a/bundles/confetti/package.dist.json +++ b/bundles/confetti/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/confetti", - "version": "3.7.0", + "version": "3.8.0", "description": "Easily create highly customizable particle animations and use them as animated backgrounds for your website. Ready to use components available also for React, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Riot.js, Inferno.", "homepage": "https://particles.js.org", "repository": { @@ -99,22 +99,22 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/basic": "3.7.0", - "@tsparticles/engine": "3.7.0", - "@tsparticles/plugin-emitters": "3.7.0", - "@tsparticles/plugin-motion": "3.7.0", - "@tsparticles/shape-cards": "3.7.0", - "@tsparticles/shape-emoji": "3.7.0", - "@tsparticles/shape-heart": "3.7.0", - "@tsparticles/shape-image": "3.7.0", - "@tsparticles/shape-polygon": "3.7.0", - "@tsparticles/shape-square": "3.7.0", - "@tsparticles/shape-star": "3.7.0", - "@tsparticles/updater-life": "3.7.0", - "@tsparticles/updater-roll": "3.7.0", - "@tsparticles/updater-rotate": "3.7.0", - "@tsparticles/updater-tilt": "3.7.0", - "@tsparticles/updater-wobble": "3.7.0" + "@tsparticles/basic": "3.8.0", + "@tsparticles/engine": "3.8.0", + "@tsparticles/plugin-emitters": "3.8.0", + "@tsparticles/plugin-motion": "3.8.0", + "@tsparticles/shape-cards": "3.8.0", + "@tsparticles/shape-emoji": "3.8.0", + "@tsparticles/shape-heart": "3.8.0", + "@tsparticles/shape-image": "3.8.0", + "@tsparticles/shape-polygon": "3.8.0", + "@tsparticles/shape-square": "3.8.0", + "@tsparticles/shape-star": "3.8.0", + "@tsparticles/updater-life": "3.8.0", + "@tsparticles/updater-roll": "3.8.0", + "@tsparticles/updater-rotate": "3.8.0", + "@tsparticles/updater-tilt": "3.8.0", + "@tsparticles/updater-wobble": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/bundles/confetti/package.json b/bundles/confetti/package.json index a4fd6a507c7..6b13d681299 100644 --- a/bundles/confetti/package.json +++ b/bundles/confetti/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/confetti", - "version": "3.7.0", + "version": "3.8.0", "description": "Easily create highly customizable particle animations and use them as animated backgrounds for your website. Ready to use components available also for React, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Riot.js, Inferno.", "homepage": "https://particles.js.org", "scripts": { @@ -107,22 +107,22 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/basic": "workspace:3.7.0", - "@tsparticles/engine": "workspace:3.7.0", - "@tsparticles/plugin-emitters": "workspace:3.7.0", - "@tsparticles/plugin-motion": "workspace:3.7.0", - "@tsparticles/shape-cards": "workspace:3.7.0", - "@tsparticles/shape-emoji": "workspace:3.7.0", - "@tsparticles/shape-heart": "workspace:3.7.0", - "@tsparticles/shape-image": "workspace:3.7.0", - "@tsparticles/shape-polygon": "workspace:3.7.0", - "@tsparticles/shape-square": "workspace:3.7.0", - "@tsparticles/shape-star": "workspace:3.7.0", - "@tsparticles/updater-life": "workspace:3.7.0", - "@tsparticles/updater-roll": "workspace:3.7.0", - "@tsparticles/updater-rotate": "workspace:3.7.0", - "@tsparticles/updater-tilt": "workspace:3.7.0", - "@tsparticles/updater-wobble": "workspace:3.7.0" + "@tsparticles/basic": "workspace:3.8.0", + "@tsparticles/engine": "workspace:3.8.0", + "@tsparticles/plugin-emitters": "workspace:3.8.0", + "@tsparticles/plugin-motion": "workspace:3.8.0", + "@tsparticles/shape-cards": "workspace:3.8.0", + "@tsparticles/shape-emoji": "workspace:3.8.0", + "@tsparticles/shape-heart": "workspace:3.8.0", + "@tsparticles/shape-image": "workspace:3.8.0", + "@tsparticles/shape-polygon": "workspace:3.8.0", + "@tsparticles/shape-square": "workspace:3.8.0", + "@tsparticles/shape-star": "workspace:3.8.0", + "@tsparticles/updater-life": "workspace:3.8.0", + "@tsparticles/updater-roll": "workspace:3.8.0", + "@tsparticles/updater-rotate": "workspace:3.8.0", + "@tsparticles/updater-tilt": "workspace:3.8.0", + "@tsparticles/updater-wobble": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/bundles/confetti/src/confetti.ts b/bundles/confetti/src/confetti.ts index 8ad9db69b19..f410cab3994 100644 --- a/bundles/confetti/src/confetti.ts +++ b/bundles/confetti/src/confetti.ts @@ -3,7 +3,6 @@ import { type Engine, type ISourceOptions, type RecursivePartial, - assertValidVersion, isSsr, isString, millisecondsToSeconds, @@ -118,7 +117,7 @@ async function initPlugins(engine: Engine): Promise { initializing = true; - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await loadEmittersPlugin(engine, false); await loadMotionPlugin(engine, false); diff --git a/bundles/fireworks/CHANGELOG.md b/bundles/fireworks/CHANGELOG.md index b483e48e8d6..c17e790f4dc 100644 --- a/bundles/fireworks/CHANGELOG.md +++ b/bundles/fireworks/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/fireworks + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +**Note:** Version bump only for package @tsparticles/fireworks + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/bundles/fireworks/package.dist.json b/bundles/fireworks/package.dist.json index 1e4e32ad593..258672cb94d 100644 --- a/bundles/fireworks/package.dist.json +++ b/bundles/fireworks/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/fireworks", - "version": "3.7.0", + "version": "3.8.0", "description": "Easily create highly customizable particle animations and use them as animated backgrounds for your website. Ready to use components available also for React, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Riot.js, Inferno.", "homepage": "https://particles.js.org", "repository": { @@ -99,15 +99,15 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/basic": "3.7.0", - "@tsparticles/effect-trail": "3.7.0", - "@tsparticles/engine": "3.7.0", - "@tsparticles/plugin-emitters": "3.7.0", - "@tsparticles/plugin-emitters-shape-square": "3.7.0", - "@tsparticles/plugin-sounds": "3.7.0", - "@tsparticles/updater-destroy": "3.7.0", - "@tsparticles/updater-life": "3.7.0", - "@tsparticles/updater-rotate": "3.7.0" + "@tsparticles/basic": "3.8.0", + "@tsparticles/effect-trail": "3.8.0", + "@tsparticles/engine": "3.8.0", + "@tsparticles/plugin-emitters": "3.8.0", + "@tsparticles/plugin-emitters-shape-square": "3.8.0", + "@tsparticles/plugin-sounds": "3.8.0", + "@tsparticles/updater-destroy": "3.8.0", + "@tsparticles/updater-life": "3.8.0", + "@tsparticles/updater-rotate": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/bundles/fireworks/package.json b/bundles/fireworks/package.json index a40cc34b453..9aa4e3847c3 100644 --- a/bundles/fireworks/package.json +++ b/bundles/fireworks/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/fireworks", - "version": "3.7.0", + "version": "3.8.0", "description": "Easily create highly customizable particle animations and use them as animated backgrounds for your website. Ready to use components available also for React, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Riot.js, Inferno.", "homepage": "https://particles.js.org", "scripts": { @@ -107,15 +107,15 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/basic": "workspace:3.7.0", - "@tsparticles/effect-trail": "workspace:3.7.0", - "@tsparticles/engine": "workspace:3.7.0", - "@tsparticles/plugin-emitters": "workspace:3.7.0", - "@tsparticles/plugin-emitters-shape-square": "workspace:3.7.0", - "@tsparticles/plugin-sounds": "workspace:3.7.0", - "@tsparticles/updater-destroy": "workspace:3.7.0", - "@tsparticles/updater-life": "workspace:3.7.0", - "@tsparticles/updater-rotate": "workspace:3.7.0" + "@tsparticles/basic": "workspace:3.8.0", + "@tsparticles/effect-trail": "workspace:3.8.0", + "@tsparticles/engine": "workspace:3.8.0", + "@tsparticles/plugin-emitters": "workspace:3.8.0", + "@tsparticles/plugin-emitters-shape-square": "workspace:3.8.0", + "@tsparticles/plugin-sounds": "workspace:3.8.0", + "@tsparticles/updater-destroy": "workspace:3.8.0", + "@tsparticles/updater-life": "workspace:3.8.0", + "@tsparticles/updater-rotate": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/bundles/fireworks/src/fireworks.ts b/bundles/fireworks/src/fireworks.ts index 286de28cbfa..fd142bddac9 100644 --- a/bundles/fireworks/src/fireworks.ts +++ b/bundles/fireworks/src/fireworks.ts @@ -10,7 +10,6 @@ import { type Particle, type RecursivePartial, StartValueType, - assertValidVersion, getRangeMax, getRangeMin, isNumber, @@ -107,7 +106,7 @@ async function initPlugins(engine: Engine): Promise { initializing = true; - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await loadEmittersPlugin(engine, false); await loadEmittersShapeSquare(engine, false); diff --git a/bundles/full/CHANGELOG.md b/bundles/full/CHANGELOG.md index 2fb896d24f0..b3f9e76f56f 100644 --- a/bundles/full/CHANGELOG.md +++ b/bundles/full/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package tsparticles + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/bundles/full/package.dist.json b/bundles/full/package.dist.json index d56f26996c9..7c455b26b6a 100644 --- a/bundles/full/package.dist.json +++ b/bundles/full/package.dist.json @@ -1,6 +1,6 @@ { "name": "tsparticles", - "version": "3.7.0", + "version": "3.8.0", "description": "Easily create highly customizable particle animations and use them as animated backgrounds for your website. Ready to use components available also for React, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Riot.js, Inferno.", "homepage": "https://particles.js.org", "repository": { @@ -99,19 +99,19 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0", - "@tsparticles/interaction-external-trail": "3.7.0", - "@tsparticles/plugin-absorbers": "3.7.0", - "@tsparticles/plugin-emitters": "3.7.0", - "@tsparticles/plugin-emitters-shape-circle": "3.7.0", - "@tsparticles/plugin-emitters-shape-square": "3.7.0", - "@tsparticles/shape-text": "3.7.0", - "@tsparticles/slim": "3.7.0", - "@tsparticles/updater-destroy": "3.7.0", - "@tsparticles/updater-roll": "3.7.0", - "@tsparticles/updater-tilt": "3.7.0", - "@tsparticles/updater-twinkle": "3.7.0", - "@tsparticles/updater-wobble": "3.7.0" + "@tsparticles/engine": "3.8.0", + "@tsparticles/interaction-external-trail": "3.8.0", + "@tsparticles/plugin-absorbers": "3.8.0", + "@tsparticles/plugin-emitters": "3.8.0", + "@tsparticles/plugin-emitters-shape-circle": "3.8.0", + "@tsparticles/plugin-emitters-shape-square": "3.8.0", + "@tsparticles/shape-text": "3.8.0", + "@tsparticles/slim": "3.8.0", + "@tsparticles/updater-destroy": "3.8.0", + "@tsparticles/updater-roll": "3.8.0", + "@tsparticles/updater-tilt": "3.8.0", + "@tsparticles/updater-twinkle": "3.8.0", + "@tsparticles/updater-wobble": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/bundles/full/package.json b/bundles/full/package.json index fe89a852e01..95bbc749a4a 100644 --- a/bundles/full/package.json +++ b/bundles/full/package.json @@ -1,6 +1,6 @@ { "name": "tsparticles", - "version": "3.7.0", + "version": "3.8.0", "description": "Easily create highly customizable particle animations and use them as animated backgrounds for your website. Ready to use components available also for React, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Riot.js, Inferno.", "homepage": "https://particles.js.org", "scripts": { @@ -107,19 +107,19 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0", - "@tsparticles/interaction-external-trail": "workspace:3.7.0", - "@tsparticles/plugin-absorbers": "workspace:3.7.0", - "@tsparticles/plugin-emitters": "workspace:3.7.0", - "@tsparticles/plugin-emitters-shape-circle": "workspace:3.7.0", - "@tsparticles/plugin-emitters-shape-square": "workspace:3.7.0", - "@tsparticles/shape-text": "workspace:3.7.0", - "@tsparticles/slim": "workspace:3.7.0", - "@tsparticles/updater-destroy": "workspace:3.7.0", - "@tsparticles/updater-roll": "workspace:3.7.0", - "@tsparticles/updater-tilt": "workspace:3.7.0", - "@tsparticles/updater-twinkle": "workspace:3.7.0", - "@tsparticles/updater-wobble": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0", + "@tsparticles/interaction-external-trail": "workspace:3.8.0", + "@tsparticles/plugin-absorbers": "workspace:3.8.0", + "@tsparticles/plugin-emitters": "workspace:3.8.0", + "@tsparticles/plugin-emitters-shape-circle": "workspace:3.8.0", + "@tsparticles/plugin-emitters-shape-square": "workspace:3.8.0", + "@tsparticles/shape-text": "workspace:3.8.0", + "@tsparticles/slim": "workspace:3.8.0", + "@tsparticles/updater-destroy": "workspace:3.8.0", + "@tsparticles/updater-roll": "workspace:3.8.0", + "@tsparticles/updater-tilt": "workspace:3.8.0", + "@tsparticles/updater-twinkle": "workspace:3.8.0", + "@tsparticles/updater-wobble": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/bundles/full/src/index.ts b/bundles/full/src/index.ts index c4c1ddfed28..d98833d3e8e 100644 --- a/bundles/full/src/index.ts +++ b/bundles/full/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { loadAbsorbersPlugin } from "@tsparticles/plugin-absorbers"; import { loadDestroyUpdater } from "@tsparticles/updater-destroy"; import { loadEmittersPlugin } from "@tsparticles/plugin-emitters"; @@ -24,7 +24,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadFull(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await loadDestroyUpdater(engine, false); await loadRollUpdater(engine, false); diff --git a/bundles/pjs/CHANGELOG.md b/bundles/pjs/CHANGELOG.md index 474a80bbf3b..25139056fe2 100644 --- a/bundles/pjs/CHANGELOG.md +++ b/bundles/pjs/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/pjs + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/bundles/pjs/package.dist.json b/bundles/pjs/package.dist.json index dc79afbd383..bdbb58270de 100644 --- a/bundles/pjs/package.dist.json +++ b/bundles/pjs/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/pjs", - "version": "3.7.0", + "version": "3.8.0", "description": "Easily create highly customizable particle animations and use them as animated backgrounds for your website. Ready to use components available also for React, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Riot.js, Inferno.", "homepage": "https://particles.js.org", "repository": { @@ -99,7 +99,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/bundles/pjs/package.json b/bundles/pjs/package.json index 6f9b948a317..0208df9e6e9 100644 --- a/bundles/pjs/package.json +++ b/bundles/pjs/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/pjs", - "version": "3.7.0", + "version": "3.8.0", "description": "Easily create highly customizable particle animations and use them as animated backgrounds for your website. Ready to use components available also for React, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Riot.js, Inferno.", "homepage": "https://particles.js.org", "scripts": { @@ -107,7 +107,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/bundles/pjs/src/index.ts b/bundles/pjs/src/index.ts index 06c445841cb..ab258e23474 100644 --- a/bundles/pjs/src/index.ts +++ b/bundles/pjs/src/index.ts @@ -1,7 +1,7 @@ /** * [[include:pjsMigration.md]] */ -import { type Container, type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Container, type Engine } from "@tsparticles/engine"; import type { IParticlesJS } from "./VincentGarreau/IParticlesJS.js"; import { Particles } from "./marcbruederlin/Particles.js"; import { initParticlesJS } from "./VincentGarreau/particles.js"; @@ -56,7 +56,7 @@ const initPjs = ( */ particlesJS: IParticlesJS; } => { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); const { particlesJS, pJSDom } = initParticlesJS(engine); diff --git a/bundles/slim/CHANGELOG.md b/bundles/slim/CHANGELOG.md index 2db2f156b0f..867c9fe9502 100644 --- a/bundles/slim/CHANGELOG.md +++ b/bundles/slim/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/slim + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/bundles/slim/package.dist.json b/bundles/slim/package.dist.json index 040cf2594aa..7b203ff0a6c 100644 --- a/bundles/slim/package.dist.json +++ b/bundles/slim/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/slim", - "version": "3.7.0", + "version": "3.8.0", "description": "Easily create highly customizable particle animations and use them as animated backgrounds for your website. Ready to use components available also for React, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Riot.js, Inferno.", "homepage": "https://particles.js.org", "repository": { @@ -99,32 +99,32 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/basic": "3.7.0", - "@tsparticles/engine": "3.7.0", - "@tsparticles/interaction-external-attract": "3.7.0", - "@tsparticles/interaction-external-bounce": "3.7.0", - "@tsparticles/interaction-external-bubble": "3.7.0", - "@tsparticles/interaction-external-connect": "3.7.0", - "@tsparticles/interaction-external-grab": "3.7.0", - "@tsparticles/interaction-external-pause": "3.7.0", - "@tsparticles/interaction-external-push": "3.7.0", - "@tsparticles/interaction-external-remove": "3.7.0", - "@tsparticles/interaction-external-repulse": "3.7.0", - "@tsparticles/interaction-external-slow": "3.7.0", - "@tsparticles/interaction-particles-attract": "3.7.0", - "@tsparticles/interaction-particles-collisions": "3.7.0", - "@tsparticles/interaction-particles-links": "3.7.0", - "@tsparticles/move-parallax": "3.7.0", - "@tsparticles/plugin-easing-quad": "3.7.0", - "@tsparticles/shape-emoji": "3.7.0", - "@tsparticles/shape-image": "3.7.0", - "@tsparticles/shape-line": "3.7.0", - "@tsparticles/shape-polygon": "3.7.0", - "@tsparticles/shape-square": "3.7.0", - "@tsparticles/shape-star": "3.7.0", - "@tsparticles/updater-life": "3.7.0", - "@tsparticles/updater-rotate": "3.7.0", - "@tsparticles/updater-stroke-color": "3.7.0" + "@tsparticles/basic": "3.8.0", + "@tsparticles/engine": "3.8.0", + "@tsparticles/interaction-external-attract": "3.8.0", + "@tsparticles/interaction-external-bounce": "3.8.0", + "@tsparticles/interaction-external-bubble": "3.8.0", + "@tsparticles/interaction-external-connect": "3.8.0", + "@tsparticles/interaction-external-grab": "3.8.0", + "@tsparticles/interaction-external-pause": "3.8.0", + "@tsparticles/interaction-external-push": "3.8.0", + "@tsparticles/interaction-external-remove": "3.8.0", + "@tsparticles/interaction-external-repulse": "3.8.0", + "@tsparticles/interaction-external-slow": "3.8.0", + "@tsparticles/interaction-particles-attract": "3.8.0", + "@tsparticles/interaction-particles-collisions": "3.8.0", + "@tsparticles/interaction-particles-links": "3.8.0", + "@tsparticles/move-parallax": "3.8.0", + "@tsparticles/plugin-easing-quad": "3.8.0", + "@tsparticles/shape-emoji": "3.8.0", + "@tsparticles/shape-image": "3.8.0", + "@tsparticles/shape-line": "3.8.0", + "@tsparticles/shape-polygon": "3.8.0", + "@tsparticles/shape-square": "3.8.0", + "@tsparticles/shape-star": "3.8.0", + "@tsparticles/updater-life": "3.8.0", + "@tsparticles/updater-rotate": "3.8.0", + "@tsparticles/updater-stroke-color": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/bundles/slim/package.json b/bundles/slim/package.json index a5d2c287bfb..874b6751201 100644 --- a/bundles/slim/package.json +++ b/bundles/slim/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/slim", - "version": "3.7.0", + "version": "3.8.0", "description": "Easily create highly customizable particle animations and use them as animated backgrounds for your website. Ready to use components available also for React, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Riot.js, Inferno.", "homepage": "https://particles.js.org", "scripts": { @@ -107,32 +107,32 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/basic": "workspace:3.7.0", - "@tsparticles/engine": "workspace:3.7.0", - "@tsparticles/interaction-external-attract": "workspace:3.7.0", - "@tsparticles/interaction-external-bounce": "workspace:3.7.0", - "@tsparticles/interaction-external-bubble": "workspace:3.7.0", - "@tsparticles/interaction-external-connect": "workspace:3.7.0", - "@tsparticles/interaction-external-grab": "workspace:3.7.0", - "@tsparticles/interaction-external-pause": "workspace:3.7.0", - "@tsparticles/interaction-external-push": "workspace:3.7.0", - "@tsparticles/interaction-external-remove": "workspace:3.7.0", - "@tsparticles/interaction-external-repulse": "workspace:3.7.0", - "@tsparticles/interaction-external-slow": "workspace:3.7.0", - "@tsparticles/interaction-particles-attract": "workspace:3.7.0", - "@tsparticles/interaction-particles-collisions": "workspace:3.7.0", - "@tsparticles/interaction-particles-links": "workspace:3.7.0", - "@tsparticles/move-parallax": "workspace:3.7.0", - "@tsparticles/plugin-easing-quad": "workspace:3.7.0", - "@tsparticles/shape-emoji": "workspace:3.7.0", - "@tsparticles/shape-image": "workspace:3.7.0", - "@tsparticles/shape-line": "workspace:3.7.0", - "@tsparticles/shape-polygon": "workspace:3.7.0", - "@tsparticles/shape-square": "workspace:3.7.0", - "@tsparticles/shape-star": "workspace:3.7.0", - "@tsparticles/updater-life": "workspace:3.7.0", - "@tsparticles/updater-rotate": "workspace:3.7.0", - "@tsparticles/updater-stroke-color": "workspace:3.7.0" + "@tsparticles/basic": "workspace:3.8.0", + "@tsparticles/engine": "workspace:3.8.0", + "@tsparticles/interaction-external-attract": "workspace:3.8.0", + "@tsparticles/interaction-external-bounce": "workspace:3.8.0", + "@tsparticles/interaction-external-bubble": "workspace:3.8.0", + "@tsparticles/interaction-external-connect": "workspace:3.8.0", + "@tsparticles/interaction-external-grab": "workspace:3.8.0", + "@tsparticles/interaction-external-pause": "workspace:3.8.0", + "@tsparticles/interaction-external-push": "workspace:3.8.0", + "@tsparticles/interaction-external-remove": "workspace:3.8.0", + "@tsparticles/interaction-external-repulse": "workspace:3.8.0", + "@tsparticles/interaction-external-slow": "workspace:3.8.0", + "@tsparticles/interaction-particles-attract": "workspace:3.8.0", + "@tsparticles/interaction-particles-collisions": "workspace:3.8.0", + "@tsparticles/interaction-particles-links": "workspace:3.8.0", + "@tsparticles/move-parallax": "workspace:3.8.0", + "@tsparticles/plugin-easing-quad": "workspace:3.8.0", + "@tsparticles/shape-emoji": "workspace:3.8.0", + "@tsparticles/shape-image": "workspace:3.8.0", + "@tsparticles/shape-line": "workspace:3.8.0", + "@tsparticles/shape-polygon": "workspace:3.8.0", + "@tsparticles/shape-square": "workspace:3.8.0", + "@tsparticles/shape-star": "workspace:3.8.0", + "@tsparticles/updater-life": "workspace:3.8.0", + "@tsparticles/updater-rotate": "workspace:3.8.0", + "@tsparticles/updater-stroke-color": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/bundles/slim/src/index.ts b/bundles/slim/src/index.ts index faa3406c2a5..d1f0737d4df 100644 --- a/bundles/slim/src/index.ts +++ b/bundles/slim/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { loadBasic } from "@tsparticles/basic"; import { loadEasingQuadPlugin } from "@tsparticles/plugin-easing-quad"; import { loadEmojiShape } from "@tsparticles/shape-emoji"; @@ -37,7 +37,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadSlim(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await loadParallaxMover(engine, false); diff --git a/demo/electron/CHANGELOG.md b/demo/electron/CHANGELOG.md index 8c45daf7a02..0ff781cf20c 100644 --- a/demo/electron/CHANGELOG.md +++ b/demo/electron/CHANGELOG.md @@ -3,6 +3,22 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/electron-demo + +## [3.7.3](https://github.com/tsparticles/tsparticles/compare/v3.7.2...v3.7.3) (2024-12-13) + +**Note:** Version bump only for package @tsparticles/electron-demo + +## [3.7.2](https://github.com/tsparticles/tsparticles/compare/v3.7.1...v3.7.2) (2024-11-26) + +**Note:** Version bump only for package @tsparticles/electron-demo + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +**Note:** Version bump only for package @tsparticles/electron-demo + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) **Note:** Version bump only for package @tsparticles/electron-demo diff --git a/demo/electron/package.json b/demo/electron/package.json index 2d6ffbeec47..000687305b5 100644 --- a/demo/electron/package.json +++ b/demo/electron/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/electron-demo", - "version": "3.7.0", + "version": "3.8.0", "description": "", "main": "app/index.js", "private": true, @@ -14,11 +14,11 @@ "author": "Matteo Bruni ", "license": "MIT", "dependencies": { - "@tsparticles/configs": "workspace:3.7.0", - "@tsparticles/engine": "workspace:3.7.0", - "tsparticles": "workspace:3.7.0" + "@tsparticles/configs": "workspace:3.8.0", + "@tsparticles/engine": "workspace:3.8.0", + "tsparticles": "workspace:3.8.0" }, "devDependencies": { - "electron": "^33.0.0" + "electron": "^34.0.0" } } diff --git a/demo/vanilla/CHANGELOG.md b/demo/vanilla/CHANGELOG.md index ab840dd0b2c..6111ab6c72a 100644 --- a/demo/vanilla/CHANGELOG.md +++ b/demo/vanilla/CHANGELOG.md @@ -3,6 +3,24 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +### Bug Fixes + +- fixed style reparation and full screen toggle issues ([3e4a03a](https://github.com/tsparticles/tsparticles/commit/3e4a03a0c6662873088787502e9c1ee98c8473ca)) + +## [3.7.3](https://github.com/tsparticles/tsparticles/compare/v3.7.2...v3.7.3) (2024-12-13) + +**Note:** Version bump only for package @tsparticles/demo + +## [3.7.2](https://github.com/tsparticles/tsparticles/compare/v3.7.1...v3.7.2) (2024-11-26) + +**Note:** Version bump only for package @tsparticles/demo + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +**Note:** Version bump only for package @tsparticles/demo + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/demo/vanilla/package.json b/demo/vanilla/package.json index be8b0b446d2..799b788cac3 100644 --- a/demo/vanilla/package.json +++ b/demo/vanilla/package.json @@ -1,7 +1,7 @@ { "name": "@tsparticles/demo", "private": true, - "version": "3.7.0", + "version": "3.8.0", "description": "> TODO: description", "author": "Matteo Bruni ", "homepage": "https://particles.js.org", @@ -50,107 +50,107 @@ "winston": "^3.11.0" }, "dependencies": { - "@tsparticles/all": "workspace:3.7.0", - "@tsparticles/basic": "workspace:3.7.0", - "@tsparticles/confetti": "workspace:3.7.0", - "@tsparticles/configs": "workspace:3.7.0", - "@tsparticles/effect-bubble": "workspace:3.7.0", - "@tsparticles/effect-trail": "workspace:3.7.0", - "@tsparticles/engine": "workspace:3.7.0", - "@tsparticles/fireworks": "workspace:3.7.0", - "@tsparticles/interaction-external-attract": "workspace:3.7.0", - "@tsparticles/interaction-external-bounce": "workspace:3.7.0", - "@tsparticles/interaction-external-bubble": "workspace:3.7.0", - "@tsparticles/interaction-external-connect": "workspace:3.7.0", - "@tsparticles/interaction-external-grab": "workspace:3.7.0", - "@tsparticles/interaction-external-particle": "workspace:3.7.0", - "@tsparticles/interaction-external-pause": "workspace:3.7.0", - "@tsparticles/interaction-external-pop": "workspace:3.7.0", - "@tsparticles/interaction-external-push": "workspace:3.7.0", - "@tsparticles/interaction-external-remove": "workspace:3.7.0", - "@tsparticles/interaction-external-repulse": "workspace:3.7.0", - "@tsparticles/interaction-external-slow": "workspace:3.7.0", - "@tsparticles/interaction-external-trail": "workspace:3.7.0", - "@tsparticles/interaction-light": "workspace:3.7.0", - "@tsparticles/interaction-particles-attract": "workspace:3.7.0", - "@tsparticles/interaction-particles-collisions": "workspace:3.7.0", - "@tsparticles/interaction-particles-links": "workspace:3.7.0", - "@tsparticles/interaction-particles-repulse": "workspace:3.7.0", - "@tsparticles/move-base": "workspace:3.7.0", - "@tsparticles/move-parallax": "workspace:3.7.0", - "@tsparticles/path-curl-noise": "workspace:3.7.0", - "@tsparticles/path-curves": "workspace:3.7.0", - "@tsparticles/path-perlin-noise": "workspace:3.7.0", - "@tsparticles/path-polygon": "workspace:3.7.0", - "@tsparticles/path-simplex-noise": "workspace:3.7.0", - "@tsparticles/path-svg": "workspace:3.7.0", - "@tsparticles/path-zig-zag": "workspace:3.7.0", - "@tsparticles/perlin-noise": "workspace:3.7.0", - "@tsparticles/pjs": "workspace:3.7.0", - "@tsparticles/plugin-absorbers": "workspace:3.7.0", - "@tsparticles/plugin-canvas-mask": "workspace:3.7.0", - "@tsparticles/plugin-easing-back": "workspace:3.7.0", - "@tsparticles/plugin-easing-circ": "workspace:3.7.0", - "@tsparticles/plugin-easing-cubic": "workspace:3.7.0", - "@tsparticles/plugin-easing-expo": "workspace:3.7.0", - "@tsparticles/plugin-easing-linear": "workspace:3.7.0", - "@tsparticles/plugin-easing-quad": "workspace:3.7.0", - "@tsparticles/plugin-easing-quart": "workspace:3.7.0", - "@tsparticles/plugin-easing-quint": "workspace:3.7.0", - "@tsparticles/plugin-easing-sine": "workspace:3.7.0", - "@tsparticles/plugin-emitters": "workspace:3.7.0", - "@tsparticles/plugin-emitters-shape-canvas": "workspace:3.7.0", - "@tsparticles/plugin-emitters-shape-circle": "workspace:3.7.0", - "@tsparticles/plugin-emitters-shape-path": "workspace:3.7.0", - "@tsparticles/plugin-emitters-shape-polygon": "workspace:3.7.0", - "@tsparticles/plugin-emitters-shape-square": "workspace:3.7.0", - "@tsparticles/plugin-export-image": "workspace:3.7.0", - "@tsparticles/plugin-export-json": "workspace:3.7.0", - "@tsparticles/plugin-export-video": "workspace:3.7.0", - "@tsparticles/plugin-hex-color": "workspace:3.7.0", - "@tsparticles/plugin-hsl-color": "workspace:3.7.0", - "@tsparticles/plugin-hsv-color": "workspace:3.7.0", - "@tsparticles/plugin-infection": "workspace:3.7.0", - "@tsparticles/plugin-motion": "workspace:3.7.0", - "@tsparticles/plugin-named-color": "workspace:3.7.0", - "@tsparticles/plugin-oklch-color": "workspace:3.7.0", - "@tsparticles/plugin-poisson-disc": "workspace:3.7.0", - "@tsparticles/plugin-polygon-mask": "workspace:3.7.0", - "@tsparticles/plugin-rgb-color": "workspace:3.7.0", - "@tsparticles/plugin-sounds": "workspace:3.7.0", - "@tsparticles/shape-arrow": "workspace:3.7.0", - "@tsparticles/shape-cards": "workspace:3.7.0", - "@tsparticles/shape-circle": "workspace:3.7.0", - "@tsparticles/shape-cog": "workspace:3.7.0", - "@tsparticles/shape-emoji": "workspace:3.7.0", - "@tsparticles/shape-heart": "workspace:3.7.0", - "@tsparticles/shape-image": "workspace:3.7.0", - "@tsparticles/shape-infinity": "workspace:3.7.0", - "@tsparticles/shape-line": "workspace:3.7.0", - "@tsparticles/shape-path": "workspace:3.7.0", - "@tsparticles/shape-polygon": "workspace:3.7.0", - "@tsparticles/shape-rounded-polygon": "workspace:3.7.0", - "@tsparticles/shape-rounded-rect": "workspace:3.7.0", - "@tsparticles/shape-spiral": "workspace:3.7.0", - "@tsparticles/shape-square": "workspace:3.7.0", - "@tsparticles/shape-star": "workspace:3.7.0", - "@tsparticles/shape-text": "workspace:3.7.0", - "@tsparticles/simplex-noise": "workspace:3.7.0", - "@tsparticles/slim": "workspace:3.7.0", - "@tsparticles/updater-color": "workspace:3.7.0", - "@tsparticles/updater-destroy": "workspace:3.7.0", - "@tsparticles/updater-gradient": "workspace:3.7.0", - "@tsparticles/updater-life": "workspace:3.7.0", - "@tsparticles/updater-opacity": "workspace:3.7.0", - "@tsparticles/updater-orbit": "workspace:3.7.0", - "@tsparticles/updater-out-modes": "workspace:3.7.0", - "@tsparticles/updater-roll": "workspace:3.7.0", - "@tsparticles/updater-rotate": "workspace:3.7.0", - "@tsparticles/updater-size": "workspace:3.7.0", - "@tsparticles/updater-stroke-color": "workspace:3.7.0", - "@tsparticles/updater-tilt": "workspace:3.7.0", - "@tsparticles/updater-twinkle": "workspace:3.7.0", - "@tsparticles/updater-wobble": "workspace:3.7.0", - "tsparticles": "workspace:3.7.0" + "@tsparticles/all": "workspace:3.8.0", + "@tsparticles/basic": "workspace:3.8.0", + "@tsparticles/confetti": "workspace:3.8.0", + "@tsparticles/configs": "workspace:3.8.0", + "@tsparticles/effect-bubble": "workspace:3.8.0", + "@tsparticles/effect-trail": "workspace:3.8.0", + "@tsparticles/engine": "workspace:3.8.0", + "@tsparticles/fireworks": "workspace:3.8.0", + "@tsparticles/interaction-external-attract": "workspace:3.8.0", + "@tsparticles/interaction-external-bounce": "workspace:3.8.0", + "@tsparticles/interaction-external-bubble": "workspace:3.8.0", + "@tsparticles/interaction-external-connect": "workspace:3.8.0", + "@tsparticles/interaction-external-grab": "workspace:3.8.0", + "@tsparticles/interaction-external-particle": "workspace:3.8.0", + "@tsparticles/interaction-external-pause": "workspace:3.8.0", + "@tsparticles/interaction-external-pop": "workspace:3.8.0", + "@tsparticles/interaction-external-push": "workspace:3.8.0", + "@tsparticles/interaction-external-remove": "workspace:3.8.0", + "@tsparticles/interaction-external-repulse": "workspace:3.8.0", + "@tsparticles/interaction-external-slow": "workspace:3.8.0", + "@tsparticles/interaction-external-trail": "workspace:3.8.0", + "@tsparticles/interaction-light": "workspace:3.8.0", + "@tsparticles/interaction-particles-attract": "workspace:3.8.0", + "@tsparticles/interaction-particles-collisions": "workspace:3.8.0", + "@tsparticles/interaction-particles-links": "workspace:3.8.0", + "@tsparticles/interaction-particles-repulse": "workspace:3.8.0", + "@tsparticles/move-base": "workspace:3.8.0", + "@tsparticles/move-parallax": "workspace:3.8.0", + "@tsparticles/path-curl-noise": "workspace:3.8.0", + "@tsparticles/path-curves": "workspace:3.8.0", + "@tsparticles/path-perlin-noise": "workspace:3.8.0", + "@tsparticles/path-polygon": "workspace:3.8.0", + "@tsparticles/path-simplex-noise": "workspace:3.8.0", + "@tsparticles/path-svg": "workspace:3.8.0", + "@tsparticles/path-zig-zag": "workspace:3.8.0", + "@tsparticles/perlin-noise": "workspace:3.8.0", + "@tsparticles/pjs": "workspace:3.8.0", + "@tsparticles/plugin-absorbers": "workspace:3.8.0", + "@tsparticles/plugin-canvas-mask": "workspace:3.8.0", + "@tsparticles/plugin-easing-back": "workspace:3.8.0", + "@tsparticles/plugin-easing-circ": "workspace:3.8.0", + "@tsparticles/plugin-easing-cubic": "workspace:3.8.0", + "@tsparticles/plugin-easing-expo": "workspace:3.8.0", + "@tsparticles/plugin-easing-linear": "workspace:3.8.0", + "@tsparticles/plugin-easing-quad": "workspace:3.8.0", + "@tsparticles/plugin-easing-quart": "workspace:3.8.0", + "@tsparticles/plugin-easing-quint": "workspace:3.8.0", + "@tsparticles/plugin-easing-sine": "workspace:3.8.0", + "@tsparticles/plugin-emitters": "workspace:3.8.0", + "@tsparticles/plugin-emitters-shape-canvas": "workspace:3.8.0", + "@tsparticles/plugin-emitters-shape-circle": "workspace:3.8.0", + "@tsparticles/plugin-emitters-shape-path": "workspace:3.8.0", + "@tsparticles/plugin-emitters-shape-polygon": "workspace:3.8.0", + "@tsparticles/plugin-emitters-shape-square": "workspace:3.8.0", + "@tsparticles/plugin-export-image": "workspace:3.8.0", + "@tsparticles/plugin-export-json": "workspace:3.8.0", + "@tsparticles/plugin-export-video": "workspace:3.8.0", + "@tsparticles/plugin-hex-color": "workspace:3.8.0", + "@tsparticles/plugin-hsl-color": "workspace:3.8.0", + "@tsparticles/plugin-hsv-color": "workspace:3.8.0", + "@tsparticles/plugin-infection": "workspace:3.8.0", + "@tsparticles/plugin-motion": "workspace:3.8.0", + "@tsparticles/plugin-named-color": "workspace:3.8.0", + "@tsparticles/plugin-oklch-color": "workspace:3.8.0", + "@tsparticles/plugin-poisson-disc": "workspace:3.8.0", + "@tsparticles/plugin-polygon-mask": "workspace:3.8.0", + "@tsparticles/plugin-rgb-color": "workspace:3.8.0", + "@tsparticles/plugin-sounds": "workspace:3.8.0", + "@tsparticles/shape-arrow": "workspace:3.8.0", + "@tsparticles/shape-cards": "workspace:3.8.0", + "@tsparticles/shape-circle": "workspace:3.8.0", + "@tsparticles/shape-cog": "workspace:3.8.0", + "@tsparticles/shape-emoji": "workspace:3.8.0", + "@tsparticles/shape-heart": "workspace:3.8.0", + "@tsparticles/shape-image": "workspace:3.8.0", + "@tsparticles/shape-infinity": "workspace:3.8.0", + "@tsparticles/shape-line": "workspace:3.8.0", + "@tsparticles/shape-path": "workspace:3.8.0", + "@tsparticles/shape-polygon": "workspace:3.8.0", + "@tsparticles/shape-rounded-polygon": "workspace:3.8.0", + "@tsparticles/shape-rounded-rect": "workspace:3.8.0", + "@tsparticles/shape-spiral": "workspace:3.8.0", + "@tsparticles/shape-square": "workspace:3.8.0", + "@tsparticles/shape-star": "workspace:3.8.0", + "@tsparticles/shape-text": "workspace:3.8.0", + "@tsparticles/simplex-noise": "workspace:3.8.0", + "@tsparticles/slim": "workspace:3.8.0", + "@tsparticles/updater-color": "workspace:3.8.0", + "@tsparticles/updater-destroy": "workspace:3.8.0", + "@tsparticles/updater-gradient": "workspace:3.8.0", + "@tsparticles/updater-life": "workspace:3.8.0", + "@tsparticles/updater-opacity": "workspace:3.8.0", + "@tsparticles/updater-orbit": "workspace:3.8.0", + "@tsparticles/updater-out-modes": "workspace:3.8.0", + "@tsparticles/updater-roll": "workspace:3.8.0", + "@tsparticles/updater-rotate": "workspace:3.8.0", + "@tsparticles/updater-size": "workspace:3.8.0", + "@tsparticles/updater-stroke-color": "workspace:3.8.0", + "@tsparticles/updater-tilt": "workspace:3.8.0", + "@tsparticles/updater-twinkle": "workspace:3.8.0", + "@tsparticles/updater-wobble": "workspace:3.8.0", + "tsparticles": "workspace:3.8.0" } } diff --git a/demo/vanilla/public/javascripts/confetti.js b/demo/vanilla/public/javascripts/confetti.js index 6cfe15032d0..a4406a3e902 100644 --- a/demo/vanilla/public/javascripts/confetti.js +++ b/demo/vanilla/public/javascripts/confetti.js @@ -1,6 +1,6 @@ -var end = Date.now() + (15 * 1000); +const end = Date.now() + (15 * 1000), + colors = ['#bb0000', '#ffffff']; -var colors = ['#bb0000', '#ffffff']; (function frame() { confetti({ @@ -21,4 +21,4 @@ var colors = ['#bb0000', '#ffffff']; if (Date.now() < end) { requestAnimationFrame(frame); } -}()); \ No newline at end of file +}()); diff --git a/demo/vanilla/views/confetti.pug b/demo/vanilla/views/confetti.pug index 74a0c392949..cf6f55a7167 100644 --- a/demo/vanilla/views/confetti.pug +++ b/demo/vanilla/views/confetti.pug @@ -23,6 +23,7 @@ html(lang="en") link(href="/stylesheets/main.css" rel="stylesheet" type="text/css") body(style="background-color: #000;") + canvas#confetti(style="width: 200px;height:200px") script(src="/jquery/jquery.slim.min.js") script(src="/bootstrap/js/bootstrap.bundle.min.js") script(src="/fontawesome/js/all.js") diff --git a/demo/vanilla/views/index.pug b/demo/vanilla/views/index.pug index 15b7ca833ec..fb19af225ea 100644 --- a/demo/vanilla/views/index.pug +++ b/demo/vanilla/views/index.pug @@ -21,6 +21,11 @@ html(lang="en") link(href="/fontawesome/css/all.css" rel="stylesheet" type="text/css") link(href="/jsoneditor/jsoneditor.css" rel="stylesheet" type="text/css") link(href="/stylesheets/main.css" rel="stylesheet" type="text/css") + style. + #tsparticles { + width: 500px; + height: 500px; + } body .container-fluid.m-0.vh-100 diff --git a/demo/vanilla_new/CHANGELOG.md b/demo/vanilla_new/CHANGELOG.md index 95859dfa6d4..1fd53edd050 100644 --- a/demo/vanilla_new/CHANGELOG.md +++ b/demo/vanilla_new/CHANGELOG.md @@ -3,6 +3,22 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/demo-new + +## [3.7.3](https://github.com/tsparticles/tsparticles/compare/v3.7.2...v3.7.3) (2024-12-13) + +**Note:** Version bump only for package @tsparticles/demo-new + +## [3.7.2](https://github.com/tsparticles/tsparticles/compare/v3.7.1...v3.7.2) (2024-11-26) + +**Note:** Version bump only for package @tsparticles/demo-new + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +**Note:** Version bump only for package @tsparticles/demo-new + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) **Note:** Version bump only for package @tsparticles/demo-new diff --git a/demo/vanilla_new/package.json b/demo/vanilla_new/package.json index c46a21e8761..49d7a503de2 100644 --- a/demo/vanilla_new/package.json +++ b/demo/vanilla_new/package.json @@ -1,7 +1,7 @@ { "name": "@tsparticles/demo-new", "private": true, - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles Demo Website", "main": "index.html", "scripts": { @@ -39,17 +39,17 @@ "sass": "^1.69.5" }, "dependencies": { - "@tsparticles/configs": "workspace:3.7.0", - "@tsparticles/engine": "workspace:3.7.0", - "@tsparticles/interaction-light": "workspace:3.7.0", - "@tsparticles/interaction-particles-repulse": "workspace:3.7.0", - "@tsparticles/path-curves": "workspace:3.7.0", - "@tsparticles/path-perlin-noise": "workspace:3.7.0", - "@tsparticles/path-polygon": "workspace:3.7.0", - "@tsparticles/path-simplex-noise": "workspace:3.7.0", - "@tsparticles/plugin-infection": "workspace:3.7.0", - "@tsparticles/updater-gradient": "workspace:3.7.0", - "@tsparticles/updater-orbit": "workspace:3.7.0", - "tsparticles": "workspace:3.7.0" + "@tsparticles/configs": "workspace:3.8.0", + "@tsparticles/engine": "workspace:3.8.0", + "@tsparticles/interaction-light": "workspace:3.8.0", + "@tsparticles/interaction-particles-repulse": "workspace:3.8.0", + "@tsparticles/path-curves": "workspace:3.8.0", + "@tsparticles/path-perlin-noise": "workspace:3.8.0", + "@tsparticles/path-polygon": "workspace:3.8.0", + "@tsparticles/path-simplex-noise": "workspace:3.8.0", + "@tsparticles/plugin-infection": "workspace:3.8.0", + "@tsparticles/updater-gradient": "workspace:3.8.0", + "@tsparticles/updater-orbit": "workspace:3.8.0", + "tsparticles": "workspace:3.8.0" } } diff --git a/demo/vite/CHANGELOG.md b/demo/vite/CHANGELOG.md index 069627ba63d..cc717553679 100644 --- a/demo/vite/CHANGELOG.md +++ b/demo/vite/CHANGELOG.md @@ -3,6 +3,24 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/vite-demo + +## [3.7.3](https://github.com/tsparticles/tsparticles/compare/v3.7.2...v3.7.3) (2024-12-13) + +**Note:** Version bump only for package @tsparticles/vite-demo + +## [3.7.2](https://github.com/tsparticles/tsparticles/compare/v3.7.1...v3.7.2) (2024-11-26) + +**Note:** Version bump only for package @tsparticles/vite-demo + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Bug Fixes diff --git a/demo/vite/package.json b/demo/vite/package.json index cba525a1638..acc59537264 100644 --- a/demo/vite/package.json +++ b/demo/vite/package.json @@ -1,7 +1,7 @@ { "name": "@tsparticles/vite-demo", "private": true, - "version": "3.7.0", + "version": "3.8.0", "type": "module", "scripts": { "dev": "vite", @@ -9,12 +9,12 @@ "preview": "vite preview" }, "dependencies": { - "@tsparticles/all": "workspace:3.7.0", - "@tsparticles/configs": "workspace:3.7.0", - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/all": "workspace:3.8.0", + "@tsparticles/configs": "workspace:3.8.0", + "@tsparticles/engine": "workspace:3.8.0" }, "devDependencies": { "typescript": "^5.3.3", - "vite": "^5.1.4" + "vite": "^6.0.0" } } diff --git a/demo/vite/src/main.ts b/demo/vite/src/main.ts index 88c2ceec159..be5459c82bc 100644 --- a/demo/vite/src/main.ts +++ b/demo/vite/src/main.ts @@ -7,10 +7,11 @@ import configs from "@tsparticles/configs"; await loadAll(engine); const keys = Object.keys(configs), - randomKey = keys[Math.floor(Math.random() * keys.length)] as keyof typeof configs; + randomKey = keys[Math.floor(Math.random() * keys.length)] as keyof typeof configs, + options = configs[randomKey]; await engine.load({ id: "tsparticles", - options: configs[randomKey], + options, }); })(tsParticles); diff --git a/effects/bubble/CHANGELOG.md b/effects/bubble/CHANGELOG.md index f94e377562b..7eb89b1e79a 100644 --- a/effects/bubble/CHANGELOG.md +++ b/effects/bubble/CHANGELOG.md @@ -3,6 +3,18 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +### Bug Fixes + +- fixed imports and constants ([caaf603](https://github.com/tsparticles/tsparticles/commit/caaf603932fb64de5c34bc075e0bbf2fb7821818)) + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/effects/bubble/package.dist.json b/effects/bubble/package.dist.json index 34dac86ffd1..7cf60e6cf37 100644 --- a/effects/bubble/package.dist.json +++ b/effects/bubble/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/effect-bubble", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles bubble effect", "homepage": "https://particles.js.org", "repository": { @@ -100,7 +100,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/effects/bubble/package.json b/effects/bubble/package.json index a7c644fa7ed..967ef164a3d 100644 --- a/effects/bubble/package.json +++ b/effects/bubble/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/effect-bubble", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles bubble effect", "homepage": "https://particles.js.org", "scripts": { @@ -108,7 +108,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/effects/bubble/src/BubbleDrawer.ts b/effects/bubble/src/BubbleDrawer.ts index 058e2c552a9..e4cd2de8d84 100644 --- a/effects/bubble/src/BubbleDrawer.ts +++ b/effects/bubble/src/BubbleDrawer.ts @@ -1,9 +1,6 @@ -import type { IEffectDrawer, IShapeDrawData } from "@tsparticles/engine"; +import { type IEffectDrawer, type IShapeDrawData, defaultAngle, doublePI } from "@tsparticles/engine"; -const bubbleFactor = 3, - minAngle = 0, - double = 2, - maxAngle = Math.PI * double; +const bubbleFactor = 3; export class BubbleDrawer implements IEffectDrawer { draw(data: IShapeDrawData): void { @@ -11,7 +8,7 @@ export class BubbleDrawer implements IEffectDrawer { bubbleRadius = radius / bubbleFactor; context.beginPath(); - context.arc(bubbleRadius, -bubbleRadius, bubbleRadius, minAngle, maxAngle, false); + context.arc(bubbleRadius, -bubbleRadius, bubbleRadius, defaultAngle, doublePI, false); context.closePath(); context.fillStyle = "#fff9"; context.fill(); diff --git a/effects/bubble/src/index.ts b/effects/bubble/src/index.ts index cb1cb34bbf6..7aedbf017a9 100644 --- a/effects/bubble/src/index.ts +++ b/effects/bubble/src/index.ts @@ -1,5 +1,5 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; import { BubbleDrawer } from "./BubbleDrawer.js"; +import { type Engine } from "@tsparticles/engine"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadBubbleEffect(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addEffect("bubble", new BubbleDrawer(), refresh); } diff --git a/effects/trail/CHANGELOG.md b/effects/trail/CHANGELOG.md index a711fa8ef44..a485df66ef6 100644 --- a/effects/trail/CHANGELOG.md +++ b/effects/trail/CHANGELOG.md @@ -3,6 +3,18 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +### Bug Fixes + +- fixed imports and constants ([caaf603](https://github.com/tsparticles/tsparticles/commit/caaf603932fb64de5c34bc075e0bbf2fb7821818)) + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/effects/trail/package.dist.json b/effects/trail/package.dist.json index 9b432781791..d12d121658a 100644 --- a/effects/trail/package.dist.json +++ b/effects/trail/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/effect-trail", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles trail effect", "homepage": "https://particles.js.org", "repository": { @@ -100,7 +100,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/effects/trail/package.json b/effects/trail/package.json index 60f0a17cf40..eff6ae58d2b 100644 --- a/effects/trail/package.json +++ b/effects/trail/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/effect-trail", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles trail effect", "homepage": "https://particles.js.org", "scripts": { @@ -108,7 +108,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/effects/trail/src/TrailDrawer.ts b/effects/trail/src/TrailDrawer.ts index 587fed76923..5943ab88975 100644 --- a/effects/trail/src/TrailDrawer.ts +++ b/effects/trail/src/TrailDrawer.ts @@ -6,18 +6,18 @@ import { type IShapeValues, type Particle, type RangeValue, + defaultAlpha, + double, getRangeValue, + half, + none, + originPoint, } from "@tsparticles/engine"; -const double = 2, - minTrailLength = 2, +const minTrailLength = 2, trailLengthOffset = 1, - noItems = 0, - half = 0.5, minWidth = -1, - defaultLength = 10, - defaultAlpha = 1, - origin = { x: 0, y: 0 } as ICoordinates; + defaultLength = 10; interface TrailStep { color: string | CanvasGradient | CanvasPattern; @@ -93,7 +93,7 @@ export class TrailDrawer implements IEffectDrawer { let lastPos = trail[trailLength - trailLengthOffset].position; - for (let i = trailLength; i > noItems; i--) { + for (let i = trailLength; i > none; i--) { const step = trail[i - trailLengthOffset], position = step.position, stepTransformData = particle.trailTransform @@ -127,8 +127,8 @@ export class TrailDrawer implements IEffectDrawer { } context.lineTo( - Math.abs(lastPos.x - position.x) > canvasSize.width * half ? warp.x : origin.x, - Math.abs(lastPos.y - position.y) > canvasSize.height * half ? warp.y : origin.y, + Math.abs(lastPos.x - position.x) > canvasSize.width * half ? warp.x : originPoint.x, + Math.abs(lastPos.y - position.y) > canvasSize.height * half ? warp.y : originPoint.y, ); const width = Math.max((i / trailLength) * diameter, pxRatio, particle.trailMinWidth ?? minWidth), diff --git a/effects/trail/src/index.ts b/effects/trail/src/index.ts index d27511b91fa..255c00274a5 100644 --- a/effects/trail/src/index.ts +++ b/effects/trail/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { TrailDrawer } from "./TrailDrawer.js"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadTrailEffect(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addEffect("trail", new TrailDrawer(), refresh); } diff --git a/engine/CHANGELOG.md b/engine/CHANGELOG.md index 672fbb6816e..95e81da677d 100644 --- a/engine/CHANGELOG.md +++ b/engine/CHANGELOG.md @@ -3,6 +3,22 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +### Bug Fixes + +- fixed clone style, closes [#5443](https://github.com/tsparticles/tsparticles/issues/5443) ([2127236](https://github.com/tsparticles/tsparticles/commit/21272366d002d78ba801ff17262f46b474381e1d)) +- fixed imports and constants ([caaf603](https://github.com/tsparticles/tsparticles/commit/caaf603932fb64de5c34bc075e0bbf2fb7821818)) +- fixed style reparation and full screen toggle issues ([3e4a03a](https://github.com/tsparticles/tsparticles/commit/3e4a03a0c6662873088787502e9c1ee98c8473ca)) +- improved style duplication ([55a8425](https://github.com/tsparticles/tsparticles/commit/55a84255b013ca6b08b77ef38ba2a1d4a19a0fca)) + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fix resize issues introduced in 3.7.0 with the new size variable ([41b507f](https://github.com/tsparticles/tsparticles/commit/41b507f6fc638a4ce77614621d9300ed7099ebce)) +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Bug Fixes diff --git a/engine/package.dist.json b/engine/package.dist.json index 0e9f262ddff..7bb872715e7 100644 --- a/engine/package.dist.json +++ b/engine/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/engine", - "version": "3.7.0", + "version": "3.8.0", "description": "Easily create highly customizable particle, confetti and fireworks animations and use them as animated backgrounds for your website. Ready to use components available also for React, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Riot.js, Inferno.", "homepage": "https://particles.js.org", "scripts": { diff --git a/engine/package.json b/engine/package.json index f95625a79e1..e0a09a972ef 100644 --- a/engine/package.json +++ b/engine/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/engine", - "version": "3.7.0", + "version": "3.8.0", "description": "Easily create highly customizable particle, confetti and fireworks animations and use them as animated backgrounds for your website. Ready to use components available also for React, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Riot.js, Inferno.", "homepage": "https://particles.js.org", "scripts": { diff --git a/engine/src/Core/Canvas.ts b/engine/src/Core/Canvas.ts index d4a9301b1d9..af0ae83c063 100644 --- a/engine/src/Core/Canvas.ts +++ b/engine/src/Core/Canvas.ts @@ -1,8 +1,17 @@ import { clear, drawParticle, drawParticlePlugin, drawPlugin, paintBase, paintImage } from "../Utils/CanvasUtils.js"; -import { deepExtend, getLogger, safeMutationObserver } from "../Utils/Utils.js"; +import { cloneStyle, getFullScreenStyle, getLogger, safeMutationObserver } from "../Utils/Utils.js"; +import { + defaultOpacity, + defaultTransformValue, + generatedAttribute, + inverseFactorNumerator, + minimumLength, + minimumSize, + zIndexFactorOffset, +} from "./Utils/Constants.js"; import { getStyleFromHsl, getStyleFromRgb, rangeColorToHsl, rangeColorToRgb } from "../Utils/ColorUtils.js"; import type { Container } from "./Container.js"; -import type { Engine } from "./Engine"; +import type { Engine } from "./Engine.js"; import type { IContainerPlugin } from "./Interfaces/IContainerPlugin.js"; import type { IDelta } from "./Interfaces/IDelta.js"; import type { IDimension } from "./Interfaces/IDimension.js"; @@ -12,7 +21,6 @@ import type { IParticleTransformValues } from "./Interfaces/IParticleTransformVa import type { IParticleUpdater } from "./Interfaces/IParticleUpdater.js"; import type { ITrailFillData } from "./Interfaces/ITrailFillData.js"; import type { Particle } from "./Particle.js"; -import { generatedAttribute } from "./Utils/Constants.js"; /** * @param factor - @@ -24,11 +32,10 @@ function setTransformValue( newFactor: IParticleTransformValues, key: keyof IParticleTransformValues, ): void { - const newValue = newFactor[key], - defaultValue = 1; + const newValue = newFactor[key]; if (newValue !== undefined) { - factor[key] = (factor[key] ?? defaultValue) * newValue; + factor[key] = (factor[key] ?? defaultTransformValue) * newValue; } } @@ -38,7 +45,7 @@ function setTransformValue( * @param style - * @param important - */ -function setStyle(canvas: HTMLCanvasElement, style?: Record, important = false): void { +function setStyle(canvas: HTMLCanvasElement, style?: CSSStyleDeclaration, important = false): void { if (!style) { return; } @@ -55,10 +62,32 @@ function setStyle(canvas: HTMLCanvasElement, style?: Record(); + + for (const key in elementStyle) { + if (!Object.prototype.hasOwnProperty.call(elementStyle, key)) { + continue; + } + + keys.add(elementStyle[key]); + } + for (const key in style) { - const value = style[key]; + if (!Object.prototype.hasOwnProperty.call(style, key)) { + continue; + } - elementStyle.setProperty(key, value, important ? "important" : ""); + keys.add(style[key]); + } + + for (const key of keys) { + const value = style.getPropertyValue(key); + + if (!value) { + elementStyle.removeProperty(key); + } else { + elementStyle.setProperty(key, value, important ? "important" : ""); + } } } @@ -88,7 +117,7 @@ export class Canvas { private readonly _engine; private _generated; private _mutationObserver?: MutationObserver; - private _originalStyle?: Record; + private _originalStyle?: CSSStyleDeclaration; private _postDrawUpdaters: IParticleUpdater[]; private _preDrawUpdaters: IParticleUpdater[]; private _resizePlugins: IContainerPlugin[]; @@ -136,8 +165,7 @@ export class Canvas { clear(): void { const options = this.container.actualOptions, trail = options.particles.move.trail, - trailFill = this._trailFill, - minimumLength = 0; + trailFill = this._trailFill; if (options.backgroundMask.enable) { this.paint(); @@ -164,6 +192,8 @@ export class Canvas { const element = this.element; element?.remove(); + + this.element = undefined; } else { this._resetOriginalStyle(); } @@ -209,8 +239,7 @@ export class Canvas { return; } - const radius = particle.getRadius(), - minimumSize = 0; + const radius = particle.getRadius(); if (radius <= minimumSize) { return; @@ -237,10 +266,8 @@ export class Canvas { const container = this.container, options = container.actualOptions, zIndexOptions = particle.options.zIndex, - zIndexFactorOffset = 1, zIndexFactor = zIndexFactorOffset - particle.zIndexFactor, zOpacityFactor = zIndexFactor ** zIndexOptions.opacityRate, - defaultOpacity = 1, opacity = particle.bubble.opacity ?? particle.opacity?.value ?? defaultOpacity, strokeOpacity = particle.strokeOpacity ?? opacity, zOpacity = opacity * zOpacityFactor, @@ -410,22 +437,26 @@ export class Canvas { : this._generated; this.element = canvas; this.element.ariaHidden = "true"; - this._originalStyle = deepExtend({}, this.element.style) as Record; + this._originalStyle = cloneStyle(this.element.style); const standardSize = this._standardSize; standardSize.height = canvas.offsetHeight; standardSize.width = canvas.offsetWidth; - const pxRatio = this.container.retina.pixelRatio; - - const retinaSize = this.size; + const pxRatio = this.container.retina.pixelRatio, + retinaSize = this.size; - retinaSize.height = standardSize.height * pxRatio; - retinaSize.width = standardSize.width * pxRatio; + canvas.height = retinaSize.height = standardSize.height * pxRatio; + canvas.width = retinaSize.width = standardSize.width * pxRatio; this._context = this.element.getContext("2d"); + this._safeMutationObserver(obs => obs.disconnect()); + + this.container.retina.init(); + this.initBackground(); + this._safeMutationObserver(obs => { if (!this.element || !(this.element instanceof Node)) { return; @@ -433,9 +464,6 @@ export class Canvas { obs.observe(this.element, { attributes: true }); }); - - this.container.retina.init(); - this.initBackground(); } /** @@ -475,22 +503,31 @@ export class Canvas { newSize = { width: this.element.offsetWidth, height: this.element.offsetHeight, + }, + pxRatio = container.retina.pixelRatio, + retinaSize = { + width: newSize.width * pxRatio, + height: newSize.height * pxRatio, }; - if (newSize.height === currentSize.height && newSize.width === currentSize.width) { + if ( + newSize.height === currentSize.height && + newSize.width === currentSize.width && + retinaSize.height === this.element.height && + retinaSize.width === this.element.width + ) { return false; } - const oldSize = { ...currentSize }, - pxRatio = container.retina.pixelRatio; + const oldSize = { ...currentSize }; currentSize.height = newSize.height; currentSize.width = newSize.width; - const retinaSize = this.size; + const canvasSize = this.size; - this.element.width = retinaSize.width = currentSize.width * pxRatio; - this.element.height = retinaSize.height = currentSize.height * pxRatio; + this.element.width = canvasSize.width = retinaSize.width; + this.element.height = canvasSize.height = retinaSize.height; if (this.container.started) { container.particles.setResizeFactor({ @@ -646,15 +683,13 @@ export class Canvas { } if (this._fullScreen) { - this._originalStyle = deepExtend({}, element.style) as Record; - this._setFullScreenStyle(); } else { this._resetOriginalStyle(); } for (const key in options.style) { - if (!key || !options.style) { + if (!key || !options.style || !Object.prototype.hasOwnProperty.call(options.style, key)) { continue; } @@ -677,8 +712,7 @@ export class Canvas { return; } - const factorNumerator = 1, - opacity = factorNumerator / trail.length; + const opacity = inverseFactorNumerator / trail.length; if (trailFill.color) { const fillColor = rangeColorToRgb(this._engine, trailFill.color); @@ -752,11 +786,11 @@ export class Canvas { const element = this.element, originalStyle = this._originalStyle; - if (!(element && originalStyle)) { + if (!element || !originalStyle) { return; } - setStyle(element, originalStyle); + setStyle(element, originalStyle, true); }; private readonly _safeMutationObserver: (callback: (observer: MutationObserver) => void) => void = callback => { @@ -774,21 +808,6 @@ export class Canvas { return; } - const radix = 10, - zIndex = this.container.actualOptions.fullScreen.zIndex.toString(radix); - - setStyle( - element, - { - position: "fixed", - "z-index": zIndex, - zIndex: zIndex, - top: "0", - left: "0", - width: "100%", - height: "100%", - }, - true, - ); + setStyle(element, getFullScreenStyle(this.container.actualOptions.fullScreen.zIndex), true); }; } diff --git a/engine/src/Core/Container.ts b/engine/src/Core/Container.ts index 0b4af3111c7..b89b9c2956d 100644 --- a/engine/src/Core/Container.ts +++ b/engine/src/Core/Container.ts @@ -1,5 +1,16 @@ import { animate, cancelAnimation, getRangeValue } from "../Utils/NumberUtils.js"; -import { errorPrefix, millisecondsToSeconds } from "./Utils/Constants.js"; +import { + clickRadius, + defaultFps, + defaultFpsLimit, + errorPrefix, + millisecondsToSeconds, + minCoordinate, + minFpsLimit, + removeDeleteCount, + removeMinIndex, + touchEndLengthOffset, +} from "./Utils/Constants.js"; import { getLogger, safeIntersectionObserver } from "../Utils/Utils.js"; import { Canvas } from "./Canvas.js"; import type { Engine } from "./Engine.js"; @@ -30,8 +41,6 @@ function guardCheck(container: Container): boolean { return container && !container.destroyed; } -const defaultFps = 60; - /** * @param value - * @param fpsLimit - @@ -265,10 +274,9 @@ export class Container { pos = { x: mouseEvent.offsetX || mouseEvent.clientX, y: mouseEvent.offsetY || mouseEvent.clientY, - }, - radius = 1; + }; - clickOrTouchHandler(e, pos, radius); + clickOrTouchHandler(e, pos, clickRadius); }, touchStartHandler = (): void => { if (!guardCheck(this)) { @@ -291,13 +299,12 @@ export class Container { } if (touched && !touchMoved) { - const touchEvent = e as TouchEvent, - lengthOffset = 1; + const touchEvent = e as TouchEvent; - let lastTouch = touchEvent.touches[touchEvent.touches.length - lengthOffset]; + let lastTouch = touchEvent.touches[touchEvent.touches.length - touchEndLengthOffset]; if (!lastTouch) { - lastTouch = touchEvent.changedTouches[touchEvent.changedTouches.length - lengthOffset]; + lastTouch = touchEvent.changedTouches[touchEvent.changedTouches.length - touchEndLengthOffset]; if (!lastTouch) { return; @@ -306,7 +313,6 @@ export class Container { const element = this.canvas.element, canvasRect = element ? element.getBoundingClientRect() : undefined, - minCoordinate = 0, pos = { x: lastTouch.clientX - (canvasRect ? canvasRect.left : minCoordinate), y: lastTouch.clientY - (canvasRect ? canvasRect.top : minCoordinate), @@ -416,13 +422,10 @@ export class Container { if (remove) { const mainArr = this._engine.items, - idx = mainArr.findIndex(t => t === this), - minIndex = 0; - - if (idx >= minIndex) { - const deleteCount = 1; + idx = mainArr.findIndex(t => t === this); - mainArr.splice(idx, deleteCount); + if (idx >= removeMinIndex) { + mainArr.splice(idx, removeDeleteCount); } } @@ -542,10 +545,6 @@ export class Container { this._duration = getRangeValue(duration) * millisecondsToSeconds; this._delay = getRangeValue(delay) * millisecondsToSeconds; this._lifeTime = 0; - - const defaultFpsLimit = 120, - minFpsLimit = 0; - this.fpsLimit = fpsLimit > minFpsLimit ? fpsLimit : defaultFpsLimit; this._smooth = smooth; diff --git a/engine/src/Core/Engine.ts b/engine/src/Core/Engine.ts index e703fe429cf..acb3ca425cd 100644 --- a/engine/src/Core/Engine.ts +++ b/engine/src/Core/Engine.ts @@ -2,16 +2,28 @@ * Engine class for creating the singleton on window. * It's a singleton class for initializing {@link Container} instances */ -import type { EasingType, EasingTypeAlt } from "../Enums/Types/EasingType"; -import { errorPrefix, generatedAttribute } from "./Utils/Constants.js"; +import type { EasingType, EasingTypeAlt } from "../Enums/Types/EasingType.js"; +import { + canvasFirstIndex, + canvasTag, + errorPrefix, + generatedAttribute, + generatedFalse, + generatedTrue, + loadMinIndex, + loadRandomFactor, + none, + one, + removeDeleteCount, +} from "./Utils/Constants.js"; import { executeOnSingleOrMultiple, getLogger, itemFromSingleOrMultiple } from "../Utils/Utils.js"; import { Container } from "./Container.js"; import type { CustomEventArgs } from "../Types/CustomEventArgs.js"; import type { CustomEventListener } from "../Types/CustomEventListener.js"; -import type { EasingFunction } from "../Types/EasingFunction"; +import type { EasingFunction } from "../Types/EasingFunction.js"; import { EventDispatcher } from "../Utils/EventDispatcher.js"; import { EventType } from "../Enums/Types/EventType.js"; -import type { IColorManager } from "./Interfaces/IColorManager"; +import type { IColorManager } from "./Interfaces/IColorManager.js"; import type { IContainerPlugin } from "./Interfaces/IContainerPlugin.js"; import type { IEffectDrawer } from "./Interfaces/IEffectDrawer.js"; import type { IInteractor } from "./Interfaces/IInteractor.js"; @@ -112,10 +124,7 @@ async function getDataFromUrl( return data.fallback; } -const generatedTrue = "true", - generatedFalse = "false", - canvasTag = "canvas", - getCanvasFromContainer = (domContainer: HTMLElement): HTMLCanvasElement => { +const getCanvasFromContainer = (domContainer: HTMLElement): HTMLCanvasElement => { let canvasEl: HTMLCanvasElement; if (domContainer instanceof HTMLCanvasElement || domContainer.tagName.toLowerCase() === canvasTag) { @@ -129,9 +138,7 @@ const generatedTrue = "true", /* get existing canvas if present, otherwise a new one will be created */ if (existingCanvases.length) { - const firstIndex = 0; - - canvasEl = existingCanvases[firstIndex]; + canvasEl = existingCanvases[canvasFirstIndex]; canvasEl.dataset[generatedAttribute] = generatedFalse; } else { @@ -437,6 +444,19 @@ export class Engine { await this.refresh(refresh); } + /** + * @param pluginVersion - the plugin version to check against + */ + checkVersion(pluginVersion: string): void { + if (this.version === pluginVersion) { + return; + } + + throw new Error( + `The tsParticles version is different from the loaded plugins version. Engine version: ${this.version}. Plugin version: ${pluginVersion}`, + ); + } + clearPlugins(container: Container): void { this.updaters.delete(container); this.movers.delete(container); @@ -602,9 +622,7 @@ export class Engine { item = items[index]; if (!item || item.destroyed) { - const deleteCount = 1; - - items.splice(index, deleteCount); + items.splice(index, removeDeleteCount); return; } @@ -618,8 +636,7 @@ export class Engine { * @returns A Promise with the {@link Container} object created */ async load(params: ILoadParams): Promise { - const randomFactor = 10000, - id = params.id ?? params.element?.id ?? `tsparticles${Math.floor(getRandom() * randomFactor)}`, + const id = params.id ?? params.element?.id ?? `tsparticles${Math.floor(getRandom() * loadRandomFactor)}`, { index, url } = params, options = url ? await getDataFromUrl({ fallback: params.options, url, index }) : params.options; @@ -627,13 +644,10 @@ export class Engine { const currentOptions = itemFromSingleOrMultiple(options, index), { items } = this, oldIndex = items.findIndex(v => v.id.description === id), - minIndex = 0, newItem = new Container(this, id, currentOptions); - if (oldIndex >= minIndex) { + if (oldIndex >= loadMinIndex) { const old = this.item(oldIndex), - one = 1, - none = 0, deleteCount = old ? one : none; if (old && !old.destroyed) { diff --git a/engine/src/Core/Particle.ts b/engine/src/Core/Particle.ts index 267a2c1194a..62e8d470835 100644 --- a/engine/src/Core/Particle.ts +++ b/engine/src/Core/Particle.ts @@ -13,6 +13,22 @@ import { randomInRange, setRangeValue, } from "../Utils/NumberUtils.js"; +import { + decayOffset, + defaultRadius, + defaultRetryCount, + double, + errorPrefix, + half, + millisecondsToSeconds, + minRetries, + minZ, + none, + randomColorValue, + rollFactor, + squareExp, + tryCountIncrement, +} from "./Utils/Constants.js"; import { deepExtend, getPosition, @@ -20,7 +36,6 @@ import { isInArray, itemFromSingleOrMultiple, } from "../Utils/Utils.js"; -import { errorPrefix, millisecondsToSeconds } from "./Utils/Constants.js"; import { getHslFromAnimation, rangeColorToRgb } from "../Utils/ColorUtils.js"; import type { Container } from "./Container.js"; import type { Engine } from "./Engine.js"; @@ -47,12 +62,6 @@ import type { RecursivePartial } from "../Types/RecursivePartial.js"; import { alterHsl } from "../Utils/CanvasUtils.js"; import { loadParticlesOptions } from "../Utils/OptionsUtils.js"; -const defaultRetryCount = 0, - double = 2, - half = 0.5, - squareExp = 2, - randomString = "random"; - /** * @internal */ @@ -519,13 +528,13 @@ export class Particle { } } - if (this.effect === randomString) { + if (this.effect === randomColorValue) { const availableEffects = [...this.container.effectDrawers.keys()]; this.effect = availableEffects[Math.floor(Math.random() * availableEffects.length)]; } - if (this.shape === randomString) { + if (this.shape === randomColorValue) { const availableShapes = [...this.container.shapeDrawers.keys()]; this.shape = availableShapes[Math.floor(Math.random() * availableShapes.length)]; @@ -592,9 +601,6 @@ export class Particle { /* animation - velocity for speed */ this.initialVelocity = this._calculateVelocity(); this.velocity = this.initialVelocity.copy(); - - const decayOffset = 1; - this.moveDecay = decayOffset - getRangeValue(this.options.move.decay); const particles = container.particles; @@ -735,9 +741,7 @@ export class Particle { fixVertical(outModes.bottom ?? outModes.default); if (this._checkOverlap(pos, tryCount)) { - const increment = 1; - - return this._calcPosition(container, undefined, zIndex, tryCount + increment); + return this._calcPosition(container, undefined, zIndex, tryCount + tryCountIncrement); } return pos; @@ -787,8 +791,7 @@ export class Particle { return false; } - const retries = overlapOptions.retries, - minRetries = 0; + const retries = overlapOptions.retries; if (retries >= minRetries && tryCount > retries) { throw new Error(`${errorPrefix} particle is overlapping and can't be placed`); @@ -804,9 +807,7 @@ export class Particle { return color; } - const rollFactor = 1, - none = 0, - backFactor = this.roll.horizontal && this.roll.vertical ? double * rollFactor : rollFactor, + const backFactor = this.roll.horizontal && this.roll.vertical ? double * rollFactor : rollFactor, backSum = this.roll.horizontal ? Math.PI * half : none, rolled = Math.floor(((this.roll.angle ?? none) + backSum) / (Math.PI / backFactor)) % double; @@ -827,14 +828,12 @@ export class Particle { private readonly _initPosition: (position?: ICoordinates) => void = position => { const container = this.container, - zIndexValue = getRangeValue(this.options.zIndex.value), - minZ = 0; + zIndexValue = getRangeValue(this.options.zIndex.value); this.position = this._calcPosition(container, position, clamp(zIndexValue, minZ, container.zLayers)); this.initialPosition = this.position.copy(); - const canvasSize = container.canvas.size, - defaultRadius = 0; + const canvasSize = container.canvas.size; this.moveCenter = { ...getPosition(this.options.move.center, canvasSize), diff --git a/engine/src/Core/Particles.ts b/engine/src/Core/Particles.ts index 0b46fc9becb..bb99d8f58d9 100644 --- a/engine/src/Core/Particles.ts +++ b/engine/src/Core/Particles.ts @@ -1,3 +1,19 @@ +import { + countOffset, + defaultDensityFactor, + defaultRemoveQuantity, + deleteCount, + errorPrefix, + lengthOffset, + manualCount, + minCount, + minIndex, + minLimit, + posOffset, + qTreeCapacity, + sizeFactor, + squareExp, +} from "./Utils/Constants.js"; import { getLogger, getPosition } from "../Utils/Utils.js"; import type { Container } from "./Container.js"; import type { Engine } from "./Engine.js"; @@ -17,16 +33,9 @@ import { Point } from "./Utils/Point.js"; import { QuadTree } from "./Utils/QuadTree.js"; import { Rectangle } from "./Utils/Ranges.js"; import type { RecursivePartial } from "../Types/RecursivePartial.js"; -import { errorPrefix } from "./Utils/Constants.js"; - -const qTreeCapacity = 4, - squareExp = 2, - defaultRemoveQuantity = 1; const qTreeRectangle = (canvasSize: IDimension): Rectangle => { - const { height, width } = canvasSize, - posOffset = -0.25, - sizeFactor = 1.5; + const { height, width } = canvasSize; return new Rectangle(posOffset * width, posOffset * height, sizeFactor * width, sizeFactor * height); }; @@ -109,15 +118,12 @@ export class Particles { ): Particle | undefined { const limitMode = this._container.actualOptions.particles.number.limit.mode, limit = group === undefined ? this._limit : (this._groupLimits.get(group) ?? this._limit), - currentCount = this.count, - minLimit = 0; + currentCount = this.count; if (limit > minLimit) { switch (limitMode) { case LimitMode.delete: { - const countOffset = 1, - minCount = 0, - countToRemove = currentCount + countOffset - limit; + const countToRemove = currentCount + countOffset - limit; if (countToRemove > minCount) { this.removeQuantity(countToRemove); @@ -272,8 +278,6 @@ export class Particles { } removeAt(index: number, quantity = defaultRemoveQuantity, group?: string, override?: boolean): void { - const minIndex = 0; - if (index < minIndex || index > this.count) { return; } @@ -289,15 +293,12 @@ export class Particles { } removeQuantity(quantity: number, group?: string): void { - const defaultIndex = 0; - - this.removeAt(defaultIndex, quantity, group); + this.removeAt(minIndex, quantity, group); } setDensity(): void { const options = this._container.actualOptions, - groups = options.particles.groups, - manualCount = 0; + groups = options.particles.groups; for (const group in groups) { this._applyDensity(groups[group], manualCount, group); @@ -404,8 +405,6 @@ export class Particles { zArray.sort((a, b) => b.position.z - a.position.z || a.id - b.id); - const lengthOffset = 1; - this._lastZIndex = zArray[zArray.length - lengthOffset].position.z; this._needsSort = false; } @@ -430,7 +429,6 @@ export class Particles { const densityFactor = this._initDensityFactor(numberOptions.density), optParticlesNumber = numberOptions.value, - minLimit = 0, optParticlesLimit = numberOptions.limit.value > minLimit ? numberOptions.limit.value : optParticlesNumber, particlesNumber = Math.min(optParticlesNumber, optParticlesLimit) * densityFactor + manualCount, particlesCount = Math.min(this.count, this.filter(t => t.group === group).length); @@ -449,11 +447,10 @@ export class Particles { }; private readonly _initDensityFactor: (densityOptions: IParticlesDensity) => number = densityOptions => { - const container = this._container, - defaultFactor = 1; + const container = this._container; if (!container.canvas.element || !densityOptions.enable) { - return defaultFactor; + return defaultDensityFactor; } const canvas = container.canvas.element, @@ -512,8 +509,7 @@ export class Particles { return false; } - const zIdx = this._zArray.indexOf(particle), - deleteCount = 1; + const zIdx = this._zArray.indexOf(particle); this._array.splice(index, deleteCount); this._zArray.splice(zIdx, deleteCount); diff --git a/engine/src/Core/Retina.ts b/engine/src/Core/Retina.ts index f79862e348a..af726d1322a 100644 --- a/engine/src/Core/Retina.ts +++ b/engine/src/Core/Retina.ts @@ -1,11 +1,9 @@ +import { defaultRatio, defaultReduceFactor } from "./Utils/Constants.js"; import type { Container } from "./Container.js"; import type { Particle } from "./Particle.js"; import { getRangeValue } from "../Utils/NumberUtils.js"; import { isSsr } from "../Utils/Utils.js"; -const defaultRatio = 1, - defaultReduceFactor = 1; - /** */ export class Retina { diff --git a/engine/src/Core/Utils/Constants.ts b/engine/src/Core/Utils/Constants.ts index c6c8f81a1fb..d0e35475367 100644 --- a/engine/src/Core/Utils/Constants.ts +++ b/engine/src/Core/Utils/Constants.ts @@ -1,26 +1,109 @@ +import type { ICoordinates3d } from "../Interfaces/ICoordinates.js"; + /** * Project's constants */ -export const generatedAttribute = "generated"; - -export const mouseDownEvent = "pointerdown"; -export const mouseUpEvent = "pointerup"; -export const mouseLeaveEvent = "pointerleave"; -export const mouseOutEvent = "pointerout"; -export const mouseMoveEvent = "pointermove"; - -export const touchStartEvent = "touchstart"; -export const touchEndEvent = "touchend"; -export const touchMoveEvent = "touchmove"; -export const touchCancelEvent = "touchcancel"; - -export const resizeEvent = "resize"; -export const visibilityChangeEvent = "visibilitychange"; - -export const errorPrefix = "tsParticles - Error"; - -export const percentDenominator = 100; - -export const halfRandom = 0.5; - -export const millisecondsToSeconds = 1000; +export const generatedAttribute = "generated", + mouseDownEvent = "pointerdown", + mouseUpEvent = "pointerup", + mouseLeaveEvent = "pointerleave", + mouseOutEvent = "pointerout", + mouseMoveEvent = "pointermove", + touchStartEvent = "touchstart", + touchEndEvent = "touchend", + touchMoveEvent = "touchmove", + touchCancelEvent = "touchcancel", + resizeEvent = "resize", + visibilityChangeEvent = "visibilitychange", + errorPrefix = "tsParticles - Error", + percentDenominator = 100, + half = 0.5, + millisecondsToSeconds = 1000, + originPoint: ICoordinates3d = { + x: 0, + y: 0, + z: 0, + }, + defaultTransform = { + a: 1, + b: 0, + c: 0, + d: 1, + }, + randomColorValue = "random", + midColorValue = "mid", + double = 2, + doublePI = Math.PI * double, + defaultFps = 60, + defaultAlpha = 1, + generatedTrue = "true", + generatedFalse = "false", + canvasTag = "canvas", + defaultRetryCount = 0, + squareExp = 2, + qTreeCapacity = 4, + defaultRemoveQuantity = 1, + defaultRatio = 1, + defaultReduceFactor = 1, + subdivideCount = 4, + inverseFactorNumerator = 1.0, + rgbMax = 255, + hMax = 360, + sMax = 100, + lMax = 100, + hMin = 0, + sMin = 0, + hPhase = 60, + empty = 0, + quarter = 0.25, + threeQuarter = half + quarter, + minVelocity = 0, + defaultTransformValue = 1, + minimumSize = 0, + minimumLength = 0, + zIndexFactorOffset = 1, + defaultOpacity = 1, + clickRadius = 1, + touchEndLengthOffset = 1, + minCoordinate = 0, + removeDeleteCount = 1, + removeMinIndex = 0, + defaultFpsLimit = 120, + minFpsLimit = 0, + canvasFirstIndex = 0, + loadRandomFactor = 10000, + loadMinIndex = 0, + one = 1, + none = 0, + decayOffset = 1, + tryCountIncrement = 1, + minRetries = 0, + rollFactor = 1, + minZ = 0, + defaultRadius = 0, + posOffset = -quarter, + sizeFactor = 1.5, + minLimit = 0, + countOffset = 1, + minCount = 0, + minIndex = 0, + manualCount = 0, + lengthOffset = 1, + defaultDensityFactor = 1, + deleteCount = 1, + touchDelay = 500, + manualDefaultPosition = 50, + defaultAngle = 0, + identity = 1, + minStrokeWidth = 0, + lFactor = 1, + lMin = 0, + rgbFactor = 255, + triple = 3, + sextuple = 6, + sNormalizedOffset = 1, + phaseNumerator = 1, + defaultRgbMin = 0, + defaultVelocity = 0, + defaultLoops = 0, + defaultTime = 0; diff --git a/engine/src/Core/Utils/EventListeners.ts b/engine/src/Core/Utils/EventListeners.ts index 161c9f1cb2e..0e9b106196e 100644 --- a/engine/src/Core/Utils/EventListeners.ts +++ b/engine/src/Core/Utils/EventListeners.ts @@ -1,6 +1,8 @@ -import { executeOnSingleOrMultiple, safeMatchMedia } from "../../Utils/Utils.js"; import { + double, + lengthOffset, millisecondsToSeconds, + minCoordinate, mouseDownEvent, mouseLeaveEvent, mouseMoveEvent, @@ -8,18 +10,18 @@ import { mouseUpEvent, resizeEvent, touchCancelEvent, + touchDelay, touchEndEvent, touchMoveEvent, touchStartEvent, visibilityChangeEvent, } from "./Constants.js"; +import { executeOnSingleOrMultiple, safeMatchMedia } from "../../Utils/Utils.js"; import type { Container } from "../Container.js"; import type { ICoordinates } from "../Interfaces/ICoordinates.js"; import { InteractivityDetect } from "../../Enums/InteractivityDetect.js"; import { isBoolean } from "../../Utils/TypeUtils.js"; -const double = 2; - /** * Manage the given event listeners * @param element - the event listener receiver @@ -145,8 +147,6 @@ export class EventListeners { } if (e.type === "touchend") { - const touchDelay = 500; - setTimeout(() => this._mouseTouchFinish(), touchDelay); } }; @@ -227,9 +227,8 @@ export class EventListeners { ) => { const handlers = this._handlers, container = this.container, - options = container.actualOptions; - - const interactivityEl = container.interactivity.element; + options = container.actualOptions, + interactivityEl = container.interactivity.element; /* detect mouse pos - on hover / click event */ if (!interactivityEl) { @@ -500,14 +499,12 @@ export class EventListeners { if (canvasEl) { const touchEvent = e as TouchEvent, - lengthOffset = 1, lastTouch = touchEvent.touches[touchEvent.touches.length - lengthOffset], - canvasRect = canvasEl.getBoundingClientRect(), - defaultCoordinate = 0; + canvasRect = canvasEl.getBoundingClientRect(); pos = { - x: lastTouch.clientX - (canvasRect.left ?? defaultCoordinate), - y: lastTouch.clientY - (canvasRect.top ?? defaultCoordinate), + x: lastTouch.clientX - (canvasRect.left ?? minCoordinate), + y: lastTouch.clientY - (canvasRect.top ?? minCoordinate), }; } } diff --git a/engine/src/Core/Utils/QuadTree.ts b/engine/src/Core/Utils/QuadTree.ts index 8c2f2e712c2..9a25f797507 100644 --- a/engine/src/Core/Utils/QuadTree.ts +++ b/engine/src/Core/Utils/QuadTree.ts @@ -1,14 +1,11 @@ import { type BaseRange, Circle, Rectangle } from "./Ranges.js"; +import { double, half, subdivideCount } from "./Constants.js"; import type { ICoordinates } from "../Interfaces/ICoordinates.js"; import type { IDimension } from "../Interfaces/IDimension.js"; import type { Particle } from "../Particle.js"; import type { Point } from "./Point.js"; import { getDistance } from "../../Utils/NumberUtils.js"; -const half = 0.5, - double = 2, - subdivideCount = 4; - /** */ export class QuadTree { diff --git a/engine/src/Core/Utils/Ranges.ts b/engine/src/Core/Utils/Ranges.ts index 2c618618035..68421542e81 100644 --- a/engine/src/Core/Utils/Ranges.ts +++ b/engine/src/Core/Utils/Ranges.ts @@ -2,8 +2,7 @@ import type { ICoordinates } from "../Interfaces/ICoordinates.js"; import type { IDimension } from "../Interfaces/IDimension.js"; import { RangeType } from "../../Types/RangeType.js"; import { getDistance } from "../../Utils/NumberUtils.js"; - -const squareExp = 2; +import { squareExp } from "./Constants.js"; /** */ diff --git a/engine/src/Core/Utils/Vectors.ts b/engine/src/Core/Utils/Vectors.ts index cce1da6197f..400124a5242 100644 --- a/engine/src/Core/Utils/Vectors.ts +++ b/engine/src/Core/Utils/Vectors.ts @@ -1,15 +1,7 @@ import type { ICoordinates, ICoordinates3d } from "../Interfaces/ICoordinates.js"; -import { errorPrefix } from "./Constants.js"; +import { errorPrefix, inverseFactorNumerator, none, originPoint, squareExp } from "./Constants.js"; import { isNumber } from "../../Utils/TypeUtils.js"; -const origin = { - x: 0, - y: 0, - z: 0, - }, - squareExp = 2, - inverseFactorNumerator = 1.0; - /** */ export class Vector3d implements ICoordinates3d { @@ -42,11 +34,11 @@ export class Vector3d implements ICoordinates3d { const coords3d = xOrCoords as ICoordinates3d; - this.z = coords3d.z ? coords3d.z : origin.z; + this.z = coords3d.z ? coords3d.z : originPoint.z; } else if (xOrCoords !== undefined && y !== undefined) { this.x = xOrCoords; this.y = y; - this.z = z ?? origin.z; + this.z = z ?? originPoint.z; } else { throw new Error(`${errorPrefix} Vector3d not initialized correctly`); } @@ -57,7 +49,7 @@ export class Vector3d implements ICoordinates3d { * @returns a new vector, with coordinates in the origin point */ static get origin(): Vector3d { - return Vector3d.create(origin.x, origin.y, origin.z); + return Vector3d.create(originPoint.x, originPoint.y, originPoint.z); } /** @@ -207,10 +199,9 @@ export class Vector3d implements ICoordinates3d { * Normalizes the current vector, modifying it */ normalize(): void { - const length = this.length, - noLength = 0; + const length = this.length; - if (length != noLength) { + if (length != none) { this.multTo(inverseFactorNumerator / length); } } @@ -224,7 +215,7 @@ export class Vector3d implements ICoordinates3d { return Vector3d.create( this.x * Math.cos(angle) - this.y * Math.sin(angle), this.x * Math.sin(angle) + this.y * Math.cos(angle), - origin.z, + originPoint.z, ); } @@ -238,7 +229,7 @@ export class Vector3d implements ICoordinates3d { const v3d = c as ICoordinates3d; - this.z = v3d.z ? v3d.z : origin.z; + this.z = v3d.z ? v3d.z : originPoint.z; } /** @@ -282,7 +273,7 @@ export class Vector extends Vector3d { * @internal */ protected constructor(xOrCoords: number | ICoordinates, y?: number) { - super(xOrCoords, y, origin.z); + super(xOrCoords, y, originPoint.z); } /** @@ -290,7 +281,7 @@ export class Vector extends Vector3d { * @returns a new vector, with coordinates in the origin point */ static get origin(): Vector { - return Vector.create(origin.x, origin.y); + return Vector.create(originPoint.x, originPoint.y); } /** diff --git a/engine/src/Options/Classes/ManualParticle.ts b/engine/src/Options/Classes/ManualParticle.ts index 6eeec9b5226..6364214b0ce 100644 --- a/engine/src/Options/Classes/ManualParticle.ts +++ b/engine/src/Options/Classes/ManualParticle.ts @@ -6,8 +6,7 @@ import { PixelMode } from "../../Enums/Modes/PixelMode.js"; import type { RecursivePartial } from "../../Types/RecursivePartial.js"; import { deepExtend } from "../../Utils/Utils.js"; import { isNull } from "../../Utils/TypeUtils.js"; - -const defaultPosition = 50; +import { manualDefaultPosition } from "../../Core/Utils/Constants.js"; export class ManualParticle implements IManualParticle, IOptionLoader { options?: RecursivePartial; @@ -20,8 +19,8 @@ export class ManualParticle implements IManualParticle, IOptionLoader { + const channel = (temp1: number, temp2: number, temp3: number): number => { const temp3Min = 0, - temp3Max = 1, - sextuple = 6; + temp3Max = 1; if (temp3 < temp3Min) { temp3++; @@ -286,13 +291,11 @@ export function hslToRgb(hsl: IHsl): IRgb { return temp1; }, - sNormalizedOffset = 1, temp1 = lNormalized < half ? lNormalized * (sNormalizedOffset + sNormalized) : lNormalized + sNormalized - lNormalized * sNormalized, temp2 = double * lNormalized - temp1, - phaseNumerator = 1, phaseThird = phaseNumerator / triple, red = Math.min(rgbFactor, rgbFactor * channel(temp2, temp1, hNormalized + phaseThird)), green = Math.min(rgbFactor, rgbFactor * channel(temp2, temp1, hNormalized)), @@ -323,14 +326,13 @@ export function hslaToRgba(hsla: IHsla): IRgba { * @returns the random ({@link IRgb}) color */ export function getRandomRgbColor(min?: number): IRgb { - const defaultMin = 0, - fixedMin = min ?? defaultMin, - rgbMax = 256; + const fixedMin = min ?? defaultRgbMin, + fixedMax = rgbMax + identity; return { - b: Math.floor(randomInRange(setRangeValue(fixedMin, rgbMax))), - g: Math.floor(randomInRange(setRangeValue(fixedMin, rgbMax))), - r: Math.floor(randomInRange(setRangeValue(fixedMin, rgbMax))), + b: Math.floor(randomInRange(setRangeValue(fixedMin, fixedMax))), + g: Math.floor(randomInRange(setRangeValue(fixedMin, fixedMax))), + r: Math.floor(randomInRange(setRangeValue(fixedMin, fixedMax))), }; } @@ -341,8 +343,6 @@ export function getRandomRgbColor(min?: number): IRgb { * @returns the CSS style string */ export function getStyleFromRgb(color: IRgb, opacity?: number): string { - const defaultOpacity = 1; - return `rgba(${color.r}, ${color.g}, ${color.b}, ${opacity ?? defaultOpacity})`; } @@ -353,8 +353,6 @@ export function getStyleFromRgb(color: IRgb, opacity?: number): string { * @returns the CSS style string */ export function getStyleFromHsl(color: IHsl, opacity?: number): string { - const defaultOpacity = 1; - return `hsla(${color.h}, ${color.s}%, ${color.l}%, ${opacity ?? defaultOpacity})`; } @@ -509,11 +507,6 @@ function setColorAnimation( ): void { colorValue.enable = colorAnimation.enable; - const defaultVelocity = 0, - decayOffset = 1, - defaultLoops = 0, - defaultTime = 0; - if (colorValue.enable) { colorValue.velocity = (getRangeValue(colorAnimation.speed) / percentDenominator) * reduceFactor; colorValue.decay = decayOffset - getRangeValue(colorAnimation.decay); @@ -628,13 +621,12 @@ export function updateColor(color: IParticleHslAnimation | undefined, delta: IDe return; } - const { h, s, l } = color; - - const ranges = { - h: { min: 0, max: 360 }, - s: { min: 0, max: 100 }, - l: { min: 0, max: 100 }, - }; + const { h, s, l } = color, + ranges = { + h: { min: 0, max: 360 }, + s: { min: 0, max: 100 }, + l: { min: 0, max: 100 }, + }; if (h) { updateColorValue(h, ranges.h, false, delta); diff --git a/engine/src/Utils/EventDispatcher.ts b/engine/src/Utils/EventDispatcher.ts index e4bb67b54ea..5fb52ebd3f7 100644 --- a/engine/src/Utils/EventDispatcher.ts +++ b/engine/src/Utils/EventDispatcher.ts @@ -1,3 +1,4 @@ +import { deleteCount, minIndex } from "../Core/Utils/Constants.js"; import type { CustomEventArgs } from "../Types/CustomEventArgs.js"; import type { CustomEventListener } from "../Types/CustomEventListener.js"; @@ -50,15 +51,12 @@ export class EventDispatcher { } const length = arr.length, - idx = arr.indexOf(listener), - minIndex = 0; + idx = arr.indexOf(listener); if (idx < minIndex) { return; } - const deleteCount = 1; - if (length === deleteCount) { this._listeners.delete(type); } else { diff --git a/engine/src/Utils/NumberUtils.ts b/engine/src/Utils/NumberUtils.ts index b1b7ce31542..b4d80b845e5 100644 --- a/engine/src/Utils/NumberUtils.ts +++ b/engine/src/Utils/NumberUtils.ts @@ -3,11 +3,11 @@ import type { IRangedPositionFromSizeParams, } from "../Core/Interfaces/IPositionFromSizeParams.js"; import { MoveDirection, type MoveDirectionAlt } from "../Enums/Directions/MoveDirection.js"; +import { double, doublePI, empty, half, percentDenominator, quarter, threeQuarter } from "../Core/Utils/Constants.js"; import type { ICoordinates } from "../Core/Interfaces/ICoordinates.js"; import type { RangeValue } from "../Types/RangeValue.js"; import { Vector } from "../Core/Utils/Vectors.js"; import { isNumber } from "./TypeUtils.js"; -import { percentDenominator } from "../Core/Utils/Constants.js"; interface AnimationLoop { cancel: (handle: number) => void; @@ -15,12 +15,11 @@ interface AnimationLoop { } let _random = Math.random; + const _animationLoop: AnimationLoop = { - nextFrame: (cb: FrameRequestCallback): number => requestAnimationFrame(cb), - cancel: (idx: number): void => cancelAnimationFrame(idx), - }, - double = 2, - doublePI = Math.PI * double; + nextFrame: (cb: FrameRequestCallback): number => requestAnimationFrame(cb), + cancel: (idx: number): void => cancelAnimationFrame(idx), +}; /** * Replaces the library random function with a custom one. @@ -204,11 +203,6 @@ export function getParticleDirectionAngle( return degToRad(direction); } - const empty = 0, - half = 0.5, - quarter = 0.25, - threeQuarter = half + quarter; - switch (direction) { case MoveDirection.top: return -Math.PI * half; @@ -257,8 +251,6 @@ export function getParticleBaseVelocity(direction: number): Vector { * @returns the velocity after collision */ export function collisionVelocity(v1: Vector, v2: Vector, m1: number, m2: number): Vector { - const double = 2; - return Vector.create((v1.x * (m1 - m2)) / (m1 + m2) + (v2.x * double * m2) / (m1 + m2), v1.y); } diff --git a/engine/src/Utils/Utils.ts b/engine/src/Utils/Utils.ts index 729cc4f6a6b..e2db2e61230 100644 --- a/engine/src/Utils/Utils.ts +++ b/engine/src/Utils/Utils.ts @@ -10,13 +10,12 @@ import { getRangeValue, randomInRange, } from "./NumberUtils.js"; -import { halfRandom, millisecondsToSeconds, percentDenominator } from "../Core/Utils/Constants.js"; -import { isArray, isObject } from "./TypeUtils.js"; +import { half, millisecondsToSeconds, minVelocity, percentDenominator } from "../Core/Utils/Constants.js"; +import { isArray, isNull, isObject } from "./TypeUtils.js"; import { AnimationMode } from "../Enums/Modes/AnimationMode.js"; import { AnimationStatus } from "../Enums/AnimationStatus.js"; import { DestroyType } from "../Enums/Types/DestroyType.js"; import type { DivEvent } from "../Options/Classes/Interactivity/Events/DivEvent.js"; -import type { Engine } from "../Core/Engine"; import type { IBounds } from "../Core/Interfaces/IBounds.js"; import type { ICircleBouncer } from "../Core/Interfaces/ICircleBouncer.js"; import type { IDelta } from "../Core/Interfaces/IDelta.js"; @@ -109,6 +108,29 @@ export function getLogger(): ILogger { return _logger; } +/** + * + * @param fn - the function to memoize + * @returns the memoized function + */ +function memoize(fn: (...args: Args) => Result): (...args: Args) => Result { + const cache = new Map(); + + return (...args: Args): Result => { + const key = JSON.stringify(args); // Serialize arguments as the cache key + + if (cache.has(key)) { + return cache.get(key)!; // Return cached result if available + } + + const result = fn(...args); // Compute the result + + cache.set(key, result); // Store result in cache + + return result; + }; +} + /** * Calculates the bounce on a rectangle side * @param data - the rectangle side bounce values @@ -116,9 +138,7 @@ export function getLogger(): ILogger { */ function rectSideBounce(data: RectSideBounceData): IRectSideResult { const res: IRectSideResult = { bounced: false }, - { pSide, pOtherSide, rectSide, rectOtherSide, velocity, factor } = data, - half = 0.5, - minVelocity = 0; + { pSide, pOtherSide, rectSide, rectOtherSide, velocity, factor } = data; if ( pOtherSide.min < rectOtherSide.min || @@ -630,7 +650,7 @@ export function initParticleNumericAnimationValue( break; case AnimationMode.random: - res.status = getRandom() >= halfRandom ? AnimationStatus.increasing : AnimationStatus.decreasing; + res.status = getRandom() >= half ? AnimationStatus.increasing : AnimationStatus.decreasing; break; } @@ -661,7 +681,7 @@ export function initParticleNumericAnimationValue( res.value = randomInRange(res); if (autoStatus) { - res.status = getRandom() >= halfRandom ? AnimationStatus.increasing : AnimationStatus.decreasing; + res.status = getRandom() >= half ? AnimationStatus.increasing : AnimationStatus.decreasing; } break; @@ -846,15 +866,69 @@ export function updateAnimation( } /** - * @param engine - the engine to check the version for - * @param pluginVersion - the plugin version to check against + * a function to clone a style object + * @param style - the style to clone + * @returns the cloned style */ -export function assertValidVersion(engine: Engine, pluginVersion: string): void { - if (engine.version === pluginVersion) { - return; +export function cloneStyle(style: Partial): CSSStyleDeclaration { + const clonedStyle: CSSStyleDeclaration = document.createElement("div").style; + + if (!style) { + return clonedStyle; } - throw new Error( - `The tsParticles version is different from the loaded plugins version. Engine version: ${engine.version}. Plugins version: ${pluginVersion}`, - ); + for (const key in style) { + const styleKey = style[key]; + + if (!Object.prototype.hasOwnProperty.call(style, key) || isNull(styleKey)) { + continue; + } + + const styleValue = style.getPropertyValue?.(styleKey); + + if (!styleValue) { + continue; + } + + const stylePriority = style.getPropertyPriority?.(styleKey); + + if (!stylePriority) { + clonedStyle.setProperty?.(styleKey, styleValue); + } else { + clonedStyle.setProperty?.(styleKey, styleValue, stylePriority); + } + } + + return clonedStyle; } + +/** + * + * @param zIndex - the z-index value + * @returns the full screen style + */ +function computeFullScreenStyle(zIndex: number): CSSStyleDeclaration { + const fullScreenStyle = document.createElement("div").style, + radix = 10, + style: Record = { + width: "100%", + height: "100%", + margin: "0", + padding: "0", + borderWidth: "0", + position: "fixed", + zIndex: zIndex.toString(radix), + top: "0", + left: "0", + }; + + for (const key in style) { + const value = style[key]; + + fullScreenStyle.setProperty(key, value); + } + + return fullScreenStyle; +} + +export const getFullScreenStyle = memoize(computeFullScreenStyle); diff --git a/interactions/external/attract/CHANGELOG.md b/interactions/external/attract/CHANGELOG.md index df96592434c..45705eab3ff 100644 --- a/interactions/external/attract/CHANGELOG.md +++ b/interactions/external/attract/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/interaction-external-attract + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/interactions/external/attract/package.dist.json b/interactions/external/attract/package.dist.json index ecd88052871..1b37253c284 100644 --- a/interactions/external/attract/package.dist.json +++ b/interactions/external/attract/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/interaction-external-attract", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles attract external interaction", "homepage": "https://particles.js.org", "repository": { @@ -87,7 +87,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/interactions/external/attract/package.json b/interactions/external/attract/package.json index cfa868c03c2..0b4cd3c3e56 100644 --- a/interactions/external/attract/package.json +++ b/interactions/external/attract/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/interaction-external-attract", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles attract external interaction", "homepage": "https://particles.js.org", "scripts": { @@ -95,7 +95,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/interactions/external/attract/src/index.ts b/interactions/external/attract/src/index.ts index a4f111ddb0a..0dfd2b5f7dd 100644 --- a/interactions/external/attract/src/index.ts +++ b/interactions/external/attract/src/index.ts @@ -1,5 +1,5 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; import { Attractor } from "./Attractor.js"; +import { type Engine } from "@tsparticles/engine"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadExternalAttractInteraction(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addInteractor( "externalAttract", diff --git a/interactions/external/bounce/CHANGELOG.md b/interactions/external/bounce/CHANGELOG.md index a13c600d2b7..8942ca7a0d1 100644 --- a/interactions/external/bounce/CHANGELOG.md +++ b/interactions/external/bounce/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/interaction-external-bounce + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/interactions/external/bounce/package.dist.json b/interactions/external/bounce/package.dist.json index d90ca0a0315..bdae629fd10 100644 --- a/interactions/external/bounce/package.dist.json +++ b/interactions/external/bounce/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/interaction-external-bounce", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles bounce external interaction", "homepage": "https://particles.js.org", "repository": { @@ -87,7 +87,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/interactions/external/bounce/package.json b/interactions/external/bounce/package.json index 4f2c6d9db21..056253e18d3 100644 --- a/interactions/external/bounce/package.json +++ b/interactions/external/bounce/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/interaction-external-bounce", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles bounce external interaction", "homepage": "https://particles.js.org", "scripts": { @@ -95,7 +95,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/interactions/external/bounce/src/index.ts b/interactions/external/bounce/src/index.ts index a72f408b6fa..7713a3a711e 100644 --- a/interactions/external/bounce/src/index.ts +++ b/interactions/external/bounce/src/index.ts @@ -1,5 +1,5 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; import { Bouncer } from "./Bouncer.js"; +import { type Engine } from "@tsparticles/engine"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadExternalBounceInteraction(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addInteractor( "externalBounce", diff --git a/interactions/external/bubble/CHANGELOG.md b/interactions/external/bubble/CHANGELOG.md index adcc334bf28..73ac1840d60 100644 --- a/interactions/external/bubble/CHANGELOG.md +++ b/interactions/external/bubble/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/interaction-external-bubble + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/interactions/external/bubble/package.dist.json b/interactions/external/bubble/package.dist.json index 221f5a093b7..a364406fc18 100644 --- a/interactions/external/bubble/package.dist.json +++ b/interactions/external/bubble/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/interaction-external-bubble", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles bubble external interaction", "homepage": "https://particles.js.org", "repository": { @@ -87,7 +87,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/interactions/external/bubble/package.json b/interactions/external/bubble/package.json index 4c7a872f183..aa2d9fd314d 100644 --- a/interactions/external/bubble/package.json +++ b/interactions/external/bubble/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/interaction-external-bubble", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles bubble external interaction", "homepage": "https://particles.js.org", "scripts": { @@ -95,7 +95,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/interactions/external/bubble/src/index.ts b/interactions/external/bubble/src/index.ts index 62019044b1a..645b72ef478 100644 --- a/interactions/external/bubble/src/index.ts +++ b/interactions/external/bubble/src/index.ts @@ -1,5 +1,5 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; import { Bubbler } from "./Bubbler.js"; +import { type Engine } from "@tsparticles/engine"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadExternalBubbleInteraction(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addInteractor( "externalBubble", diff --git a/interactions/external/connect/CHANGELOG.md b/interactions/external/connect/CHANGELOG.md index 82772c23b0d..50d2ffd3699 100644 --- a/interactions/external/connect/CHANGELOG.md +++ b/interactions/external/connect/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/interaction-external-connect + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/interactions/external/connect/package.dist.json b/interactions/external/connect/package.dist.json index fa09f7b7b62..0ec37538bf1 100644 --- a/interactions/external/connect/package.dist.json +++ b/interactions/external/connect/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/interaction-external-connect", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles connect external interaction", "homepage": "https://particles.js.org", "repository": { @@ -87,7 +87,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/interactions/external/connect/package.json b/interactions/external/connect/package.json index 127d39be070..55264e872a5 100644 --- a/interactions/external/connect/package.json +++ b/interactions/external/connect/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/interaction-external-connect", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles connect external interaction", "homepage": "https://particles.js.org", "scripts": { @@ -95,7 +95,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/interactions/external/connect/src/index.ts b/interactions/external/connect/src/index.ts index 3658aeab7c9..f314df63bac 100644 --- a/interactions/external/connect/src/index.ts +++ b/interactions/external/connect/src/index.ts @@ -1,5 +1,5 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; import { Connector } from "./Connector.js"; +import { type Engine } from "@tsparticles/engine"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadExternalConnectInteraction(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addInteractor( "externalConnect", diff --git a/interactions/external/grab/CHANGELOG.md b/interactions/external/grab/CHANGELOG.md index 753f37ca6c6..a57fff9e8ed 100644 --- a/interactions/external/grab/CHANGELOG.md +++ b/interactions/external/grab/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/interaction-external-grab + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/interactions/external/grab/package.dist.json b/interactions/external/grab/package.dist.json index 12e329496bd..d0edb21e822 100644 --- a/interactions/external/grab/package.dist.json +++ b/interactions/external/grab/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/interaction-external-grab", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles grab external interaction", "homepage": "https://particles.js.org", "repository": { @@ -87,7 +87,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/interactions/external/grab/package.json b/interactions/external/grab/package.json index 88bbd5db72f..d176e70aeb5 100644 --- a/interactions/external/grab/package.json +++ b/interactions/external/grab/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/interaction-external-grab", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles grab external interaction", "homepage": "https://particles.js.org", "scripts": { @@ -95,7 +95,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/interactions/external/grab/src/index.ts b/interactions/external/grab/src/index.ts index 71e8a90690d..db96add21bf 100644 --- a/interactions/external/grab/src/index.ts +++ b/interactions/external/grab/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { Grabber } from "./Grabber.js"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadExternalGrabInteraction(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addInteractor( "externalGrab", diff --git a/interactions/external/particle/CHANGELOG.md b/interactions/external/particle/CHANGELOG.md index 743283dc832..31a3d15f3ae 100644 --- a/interactions/external/particle/CHANGELOG.md +++ b/interactions/external/particle/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/interaction-external-particle + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/interactions/external/particle/package.dist.json b/interactions/external/particle/package.dist.json index 8024f64a6f0..42aefc5897c 100644 --- a/interactions/external/particle/package.dist.json +++ b/interactions/external/particle/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/interaction-external-particle", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles particle external interaction", "homepage": "https://particles.js.org", "repository": { @@ -87,7 +87,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/interactions/external/particle/package.json b/interactions/external/particle/package.json index d1f01d8bc67..70965300d67 100644 --- a/interactions/external/particle/package.json +++ b/interactions/external/particle/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/interaction-external-particle", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles particle external interaction", "homepage": "https://particles.js.org", "scripts": { @@ -67,7 +67,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/interactions/external/particle/src/index.ts b/interactions/external/particle/src/index.ts index 3ab34767717..bbfbadf4dfb 100644 --- a/interactions/external/particle/src/index.ts +++ b/interactions/external/particle/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { InteractivityParticleMaker } from "./InteractivityParticleMaker.js"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadExternalParticleInteraction(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addInteractor( "externalParticle", diff --git a/interactions/external/pause/CHANGELOG.md b/interactions/external/pause/CHANGELOG.md index f1157eac531..9832860e010 100644 --- a/interactions/external/pause/CHANGELOG.md +++ b/interactions/external/pause/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/interaction-external-pause + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/interactions/external/pause/package.dist.json b/interactions/external/pause/package.dist.json index 971f84698b6..d99af7ee243 100644 --- a/interactions/external/pause/package.dist.json +++ b/interactions/external/pause/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/interaction-external-pause", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles pause external interaction", "homepage": "https://particles.js.org", "repository": { @@ -87,7 +87,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/interactions/external/pause/package.json b/interactions/external/pause/package.json index 1a5069563ee..6b408743afa 100644 --- a/interactions/external/pause/package.json +++ b/interactions/external/pause/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/interaction-external-pause", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles pause external interaction", "homepage": "https://particles.js.org", "scripts": { @@ -95,7 +95,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/interactions/external/pause/src/index.ts b/interactions/external/pause/src/index.ts index 720599d3cfe..7162727deaa 100644 --- a/interactions/external/pause/src/index.ts +++ b/interactions/external/pause/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { Pauser } from "./Pauser.js"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadExternalPauseInteraction(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addInteractor( "externalPause", diff --git a/interactions/external/pop/CHANGELOG.md b/interactions/external/pop/CHANGELOG.md index df8d75de650..52a1d5e38da 100644 --- a/interactions/external/pop/CHANGELOG.md +++ b/interactions/external/pop/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/interaction-external-pop + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/interactions/external/pop/package.dist.json b/interactions/external/pop/package.dist.json index 943e5d169af..d6b1682d597 100644 --- a/interactions/external/pop/package.dist.json +++ b/interactions/external/pop/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/interaction-external-pop", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles pop external interaction", "homepage": "https://particles.js.org", "repository": { @@ -87,7 +87,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/interactions/external/pop/package.json b/interactions/external/pop/package.json index e22959b2208..d002fdd92ff 100644 --- a/interactions/external/pop/package.json +++ b/interactions/external/pop/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/interaction-external-pop", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles pop external interaction", "homepage": "https://particles.js.org", "scripts": { @@ -95,7 +95,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/interactions/external/pop/src/index.ts b/interactions/external/pop/src/index.ts index 368516b211c..32d20298b2e 100644 --- a/interactions/external/pop/src/index.ts +++ b/interactions/external/pop/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { Popper } from "./Popper.js"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadExternalPopInteraction(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addInteractor( "externalPop", diff --git a/interactions/external/push/CHANGELOG.md b/interactions/external/push/CHANGELOG.md index 7bd499f11a1..8f1a3328ec6 100644 --- a/interactions/external/push/CHANGELOG.md +++ b/interactions/external/push/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/interaction-external-push + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/interactions/external/push/package.dist.json b/interactions/external/push/package.dist.json index bd05268081b..6f106d34c32 100644 --- a/interactions/external/push/package.dist.json +++ b/interactions/external/push/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/interaction-external-push", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles push external interaction", "homepage": "https://particles.js.org", "repository": { @@ -87,7 +87,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/interactions/external/push/package.json b/interactions/external/push/package.json index 7201e9e26f1..9400b385b82 100644 --- a/interactions/external/push/package.json +++ b/interactions/external/push/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/interaction-external-push", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles push external interaction", "homepage": "https://particles.js.org", "scripts": { @@ -95,7 +95,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/interactions/external/push/src/index.ts b/interactions/external/push/src/index.ts index c7b93ba64b3..5451c1473ae 100644 --- a/interactions/external/push/src/index.ts +++ b/interactions/external/push/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { Pusher } from "./Pusher.js"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadExternalPushInteraction(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addInteractor( "externalPush", diff --git a/interactions/external/remove/CHANGELOG.md b/interactions/external/remove/CHANGELOG.md index 3950659d3f8..b2e0a580150 100644 --- a/interactions/external/remove/CHANGELOG.md +++ b/interactions/external/remove/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/interaction-external-remove + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/interactions/external/remove/package.dist.json b/interactions/external/remove/package.dist.json index f37b47cd25a..0701b1f032b 100644 --- a/interactions/external/remove/package.dist.json +++ b/interactions/external/remove/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/interaction-external-remove", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles remove external interaction", "homepage": "https://particles.js.org", "repository": { @@ -87,7 +87,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/interactions/external/remove/package.json b/interactions/external/remove/package.json index c4fba59ab26..9d54bdf66c4 100644 --- a/interactions/external/remove/package.json +++ b/interactions/external/remove/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/interaction-external-remove", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles remove external interaction", "homepage": "https://particles.js.org", "scripts": { @@ -95,7 +95,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/interactions/external/remove/src/index.ts b/interactions/external/remove/src/index.ts index 6870f29b1f6..e1cfbe6b3f0 100644 --- a/interactions/external/remove/src/index.ts +++ b/interactions/external/remove/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { Remover } from "./Remover.js"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadExternalRemoveInteraction(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addInteractor( "externalRemove", diff --git a/interactions/external/repulse/CHANGELOG.md b/interactions/external/repulse/CHANGELOG.md index cff0c031dc9..b36ad0f94c2 100644 --- a/interactions/external/repulse/CHANGELOG.md +++ b/interactions/external/repulse/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/interaction-external-repulse + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/interactions/external/repulse/package.dist.json b/interactions/external/repulse/package.dist.json index 8a5a01a1eef..15de4b92b35 100644 --- a/interactions/external/repulse/package.dist.json +++ b/interactions/external/repulse/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/interaction-external-repulse", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles repulse external interaction", "homepage": "https://particles.js.org", "repository": { @@ -87,7 +87,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/interactions/external/repulse/package.json b/interactions/external/repulse/package.json index 578380056f1..fee3c095035 100644 --- a/interactions/external/repulse/package.json +++ b/interactions/external/repulse/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/interaction-external-repulse", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles repulse external interaction", "homepage": "https://particles.js.org", "scripts": { @@ -95,7 +95,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/interactions/external/repulse/src/index.ts b/interactions/external/repulse/src/index.ts index 4034686e522..49615dc2db1 100644 --- a/interactions/external/repulse/src/index.ts +++ b/interactions/external/repulse/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { Repulser } from "./Repulser.js"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadExternalRepulseInteraction(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addInteractor( "externalRepulse", diff --git a/interactions/external/slow/CHANGELOG.md b/interactions/external/slow/CHANGELOG.md index 269b529fa42..565f42560e2 100644 --- a/interactions/external/slow/CHANGELOG.md +++ b/interactions/external/slow/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/interaction-external-slow + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/interactions/external/slow/package.dist.json b/interactions/external/slow/package.dist.json index f0813c521fa..5c57309a0c0 100644 --- a/interactions/external/slow/package.dist.json +++ b/interactions/external/slow/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/interaction-external-slow", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles slow external interaction", "homepage": "https://particles.js.org", "repository": { @@ -87,7 +87,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/interactions/external/slow/package.json b/interactions/external/slow/package.json index 5bf085f60fa..6c1603056b0 100644 --- a/interactions/external/slow/package.json +++ b/interactions/external/slow/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/interaction-external-slow", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles slow external interaction", "homepage": "https://particles.js.org", "scripts": { @@ -95,7 +95,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/interactions/external/slow/src/index.ts b/interactions/external/slow/src/index.ts index 2bf7c3eb6e6..db508bae9bb 100644 --- a/interactions/external/slow/src/index.ts +++ b/interactions/external/slow/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { Slower } from "./Slower.js"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadExternalSlowInteraction(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addInteractor( "externalSlow", diff --git a/interactions/external/trail/CHANGELOG.md b/interactions/external/trail/CHANGELOG.md index be5a8af3330..6519c6e1ca2 100644 --- a/interactions/external/trail/CHANGELOG.md +++ b/interactions/external/trail/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/interaction-external-trail + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/interactions/external/trail/package.dist.json b/interactions/external/trail/package.dist.json index 5d6f524ada2..9a1f7406baf 100644 --- a/interactions/external/trail/package.dist.json +++ b/interactions/external/trail/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/interaction-external-trail", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles trail external interaction", "homepage": "https://particles.js.org", "repository": { @@ -87,7 +87,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/interactions/external/trail/package.json b/interactions/external/trail/package.json index e1ed875398b..53e66a97cce 100644 --- a/interactions/external/trail/package.json +++ b/interactions/external/trail/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/interaction-external-trail", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles trail external interaction", "homepage": "https://particles.js.org", "scripts": { @@ -67,7 +67,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/interactions/external/trail/src/index.ts b/interactions/external/trail/src/index.ts index af2eab15ff6..d8ea82a6b30 100644 --- a/interactions/external/trail/src/index.ts +++ b/interactions/external/trail/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { TrailMaker } from "./TrailMaker.js"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadExternalTrailInteraction(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addInteractor( "externalTrail", diff --git a/interactions/light/CHANGELOG.md b/interactions/light/CHANGELOG.md index b2df129663c..ae9d230b5ed 100644 --- a/interactions/light/CHANGELOG.md +++ b/interactions/light/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/interaction-light + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/interactions/light/package.dist.json b/interactions/light/package.dist.json index 834e9503cd6..03602a669a8 100644 --- a/interactions/light/package.dist.json +++ b/interactions/light/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/interaction-light", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles Light interaction", "homepage": "https://particles.js.org", "repository": { @@ -101,7 +101,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/interactions/light/package.json b/interactions/light/package.json index edcdcb63176..13ef3c3c4c7 100644 --- a/interactions/light/package.json +++ b/interactions/light/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/interaction-light", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles Light interaction", "homepage": "https://particles.js.org", "scripts": { @@ -109,7 +109,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/interactions/light/src/index.ts b/interactions/light/src/index.ts index 1a13902ee89..295fbc9d33f 100644 --- a/interactions/light/src/index.ts +++ b/interactions/light/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { ExternalLighter } from "./ExternalLighter.js"; import { ParticlesLighter } from "./ParticlesLighter.js"; @@ -9,7 +9,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadLightInteraction(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addInteractor( "externalLight", diff --git a/interactions/particles/attract/CHANGELOG.md b/interactions/particles/attract/CHANGELOG.md index e2839958bc5..30e24521955 100644 --- a/interactions/particles/attract/CHANGELOG.md +++ b/interactions/particles/attract/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/interaction-particles-attract + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/interactions/particles/attract/package.dist.json b/interactions/particles/attract/package.dist.json index 02949aef93f..0ef611998a7 100644 --- a/interactions/particles/attract/package.dist.json +++ b/interactions/particles/attract/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/interaction-particles-attract", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles attract particles interaction", "homepage": "https://particles.js.org", "repository": { @@ -87,7 +87,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/interactions/particles/attract/package.json b/interactions/particles/attract/package.json index 84e74043731..094c22603bc 100644 --- a/interactions/particles/attract/package.json +++ b/interactions/particles/attract/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/interaction-particles-attract", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles attract particles interaction", "homepage": "https://particles.js.org", "scripts": { @@ -95,7 +95,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/interactions/particles/attract/src/index.ts b/interactions/particles/attract/src/index.ts index 7bd5365b0df..53f81418289 100644 --- a/interactions/particles/attract/src/index.ts +++ b/interactions/particles/attract/src/index.ts @@ -1,5 +1,5 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; import { Attractor } from "./Attractor.js"; +import { type Engine } from "@tsparticles/engine"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadParticlesAttractInteraction(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addInteractor( "particlesAttract", diff --git a/interactions/particles/collisions/CHANGELOG.md b/interactions/particles/collisions/CHANGELOG.md index b28386eea62..ef2fe281b35 100644 --- a/interactions/particles/collisions/CHANGELOG.md +++ b/interactions/particles/collisions/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/interaction-particles-collisions + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/interactions/particles/collisions/package.dist.json b/interactions/particles/collisions/package.dist.json index 910abaafe33..f1bf60547d1 100644 --- a/interactions/particles/collisions/package.dist.json +++ b/interactions/particles/collisions/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/interaction-particles-collisions", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles collisions particles interaction", "homepage": "https://particles.js.org", "repository": { @@ -87,7 +87,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/interactions/particles/collisions/package.json b/interactions/particles/collisions/package.json index fa1a9079845..67c42da15aa 100644 --- a/interactions/particles/collisions/package.json +++ b/interactions/particles/collisions/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/interaction-particles-collisions", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles collisions particles interaction", "homepage": "https://particles.js.org", "scripts": { @@ -95,7 +95,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/interactions/particles/collisions/src/index.ts b/interactions/particles/collisions/src/index.ts index c8cca44204d..28d6577ee9d 100644 --- a/interactions/particles/collisions/src/index.ts +++ b/interactions/particles/collisions/src/index.ts @@ -1,5 +1,5 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; import { Collider } from "./Collider.js"; +import { type Engine } from "@tsparticles/engine"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadParticlesCollisionsInteraction(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addInteractor( "particlesCollisions", diff --git a/interactions/particles/links/CHANGELOG.md b/interactions/particles/links/CHANGELOG.md index 106d89bcac9..29693f737c4 100644 --- a/interactions/particles/links/CHANGELOG.md +++ b/interactions/particles/links/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/interaction-particles-links + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/interactions/particles/links/package.dist.json b/interactions/particles/links/package.dist.json index abbbee0103b..e76a1a399ec 100644 --- a/interactions/particles/links/package.dist.json +++ b/interactions/particles/links/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/interaction-particles-links", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles links particles interaction", "homepage": "https://particles.js.org", "repository": { @@ -87,7 +87,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/interactions/particles/links/package.json b/interactions/particles/links/package.json index e52f88ac2ff..85eec715b69 100644 --- a/interactions/particles/links/package.json +++ b/interactions/particles/links/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/interaction-particles-links", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles links particles interaction", "homepage": "https://particles.js.org", "scripts": { @@ -95,7 +95,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/interactions/particles/links/src/index.ts b/interactions/particles/links/src/index.ts index e913fe6bd3e..3d3d70de27e 100644 --- a/interactions/particles/links/src/index.ts +++ b/interactions/particles/links/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { loadLinksInteraction } from "./interaction.js"; import { loadLinksPlugin } from "./plugin.js"; @@ -9,7 +9,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadParticlesLinksInteraction(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await loadLinksInteraction(engine, refresh); await loadLinksPlugin(engine, refresh); diff --git a/interactions/particles/repulse/CHANGELOG.md b/interactions/particles/repulse/CHANGELOG.md index 7a150f348de..b83e42f0778 100644 --- a/interactions/particles/repulse/CHANGELOG.md +++ b/interactions/particles/repulse/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/interaction-particles-repulse + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/interactions/particles/repulse/package.dist.json b/interactions/particles/repulse/package.dist.json index 69f4ba5841f..b96b00f0ee0 100644 --- a/interactions/particles/repulse/package.dist.json +++ b/interactions/particles/repulse/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/interaction-particles-repulse", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles repulse particles interaction", "homepage": "https://particles.js.org", "repository": { @@ -101,7 +101,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/interactions/particles/repulse/package.json b/interactions/particles/repulse/package.json index 7d26f1a4799..fef1b86fb2c 100644 --- a/interactions/particles/repulse/package.json +++ b/interactions/particles/repulse/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/interaction-particles-repulse", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles repulse particles interaction", "homepage": "https://particles.js.org", "scripts": { @@ -109,7 +109,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/interactions/particles/repulse/src/index.ts b/interactions/particles/repulse/src/index.ts index 2456d688472..f6f5b9ca3ed 100644 --- a/interactions/particles/repulse/src/index.ts +++ b/interactions/particles/repulse/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { Repulser } from "./Repulser.js"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadParticlesRepulseInteraction(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addInteractor( "particlesRepulse", diff --git a/lerna.json b/lerna.json index feb20dabdd1..646fd682ba4 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "3.7.0", + "version": "3.8.0", "npmClient": "pnpm", "conventionalCommits": true, "command": { diff --git a/move/base/CHANGELOG.md b/move/base/CHANGELOG.md index f1785d272d1..fbeadfa4738 100644 --- a/move/base/CHANGELOG.md +++ b/move/base/CHANGELOG.md @@ -3,6 +3,18 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +### Bug Fixes + +- improved spin initial positioning ([43edbbf](https://github.com/tsparticles/tsparticles/commit/43edbbf7e1f58137c3996be2dfbfbc3c5a930ba8)) + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/move/base/package.dist.json b/move/base/package.dist.json index c3cd07ade69..6583d36c0f3 100644 --- a/move/base/package.dist.json +++ b/move/base/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/move-base", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles Base movement", "homepage": "https://particles.js.org", "repository": { @@ -87,7 +87,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/move/base/package.json b/move/base/package.json index db4edebb682..01b03f7d739 100644 --- a/move/base/package.json +++ b/move/base/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/move-base", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles Base movement", "homepage": "https://particles.js.org", "scripts": { @@ -95,7 +95,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/move/base/src/Utils.ts b/move/base/src/Utils.ts index 28def42b147..177e2977e36 100644 --- a/move/base/src/Utils.ts +++ b/move/base/src/Utils.ts @@ -12,11 +12,13 @@ import { import type { MoveParticle } from "./Types.js"; const half = 0.5, + double = 2, minVelocity = 0, identity = 1, moveSpeedFactor = 60, minSpinRadius = 0, - spinFactor = 0.01; + spinFactor = 0.01, + doublePI = Math.PI * double; /** * @param particle - @@ -145,10 +147,11 @@ export function spin(particle: MoveParticle, moveSpeed: number): void { return; } - const updateFunc = { - x: particle.spin.direction === RotateDirection.clockwise ? Math.cos : Math.sin, - y: particle.spin.direction === RotateDirection.clockwise ? Math.sin : Math.cos, - }; + const spinClockwise = particle.spin.direction === RotateDirection.clockwise, + updateFunc = { + x: spinClockwise ? Math.cos : Math.sin, + y: spinClockwise ? Math.sin : Math.cos, + }; particle.position.x = particle.spin.center.x + particle.spin.radius * updateFunc.x(particle.spin.angle); particle.position.y = particle.spin.center.y + particle.spin.radius * updateFunc.y(particle.spin.angle); @@ -233,12 +236,10 @@ export function initSpin(particle: MoveParticle): void { particle.retina.spinAcceleration = spinAcceleration * container.retina.pixelRatio; - const minVelocity = 0; - particle.spin = { center: spinCenter, direction: particle.velocity.x >= minVelocity ? RotateDirection.clockwise : RotateDirection.counterClockwise, - angle: particle.velocity.angle, + angle: getRandom() * doublePI, radius: distance, acceleration: particle.retina.spinAcceleration, }; diff --git a/move/base/src/index.ts b/move/base/src/index.ts index 578a8579871..17c4da9a78f 100644 --- a/move/base/src/index.ts +++ b/move/base/src/index.ts @@ -1,5 +1,5 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; import { BaseMover } from "./BaseMover.js"; +import { type Engine } from "@tsparticles/engine"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadBaseMover(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addMover( "base", diff --git a/move/parallax/CHANGELOG.md b/move/parallax/CHANGELOG.md index 7fbc0d1fda9..298a8e1195b 100644 --- a/move/parallax/CHANGELOG.md +++ b/move/parallax/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/move-parallax + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/move/parallax/package.dist.json b/move/parallax/package.dist.json index 5a33a82eb46..397279d22e4 100644 --- a/move/parallax/package.dist.json +++ b/move/parallax/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/move-parallax", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles Parallax movement", "homepage": "https://particles.js.org", "repository": { @@ -59,7 +59,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/move/parallax/package.json b/move/parallax/package.json index 23546ff5cbc..a4f698b9071 100644 --- a/move/parallax/package.json +++ b/move/parallax/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/move-parallax", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles Parallax movement", "homepage": "https://particles.js.org", "scripts": { @@ -67,7 +67,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/move/parallax/src/index.ts b/move/parallax/src/index.ts index d513442c074..0e30825f4fe 100644 --- a/move/parallax/src/index.ts +++ b/move/parallax/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { ParallaxMover } from "./ParallaxMover.js"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadParallaxMover(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addMover( "parallax", diff --git a/package.json b/package.json index a935df5908a..839e97ab4f6 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "copyfiles": "^2.4.1", "cross-env": "^7.0.3", "eslint": "^8.57.1", - "eslint-config-prettier": "^9.1.0", + "eslint-config-prettier": "^10.0.0", "eslint-plugin-jsdoc": "^50.3.1", "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-tsdoc": "^0.4.0", @@ -56,10 +56,10 @@ "jsdom-global": "^3.0.2", "lerna": "^8.1.8", "madge": "^8.0.0", - "nx": "19.8.12", + "nx": "19.8.14", "nx-cloud": "^19.1.0", "prettier": "^3.3.3", - "prettier-plugin-multiline-arrays": "^3.0.6", + "prettier-plugin-multiline-arrays": "^4.0.0", "rimraf": "^6.0.1", "source-map-support": "^0.5.21", "terser-webpack-plugin": "^5.3.10", @@ -77,7 +77,7 @@ "vitest": "^2.1.2", "webpack": "^5.95.0", "webpack-bundle-analyzer": "^4.10.2", - "webpack-cli": "^5.1.4", + "webpack-cli": "^6.0.0", "yargs": "^17.7.2" } } diff --git a/paths/curlNoise/CHANGELOG.md b/paths/curlNoise/CHANGELOG.md index 4cec58b2e1a..b74366e4efa 100644 --- a/paths/curlNoise/CHANGELOG.md +++ b/paths/curlNoise/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/path-curl-noise + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/paths/curlNoise/package.dist.json b/paths/curlNoise/package.dist.json index 4a2c30895de..342647e3e8e 100644 --- a/paths/curlNoise/package.dist.json +++ b/paths/curlNoise/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/path-curl-noise", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles curl noise path", "homepage": "https://particles.js.org", "repository": { @@ -104,7 +104,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0", - "@tsparticles/simplex-noise": "3.7.0" + "@tsparticles/engine": "3.8.0", + "@tsparticles/simplex-noise": "3.8.0" } } diff --git a/paths/curlNoise/package.json b/paths/curlNoise/package.json index 008e0875259..827c91a85a8 100644 --- a/paths/curlNoise/package.json +++ b/paths/curlNoise/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/path-curl-noise", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles curl noise path", "homepage": "https://particles.js.org", "scripts": { @@ -95,8 +95,8 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0", - "@tsparticles/simplex-noise": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0", + "@tsparticles/simplex-noise": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/paths/curlNoise/src/index.ts b/paths/curlNoise/src/index.ts index 776b1aab72d..8706086fe72 100644 --- a/paths/curlNoise/src/index.ts +++ b/paths/curlNoise/src/index.ts @@ -1,5 +1,5 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; import { CurlNoiseGenerator } from "./CurlNoiseGenerator.js"; +import { type Engine } from "@tsparticles/engine"; declare const __VERSION__: string; @@ -10,7 +10,7 @@ export const curlNoisePathName = "curlNoise"; * @param refresh - */ export async function loadCurlNoisePath(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addPathGenerator(curlNoisePathName, new CurlNoiseGenerator(), refresh); } diff --git a/paths/curves/CHANGELOG.md b/paths/curves/CHANGELOG.md index f31e3215cce..c2b14ea9903 100644 --- a/paths/curves/CHANGELOG.md +++ b/paths/curves/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/path-curves + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/paths/curves/package.dist.json b/paths/curves/package.dist.json index 9f2ddb0ed9c..4c1c5c5714b 100644 --- a/paths/curves/package.dist.json +++ b/paths/curves/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/path-curves", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles curves path", "homepage": "https://particles.js.org", "repository": { @@ -104,6 +104,6 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" } } diff --git a/paths/curves/package.json b/paths/curves/package.json index 3f2e85cf335..832e8603245 100644 --- a/paths/curves/package.json +++ b/paths/curves/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/path-curves", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles curves path", "homepage": "https://particles.js.org", "scripts": { @@ -109,7 +109,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/paths/curves/src/index.ts b/paths/curves/src/index.ts index e2822530129..4f2006dec17 100644 --- a/paths/curves/src/index.ts +++ b/paths/curves/src/index.ts @@ -1,5 +1,5 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; import { CurvesPathGenerator } from "./CurvesPathGenerator.js"; +import { type Engine } from "@tsparticles/engine"; declare const __VERSION__: string; @@ -10,7 +10,7 @@ export const curvesPathName = "curvesPathGenerator"; * @param refresh - */ export async function loadCurvesPath(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addPathGenerator(curvesPathName, new CurvesPathGenerator(), refresh); } diff --git a/paths/perlinNoise/CHANGELOG.md b/paths/perlinNoise/CHANGELOG.md index 4c7ea932d6d..9939c6abfdd 100644 --- a/paths/perlinNoise/CHANGELOG.md +++ b/paths/perlinNoise/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/path-perlin-noise + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/paths/perlinNoise/package.dist.json b/paths/perlinNoise/package.dist.json index 6be4297892d..f15deb867ee 100644 --- a/paths/perlinNoise/package.dist.json +++ b/paths/perlinNoise/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/path-perlin-noise", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles perlin noise path", "homepage": "https://particles.js.org", "repository": { @@ -104,7 +104,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0", - "@tsparticles/perlin-noise": "3.7.0" + "@tsparticles/engine": "3.8.0", + "@tsparticles/perlin-noise": "3.8.0" } } diff --git a/paths/perlinNoise/package.json b/paths/perlinNoise/package.json index 2a09a7d317a..5f2ccd8b189 100644 --- a/paths/perlinNoise/package.json +++ b/paths/perlinNoise/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/path-perlin-noise", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles perlin noise path", "homepage": "https://particles.js.org", "scripts": { @@ -109,8 +109,8 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0", - "@tsparticles/perlin-noise": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0", + "@tsparticles/perlin-noise": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/paths/perlinNoise/src/index.ts b/paths/perlinNoise/src/index.ts index 2fd079ab93e..d853ddb652c 100644 --- a/paths/perlinNoise/src/index.ts +++ b/paths/perlinNoise/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { PerlinNoiseGenerator } from "./PerlinNoiseGenerator.js"; declare const __VERSION__: string; @@ -10,7 +10,7 @@ export const perlinNoisePathName = "perlinNoise"; * @param refresh - */ export async function loadPerlinNoisePath(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addPathGenerator(perlinNoisePathName, new PerlinNoiseGenerator(), refresh); } diff --git a/paths/polygon/CHANGELOG.md b/paths/polygon/CHANGELOG.md index b1f8e197512..2f54ed56149 100644 --- a/paths/polygon/CHANGELOG.md +++ b/paths/polygon/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/path-polygon + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/paths/polygon/package.dist.json b/paths/polygon/package.dist.json index 6c6f37e761e..402465955a1 100644 --- a/paths/polygon/package.dist.json +++ b/paths/polygon/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/path-polygon", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles polygon path", "homepage": "https://particles.js.org", "repository": { @@ -104,6 +104,6 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" } } diff --git a/paths/polygon/package.json b/paths/polygon/package.json index ba0d64d927b..28ec98788a0 100644 --- a/paths/polygon/package.json +++ b/paths/polygon/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/path-polygon", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles polygon path", "homepage": "https://particles.js.org", "scripts": { @@ -109,7 +109,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/paths/polygon/src/index.ts b/paths/polygon/src/index.ts index d4a6a37e8df..44dbaa88bf3 100644 --- a/paths/polygon/src/index.ts +++ b/paths/polygon/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { PolygonPathGenerator } from "./PolygonPathGenerator.js"; declare const __VERSION__: string; @@ -10,7 +10,7 @@ export const polygonPathName = "polygonPathGenerator"; * @param refresh - */ export async function loadPolygonPath(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addPathGenerator(polygonPathName, new PolygonPathGenerator(), refresh); } diff --git a/paths/simplexNoise/CHANGELOG.md b/paths/simplexNoise/CHANGELOG.md index 4870ee3bf9e..7a55d39d714 100644 --- a/paths/simplexNoise/CHANGELOG.md +++ b/paths/simplexNoise/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/path-simplex-noise + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/paths/simplexNoise/package.dist.json b/paths/simplexNoise/package.dist.json index d567219496d..30a9be25584 100644 --- a/paths/simplexNoise/package.dist.json +++ b/paths/simplexNoise/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/path-simplex-noise", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles simplex noise path", "homepage": "https://particles.js.org", "repository": { @@ -104,7 +104,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0", - "@tsparticles/simplex-noise": "3.7.0" + "@tsparticles/engine": "3.8.0", + "@tsparticles/simplex-noise": "3.8.0" } } diff --git a/paths/simplexNoise/package.json b/paths/simplexNoise/package.json index 09810c361ef..0731a2336e4 100644 --- a/paths/simplexNoise/package.json +++ b/paths/simplexNoise/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/path-simplex-noise", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles simplex noise path", "homepage": "https://particles.js.org", "scripts": { @@ -95,8 +95,8 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0", - "@tsparticles/simplex-noise": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0", + "@tsparticles/simplex-noise": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/paths/simplexNoise/src/index.ts b/paths/simplexNoise/src/index.ts index 5f82ee9517e..f1290647c1d 100644 --- a/paths/simplexNoise/src/index.ts +++ b/paths/simplexNoise/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { SimplexNoiseGenerator } from "./SimplexNoiseGenerator.js"; declare const __VERSION__: string; @@ -10,7 +10,7 @@ export const simplexNoisePathName = "simplexNoise"; * @param refresh - */ export async function loadSimplexNoisePath(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addPathGenerator(simplexNoisePathName, new SimplexNoiseGenerator(), refresh); } diff --git a/paths/svg/CHANGELOG.md b/paths/svg/CHANGELOG.md index 7b17a30041d..7f4cc2c4ee5 100644 --- a/paths/svg/CHANGELOG.md +++ b/paths/svg/CHANGELOG.md @@ -3,6 +3,18 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +### Bug Fixes + +- fixed imports and constants ([caaf603](https://github.com/tsparticles/tsparticles/commit/caaf603932fb64de5c34bc075e0bbf2fb7821818)) + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/paths/svg/package.dist.json b/paths/svg/package.dist.json index c14aa8b680e..3b54578705c 100644 --- a/paths/svg/package.dist.json +++ b/paths/svg/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/path-svg", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles svg path", "homepage": "https://particles.js.org", "repository": { @@ -101,7 +101,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/paths/svg/package.json b/paths/svg/package.json index 5df8d5f783c..98278f5f4aa 100644 --- a/paths/svg/package.json +++ b/paths/svg/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/path-svg", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles svg path", "homepage": "https://particles.js.org", "scripts": { @@ -109,7 +109,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/paths/svg/src/SVGPathGenerator.ts b/paths/svg/src/SVGPathGenerator.ts index 689cf7d0ddf..d652cedbfab 100644 --- a/paths/svg/src/SVGPathGenerator.ts +++ b/paths/svg/src/SVGPathGenerator.ts @@ -10,7 +10,7 @@ import { Vector, getPosition, getRandom, - halfRandom, + half, randomInRange, } from "@tsparticles/engine"; @@ -20,7 +20,6 @@ enum SVGPathDirection { } const defaultSpeed = 1, - half = 0.5, minStep = 0, minIndex = 0, minWidth = 0, @@ -74,7 +73,7 @@ export class SVGPathGenerator implements IMovePathGenerator { pxRatio = container.retina.pixelRatio; if (particle.svgDirection === undefined) { - particle.svgDirection = getRandom() > halfRandom ? SVGPathDirection.normal : SVGPathDirection.reverse; + particle.svgDirection = getRandom() > half ? SVGPathDirection.normal : SVGPathDirection.reverse; } if (particle.svgPathIndex === undefined) { diff --git a/paths/svg/src/index.ts b/paths/svg/src/index.ts index df9d92e1f73..dda9e237d4d 100644 --- a/paths/svg/src/index.ts +++ b/paths/svg/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { SVGPathGenerator } from "./SVGPathGenerator.js"; declare const __VERSION__: string; @@ -10,7 +10,7 @@ export const svgPathName = "svgPathGenerator"; * @param refresh - */ export async function loadSVGPath(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addPathGenerator(svgPathName, new SVGPathGenerator(), refresh); } diff --git a/paths/zigzag/CHANGELOG.md b/paths/zigzag/CHANGELOG.md index 49395359d62..a4477262b15 100644 --- a/paths/zigzag/CHANGELOG.md +++ b/paths/zigzag/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/path-zig-zag + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/paths/zigzag/package.dist.json b/paths/zigzag/package.dist.json index 33987915275..b8b5dc6a040 100644 --- a/paths/zigzag/package.dist.json +++ b/paths/zigzag/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/path-zig-zag", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles zig zag path", "homepage": "https://particles.js.org", "repository": { @@ -101,7 +101,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/paths/zigzag/package.json b/paths/zigzag/package.json index 03de384739a..0cf72cf3cd9 100644 --- a/paths/zigzag/package.json +++ b/paths/zigzag/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/path-zig-zag", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles zig zag path", "homepage": "https://particles.js.org", "scripts": { @@ -109,7 +109,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/paths/zigzag/src/index.ts b/paths/zigzag/src/index.ts index 085296ba734..9e692715a92 100644 --- a/paths/zigzag/src/index.ts +++ b/paths/zigzag/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { ZigZagPathGenerator } from "./ZigZagPathGenerator.js"; declare const __VERSION__: string; @@ -10,7 +10,7 @@ export const zigZagPathName = "zigZagPathGenerator"; * @param refresh - */ export async function loadZigZagPath(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addPathGenerator(zigZagPathName, new ZigZagPathGenerator(), refresh); } diff --git a/plugins/absorbers/CHANGELOG.md b/plugins/absorbers/CHANGELOG.md index 0ad5bc79cf7..f81356aaa0d 100644 --- a/plugins/absorbers/CHANGELOG.md +++ b/plugins/absorbers/CHANGELOG.md @@ -3,6 +3,18 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +### Bug Fixes + +- fixed imports and constants ([caaf603](https://github.com/tsparticles/tsparticles/commit/caaf603932fb64de5c34bc075e0bbf2fb7821818)) + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/plugins/absorbers/package.dist.json b/plugins/absorbers/package.dist.json index 1fd1b7c65f7..40dad628bc1 100644 --- a/plugins/absorbers/package.dist.json +++ b/plugins/absorbers/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-absorbers", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles absorbers plugin", "homepage": "https://particles.js.org", "repository": { @@ -86,7 +86,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/plugins/absorbers/package.json b/plugins/absorbers/package.json index 3b32170b915..5a9f48bdd08 100644 --- a/plugins/absorbers/package.json +++ b/plugins/absorbers/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-absorbers", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles absorbers plugin", "homepage": "https://particles.js.org", "scripts": { @@ -94,7 +94,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/plugins/absorbers/src/AbsorberInstance.ts b/plugins/absorbers/src/AbsorberInstance.ts index 96a62476bc9..c12f4267ea8 100644 --- a/plugins/absorbers/src/AbsorberInstance.ts +++ b/plugins/absorbers/src/AbsorberInstance.ts @@ -15,6 +15,7 @@ import { getRangeValue, getStyleFromRgb, isPointInside, + originPoint, percentDenominator, rangeColorToRgb, } from "@tsparticles/engine"; @@ -28,10 +29,6 @@ const squareExp = 2, minOrbitLength = 0, minRadius = 0, minMass = 0, - origin: ICoordinates = { - x: 0, - y: 0, - }, minAngle = 0, double = 2, maxAngle = Math.PI * double, @@ -241,7 +238,7 @@ export class AbsorberInstance { draw(context: CanvasRenderingContext2D): void { context.translate(this.position.x, this.position.y); context.beginPath(); - context.arc(origin.x, origin.y, this.size, minAngle, maxAngle, false); + context.arc(originPoint.x, originPoint.y, this.size, minAngle, maxAngle, false); context.closePath(); context.fillStyle = getStyleFromRgb(this.color, this.opacity); context.fill(); diff --git a/plugins/absorbers/src/Options/Classes/AbsorberSizeLimit.ts b/plugins/absorbers/src/Options/Classes/AbsorberSizeLimit.ts index a807ded1d80..7f7a38ee3ae 100644 --- a/plugins/absorbers/src/Options/Classes/AbsorberSizeLimit.ts +++ b/plugins/absorbers/src/Options/Classes/AbsorberSizeLimit.ts @@ -2,8 +2,8 @@ import { type IOptionLoader, type RecursivePartial, isNull } from "@tsparticles/ import type { IAbsorberSizeLimit } from "../Interfaces/IAbsorberSizeLimit.js"; export class AbsorberSizeLimit implements IAbsorberSizeLimit, IOptionLoader { - mass: number; - radius: number; + mass; + radius; constructor() { this.radius = 0; diff --git a/plugins/absorbers/src/index.ts b/plugins/absorbers/src/index.ts index ef9eef2bc9d..a5464196687 100644 --- a/plugins/absorbers/src/index.ts +++ b/plugins/absorbers/src/index.ts @@ -1,5 +1,5 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; import { AbsorbersPlugin } from "./AbsorbersPlugin.js"; +import { type Engine } from "@tsparticles/engine"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadAbsorbersPlugin(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addPlugin(new AbsorbersPlugin(engine), refresh); } diff --git a/plugins/canvasMask/CHANGELOG.md b/plugins/canvasMask/CHANGELOG.md index 497d0df30e4..3dc19dc0fc2 100644 --- a/plugins/canvasMask/CHANGELOG.md +++ b/plugins/canvasMask/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/plugin-canvas-mask + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/plugins/canvasMask/package.dist.json b/plugins/canvasMask/package.dist.json index 2b900ab013a..df34531e066 100644 --- a/plugins/canvasMask/package.dist.json +++ b/plugins/canvasMask/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-canvas-mask", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles canvas mask plugin", "homepage": "https://particles.js.org", "repository": { @@ -86,7 +86,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/plugins/canvasMask/package.json b/plugins/canvasMask/package.json index ca0211aa92a..8678592bd2b 100644 --- a/plugins/canvasMask/package.json +++ b/plugins/canvasMask/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-canvas-mask", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles canvas mask plugin", "homepage": "https://particles.js.org", "scripts": { @@ -94,7 +94,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/plugins/canvasMask/src/index.ts b/plugins/canvasMask/src/index.ts index c9d01bc608a..8974e9644df 100644 --- a/plugins/canvasMask/src/index.ts +++ b/plugins/canvasMask/src/index.ts @@ -1,5 +1,5 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; import { CanvasMaskPlugin } from "./CanvasMaskPlugin.js"; +import { type Engine } from "@tsparticles/engine"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadCanvasMaskPlugin(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addPlugin(new CanvasMaskPlugin(), refresh); } diff --git a/plugins/colors/hexColor/CHANGELOG.md b/plugins/colors/hexColor/CHANGELOG.md index 442f8816e84..bfa974cf675 100644 --- a/plugins/colors/hexColor/CHANGELOG.md +++ b/plugins/colors/hexColor/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/plugin-hex-color + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) **Note:** Version bump only for package @tsparticles/plugin-hex-color diff --git a/plugins/colors/hexColor/package.dist.json b/plugins/colors/hexColor/package.dist.json index c89f5da60ac..79ad8bebc67 100644 --- a/plugins/colors/hexColor/package.dist.json +++ b/plugins/colors/hexColor/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-hex-color", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles hex color plugin", "homepage": "https://particles.js.org", "repository": { @@ -100,7 +100,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/plugins/colors/hexColor/package.json b/plugins/colors/hexColor/package.json index b4611e48d36..0b411ae3c54 100644 --- a/plugins/colors/hexColor/package.json +++ b/plugins/colors/hexColor/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-hex-color", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles hex color plugin", "homepage": "https://particles.js.org", "scripts": { @@ -108,7 +108,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/plugins/colors/hexColor/src/index.ts b/plugins/colors/hexColor/src/index.ts index d07beea48b9..eca8ae3441c 100644 --- a/plugins/colors/hexColor/src/index.ts +++ b/plugins/colors/hexColor/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { HexColorManager } from "./HexColorManager.js"; declare const __VERSION__: string; @@ -10,7 +10,7 @@ declare const __VERSION__: string; * @returns A promise that resolves when the plugin is loaded */ export async function loadHexColorPlugin(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addColorManager(new HexColorManager(), refresh); } diff --git a/plugins/colors/hslColor/CHANGELOG.md b/plugins/colors/hslColor/CHANGELOG.md index 35dac926be5..a694c0c72bb 100644 --- a/plugins/colors/hslColor/CHANGELOG.md +++ b/plugins/colors/hslColor/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/plugin-hsl-color + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) **Note:** Version bump only for package @tsparticles/plugin-hsl-color diff --git a/plugins/colors/hslColor/package.dist.json b/plugins/colors/hslColor/package.dist.json index c49eff79618..5464fff1849 100644 --- a/plugins/colors/hslColor/package.dist.json +++ b/plugins/colors/hslColor/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-hsl-color", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles HSL color plugin", "homepage": "https://particles.js.org", "repository": { @@ -100,7 +100,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/plugins/colors/hslColor/package.json b/plugins/colors/hslColor/package.json index 5336ca067a0..c2d1bb59daf 100644 --- a/plugins/colors/hslColor/package.json +++ b/plugins/colors/hslColor/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-hsl-color", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles HSL color plugin", "homepage": "https://particles.js.org", "scripts": { @@ -108,7 +108,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/plugins/colors/hslColor/src/index.ts b/plugins/colors/hslColor/src/index.ts index 12d67139dde..0b9b7df72a4 100644 --- a/plugins/colors/hslColor/src/index.ts +++ b/plugins/colors/hslColor/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { HslColorManager } from "./HslColorManager.js"; declare const __VERSION__: string; @@ -10,7 +10,7 @@ declare const __VERSION__: string; * @returns A promise that resolves when the plugin is loaded */ export async function loadHslColorPlugin(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addColorManager(new HslColorManager(), refresh); } diff --git a/plugins/colors/hsvColor/CHANGELOG.md b/plugins/colors/hsvColor/CHANGELOG.md index 6c24754e6fc..9a6f61eee58 100644 --- a/plugins/colors/hsvColor/CHANGELOG.md +++ b/plugins/colors/hsvColor/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/plugin-hsv-color + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/plugins/colors/hsvColor/package.dist.json b/plugins/colors/hsvColor/package.dist.json index c890d5c10b7..a40f9a412c7 100644 --- a/plugins/colors/hsvColor/package.dist.json +++ b/plugins/colors/hsvColor/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-hsv-color", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles HSV color plugin", "homepage": "https://particles.js.org", "repository": { @@ -100,7 +100,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/plugins/colors/hsvColor/package.json b/plugins/colors/hsvColor/package.json index 354fb981323..1f55cb4f14f 100644 --- a/plugins/colors/hsvColor/package.json +++ b/plugins/colors/hsvColor/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-hsv-color", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles HSV color plugin", "homepage": "https://particles.js.org", "scripts": { @@ -108,7 +108,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/plugins/colors/hsvColor/src/index.ts b/plugins/colors/hsvColor/src/index.ts index 8a7185a9e91..e50a267fbda 100644 --- a/plugins/colors/hsvColor/src/index.ts +++ b/plugins/colors/hsvColor/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { HsvColorManager } from "./HsvColorManager.js"; declare const __VERSION__: string; @@ -10,7 +10,7 @@ declare const __VERSION__: string; * @returns A promise that resolves when the plugin is loaded */ export async function loadHsvColorPlugin(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addColorManager(new HsvColorManager(), refresh); } diff --git a/plugins/colors/namedColor/CHANGELOG.md b/plugins/colors/namedColor/CHANGELOG.md index 58abcd07099..476a54481e8 100644 --- a/plugins/colors/namedColor/CHANGELOG.md +++ b/plugins/colors/namedColor/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/plugin-named-color + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/plugins/colors/namedColor/package.dist.json b/plugins/colors/namedColor/package.dist.json index 683cbc472b9..6d84e676211 100644 --- a/plugins/colors/namedColor/package.dist.json +++ b/plugins/colors/namedColor/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-named-color", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles named color plugin", "homepage": "https://particles.js.org", "repository": { @@ -100,7 +100,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/plugins/colors/namedColor/package.json b/plugins/colors/namedColor/package.json index dfcd7aa5ee2..45fef2d94f0 100644 --- a/plugins/colors/namedColor/package.json +++ b/plugins/colors/namedColor/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-named-color", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles named color plugin", "homepage": "https://particles.js.org", "scripts": { @@ -108,7 +108,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/plugins/colors/namedColor/src/index.ts b/plugins/colors/namedColor/src/index.ts index 85a82490b8d..789ba171489 100644 --- a/plugins/colors/namedColor/src/index.ts +++ b/plugins/colors/namedColor/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { NamedColorManager } from "./NamedColorManager.js"; declare const __VERSION__: string; @@ -10,7 +10,7 @@ declare const __VERSION__: string; * @returns A promise that resolves when the plugin is loaded */ export async function loadNamedColorPlugin(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addColorManager(new NamedColorManager(), refresh); } diff --git a/plugins/colors/oklchColor/CHANGELOG.md b/plugins/colors/oklchColor/CHANGELOG.md index 4e924f7f84d..4c5d6522e91 100644 --- a/plugins/colors/oklchColor/CHANGELOG.md +++ b/plugins/colors/oklchColor/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/plugin-oklch-color + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/plugins/colors/oklchColor/package.dist.json b/plugins/colors/oklchColor/package.dist.json index d0e4e181035..404bf6cd074 100644 --- a/plugins/colors/oklchColor/package.dist.json +++ b/plugins/colors/oklchColor/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-oklch-color", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles OKLCH color plugin", "homepage": "https://particles.js.org", "repository": { @@ -100,7 +100,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/plugins/colors/oklchColor/package.json b/plugins/colors/oklchColor/package.json index d3c615e3ba7..9cd887c998b 100644 --- a/plugins/colors/oklchColor/package.json +++ b/plugins/colors/oklchColor/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-oklch-color", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles OKLCH color plugin", "homepage": "https://particles.js.org", "scripts": { @@ -108,7 +108,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/plugins/colors/oklchColor/src/index.ts b/plugins/colors/oklchColor/src/index.ts index e2d5474eca0..6abbec4ea93 100644 --- a/plugins/colors/oklchColor/src/index.ts +++ b/plugins/colors/oklchColor/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { LchColorManager } from "./LchColorManager.js"; import { OklchColorManager } from "./OklchColorManager.js"; @@ -11,7 +11,7 @@ declare const __VERSION__: string; * @returns A promise that resolves when the plugin is loaded */ export async function loadOklchColorPlugin(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addColorManager(new OklchColorManager(), refresh); await engine.addColorManager(new LchColorManager(), refresh); diff --git a/plugins/colors/rgbColor/CHANGELOG.md b/plugins/colors/rgbColor/CHANGELOG.md index 64ea2dea3dd..05eb4d0a103 100644 --- a/plugins/colors/rgbColor/CHANGELOG.md +++ b/plugins/colors/rgbColor/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/plugin-rgb-color + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) **Note:** Version bump only for package @tsparticles/plugin-rgb-color diff --git a/plugins/colors/rgbColor/package.dist.json b/plugins/colors/rgbColor/package.dist.json index f996256887f..a849e65b528 100644 --- a/plugins/colors/rgbColor/package.dist.json +++ b/plugins/colors/rgbColor/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-rgb-color", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles RGB color plugin", "homepage": "https://particles.js.org", "repository": { @@ -100,7 +100,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/plugins/colors/rgbColor/package.json b/plugins/colors/rgbColor/package.json index dfff3b7a96c..8d50f9e0a2e 100644 --- a/plugins/colors/rgbColor/package.json +++ b/plugins/colors/rgbColor/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-rgb-color", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles RGB color plugin", "homepage": "https://particles.js.org", "scripts": { @@ -108,7 +108,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/plugins/colors/rgbColor/src/index.ts b/plugins/colors/rgbColor/src/index.ts index 6cc7c8e0454..67f06479f97 100644 --- a/plugins/colors/rgbColor/src/index.ts +++ b/plugins/colors/rgbColor/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { RgbColorManager } from "./RgbColorManager.js"; declare const __VERSION__: string; @@ -10,7 +10,7 @@ declare const __VERSION__: string; * @returns A promise that resolves when the plugin is loaded */ export async function loadRgbColorPlugin(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addColorManager(new RgbColorManager(), refresh); } diff --git a/plugins/easings/back/CHANGELOG.md b/plugins/easings/back/CHANGELOG.md index f9be83a22a6..e4ec1bbbf0a 100644 --- a/plugins/easings/back/CHANGELOG.md +++ b/plugins/easings/back/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/plugin-easing-back + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/plugins/easings/back/package.dist.json b/plugins/easings/back/package.dist.json index 6f7fccc455e..74f3b88a441 100644 --- a/plugins/easings/back/package.dist.json +++ b/plugins/easings/back/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-easing-back", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles easing back plugin", "homepage": "https://particles.js.org", "repository": { @@ -100,7 +100,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/plugins/easings/back/package.json b/plugins/easings/back/package.json index 97fc1c5002b..f49cb36e2f0 100644 --- a/plugins/easings/back/package.json +++ b/plugins/easings/back/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-easing-back", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles easing back plugin", "homepage": "https://particles.js.org", "scripts": { @@ -108,7 +108,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/plugins/easings/back/src/index.ts b/plugins/easings/back/src/index.ts index 84b467071ff..0e2e23aeb71 100644 --- a/plugins/easings/back/src/index.ts +++ b/plugins/easings/back/src/index.ts @@ -1,6 +1,6 @@ /* eslint-disable @typescript-eslint/no-magic-numbers */ -import { EasingType, type Engine, assertValidVersion } from "@tsparticles/engine"; +import { EasingType, type Engine } from "@tsparticles/engine"; declare const __VERSION__: string; @@ -9,7 +9,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadEasingBackPlugin(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addEasing( EasingType.easeInBack, diff --git a/plugins/easings/circ/CHANGELOG.md b/plugins/easings/circ/CHANGELOG.md index 01b1ec6a694..73b01c92e50 100644 --- a/plugins/easings/circ/CHANGELOG.md +++ b/plugins/easings/circ/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/plugin-easing-circ + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/plugins/easings/circ/package.dist.json b/plugins/easings/circ/package.dist.json index b83e391bb3a..1fcebd790ea 100644 --- a/plugins/easings/circ/package.dist.json +++ b/plugins/easings/circ/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-easing-circ", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles easing circ plugin", "homepage": "https://particles.js.org", "repository": { @@ -100,7 +100,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/plugins/easings/circ/package.json b/plugins/easings/circ/package.json index 463bc6f7bdf..5033709d13d 100644 --- a/plugins/easings/circ/package.json +++ b/plugins/easings/circ/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-easing-circ", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles easing circ plugin", "homepage": "https://particles.js.org", "scripts": { @@ -108,7 +108,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/plugins/easings/circ/src/index.ts b/plugins/easings/circ/src/index.ts index a6a56b464e2..cb4c03988b9 100644 --- a/plugins/easings/circ/src/index.ts +++ b/plugins/easings/circ/src/index.ts @@ -1,6 +1,6 @@ /* eslint-disable @typescript-eslint/no-magic-numbers */ -import { EasingType, type Engine, assertValidVersion } from "@tsparticles/engine"; +import { EasingType, type Engine } from "@tsparticles/engine"; declare const __VERSION__: string; @@ -9,7 +9,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadEasingCircPlugin(engine: Engine, refresh: false): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addEasing(EasingType.easeInCirc, value => 1 - Math.sqrt(1 - value ** 2), false); await engine.addEasing(EasingType.easeOutCirc, value => Math.sqrt(1 - (value - 1) ** 2), false); diff --git a/plugins/easings/cubic/CHANGELOG.md b/plugins/easings/cubic/CHANGELOG.md index 37d80d95747..0421b94de06 100644 --- a/plugins/easings/cubic/CHANGELOG.md +++ b/plugins/easings/cubic/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/plugin-easing-cubic + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/plugins/easings/cubic/package.dist.json b/plugins/easings/cubic/package.dist.json index fcd3492f4f7..c4e83ee1608 100644 --- a/plugins/easings/cubic/package.dist.json +++ b/plugins/easings/cubic/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-easing-cubic", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles easing cubic plugin", "homepage": "https://particles.js.org", "repository": { @@ -100,7 +100,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/plugins/easings/cubic/package.json b/plugins/easings/cubic/package.json index 8665d86d6d8..e8cd999e662 100644 --- a/plugins/easings/cubic/package.json +++ b/plugins/easings/cubic/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-easing-cubic", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles easing cubic plugin", "homepage": "https://particles.js.org", "scripts": { @@ -108,7 +108,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/plugins/easings/cubic/src/index.ts b/plugins/easings/cubic/src/index.ts index 4f0140dbc95..ac71feba5c0 100644 --- a/plugins/easings/cubic/src/index.ts +++ b/plugins/easings/cubic/src/index.ts @@ -1,6 +1,6 @@ /* eslint-disable @typescript-eslint/no-magic-numbers */ -import { EasingType, type Engine, assertValidVersion } from "@tsparticles/engine"; +import { EasingType, type Engine } from "@tsparticles/engine"; declare const __VERSION__: string; @@ -9,7 +9,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadEasingCubicPlugin(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addEasing(EasingType.easeInCubic, value => value ** 3, false); await engine.addEasing(EasingType.easeOutCubic, value => 1 - (1 - value) ** 3, false); diff --git a/plugins/easings/expo/CHANGELOG.md b/plugins/easings/expo/CHANGELOG.md index 37a09e7e3c1..9275c1ad66b 100644 --- a/plugins/easings/expo/CHANGELOG.md +++ b/plugins/easings/expo/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/plugin-easing-expo + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/plugins/easings/expo/package.dist.json b/plugins/easings/expo/package.dist.json index c611e080522..479e282c128 100644 --- a/plugins/easings/expo/package.dist.json +++ b/plugins/easings/expo/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-easing-expo", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles easing expo plugin", "homepage": "https://particles.js.org", "repository": { @@ -100,7 +100,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/plugins/easings/expo/package.json b/plugins/easings/expo/package.json index b3dcd612e76..211784fd72d 100644 --- a/plugins/easings/expo/package.json +++ b/plugins/easings/expo/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-easing-expo", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles easing expo plugin", "homepage": "https://particles.js.org", "scripts": { @@ -108,7 +108,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/plugins/easings/expo/src/index.ts b/plugins/easings/expo/src/index.ts index 39065cff4fe..73d3d66d994 100644 --- a/plugins/easings/expo/src/index.ts +++ b/plugins/easings/expo/src/index.ts @@ -1,6 +1,6 @@ /* eslint-disable @typescript-eslint/no-magic-numbers */ -import { EasingType, type Engine, assertValidVersion } from "@tsparticles/engine"; +import { EasingType, type Engine } from "@tsparticles/engine"; declare const __VERSION__: string; @@ -9,7 +9,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadEasingExpoPlugin(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addEasing(EasingType.easeInExpo, value => (!value ? 0 : 2 ** (10 * value - 10)), false); await engine.addEasing(EasingType.easeOutExpo, value => (value === 1 ? 1 : 1 - Math.pow(2, -10 * value)), false); diff --git a/plugins/easings/linear/CHANGELOG.md b/plugins/easings/linear/CHANGELOG.md index fe0e663cb4c..d72759e0f9e 100644 --- a/plugins/easings/linear/CHANGELOG.md +++ b/plugins/easings/linear/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/plugin-easing-linear + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/plugins/easings/linear/package.dist.json b/plugins/easings/linear/package.dist.json index 91b6f286924..903f97b2383 100644 --- a/plugins/easings/linear/package.dist.json +++ b/plugins/easings/linear/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-easing-linear", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles easing linear plugin", "homepage": "https://particles.js.org", "repository": { @@ -100,7 +100,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/plugins/easings/linear/package.json b/plugins/easings/linear/package.json index aef531dc3c6..d5121a52e98 100644 --- a/plugins/easings/linear/package.json +++ b/plugins/easings/linear/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-easing-linear", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles easing linear plugin", "homepage": "https://particles.js.org", "scripts": { @@ -108,7 +108,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/plugins/easings/linear/src/index.ts b/plugins/easings/linear/src/index.ts index 62922332ab5..0b40dd65d14 100644 --- a/plugins/easings/linear/src/index.ts +++ b/plugins/easings/linear/src/index.ts @@ -1,4 +1,4 @@ -import { EasingType, type Engine, assertValidVersion } from "@tsparticles/engine"; +import { EasingType, type Engine } from "@tsparticles/engine"; declare const __VERSION__: string; @@ -7,7 +7,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadEasingLinearPlugin(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addEasing( EasingType.easeInLinear, diff --git a/plugins/easings/quad/CHANGELOG.md b/plugins/easings/quad/CHANGELOG.md index 8f9b015514b..29ec340615e 100644 --- a/plugins/easings/quad/CHANGELOG.md +++ b/plugins/easings/quad/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/plugin-easing-quad + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/plugins/easings/quad/package.dist.json b/plugins/easings/quad/package.dist.json index 27d25fc6015..b8a51f978d5 100644 --- a/plugins/easings/quad/package.dist.json +++ b/plugins/easings/quad/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-easing-quad", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles easing quad plugin", "homepage": "https://particles.js.org", "repository": { @@ -100,7 +100,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/plugins/easings/quad/package.json b/plugins/easings/quad/package.json index ca029a2cd01..182150c29ab 100644 --- a/plugins/easings/quad/package.json +++ b/plugins/easings/quad/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-easing-quad", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles easing quad plugin", "homepage": "https://particles.js.org", "scripts": { @@ -108,7 +108,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/plugins/easings/quad/src/index.ts b/plugins/easings/quad/src/index.ts index 6c440b608bb..8c4f5946aea 100644 --- a/plugins/easings/quad/src/index.ts +++ b/plugins/easings/quad/src/index.ts @@ -1,6 +1,6 @@ /* eslint-disable @typescript-eslint/no-magic-numbers */ -import { EasingType, type Engine, assertValidVersion } from "@tsparticles/engine"; +import { EasingType, type Engine } from "@tsparticles/engine"; declare const __VERSION__: string; @@ -9,7 +9,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadEasingQuadPlugin(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addEasing(EasingType.easeInQuad, value => value ** 2, false); await engine.addEasing(EasingType.easeOutQuad, value => 1 - (1 - value) ** 2, false); diff --git a/plugins/easings/quart/CHANGELOG.md b/plugins/easings/quart/CHANGELOG.md index 5fab538c65d..c5bec9be352 100644 --- a/plugins/easings/quart/CHANGELOG.md +++ b/plugins/easings/quart/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/plugin-easing-quart + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/plugins/easings/quart/package.dist.json b/plugins/easings/quart/package.dist.json index f4bcdde1885..c550865002e 100644 --- a/plugins/easings/quart/package.dist.json +++ b/plugins/easings/quart/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-easing-quart", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles easing quart plugin", "homepage": "https://particles.js.org", "repository": { @@ -100,7 +100,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/plugins/easings/quart/package.json b/plugins/easings/quart/package.json index 112600e2385..60d330060ba 100644 --- a/plugins/easings/quart/package.json +++ b/plugins/easings/quart/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-easing-quart", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles easing quart plugin", "homepage": "https://particles.js.org", "scripts": { @@ -108,7 +108,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/plugins/easings/quart/src/index.ts b/plugins/easings/quart/src/index.ts index 98c40fc5aa7..6844b580dd4 100644 --- a/plugins/easings/quart/src/index.ts +++ b/plugins/easings/quart/src/index.ts @@ -1,6 +1,6 @@ /* eslint-disable @typescript-eslint/no-magic-numbers */ -import { EasingType, type Engine, assertValidVersion } from "@tsparticles/engine"; +import { EasingType, type Engine } from "@tsparticles/engine"; declare const __VERSION__: string; @@ -9,7 +9,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadEasingQuartPlugin(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addEasing(EasingType.easeInQuart, value => value ** 4, false); await engine.addEasing(EasingType.easeOutQuart, value => 1 - (1 - value) ** 4, false); await engine.addEasing( diff --git a/plugins/easings/quint/CHANGELOG.md b/plugins/easings/quint/CHANGELOG.md index 7fa51304c9a..1dd874ff32c 100644 --- a/plugins/easings/quint/CHANGELOG.md +++ b/plugins/easings/quint/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/plugin-easing-quint + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/plugins/easings/quint/package.dist.json b/plugins/easings/quint/package.dist.json index 99e59f972fb..04a361352d9 100644 --- a/plugins/easings/quint/package.dist.json +++ b/plugins/easings/quint/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-easing-quint", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles easing quint plugin", "homepage": "https://particles.js.org", "repository": { @@ -100,7 +100,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/plugins/easings/quint/package.json b/plugins/easings/quint/package.json index 209628dddc7..ea0f658f94d 100644 --- a/plugins/easings/quint/package.json +++ b/plugins/easings/quint/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-easing-quint", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles easing quint plugin", "homepage": "https://particles.js.org", "scripts": { @@ -108,7 +108,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/plugins/easings/quint/src/index.ts b/plugins/easings/quint/src/index.ts index ec93c7e7688..d055468b498 100644 --- a/plugins/easings/quint/src/index.ts +++ b/plugins/easings/quint/src/index.ts @@ -1,6 +1,6 @@ /* eslint-disable @typescript-eslint/no-magic-numbers */ -import { EasingType, type Engine, assertValidVersion } from "@tsparticles/engine"; +import { EasingType, type Engine } from "@tsparticles/engine"; declare const __VERSION__: string; @@ -9,7 +9,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadEasingQuintPlugin(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addEasing(EasingType.easeInQuint, value => value ** 5, false); await engine.addEasing(EasingType.easeOutQuint, value => 1 - (1 - value) ** 5, false); diff --git a/plugins/easings/sine/CHANGELOG.md b/plugins/easings/sine/CHANGELOG.md index d599be71fa0..c30cb5457fd 100644 --- a/plugins/easings/sine/CHANGELOG.md +++ b/plugins/easings/sine/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/plugin-easing-sine + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/plugins/easings/sine/package.dist.json b/plugins/easings/sine/package.dist.json index d4a1a26d953..c6cd969c6ff 100644 --- a/plugins/easings/sine/package.dist.json +++ b/plugins/easings/sine/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-easing-sine", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles easing sine plugin", "homepage": "https://particles.js.org", "repository": { @@ -100,7 +100,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/plugins/easings/sine/package.json b/plugins/easings/sine/package.json index 9675cd6486c..eb691b9605a 100644 --- a/plugins/easings/sine/package.json +++ b/plugins/easings/sine/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-easing-sine", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles easing sine plugin", "homepage": "https://particles.js.org", "scripts": { @@ -108,7 +108,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/plugins/easings/sine/src/index.ts b/plugins/easings/sine/src/index.ts index ea77a4258f5..91aea9d783b 100644 --- a/plugins/easings/sine/src/index.ts +++ b/plugins/easings/sine/src/index.ts @@ -1,6 +1,6 @@ /* eslint-disable @typescript-eslint/no-magic-numbers */ -import { EasingType, type Engine, assertValidVersion } from "@tsparticles/engine"; +import { EasingType, type Engine } from "@tsparticles/engine"; declare const __VERSION__: string; @@ -9,7 +9,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadEasingSinePlugin(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addEasing(EasingType.easeInSine, value => 1 - Math.cos((value * Math.PI) / 2), false); await engine.addEasing(EasingType.easeOutSine, value => Math.sin((value * Math.PI) / 2), false); diff --git a/plugins/emitters/CHANGELOG.md b/plugins/emitters/CHANGELOG.md index bc9eec5fd21..2a3605f00df 100644 --- a/plugins/emitters/CHANGELOG.md +++ b/plugins/emitters/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/plugin-emitters + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/plugins/emitters/package.dist.json b/plugins/emitters/package.dist.json index 9ba2e9b624e..4c58d90156e 100644 --- a/plugins/emitters/package.dist.json +++ b/plugins/emitters/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-emitters", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles emitters plugin", "homepage": "https://particles.js.org", "repository": { @@ -86,7 +86,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/plugins/emitters/package.json b/plugins/emitters/package.json index 4e31b13160b..83beceb7dd9 100644 --- a/plugins/emitters/package.json +++ b/plugins/emitters/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-emitters", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles emitters plugin", "homepage": "https://particles.js.org", "scripts": { @@ -94,7 +94,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/plugins/emitters/src/index.ts b/plugins/emitters/src/index.ts index 558418cf04e..fe97fbbbd4a 100644 --- a/plugins/emitters/src/index.ts +++ b/plugins/emitters/src/index.ts @@ -2,7 +2,6 @@ import type { EmittersEngine } from "./EmittersEngine.js"; import { EmittersPlugin } from "./EmittersPlugin.js"; import type { IEmitterShapeGenerator } from "./IEmitterShapeGenerator.js"; import { ShapeManager } from "./ShapeManager.js"; -import { assertValidVersion } from "@tsparticles/engine"; declare const __VERSION__: string; @@ -11,7 +10,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadEmittersPlugin(engine: EmittersEngine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); if (!engine.emitterShapeManager) { engine.emitterShapeManager = new ShapeManager(engine); diff --git a/plugins/emittersShapes/canvas/CHANGELOG.md b/plugins/emittersShapes/canvas/CHANGELOG.md index 6243425b237..fb5967eff89 100644 --- a/plugins/emittersShapes/canvas/CHANGELOG.md +++ b/plugins/emittersShapes/canvas/CHANGELOG.md @@ -3,6 +3,18 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +### Bug Fixes + +- fixed imports and constants ([caaf603](https://github.com/tsparticles/tsparticles/commit/caaf603932fb64de5c34bc075e0bbf2fb7821818)) + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/plugins/emittersShapes/canvas/package.dist.json b/plugins/emittersShapes/canvas/package.dist.json index ce5eb5a0291..ea2931bba44 100644 --- a/plugins/emittersShapes/canvas/package.dist.json +++ b/plugins/emittersShapes/canvas/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-emitters-shape-canvas", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles emitters shape canvas plugin", "homepage": "https://particles.js.org", "repository": { @@ -100,8 +100,8 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0", - "@tsparticles/plugin-emitters": "3.7.0" + "@tsparticles/engine": "3.8.0", + "@tsparticles/plugin-emitters": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/plugins/emittersShapes/canvas/package.json b/plugins/emittersShapes/canvas/package.json index 0b815c5d28b..b55c07c992b 100644 --- a/plugins/emittersShapes/canvas/package.json +++ b/plugins/emittersShapes/canvas/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-emitters-shape-canvas", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles emitters shape canvas plugin", "homepage": "https://particles.js.org", "scripts": { @@ -108,8 +108,8 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0", - "@tsparticles/plugin-emitters": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0", + "@tsparticles/plugin-emitters": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/plugins/emittersShapes/canvas/src/EmittersCanvasShape.ts b/plugins/emittersShapes/canvas/src/EmittersCanvasShape.ts index ea6e1251f6d..701788367a2 100644 --- a/plugins/emittersShapes/canvas/src/EmittersCanvasShape.ts +++ b/plugins/emittersShapes/canvas/src/EmittersCanvasShape.ts @@ -9,7 +9,7 @@ import { isString, } from "@tsparticles/engine"; import { getCanvasImageData, getImageData, getTextData } from "./utils.js"; -import type { CanvasPixelData } from "./types"; +import type { CanvasPixelData } from "./types.js"; import type { EmittersCanvasShapeOptions } from "./Options/Classes/EmittersCanvasShapeOptions.js"; const maxRetries = 100, diff --git a/plugins/emittersShapes/canvas/src/index.ts b/plugins/emittersShapes/canvas/src/index.ts index e8738c5fb4b..f91363874f6 100644 --- a/plugins/emittersShapes/canvas/src/index.ts +++ b/plugins/emittersShapes/canvas/src/index.ts @@ -1,6 +1,6 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; import { EmittersCanvasShapeGenerator } from "./EmittersCanvasShapeGenerator.js"; import type { EmittersEngine } from "@tsparticles/plugin-emitters"; +import { type Engine } from "@tsparticles/engine"; declare const __VERSION__: string; @@ -12,7 +12,7 @@ declare const __VERSION__: string; export async function loadEmittersShapeCanvas(engine: Engine, refresh = true): Promise { const emittersEngine = engine as EmittersEngine; - assertValidVersion(emittersEngine, __VERSION__); + emittersEngine.checkVersion(__VERSION__); emittersEngine.addEmitterShapeGenerator?.("canvas", new EmittersCanvasShapeGenerator()); diff --git a/plugins/emittersShapes/circle/CHANGELOG.md b/plugins/emittersShapes/circle/CHANGELOG.md index 26c01ff142a..54caadd2b4a 100644 --- a/plugins/emittersShapes/circle/CHANGELOG.md +++ b/plugins/emittersShapes/circle/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/plugin-emitters-shape-circle + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/plugins/emittersShapes/circle/package.dist.json b/plugins/emittersShapes/circle/package.dist.json index 8e1d2efc7e7..72131a2355c 100644 --- a/plugins/emittersShapes/circle/package.dist.json +++ b/plugins/emittersShapes/circle/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-emitters-shape-circle", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles emitters shape circle plugin", "homepage": "https://particles.js.org", "repository": { @@ -100,8 +100,8 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0", - "@tsparticles/plugin-emitters": "3.7.0" + "@tsparticles/engine": "3.8.0", + "@tsparticles/plugin-emitters": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/plugins/emittersShapes/circle/package.json b/plugins/emittersShapes/circle/package.json index 4789d335eaf..d5c260517bb 100644 --- a/plugins/emittersShapes/circle/package.json +++ b/plugins/emittersShapes/circle/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-emitters-shape-circle", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles emitters shape circle plugin", "homepage": "https://particles.js.org", "scripts": { @@ -108,8 +108,8 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0", - "@tsparticles/plugin-emitters": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0", + "@tsparticles/plugin-emitters": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/plugins/emittersShapes/circle/src/index.ts b/plugins/emittersShapes/circle/src/index.ts index dfdc4ef46f5..8e834c2e1cc 100644 --- a/plugins/emittersShapes/circle/src/index.ts +++ b/plugins/emittersShapes/circle/src/index.ts @@ -1,6 +1,6 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; import { EmittersCircleShapeGenerator } from "./EmittersCircleShapeGenerator.js"; import type { EmittersEngine } from "@tsparticles/plugin-emitters"; +import { type Engine } from "@tsparticles/engine"; declare const __VERSION__: string; @@ -11,7 +11,7 @@ declare const __VERSION__: string; export async function loadEmittersShapeCircle(engine: Engine, refresh = true): Promise { const emittersEngine = engine as EmittersEngine; - assertValidVersion(emittersEngine, __VERSION__); + emittersEngine.checkVersion(__VERSION__); emittersEngine.addEmitterShapeGenerator?.("circle", new EmittersCircleShapeGenerator()); diff --git a/plugins/emittersShapes/path/CHANGELOG.md b/plugins/emittersShapes/path/CHANGELOG.md index f0b2e553f96..7c81a164b2e 100644 --- a/plugins/emittersShapes/path/CHANGELOG.md +++ b/plugins/emittersShapes/path/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/plugin-emitters-shape-path + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/plugins/emittersShapes/path/package.dist.json b/plugins/emittersShapes/path/package.dist.json index b648a29f684..ed2bb6b17ec 100644 --- a/plugins/emittersShapes/path/package.dist.json +++ b/plugins/emittersShapes/path/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-emitters-shape-path", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles emitters shape path plugin", "homepage": "https://particles.js.org", "repository": { @@ -100,8 +100,8 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0", - "@tsparticles/plugin-emitters": "3.7.0" + "@tsparticles/engine": "3.8.0", + "@tsparticles/plugin-emitters": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/plugins/emittersShapes/path/package.json b/plugins/emittersShapes/path/package.json index 47b332366fe..7802d0c6317 100644 --- a/plugins/emittersShapes/path/package.json +++ b/plugins/emittersShapes/path/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-emitters-shape-path", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles emitters shape path plugin", "homepage": "https://particles.js.org", "scripts": { @@ -108,8 +108,8 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0", - "@tsparticles/plugin-emitters": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0", + "@tsparticles/plugin-emitters": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/plugins/emittersShapes/path/src/index.ts b/plugins/emittersShapes/path/src/index.ts index 8094a7789bd..61e6ca3d68d 100644 --- a/plugins/emittersShapes/path/src/index.ts +++ b/plugins/emittersShapes/path/src/index.ts @@ -1,6 +1,6 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; import type { EmittersEngine } from "@tsparticles/plugin-emitters"; import { EmittersPathShapeGenerator } from "./EmittersPathShapeGenerator.js"; +import { type Engine } from "@tsparticles/engine"; declare const __VERSION__: string; @@ -12,7 +12,7 @@ declare const __VERSION__: string; export async function loadEmittersShapePath(engine: Engine, refresh = true): Promise { const emittersEngine = engine as EmittersEngine; - assertValidVersion(emittersEngine, __VERSION__); + emittersEngine.checkVersion(__VERSION__); emittersEngine.addEmitterShapeGenerator?.("path", new EmittersPathShapeGenerator()); diff --git a/plugins/emittersShapes/polygon/CHANGELOG.md b/plugins/emittersShapes/polygon/CHANGELOG.md index a0ad9748ddb..b261b4b673b 100644 --- a/plugins/emittersShapes/polygon/CHANGELOG.md +++ b/plugins/emittersShapes/polygon/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/plugin-emitters-shape-polygon + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/plugins/emittersShapes/polygon/package.dist.json b/plugins/emittersShapes/polygon/package.dist.json index 2875c86b95f..7fe8e70fe3d 100644 --- a/plugins/emittersShapes/polygon/package.dist.json +++ b/plugins/emittersShapes/polygon/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-emitters-shape-polygon", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles emitters shape polygon plugin", "homepage": "https://particles.js.org", "repository": { @@ -100,8 +100,8 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0", - "@tsparticles/plugin-emitters": "3.7.0" + "@tsparticles/engine": "3.8.0", + "@tsparticles/plugin-emitters": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/plugins/emittersShapes/polygon/package.json b/plugins/emittersShapes/polygon/package.json index 4776f46c93c..9a9159f0faf 100644 --- a/plugins/emittersShapes/polygon/package.json +++ b/plugins/emittersShapes/polygon/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-emitters-shape-polygon", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles emitters shape polygon plugin", "homepage": "https://particles.js.org", "scripts": { @@ -108,8 +108,8 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0", - "@tsparticles/plugin-emitters": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0", + "@tsparticles/plugin-emitters": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/plugins/emittersShapes/polygon/src/index.ts b/plugins/emittersShapes/polygon/src/index.ts index 11b75d5ff63..309c7ab960f 100644 --- a/plugins/emittersShapes/polygon/src/index.ts +++ b/plugins/emittersShapes/polygon/src/index.ts @@ -1,6 +1,6 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; import type { EmittersEngine } from "@tsparticles/plugin-emitters"; import { EmittersPolygonShapeGenerator } from "./EmittersPolygonShapeGenerator.js"; +import { type Engine } from "@tsparticles/engine"; declare const __VERSION__: string; @@ -12,7 +12,7 @@ declare const __VERSION__: string; export async function loadEmittersShapePolygon(engine: Engine, refresh = true): Promise { const emittersEngine = engine as EmittersEngine; - assertValidVersion(emittersEngine, __VERSION__); + emittersEngine.checkVersion(__VERSION__); emittersEngine.addEmitterShapeGenerator?.("polygon", new EmittersPolygonShapeGenerator()); diff --git a/plugins/emittersShapes/square/CHANGELOG.md b/plugins/emittersShapes/square/CHANGELOG.md index 3aec5f9a58d..3fe8b5787f2 100644 --- a/plugins/emittersShapes/square/CHANGELOG.md +++ b/plugins/emittersShapes/square/CHANGELOG.md @@ -3,6 +3,18 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +### Bug Fixes + +- fixed imports and constants ([caaf603](https://github.com/tsparticles/tsparticles/commit/caaf603932fb64de5c34bc075e0bbf2fb7821818)) + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/plugins/emittersShapes/square/package.dist.json b/plugins/emittersShapes/square/package.dist.json index 064e5bc194d..53bfa651bf4 100644 --- a/plugins/emittersShapes/square/package.dist.json +++ b/plugins/emittersShapes/square/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-emitters-shape-square", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles emitters shape square plugin", "homepage": "https://particles.js.org", "repository": { @@ -100,8 +100,8 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0", - "@tsparticles/plugin-emitters": "3.7.0" + "@tsparticles/engine": "3.8.0", + "@tsparticles/plugin-emitters": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/plugins/emittersShapes/square/package.json b/plugins/emittersShapes/square/package.json index 5c9f2bd1ede..f6f9e8fa999 100644 --- a/plugins/emittersShapes/square/package.json +++ b/plugins/emittersShapes/square/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-emitters-shape-square", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles emitters shape square plugin", "homepage": "https://particles.js.org", "scripts": { @@ -108,8 +108,8 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0", - "@tsparticles/plugin-emitters": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0", + "@tsparticles/plugin-emitters": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/plugins/emittersShapes/square/src/EmittersSquareShape.ts b/plugins/emittersShapes/square/src/EmittersSquareShape.ts index d5e9f45b48b..8b9a00c0cb0 100644 --- a/plugins/emittersShapes/square/src/EmittersSquareShape.ts +++ b/plugins/emittersShapes/square/src/EmittersSquareShape.ts @@ -1,9 +1,7 @@ import { EmitterShapeBase, type IRandomPositionData } from "@tsparticles/plugin-emitters"; -import { type ICoordinates, type IDimension, getRandom, halfRandom } from "@tsparticles/engine"; +import { type ICoordinates, type IDimension, double, getRandom, half } from "@tsparticles/engine"; -const half = 0.5, - sides = 4, - double = 2; +const sides = 4; enum Sides { TopLeft = 0, @@ -18,7 +16,7 @@ enum Sides { * @returns the offset */ function randomSquareCoordinate(position: number, offset: number): number { - return position + offset * (getRandom() - halfRandom); + return position + offset * (getRandom() - half); } export class EmittersSquareShape extends EmitterShapeBase { @@ -47,7 +45,7 @@ export class EmittersSquareShape extends EmitterShapeBase { const halfW = size.width * half, halfH = size.height * half, side = Math.floor(getRandom() * sides) as Sides, - v = (getRandom() - halfRandom) * double; + v = (getRandom() - half) * double; switch (side) { case Sides.TopLeft: diff --git a/plugins/emittersShapes/square/src/index.ts b/plugins/emittersShapes/square/src/index.ts index c4c1ee46b49..e0ea4b06d80 100644 --- a/plugins/emittersShapes/square/src/index.ts +++ b/plugins/emittersShapes/square/src/index.ts @@ -1,6 +1,6 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; import type { EmittersEngine } from "@tsparticles/plugin-emitters"; import { EmittersSquareShapeGenerator } from "./EmittersSquareShapeGenerator.js"; +import { type Engine } from "@tsparticles/engine"; declare const __VERSION__: string; @@ -12,7 +12,7 @@ declare const __VERSION__: string; export async function loadEmittersShapeSquare(engine: Engine, refresh = true): Promise { const emittersEngine = engine as EmittersEngine; - assertValidVersion(emittersEngine, __VERSION__); + emittersEngine.checkVersion(__VERSION__); emittersEngine.addEmitterShapeGenerator?.("square", new EmittersSquareShapeGenerator()); diff --git a/plugins/exports/image/CHANGELOG.md b/plugins/exports/image/CHANGELOG.md index 3756e8aa33f..281414fefd5 100644 --- a/plugins/exports/image/CHANGELOG.md +++ b/plugins/exports/image/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/plugin-export-image + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/plugins/exports/image/package.dist.json b/plugins/exports/image/package.dist.json index 4f692216ce2..6f46206a998 100644 --- a/plugins/exports/image/package.dist.json +++ b/plugins/exports/image/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-export-image", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles export image plugin", "homepage": "https://particles.js.org", "repository": { @@ -100,7 +100,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/plugins/exports/image/package.json b/plugins/exports/image/package.json index 113075bff1d..06cedba3110 100644 --- a/plugins/exports/image/package.json +++ b/plugins/exports/image/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-export-image", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles export image plugin", "homepage": "https://particles.js.org", "scripts": { @@ -108,7 +108,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/plugins/exports/image/src/index.ts b/plugins/exports/image/src/index.ts index 684fd9d461a..78d72a5da68 100644 --- a/plugins/exports/image/src/index.ts +++ b/plugins/exports/image/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { ExportImagePlugin } from "./ExportImagePlugin.js"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadExportImagePlugin(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addPlugin(new ExportImagePlugin(engine), refresh); } diff --git a/plugins/exports/json/CHANGELOG.md b/plugins/exports/json/CHANGELOG.md index a04238b8377..0dfd1182a52 100644 --- a/plugins/exports/json/CHANGELOG.md +++ b/plugins/exports/json/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/plugin-export-json + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/plugins/exports/json/package.dist.json b/plugins/exports/json/package.dist.json index 9861330ce4d..b9ea99933a8 100644 --- a/plugins/exports/json/package.dist.json +++ b/plugins/exports/json/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-export-json", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles export json plugin", "homepage": "https://particles.js.org", "repository": { @@ -100,7 +100,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/plugins/exports/json/package.json b/plugins/exports/json/package.json index d04ccb891e3..c0ab8ea8afa 100644 --- a/plugins/exports/json/package.json +++ b/plugins/exports/json/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-export-json", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles export json plugin", "homepage": "https://particles.js.org", "scripts": { @@ -108,7 +108,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/plugins/exports/json/src/index.ts b/plugins/exports/json/src/index.ts index 90e71b462e8..9f3fc4899ac 100644 --- a/plugins/exports/json/src/index.ts +++ b/plugins/exports/json/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { ExportJSONPlugin } from "./ExportJSONPlugin.js"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadExportJSONPlugin(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addPlugin(new ExportJSONPlugin(engine), refresh); } diff --git a/plugins/exports/video/CHANGELOG.md b/plugins/exports/video/CHANGELOG.md index 44c9124b810..c99a86a3e2a 100644 --- a/plugins/exports/video/CHANGELOG.md +++ b/plugins/exports/video/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/plugin-export-video + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/plugins/exports/video/package.dist.json b/plugins/exports/video/package.dist.json index 360d4de5f63..2388a508789 100644 --- a/plugins/exports/video/package.dist.json +++ b/plugins/exports/video/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-export-video", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles export video plugin", "homepage": "https://particles.js.org", "repository": { @@ -100,7 +100,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/plugins/exports/video/package.json b/plugins/exports/video/package.json index 5507093a215..c48eca4f9b9 100644 --- a/plugins/exports/video/package.json +++ b/plugins/exports/video/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-export-video", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles export video plugin", "homepage": "https://particles.js.org", "scripts": { @@ -108,7 +108,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/plugins/exports/video/src/index.ts b/plugins/exports/video/src/index.ts index e57212b42aa..38b8bf6de11 100644 --- a/plugins/exports/video/src/index.ts +++ b/plugins/exports/video/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { ExportVideoPlugin } from "./ExportVideoPlugin.js"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadExportVideoPlugin(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addPlugin(new ExportVideoPlugin(engine), refresh); } diff --git a/plugins/infection/CHANGELOG.md b/plugins/infection/CHANGELOG.md index f743c86d775..7ae5b5655b8 100644 --- a/plugins/infection/CHANGELOG.md +++ b/plugins/infection/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/plugin-infection + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/plugins/infection/package.dist.json b/plugins/infection/package.dist.json index de9844f1b79..a680af65af7 100644 --- a/plugins/infection/package.dist.json +++ b/plugins/infection/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-infection", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles infection plugin", "homepage": "https://particles.js.org", "repository": { @@ -100,7 +100,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/plugins/infection/package.json b/plugins/infection/package.json index f7513e41cf1..95ad0e4521f 100644 --- a/plugins/infection/package.json +++ b/plugins/infection/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-infection", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles infection plugin", "homepage": "https://particles.js.org", "scripts": { @@ -108,7 +108,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/plugins/infection/src/index.ts b/plugins/infection/src/index.ts index c59cc845804..308d4983731 100644 --- a/plugins/infection/src/index.ts +++ b/plugins/infection/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { InfectionPlugin } from "./InfectionPlugin.js"; import { ParticlesInfecter } from "./ParticlesInfecter.js"; @@ -9,7 +9,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadInfectionPlugin(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); const plugin = new InfectionPlugin(); diff --git a/plugins/motion/CHANGELOG.md b/plugins/motion/CHANGELOG.md index cfd07634805..6b0b51e2a14 100644 --- a/plugins/motion/CHANGELOG.md +++ b/plugins/motion/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/plugin-motion + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/plugins/motion/package.dist.json b/plugins/motion/package.dist.json index a8b86a14c8f..f373f336c0f 100644 --- a/plugins/motion/package.dist.json +++ b/plugins/motion/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-motion", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles motion sickness plugin", "homepage": "https://particles.js.org", "repository": { @@ -86,7 +86,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/plugins/motion/package.json b/plugins/motion/package.json index 00c2f4a31eb..81c563874ba 100644 --- a/plugins/motion/package.json +++ b/plugins/motion/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-motion", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles motion sickness plugin", "homepage": "https://particles.js.org", "scripts": { @@ -94,7 +94,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/plugins/motion/src/index.ts b/plugins/motion/src/index.ts index b0bfcdef8b8..bd42f02e7f9 100644 --- a/plugins/motion/src/index.ts +++ b/plugins/motion/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { MotionPlugin } from "./MotionPlugin.js"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadMotionPlugin(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addPlugin(new MotionPlugin(engine), refresh); } diff --git a/plugins/poisson/CHANGELOG.md b/plugins/poisson/CHANGELOG.md index ee2f36e81c2..6e85d2c3d41 100644 --- a/plugins/poisson/CHANGELOG.md +++ b/plugins/poisson/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/plugin-poisson-disc + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/plugins/poisson/package.dist.json b/plugins/poisson/package.dist.json index a25afeb5c13..8d25519615d 100644 --- a/plugins/poisson/package.dist.json +++ b/plugins/poisson/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-poisson-disc", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles poisson disc plugin", "homepage": "https://particles.js.org", "repository": { @@ -85,7 +85,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/plugins/poisson/package.json b/plugins/poisson/package.json index 30b4d1f89d6..b2afb8c3f7a 100644 --- a/plugins/poisson/package.json +++ b/plugins/poisson/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-poisson-disc", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles poisson disc plugin", "homepage": "https://particles.js.org", "scripts": { @@ -78,7 +78,7 @@ "types": "dist/types/index.d.ts", "prettier": "@tsparticles/prettier-config", "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/plugins/poisson/src/index.ts b/plugins/poisson/src/index.ts index 0077770f7e5..94fc518e497 100644 --- a/plugins/poisson/src/index.ts +++ b/plugins/poisson/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { PoissonDiscPlugin } from "./PoissonDiscPlugin.js"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadPoissonDiscPlugin(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addPlugin(new PoissonDiscPlugin(engine), refresh); } diff --git a/plugins/polygonMask/CHANGELOG.md b/plugins/polygonMask/CHANGELOG.md index 0e939b17180..21b5a0be5c2 100644 --- a/plugins/polygonMask/CHANGELOG.md +++ b/plugins/polygonMask/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/plugin-polygon-mask + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/plugins/polygonMask/package.dist.json b/plugins/polygonMask/package.dist.json index c252662f58d..ad94d1563cb 100644 --- a/plugins/polygonMask/package.dist.json +++ b/plugins/polygonMask/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-polygon-mask", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles polygon mask plugin", "homepage": "https://particles.js.org", "repository": { @@ -88,7 +88,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/plugins/polygonMask/package.json b/plugins/polygonMask/package.json index 84f4bfb01ad..51bf4daa06a 100644 --- a/plugins/polygonMask/package.json +++ b/plugins/polygonMask/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-polygon-mask", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles polygon mask plugin", "homepage": "https://particles.js.org", "scripts": { @@ -81,7 +81,7 @@ "dist/**/pathseg.js" ], "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/plugins/polygonMask/src/index.ts b/plugins/polygonMask/src/index.ts index ba783d643a9..4fb1e0e8f1c 100644 --- a/plugins/polygonMask/src/index.ts +++ b/plugins/polygonMask/src/index.ts @@ -1,5 +1,5 @@ import "./pathseg.js"; -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { PolygonMaskPlugin } from "./PolygonMaskPlugin.js"; declare const __VERSION__: string; @@ -9,7 +9,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadPolygonMaskPlugin(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addPlugin(new PolygonMaskPlugin(engine), refresh); } diff --git a/plugins/sounds/CHANGELOG.md b/plugins/sounds/CHANGELOG.md index 87c770ff1d0..5a2f0902955 100644 --- a/plugins/sounds/CHANGELOG.md +++ b/plugins/sounds/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/plugin-sounds + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/plugins/sounds/package.dist.json b/plugins/sounds/package.dist.json index 19c90247c0b..8f012d66f3e 100644 --- a/plugins/sounds/package.dist.json +++ b/plugins/sounds/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-sounds", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles sounds plugin", "homepage": "https://particles.js.org", "repository": { @@ -86,7 +86,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/plugins/sounds/package.json b/plugins/sounds/package.json index e48e793ed3c..fd19043efdc 100644 --- a/plugins/sounds/package.json +++ b/plugins/sounds/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/plugin-sounds", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles sounds plugin", "homepage": "https://particles.js.org", "scripts": { @@ -94,7 +94,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/plugins/sounds/src/index.ts b/plugins/sounds/src/index.ts index 145772b08c6..9495d527ab2 100644 --- a/plugins/sounds/src/index.ts +++ b/plugins/sounds/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { SoundsPlugin } from "./SoundsPlugin.js"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadSoundsPlugin(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addPlugin(new SoundsPlugin(engine), refresh); } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7dc23d6a743..adcc8bb69d9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -21,7 +21,7 @@ importers: version: 19.8.4(@swc/core@1.9.2) "@tsparticles/cli": specifier: ^2.3.3 - version: 2.3.3(@swc/core@1.9.2)(@types/eslint@8.56.6)(webpack-cli@5.1.4) + version: 2.3.3(@swc/core@1.9.2)(@types/eslint@8.56.6)(webpack-cli@6.0.0) "@tsparticles/eslint-config": specifier: ^2.3.0 version: 2.3.0(@types/eslint@8.56.6) @@ -71,14 +71,14 @@ importers: specifier: ^8.57.1 version: 8.57.1 eslint-config-prettier: - specifier: ^9.1.0 - version: 9.1.0(eslint@8.57.1) + specifier: ^10.0.0 + version: 10.0.1(eslint@8.57.1) eslint-plugin-jsdoc: specifier: ^50.3.1 version: 50.3.1(eslint@8.57.1) eslint-plugin-prettier: specifier: ^5.2.1 - version: 5.2.1(@types/eslint@8.56.6)(eslint-config-prettier@9.1.0(eslint@8.57.1))(eslint@8.57.1)(prettier@3.3.3) + version: 5.2.1(@types/eslint@8.56.6)(eslint-config-prettier@10.0.1(eslint@8.57.1))(eslint@8.57.1)(prettier@3.3.3) eslint-plugin-tsdoc: specifier: ^0.4.0 version: 0.4.0 @@ -101,8 +101,8 @@ importers: specifier: ^8.0.0 version: 8.0.0(typescript@5.5.2) nx: - specifier: 19.8.12 - version: 19.8.12(@swc/core@1.9.2) + specifier: 19.8.14 + version: 19.8.14(@swc/core@1.9.2) nx-cloud: specifier: ^19.1.0 version: 19.1.0 @@ -110,8 +110,8 @@ importers: specifier: ^3.3.3 version: 3.3.3 prettier-plugin-multiline-arrays: - specifier: ^3.0.6 - version: 3.0.6(prettier@3.3.3) + specifier: ^4.0.0 + version: 4.0.1(prettier@3.3.3) rimraf: specifier: ^6.0.1 version: 6.0.1 @@ -159,13 +159,13 @@ importers: version: 2.1.2(@types/node@22.7.5)(@vitest/ui@2.1.2)(jsdom@25.0.1(canvas@2.11.2(encoding@0.1.13)))(lightningcss@1.28.1)(sass@1.69.5)(stylus@0.64.0)(terser@5.36.0) webpack: specifier: ^5.95.0 - version: 5.95.0(@swc/core@1.9.2)(webpack-cli@5.1.4) + version: 5.95.0(@swc/core@1.9.2)(webpack-cli@6.0.0) webpack-bundle-analyzer: specifier: ^4.10.2 version: 4.10.2 webpack-cli: - specifier: ^5.1.4 - version: 5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0) + specifier: ^6.0.0 + version: 6.0.0(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0) yargs: specifier: ^17.7.2 version: 17.7.2 @@ -173,729 +173,729 @@ importers: bundles/all: dependencies: "@tsparticles/effect-bubble": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../effects/bubble/dist "@tsparticles/effect-trail": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../effects/trail/dist "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist "@tsparticles/interaction-external-particle": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../interactions/external/particle/dist "@tsparticles/interaction-external-pop": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../interactions/external/pop/dist "@tsparticles/interaction-light": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../interactions/light/dist "@tsparticles/interaction-particles-repulse": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../interactions/particles/repulse/dist "@tsparticles/path-curl-noise": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../paths/curlNoise/dist "@tsparticles/path-curves": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../paths/curves/dist "@tsparticles/path-perlin-noise": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../paths/perlinNoise/dist "@tsparticles/path-polygon": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../paths/polygon/dist "@tsparticles/path-simplex-noise": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../paths/simplexNoise/dist "@tsparticles/path-svg": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../paths/svg/dist "@tsparticles/path-zig-zag": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../paths/zigzag/dist "@tsparticles/pjs": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../pjs/dist "@tsparticles/plugin-canvas-mask": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/canvasMask/dist "@tsparticles/plugin-easing-back": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/easings/back/dist "@tsparticles/plugin-easing-circ": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/easings/circ/dist "@tsparticles/plugin-easing-cubic": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/easings/cubic/dist "@tsparticles/plugin-easing-expo": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/easings/expo/dist "@tsparticles/plugin-easing-linear": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/easings/linear/dist "@tsparticles/plugin-easing-quart": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/easings/quart/dist "@tsparticles/plugin-easing-quint": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/easings/quint/dist "@tsparticles/plugin-easing-sine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/easings/sine/dist "@tsparticles/plugin-emitters-shape-canvas": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/emittersShapes/canvas/dist "@tsparticles/plugin-emitters-shape-path": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/emittersShapes/path/dist "@tsparticles/plugin-emitters-shape-polygon": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/emittersShapes/polygon/dist "@tsparticles/plugin-export-image": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/exports/image/dist "@tsparticles/plugin-export-json": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/exports/json/dist "@tsparticles/plugin-export-video": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/exports/video/dist "@tsparticles/plugin-hsv-color": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/colors/hsvColor/dist "@tsparticles/plugin-infection": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/infection/dist "@tsparticles/plugin-motion": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/motion/dist "@tsparticles/plugin-named-color": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/colors/namedColor/dist "@tsparticles/plugin-oklch-color": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/colors/oklchColor/dist "@tsparticles/plugin-poisson-disc": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/poisson/dist "@tsparticles/plugin-polygon-mask": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/polygonMask/dist "@tsparticles/plugin-sounds": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/sounds/dist "@tsparticles/shape-arrow": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../shapes/arrow/dist "@tsparticles/shape-cards": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../shapes/cards/dist "@tsparticles/shape-cog": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../shapes/cog/dist "@tsparticles/shape-heart": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../shapes/heart/dist "@tsparticles/shape-infinity": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../shapes/infinity/dist "@tsparticles/shape-path": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../shapes/path/dist "@tsparticles/shape-rounded-polygon": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../shapes/rounded-polygon/dist "@tsparticles/shape-rounded-rect": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../shapes/rounded-rect/dist "@tsparticles/shape-spiral": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../shapes/spiral/dist "@tsparticles/updater-gradient": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../updaters/gradient/dist "@tsparticles/updater-orbit": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../updaters/orbit/dist tsparticles: - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../full/dist publishDirectory: dist bundles/basic: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist "@tsparticles/move-base": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../move/base/dist "@tsparticles/plugin-hex-color": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/colors/hexColor/dist "@tsparticles/plugin-hsl-color": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/colors/hslColor/dist "@tsparticles/plugin-rgb-color": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/colors/rgbColor/dist "@tsparticles/shape-circle": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../shapes/circle/dist "@tsparticles/updater-color": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../updaters/color/dist "@tsparticles/updater-opacity": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../updaters/opacity/dist "@tsparticles/updater-out-modes": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../updaters/outModes/dist "@tsparticles/updater-size": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../updaters/size/dist publishDirectory: dist bundles/confetti: dependencies: "@tsparticles/basic": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../basic/dist "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist "@tsparticles/plugin-emitters": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/emitters/dist "@tsparticles/plugin-motion": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/motion/dist "@tsparticles/shape-cards": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../shapes/cards/dist "@tsparticles/shape-emoji": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../shapes/emoji/dist "@tsparticles/shape-heart": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../shapes/heart/dist "@tsparticles/shape-image": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../shapes/image/dist "@tsparticles/shape-polygon": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../shapes/polygon/dist "@tsparticles/shape-square": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../shapes/square/dist "@tsparticles/shape-star": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../shapes/star/dist "@tsparticles/updater-life": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../updaters/life/dist "@tsparticles/updater-roll": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../updaters/roll/dist "@tsparticles/updater-rotate": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../updaters/rotate/dist "@tsparticles/updater-tilt": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../updaters/tilt/dist "@tsparticles/updater-wobble": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../updaters/wobble/dist publishDirectory: dist bundles/fireworks: dependencies: "@tsparticles/basic": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../basic/dist "@tsparticles/effect-trail": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../effects/trail/dist "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist "@tsparticles/plugin-emitters": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/emitters/dist "@tsparticles/plugin-emitters-shape-square": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/emittersShapes/square/dist "@tsparticles/plugin-sounds": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/sounds/dist "@tsparticles/updater-destroy": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../updaters/destroy/dist "@tsparticles/updater-life": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../updaters/life/dist "@tsparticles/updater-rotate": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../updaters/rotate/dist publishDirectory: dist bundles/full: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist "@tsparticles/interaction-external-trail": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../interactions/external/trail/dist "@tsparticles/plugin-absorbers": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/absorbers/dist "@tsparticles/plugin-emitters": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/emitters/dist "@tsparticles/plugin-emitters-shape-circle": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/emittersShapes/circle/dist "@tsparticles/plugin-emitters-shape-square": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/emittersShapes/square/dist "@tsparticles/shape-text": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../shapes/text/dist "@tsparticles/slim": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../slim/dist "@tsparticles/updater-destroy": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../updaters/destroy/dist "@tsparticles/updater-roll": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../updaters/roll/dist "@tsparticles/updater-tilt": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../updaters/tilt/dist "@tsparticles/updater-twinkle": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../updaters/twinkle/dist "@tsparticles/updater-wobble": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../updaters/wobble/dist publishDirectory: dist bundles/pjs: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist publishDirectory: dist bundles/slim: dependencies: "@tsparticles/basic": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../basic/dist "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist "@tsparticles/interaction-external-attract": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../interactions/external/attract/dist "@tsparticles/interaction-external-bounce": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../interactions/external/bounce/dist "@tsparticles/interaction-external-bubble": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../interactions/external/bubble/dist "@tsparticles/interaction-external-connect": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../interactions/external/connect/dist "@tsparticles/interaction-external-grab": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../interactions/external/grab/dist "@tsparticles/interaction-external-pause": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../interactions/external/pause/dist "@tsparticles/interaction-external-push": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../interactions/external/push/dist "@tsparticles/interaction-external-remove": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../interactions/external/remove/dist "@tsparticles/interaction-external-repulse": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../interactions/external/repulse/dist "@tsparticles/interaction-external-slow": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../interactions/external/slow/dist "@tsparticles/interaction-particles-attract": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../interactions/particles/attract/dist "@tsparticles/interaction-particles-collisions": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../interactions/particles/collisions/dist "@tsparticles/interaction-particles-links": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../interactions/particles/links/dist "@tsparticles/move-parallax": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../move/parallax/dist "@tsparticles/plugin-easing-quad": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/easings/quad/dist "@tsparticles/shape-emoji": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../shapes/emoji/dist "@tsparticles/shape-image": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../shapes/image/dist "@tsparticles/shape-line": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../shapes/line/dist "@tsparticles/shape-polygon": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../shapes/polygon/dist "@tsparticles/shape-square": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../shapes/square/dist "@tsparticles/shape-star": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../shapes/star/dist "@tsparticles/updater-life": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../updaters/life/dist "@tsparticles/updater-rotate": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../updaters/rotate/dist "@tsparticles/updater-stroke-color": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../updaters/strokeColor/dist publishDirectory: dist demo/electron: dependencies: "@tsparticles/configs": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../utils/configs/dist "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist tsparticles: - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../bundles/full/dist devDependencies: electron: - specifier: ^33.0.0 - version: 33.0.0 + specifier: ^34.0.0 + version: 34.0.0 demo/vanilla: dependencies: "@tsparticles/all": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../bundles/all/dist "@tsparticles/basic": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../bundles/basic/dist "@tsparticles/confetti": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../bundles/confetti/dist "@tsparticles/configs": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../utils/configs/dist "@tsparticles/effect-bubble": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../effects/bubble/dist "@tsparticles/effect-trail": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../effects/trail/dist "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist "@tsparticles/fireworks": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../bundles/fireworks/dist "@tsparticles/interaction-external-attract": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../interactions/external/attract/dist "@tsparticles/interaction-external-bounce": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../interactions/external/bounce/dist "@tsparticles/interaction-external-bubble": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../interactions/external/bubble/dist "@tsparticles/interaction-external-connect": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../interactions/external/connect/dist "@tsparticles/interaction-external-grab": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../interactions/external/grab/dist "@tsparticles/interaction-external-particle": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../interactions/external/particle/dist "@tsparticles/interaction-external-pause": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../interactions/external/pause/dist "@tsparticles/interaction-external-pop": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../interactions/external/pop/dist "@tsparticles/interaction-external-push": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../interactions/external/push/dist "@tsparticles/interaction-external-remove": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../interactions/external/remove/dist "@tsparticles/interaction-external-repulse": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../interactions/external/repulse/dist "@tsparticles/interaction-external-slow": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../interactions/external/slow/dist "@tsparticles/interaction-external-trail": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../interactions/external/trail/dist "@tsparticles/interaction-light": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../interactions/light/dist "@tsparticles/interaction-particles-attract": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../interactions/particles/attract/dist "@tsparticles/interaction-particles-collisions": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../interactions/particles/collisions/dist "@tsparticles/interaction-particles-links": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../interactions/particles/links/dist "@tsparticles/interaction-particles-repulse": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../interactions/particles/repulse/dist "@tsparticles/move-base": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../move/base/dist "@tsparticles/move-parallax": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../move/parallax/dist "@tsparticles/path-curl-noise": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../paths/curlNoise/dist "@tsparticles/path-curves": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../paths/curves/dist "@tsparticles/path-perlin-noise": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../paths/perlinNoise/dist "@tsparticles/path-polygon": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../paths/polygon/dist "@tsparticles/path-simplex-noise": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../paths/simplexNoise/dist "@tsparticles/path-svg": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../paths/svg/dist "@tsparticles/path-zig-zag": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../paths/zigzag/dist "@tsparticles/perlin-noise": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../utils/perlinNoise/dist "@tsparticles/pjs": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../bundles/pjs/dist "@tsparticles/plugin-absorbers": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/absorbers/dist "@tsparticles/plugin-canvas-mask": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/canvasMask/dist "@tsparticles/plugin-easing-back": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/easings/back/dist "@tsparticles/plugin-easing-circ": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/easings/circ/dist "@tsparticles/plugin-easing-cubic": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/easings/cubic/dist "@tsparticles/plugin-easing-expo": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/easings/expo/dist "@tsparticles/plugin-easing-linear": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/easings/linear/dist "@tsparticles/plugin-easing-quad": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/easings/quad/dist "@tsparticles/plugin-easing-quart": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/easings/quart/dist "@tsparticles/plugin-easing-quint": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/easings/quint/dist "@tsparticles/plugin-easing-sine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/easings/sine/dist "@tsparticles/plugin-emitters": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/emitters/dist "@tsparticles/plugin-emitters-shape-canvas": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/emittersShapes/canvas/dist "@tsparticles/plugin-emitters-shape-circle": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/emittersShapes/circle/dist "@tsparticles/plugin-emitters-shape-path": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/emittersShapes/path/dist "@tsparticles/plugin-emitters-shape-polygon": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/emittersShapes/polygon/dist "@tsparticles/plugin-emitters-shape-square": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/emittersShapes/square/dist "@tsparticles/plugin-export-image": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/exports/image/dist "@tsparticles/plugin-export-json": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/exports/json/dist "@tsparticles/plugin-export-video": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/exports/video/dist "@tsparticles/plugin-hex-color": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/colors/hexColor/dist "@tsparticles/plugin-hsl-color": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/colors/hslColor/dist "@tsparticles/plugin-hsv-color": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/colors/hsvColor/dist "@tsparticles/plugin-infection": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/infection/dist "@tsparticles/plugin-motion": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/motion/dist "@tsparticles/plugin-named-color": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/colors/namedColor/dist "@tsparticles/plugin-oklch-color": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/colors/oklchColor/dist "@tsparticles/plugin-poisson-disc": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/poisson/dist "@tsparticles/plugin-polygon-mask": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/polygonMask/dist "@tsparticles/plugin-rgb-color": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/colors/rgbColor/dist "@tsparticles/plugin-sounds": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/sounds/dist "@tsparticles/shape-arrow": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../shapes/arrow/dist "@tsparticles/shape-cards": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../shapes/cards/dist "@tsparticles/shape-circle": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../shapes/circle/dist "@tsparticles/shape-cog": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../shapes/cog/dist "@tsparticles/shape-emoji": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../shapes/emoji/dist "@tsparticles/shape-heart": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../shapes/heart/dist "@tsparticles/shape-image": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../shapes/image/dist "@tsparticles/shape-infinity": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../shapes/infinity/dist "@tsparticles/shape-line": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../shapes/line/dist "@tsparticles/shape-path": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../shapes/path/dist "@tsparticles/shape-polygon": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../shapes/polygon/dist "@tsparticles/shape-rounded-polygon": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../shapes/rounded-polygon/dist "@tsparticles/shape-rounded-rect": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../shapes/rounded-rect/dist "@tsparticles/shape-spiral": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../shapes/spiral/dist "@tsparticles/shape-square": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../shapes/square/dist "@tsparticles/shape-star": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../shapes/star/dist "@tsparticles/shape-text": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../shapes/text/dist "@tsparticles/simplex-noise": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../utils/simplexNoise/dist "@tsparticles/slim": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../bundles/slim/dist "@tsparticles/updater-color": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../updaters/color/dist "@tsparticles/updater-destroy": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../updaters/destroy/dist "@tsparticles/updater-gradient": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../updaters/gradient/dist "@tsparticles/updater-life": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../updaters/life/dist "@tsparticles/updater-opacity": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../updaters/opacity/dist "@tsparticles/updater-orbit": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../updaters/orbit/dist "@tsparticles/updater-out-modes": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../updaters/outModes/dist "@tsparticles/updater-roll": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../updaters/roll/dist "@tsparticles/updater-rotate": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../updaters/rotate/dist "@tsparticles/updater-size": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../updaters/size/dist "@tsparticles/updater-stroke-color": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../updaters/strokeColor/dist "@tsparticles/updater-tilt": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../updaters/tilt/dist "@tsparticles/updater-twinkle": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../updaters/twinkle/dist "@tsparticles/updater-wobble": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../updaters/wobble/dist tsparticles: - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../bundles/full/dist devDependencies: "@datalust/winston-seq": @@ -974,40 +974,40 @@ importers: demo/vanilla_new: dependencies: "@tsparticles/configs": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../utils/configs/dist "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist "@tsparticles/interaction-light": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../interactions/light/dist "@tsparticles/interaction-particles-repulse": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../interactions/particles/repulse/dist "@tsparticles/path-curves": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../paths/curves/dist "@tsparticles/path-perlin-noise": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../paths/perlinNoise/dist "@tsparticles/path-polygon": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../paths/polygon/dist "@tsparticles/path-simplex-noise": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../paths/simplexNoise/dist "@tsparticles/plugin-infection": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/infection/dist "@tsparticles/updater-gradient": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../updaters/gradient/dist "@tsparticles/updater-orbit": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../updaters/orbit/dist tsparticles: - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../bundles/full/dist devDependencies: fs-extra: @@ -1023,33 +1023,33 @@ importers: demo/vite: dependencies: "@tsparticles/all": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../bundles/all/dist "@tsparticles/configs": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../utils/configs/dist "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist devDependencies: typescript: specifier: ^5.3.3 version: 5.3.3 vite: - specifier: ^5.1.4 - version: 5.1.8(@types/node@22.7.5)(lightningcss@1.28.1)(sass@1.69.5)(stylus@0.64.0)(terser@5.36.0) + specifier: ^6.0.0 + version: 6.0.3(@types/node@22.7.5)(jiti@1.21.0)(lightningcss@1.28.1)(sass@1.69.5)(stylus@0.64.0)(terser@5.36.0)(yaml@2.5.1) effects/bubble: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist publishDirectory: dist effects/trail: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist publishDirectory: dist @@ -1059,654 +1059,654 @@ importers: interactions/external/attract: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../../engine/dist publishDirectory: dist interactions/external/bounce: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../../engine/dist publishDirectory: dist interactions/external/bubble: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../../engine/dist publishDirectory: dist interactions/external/connect: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../../engine/dist publishDirectory: dist interactions/external/grab: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../../engine/dist publishDirectory: dist interactions/external/particle: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../../engine/dist publishDirectory: dist interactions/external/pause: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../../engine/dist publishDirectory: dist interactions/external/pop: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../../engine/dist publishDirectory: dist interactions/external/push: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../../engine/dist publishDirectory: dist interactions/external/remove: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../../engine/dist publishDirectory: dist interactions/external/repulse: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../../engine/dist publishDirectory: dist interactions/external/slow: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../../engine/dist publishDirectory: dist interactions/external/trail: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../../engine/dist publishDirectory: dist interactions/light: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist publishDirectory: dist interactions/particles/attract: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../../engine/dist publishDirectory: dist interactions/particles/collisions: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../../engine/dist publishDirectory: dist interactions/particles/links: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../../engine/dist publishDirectory: dist interactions/particles/repulse: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../../engine/dist publishDirectory: dist move/base: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist publishDirectory: dist move/parallax: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist publishDirectory: dist paths/curlNoise: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist "@tsparticles/simplex-noise": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../utils/simplexNoise/dist publishDirectory: dist paths/curves: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist publishDirectory: dist paths/perlinNoise: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist "@tsparticles/perlin-noise": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../utils/perlinNoise/dist publishDirectory: dist paths/polygon: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist publishDirectory: dist paths/simplexNoise: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist "@tsparticles/simplex-noise": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../utils/simplexNoise/dist publishDirectory: dist paths/svg: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist publishDirectory: dist paths/zigzag: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist publishDirectory: dist plugins/absorbers: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist publishDirectory: dist plugins/canvasMask: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist publishDirectory: dist plugins/colors/hexColor: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../../engine/dist publishDirectory: dist plugins/colors/hslColor: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../../engine/dist publishDirectory: dist plugins/colors/hsvColor: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../../engine/dist publishDirectory: dist plugins/colors/namedColor: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../../engine/dist publishDirectory: dist plugins/colors/oklchColor: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../../engine/dist publishDirectory: dist plugins/colors/rgbColor: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../../engine/dist publishDirectory: dist plugins/easings/back: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../../engine/dist publishDirectory: dist plugins/easings/circ: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../../engine/dist publishDirectory: dist plugins/easings/cubic: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../../engine/dist publishDirectory: dist plugins/easings/expo: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../../engine/dist publishDirectory: dist plugins/easings/linear: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../../engine/dist publishDirectory: dist plugins/easings/quad: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../../engine/dist publishDirectory: dist plugins/easings/quart: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../../engine/dist publishDirectory: dist plugins/easings/quint: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../../engine/dist publishDirectory: dist plugins/easings/sine: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../../engine/dist publishDirectory: dist plugins/emitters: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist publishDirectory: dist plugins/emittersShapes/canvas: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../../engine/dist "@tsparticles/plugin-emitters": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../emitters/dist publishDirectory: dist plugins/emittersShapes/circle: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../../engine/dist "@tsparticles/plugin-emitters": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../emitters/dist publishDirectory: dist plugins/emittersShapes/path: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../../engine/dist "@tsparticles/plugin-emitters": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../emitters/dist publishDirectory: dist plugins/emittersShapes/polygon: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../../engine/dist "@tsparticles/plugin-emitters": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../emitters/dist publishDirectory: dist plugins/emittersShapes/square: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../../engine/dist "@tsparticles/plugin-emitters": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../emitters/dist publishDirectory: dist plugins/exports/image: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../../engine/dist publishDirectory: dist plugins/exports/json: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../../engine/dist publishDirectory: dist plugins/exports/video: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../../engine/dist publishDirectory: dist plugins/infection: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist publishDirectory: dist plugins/motion: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist publishDirectory: dist plugins/poisson: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist publishDirectory: dist plugins/polygonMask: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist publishDirectory: dist plugins/sounds: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist publishDirectory: dist shapes/arrow: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist publishDirectory: dist shapes/cards: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist publishDirectory: dist shapes/circle: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist publishDirectory: dist shapes/cog: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist publishDirectory: dist shapes/emoji: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist publishDirectory: dist shapes/heart: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist publishDirectory: dist shapes/image: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist publishDirectory: dist shapes/infinity: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist publishDirectory: dist shapes/line: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist publishDirectory: dist shapes/path: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist publishDirectory: dist shapes/polygon: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist publishDirectory: dist shapes/rounded-polygon: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist publishDirectory: dist shapes/rounded-rect: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist publishDirectory: dist shapes/spiral: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist publishDirectory: dist shapes/square: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist publishDirectory: dist shapes/star: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist publishDirectory: dist shapes/text: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist publishDirectory: dist updaters/color: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist publishDirectory: dist updaters/destroy: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist publishDirectory: dist updaters/gradient: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist publishDirectory: dist updaters/life: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist publishDirectory: dist updaters/opacity: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist publishDirectory: dist updaters/orbit: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist publishDirectory: dist updaters/outModes: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist publishDirectory: dist updaters/roll: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist publishDirectory: dist updaters/rotate: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist publishDirectory: dist updaters/size: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist publishDirectory: dist updaters/strokeColor: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist publishDirectory: dist updaters/tilt: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist publishDirectory: dist updaters/twinkle: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist publishDirectory: dist updaters/wobble: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist publishDirectory: dist utils/configs: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist publishDirectory: dist @@ -1719,19 +1719,19 @@ importers: utils/tests: dependencies: "@tsparticles/engine": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../engine/dist "@tsparticles/plugin-hex-color": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/colors/hexColor/dist "@tsparticles/plugin-hsl-color": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/colors/hslColor/dist "@tsparticles/plugin-hsv-color": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/colors/hsvColor/dist "@tsparticles/plugin-rgb-color": - specifier: workspace:3.7.0 + specifier: workspace:3.8.0 version: link:../../plugins/colors/rgbColor/dist devDependencies: skia-canvas: @@ -1756,6 +1756,16 @@ packages: { integrity: sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw== } engines: { node: ">=6.0.0" } + "@augment-vir/assert@30.8.4": + resolution: + { integrity: sha512-kxak+lDEYo14pStluTCss+/wH05SqlSv3mEN/yBvtV5lMJBXhoPcJGMua7zWXNCEnOCGVU36+hDBwuh9IQxT/A== } + engines: { node: ">=22" } + + "@augment-vir/assert@31.2.0": + resolution: + { integrity: sha512-XkHv28mNA2bnQV66qzJMv2Wya7Ovd387DZHAjZ8N8J+nUdcMgbZVXK4W1nsmMFw5iS7fCQGmUYukwBcTXh8M4Q== } + engines: { node: ">=22" } + "@augment-vir/common@23.4.0": resolution: { integrity: sha512-QIrJ1doD00TNbOzeVrk9KgPTzRlIjayxERnhtbQjK/AFPj5yElcB03GbnGdQZPzws/R+5gfMM5cZiH7QyBP+Kg== } @@ -1764,6 +1774,26 @@ packages: resolution: { integrity: sha512-5Ib0OX7YlxAuFrG+MAoTsz6RlKMcbdMdoNGcEEKH/ezc/ZKMy/IHZ9Z/ZcCHYopZ4ocGXzVY4KUOiJ8+CXXvTA== } + "@augment-vir/common@30.8.4": + resolution: + { integrity: sha512-3w4WJOQKycuHmSod0BMjVyrUjHlHj+6vmabKvtRT96mz+b9Rstqg2EfM4zzlkuoM2k9biAbjeYSllwpmf631uQ== } + engines: { node: ">=22" } + + "@augment-vir/common@31.2.0": + resolution: + { integrity: sha512-K00yUD3LWCxJGTx0v7miKCLo+ljc3w3f8L4KWMZ/QQqACu+edZKE2v6KeFx5ULCwLulA/3iQQVZFEkdud7b6pQ== } + engines: { node: ">=22" } + + "@augment-vir/core@30.8.4": + resolution: + { integrity: sha512-fOp0W+z2xkkkcH9lpsY6AUVp2vPbR5qo3fbVui9IrA4RJ6wXzio6+sP1yYw2iLJVmOOEYIWSbvZddDn+Ih6Ppw== } + engines: { node: ">=22" } + + "@augment-vir/core@31.2.0": + resolution: + { integrity: sha512-5ugzaqNGuubzHPjwI5P7S5COm9js8QSz4qUXGKDEsAqvCXr3agwMi/8ZKnVicIBOV2KqBp8vGwLdZD6talcP+w== } + engines: { node: ">=22" } + "@babel/code-frame@7.25.7": resolution: { integrity: sha512-0xZJFNE5XMpENsgfHYTw8FbX4kv53mFLn2i3XPoq69LyhYSCBJtitaHx9QnsVTrsogI4Z3+HtEfZ2/GFPOtf5g== } @@ -2665,6 +2695,11 @@ packages: peerDependencies: winston: ^3.0.0 + "@date-vir/duration@7.1.1": + resolution: + { integrity: sha512-eiSgx5uQbSlBWFyPEp8ED5AwG4c2htNVl4KVSX01iAwiBN1669LLVvKdaftPhZNCbLV6oKrAW9Vy0d+GeZiodA== } + engines: { node: ">=22" } + "@dependents/detective-less@3.0.2": resolution: { integrity: sha512-1YUvQ+e0eeTWAHoN8Uz2x2U37jZs6IGutiIE5LXId7cxfUGhtZjzxE06FdUiuiRrW+UE0vNCdSNPH2lY4dQCOQ== } @@ -2680,6 +2715,11 @@ packages: { integrity: sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw== } engines: { node: ">=10.0.0" } + "@discoveryjs/json-ext@0.6.3": + resolution: + { integrity: sha512-4B4OijXeVNOPZlYA2oEwWOTkzyltLao+xbotHQeqN++Rv27Y6s818+n2Qkp8q+Fxhn0t/5lA5X1Mxktud8eayQ== } + engines: { node: ">=14.17.0" } + "@electron/get@2.0.2": resolution: { integrity: sha512-eFZVFoRXb3GFGd7Ak7W4+6jBl9wBtiZ4AaYOse97ej6mKj5tkyO0dUnUChs1IhJZtx1BENo4/p4WUTXpi6vT+g== } @@ -2707,13 +2747,6 @@ packages: { integrity: sha512-G6QUWIcC+KvSwXNsJyDTHvqUdNoAVJPPgkc3+Uk4WBKqZvoXhlvazOgm9aL0HwihJLQf0l+tOE2UFzXBqCqgDw== } engines: { node: ">=16" } - "@esbuild/aix-ppc64@0.19.12": - resolution: - { integrity: sha512-bmoCYyWdEL3wDQIVbcyzRyeKLgk2WtWLTWz1ZIAZF/EGbNOwSA6ew3PftJ1PqMiOOGu0OyFMzG53L0zqIpPeNA== } - engines: { node: ">=12" } - cpu: [ppc64] - os: [aix] - "@esbuild/aix-ppc64@0.21.5": resolution: { integrity: sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ== } @@ -2728,13 +2761,6 @@ packages: cpu: [ppc64] os: [aix] - "@esbuild/android-arm64@0.19.12": - resolution: - { integrity: sha512-P0UVNGIienjZv3f5zq0DP3Nt2IE/3plFzuaS96vihvD0Hd6H/q4WXUGpCxD/E8YrSXfNyRPbpTq+T8ZQioSuPA== } - engines: { node: ">=12" } - cpu: [arm64] - os: [android] - "@esbuild/android-arm64@0.21.5": resolution: { integrity: sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A== } @@ -2749,13 +2775,6 @@ packages: cpu: [arm64] os: [android] - "@esbuild/android-arm@0.19.12": - resolution: - { integrity: sha512-qg/Lj1mu3CdQlDEEiWrlC4eaPZ1KztwGJ9B6J+/6G+/4ewxJg7gqj8eVYWvao1bXrqGiW2rsBZFSX3q2lcW05w== } - engines: { node: ">=12" } - cpu: [arm] - os: [android] - "@esbuild/android-arm@0.21.5": resolution: { integrity: sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg== } @@ -2770,13 +2789,6 @@ packages: cpu: [arm] os: [android] - "@esbuild/android-x64@0.19.12": - resolution: - { integrity: sha512-3k7ZoUW6Q6YqhdhIaq/WZ7HwBpnFBlW905Fa4s4qWJyiNOgT1dOqDiVAQFwBH7gBRZr17gLrlFCRzF6jFh7Kew== } - engines: { node: ">=12" } - cpu: [x64] - os: [android] - "@esbuild/android-x64@0.21.5": resolution: { integrity: sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA== } @@ -2791,13 +2803,6 @@ packages: cpu: [x64] os: [android] - "@esbuild/darwin-arm64@0.19.12": - resolution: - { integrity: sha512-B6IeSgZgtEzGC42jsI+YYu9Z3HKRxp8ZT3cqhvliEHovq8HSX2YX8lNocDn79gCKJXOSaEot9MVYky7AKjCs8g== } - engines: { node: ">=12" } - cpu: [arm64] - os: [darwin] - "@esbuild/darwin-arm64@0.21.5": resolution: { integrity: sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ== } @@ -2812,13 +2817,6 @@ packages: cpu: [arm64] os: [darwin] - "@esbuild/darwin-x64@0.19.12": - resolution: - { integrity: sha512-hKoVkKzFiToTgn+41qGhsUJXFlIjxI/jSYeZf3ugemDYZldIXIxhvwN6erJGlX4t5h417iFuheZ7l+YVn05N3A== } - engines: { node: ">=12" } - cpu: [x64] - os: [darwin] - "@esbuild/darwin-x64@0.21.5": resolution: { integrity: sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw== } @@ -2833,13 +2831,6 @@ packages: cpu: [x64] os: [darwin] - "@esbuild/freebsd-arm64@0.19.12": - resolution: - { integrity: sha512-4aRvFIXmwAcDBw9AueDQ2YnGmz5L6obe5kmPT8Vd+/+x/JMVKCgdcRwH6APrbpNXsPz+K653Qg8HB/oXvXVukA== } - engines: { node: ">=12" } - cpu: [arm64] - os: [freebsd] - "@esbuild/freebsd-arm64@0.21.5": resolution: { integrity: sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g== } @@ -2854,13 +2845,6 @@ packages: cpu: [arm64] os: [freebsd] - "@esbuild/freebsd-x64@0.19.12": - resolution: - { integrity: sha512-EYoXZ4d8xtBoVN7CEwWY2IN4ho76xjYXqSXMNccFSx2lgqOG/1TBPW0yPx1bJZk94qu3tX0fycJeeQsKovA8gg== } - engines: { node: ">=12" } - cpu: [x64] - os: [freebsd] - "@esbuild/freebsd-x64@0.21.5": resolution: { integrity: sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ== } @@ -2875,13 +2859,6 @@ packages: cpu: [x64] os: [freebsd] - "@esbuild/linux-arm64@0.19.12": - resolution: - { integrity: sha512-EoTjyYyLuVPfdPLsGVVVC8a0p1BFFvtpQDB/YLEhaXyf/5bczaGeN15QkR+O4S5LeJ92Tqotve7i1jn35qwvdA== } - engines: { node: ">=12" } - cpu: [arm64] - os: [linux] - "@esbuild/linux-arm64@0.21.5": resolution: { integrity: sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q== } @@ -2896,13 +2873,6 @@ packages: cpu: [arm64] os: [linux] - "@esbuild/linux-arm@0.19.12": - resolution: - { integrity: sha512-J5jPms//KhSNv+LO1S1TX1UWp1ucM6N6XuL6ITdKWElCu8wXP72l9MM0zDTzzeikVyqFE6U8YAV9/tFyj0ti+w== } - engines: { node: ">=12" } - cpu: [arm] - os: [linux] - "@esbuild/linux-arm@0.21.5": resolution: { integrity: sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA== } @@ -2917,13 +2887,6 @@ packages: cpu: [arm] os: [linux] - "@esbuild/linux-ia32@0.19.12": - resolution: - { integrity: sha512-Thsa42rrP1+UIGaWz47uydHSBOgTUnwBwNq59khgIwktK6x60Hivfbux9iNR0eHCHzOLjLMLfUMLCypBkZXMHA== } - engines: { node: ">=12" } - cpu: [ia32] - os: [linux] - "@esbuild/linux-ia32@0.21.5": resolution: { integrity: sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg== } @@ -2938,13 +2901,6 @@ packages: cpu: [ia32] os: [linux] - "@esbuild/linux-loong64@0.19.12": - resolution: - { integrity: sha512-LiXdXA0s3IqRRjm6rV6XaWATScKAXjI4R4LoDlvO7+yQqFdlr1Bax62sRwkVvRIrwXxvtYEHHI4dm50jAXkuAA== } - engines: { node: ">=12" } - cpu: [loong64] - os: [linux] - "@esbuild/linux-loong64@0.21.5": resolution: { integrity: sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg== } @@ -2959,13 +2915,6 @@ packages: cpu: [loong64] os: [linux] - "@esbuild/linux-mips64el@0.19.12": - resolution: - { integrity: sha512-fEnAuj5VGTanfJ07ff0gOA6IPsvrVHLVb6Lyd1g2/ed67oU1eFzL0r9WL7ZzscD+/N6i3dWumGE1Un4f7Amf+w== } - engines: { node: ">=12" } - cpu: [mips64el] - os: [linux] - "@esbuild/linux-mips64el@0.21.5": resolution: { integrity: sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg== } @@ -2980,13 +2929,6 @@ packages: cpu: [mips64el] os: [linux] - "@esbuild/linux-ppc64@0.19.12": - resolution: - { integrity: sha512-nYJA2/QPimDQOh1rKWedNOe3Gfc8PabU7HT3iXWtNUbRzXS9+vgB0Fjaqr//XNbd82mCxHzik2qotuI89cfixg== } - engines: { node: ">=12" } - cpu: [ppc64] - os: [linux] - "@esbuild/linux-ppc64@0.21.5": resolution: { integrity: sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w== } @@ -3001,13 +2943,6 @@ packages: cpu: [ppc64] os: [linux] - "@esbuild/linux-riscv64@0.19.12": - resolution: - { integrity: sha512-2MueBrlPQCw5dVJJpQdUYgeqIzDQgw3QtiAHUC4RBz9FXPrskyyU3VI1hw7C0BSKB9OduwSJ79FTCqtGMWqJHg== } - engines: { node: ">=12" } - cpu: [riscv64] - os: [linux] - "@esbuild/linux-riscv64@0.21.5": resolution: { integrity: sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA== } @@ -3022,13 +2957,6 @@ packages: cpu: [riscv64] os: [linux] - "@esbuild/linux-s390x@0.19.12": - resolution: - { integrity: sha512-+Pil1Nv3Umes4m3AZKqA2anfhJiVmNCYkPchwFJNEJN5QxmTs1uzyy4TvmDrCRNT2ApwSari7ZIgrPeUx4UZDg== } - engines: { node: ">=12" } - cpu: [s390x] - os: [linux] - "@esbuild/linux-s390x@0.21.5": resolution: { integrity: sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A== } @@ -3043,13 +2971,6 @@ packages: cpu: [s390x] os: [linux] - "@esbuild/linux-x64@0.19.12": - resolution: - { integrity: sha512-B71g1QpxfwBvNrfyJdVDexenDIt1CiDN1TIXLbhOw0KhJzE78KIFGX6OJ9MrtC0oOqMWf+0xop4qEU8JrJTwCg== } - engines: { node: ">=12" } - cpu: [x64] - os: [linux] - "@esbuild/linux-x64@0.21.5": resolution: { integrity: sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ== } @@ -3064,13 +2985,6 @@ packages: cpu: [x64] os: [linux] - "@esbuild/netbsd-x64@0.19.12": - resolution: - { integrity: sha512-3ltjQ7n1owJgFbuC61Oj++XhtzmymoCihNFgT84UAmJnxJfm4sYCiSLTXZtE00VWYpPMYc+ZQmB6xbSdVh0JWA== } - engines: { node: ">=12" } - cpu: [x64] - os: [netbsd] - "@esbuild/netbsd-x64@0.21.5": resolution: { integrity: sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg== } @@ -3092,13 +3006,6 @@ packages: cpu: [arm64] os: [openbsd] - "@esbuild/openbsd-x64@0.19.12": - resolution: - { integrity: sha512-RbrfTB9SWsr0kWmb9srfF+L933uMDdu9BIzdA7os2t0TXhCRjrQyCeOt6wVxr79CKD4c+p+YhCj31HBkYcXebw== } - engines: { node: ">=12" } - cpu: [x64] - os: [openbsd] - "@esbuild/openbsd-x64@0.21.5": resolution: { integrity: sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow== } @@ -3113,13 +3020,6 @@ packages: cpu: [x64] os: [openbsd] - "@esbuild/sunos-x64@0.19.12": - resolution: - { integrity: sha512-HKjJwRrW8uWtCQnQOz9qcU3mUZhTUQvi56Q8DPTLLB+DawoiQdjsYq+j+D3s9I8VFtDr+F9CjgXKKC4ss89IeA== } - engines: { node: ">=12" } - cpu: [x64] - os: [sunos] - "@esbuild/sunos-x64@0.21.5": resolution: { integrity: sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg== } @@ -3134,13 +3034,6 @@ packages: cpu: [x64] os: [sunos] - "@esbuild/win32-arm64@0.19.12": - resolution: - { integrity: sha512-URgtR1dJnmGvX864pn1B2YUYNzjmXkuJOIqG2HdU62MVS4EHpU2946OZoTMnRUHklGtJdJZ33QfzdjGACXhn1A== } - engines: { node: ">=12" } - cpu: [arm64] - os: [win32] - "@esbuild/win32-arm64@0.21.5": resolution: { integrity: sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A== } @@ -3155,13 +3048,6 @@ packages: cpu: [arm64] os: [win32] - "@esbuild/win32-ia32@0.19.12": - resolution: - { integrity: sha512-+ZOE6pUkMOJfmxmBZElNOx72NKpIa/HFOMGzu8fqzQJ5kgf6aTGrcJaFsNiVMH4JKpMipyK+7k0n2UXN7a8YKQ== } - engines: { node: ">=12" } - cpu: [ia32] - os: [win32] - "@esbuild/win32-ia32@0.21.5": resolution: { integrity: sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA== } @@ -3176,13 +3062,6 @@ packages: cpu: [ia32] os: [win32] - "@esbuild/win32-x64@0.19.12": - resolution: - { integrity: sha512-T1QyPSDCyMXaO3pzBkF96E8xMkiRYbUEZADd29SyPGabqxMViNoii+NcK7eWJAEoU6RZyEm5lVSIjTmcdoB9HA== } - engines: { node: ">=12" } - cpu: [x64] - os: [win32] - "@esbuild/win32-x64@0.21.5": resolution: { integrity: sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw== } @@ -3437,9 +3316,9 @@ packages: resolution: { integrity: sha512-krngXVPfX0Zf6+zJDtcI59/Pt3JfcMPMZ9C/+/x6rvz4WGgyv1s0MI4crEUM0Lx5ZpS4QI0WNDCFVQSfGEBXUg== } - "@nrwl/tao@19.8.12": + "@nrwl/tao@19.8.14": resolution: - { integrity: sha512-SBO/8yc9IxD0iiAFbjOZvt1g0HI+9oZ5C+KEF+IiRnIpg4/oYfqKJXCRJXB8vstXRpX+NNPM0OlSaCC75oIZcQ== } + { integrity: sha512-zBeYzzwg43T/Z8ZtLblv0fcKuqJULttqYDekSLILThXp3UOMSerEvruhUgwddCY1jUssfLscz8vacMKISv5X4w== } hasBin: true "@nrwl/tao@19.8.4": @@ -3463,9 +3342,9 @@ packages: peerDependencies: nx: ">= 17 <= 20" - "@nx/nx-darwin-arm64@19.8.12": + "@nx/nx-darwin-arm64@19.8.14": resolution: - { integrity: sha512-0MPAE/k0G7IL8z09w+/5an1vLo5sPJn2m9pv3vYNBT3WySc7iLxa5bLoJNVk1R8yFCjvoFo+1OmUgCsfRiPf/g== } + { integrity: sha512-bZUFf23gAzuwVw71dR8rngye5aCR8Z/ouIo+KayjqB0LWWoi3WzO73s4S69ljftYt4n6z9wvD+Trbb1BKm2fPg== } engines: { node: ">= 10" } cpu: [arm64] os: [darwin] @@ -3477,9 +3356,9 @@ packages: cpu: [arm64] os: [darwin] - "@nx/nx-darwin-x64@19.8.12": + "@nx/nx-darwin-x64@19.8.14": resolution: - { integrity: sha512-Ak+SKDRyVWpBQSuAYuLByt3eZQUtOxTLY1S7Z1Lef9guh2n2ziBMNYuZPVZyjzWkswcX1dLS8LSfT3qnQ1MQMw== } + { integrity: sha512-UXXVea8icFG/3rFwpbLYsD6O4wlyJ1STQfOdhGK1Hyuga70AUUdrjVm7HzigAQP/Sb2Nzd7155YXHzfpRPDFYA== } engines: { node: ">= 10" } cpu: [x64] os: [darwin] @@ -3491,9 +3370,9 @@ packages: cpu: [x64] os: [darwin] - "@nx/nx-freebsd-x64@19.8.12": + "@nx/nx-freebsd-x64@19.8.14": resolution: - { integrity: sha512-u//YheOyzNB8XXxfZKuGpdZgDRgH0gKGweE3dNy2O5Z4d1evByH1x3a5GaRFqF5Bpo8fKx3iI1q0NG7EnHfFIw== } + { integrity: sha512-TK2xuXn+BI6hxGaRK1HRUPWeF/nOtezKSqM+6rbippfCzjES/crmp9l5nbI764MMthtUmykCyWvhEfkDca6kbA== } engines: { node: ">= 10" } cpu: [x64] os: [freebsd] @@ -3505,9 +3384,9 @@ packages: cpu: [x64] os: [freebsd] - "@nx/nx-linux-arm-gnueabihf@19.8.12": + "@nx/nx-linux-arm-gnueabihf@19.8.14": resolution: - { integrity: sha512-g6qatW6DsJdi9hzUOAyeuu7xFMfFZ/+FrbPH1sKHF4OR7c2YD9R/ATQvt50ojaoCkH3cDkMYaFF8CjbvutCZDw== } + { integrity: sha512-33rptyRraqaeQ2Kq6pcZKQqgnYY/7zcGH8fHXgKK7XzKk+7QuPViq+jMEUZP5E3UzZPkIYhsfmZcZqhNRvepJQ== } engines: { node: ">= 10" } cpu: [arm] os: [linux] @@ -3519,9 +3398,9 @@ packages: cpu: [arm] os: [linux] - "@nx/nx-linux-arm64-gnu@19.8.12": + "@nx/nx-linux-arm64-gnu@19.8.14": resolution: - { integrity: sha512-UAMUfySdVPlhGzYK+NvZprUQT7FmQJcLSA1odmkGaSAqMyqMeBZpOLymfpjVzoTFcyiGg8bv3pDBlN5xCWG4YA== } + { integrity: sha512-2E70qMKOhh7Fp4JGcRbRLvFKq0+ANVdAgSzH47plxOLygIeVAfIXRSuQbCI0EUFa5Sy6hImLaoRSB2GdgKihAw== } engines: { node: ">= 10" } cpu: [arm64] os: [linux] @@ -3533,9 +3412,9 @@ packages: cpu: [arm64] os: [linux] - "@nx/nx-linux-arm64-musl@19.8.12": + "@nx/nx-linux-arm64-musl@19.8.14": resolution: - { integrity: sha512-cay9nP6wvalW7s7UCWunikVpHpg+zU7+ZJ3lkahns/CMh8bXs4Q7FbPesbc9LNjh00pS247HmpXEWSYIA5MtSA== } + { integrity: sha512-ltty/PDWqkYgu/6Ye65d7v5nh3D6e0n3SacoKRs2Vtfz5oHYRUkSKizKIhEVfRNuHn3d9j8ve1fdcCN4SDPUBQ== } engines: { node: ">= 10" } cpu: [arm64] os: [linux] @@ -3547,9 +3426,9 @@ packages: cpu: [arm64] os: [linux] - "@nx/nx-linux-x64-gnu@19.8.12": + "@nx/nx-linux-x64-gnu@19.8.14": resolution: - { integrity: sha512-EqKg+gqiyJBF5kedYy8PGBBQ1mKCYCK2d95mrOE3yP0a3ovBDGZnOIdoTRFEcT+C23rmbNhrfknqf6wpVFmH6w== } + { integrity: sha512-JzE3BuO9RCBVdgai18CCze6KUzG0AozE0TtYFxRokfSC05NU3nUhd/o62UsOl7s6Bqt/9nwrW7JC8pNDiCi9OQ== } engines: { node: ">= 10" } cpu: [x64] os: [linux] @@ -3561,9 +3440,9 @@ packages: cpu: [x64] os: [linux] - "@nx/nx-linux-x64-musl@19.8.12": + "@nx/nx-linux-x64-musl@19.8.14": resolution: - { integrity: sha512-GK5CzB/K3S/vSBA9K46lrY1CvXTuN9eIbuu37BlNQJN8h+Zw4tGv30DZ6FYIpubzAmUq2omPJkApbXQ/MmveUg== } + { integrity: sha512-2rPvDOQLb7Wd6YiU88FMBiLtYco0dVXF99IJBRGAWv+WTI7MNr47OyK2ze+JOsbYY1d8aOGUvckUvCCZvZKEfg== } engines: { node: ">= 10" } cpu: [x64] os: [linux] @@ -3575,9 +3454,9 @@ packages: cpu: [x64] os: [linux] - "@nx/nx-win32-arm64-msvc@19.8.12": + "@nx/nx-win32-arm64-msvc@19.8.14": resolution: - { integrity: sha512-3oWgO9OlwldgPLYxKlbDJeLKwT6S09Btwj7+AZMpTSJ6r+jNkU2uZsB0M8Pa4yiSwKrj8V8EjIWMGHaPIqCz+Q== } + { integrity: sha512-JxW+YPS+EjhUsLw9C6wtk9pQTG3psyFwxhab8y/dgk2s4AOTLyIm0XxgcCJVvB6i4uv+s1g0QXRwp6+q3IR6hg== } engines: { node: ">= 10" } cpu: [arm64] os: [win32] @@ -3589,9 +3468,9 @@ packages: cpu: [arm64] os: [win32] - "@nx/nx-win32-x64-msvc@19.8.12": + "@nx/nx-win32-x64-msvc@19.8.14": resolution: - { integrity: sha512-VymDZDL/ZPO7hXgHp34G/nKBdI6JRzXcXhOVazPro4eFx42Tr3Aepx+A5Cnz85ZsV4KwoNku57RkBbg/p7V9Eg== } + { integrity: sha512-RxiPlBWPcGSf9TzIIy62iKRdRhokXMDUsPub9DL2VdVyTMXPZQR25aY/PJeasJN1EQU74hg097LK2wSHi+vzOQ== } engines: { node: ">= 10" } cpu: [x64] os: [win32] @@ -4146,6 +4025,10 @@ packages: resolution: { integrity: sha512-2RXcRKdivPmn67pwjytvHoRv46AeXaLYVUWA0zkel1XSAOH5i71G0KfUdE5u3g80T155gR3Fo3ilVaqparLsVA== } + "@types/luxon@3.4.2": + resolution: + { integrity: sha512-TifLZlFudklWlMBfhubvgqTXRzLDI5pCbGa4P8a3wPyUQSW+1xQ5eDsreP9DWHX3tjq1ke96uYG/nwundroWcA== } + "@types/mdast@4.0.4": resolution: { integrity: sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA== } @@ -4541,6 +4424,14 @@ packages: webpack: 5.x.x webpack-cli: 5.x.x + "@webpack-cli/configtest@3.0.0": + resolution: + { integrity: sha512-3byRXqOvwm/zGM0OhSbq15aJeX5ZUSe0RS7gfzH9wtX9UX6foShghZKxNOq+oJ59s5dsZrvBk4WHLfSnaBJJWw== } + engines: { node: ">=18.12.0" } + peerDependencies: + webpack: 5.x.x + webpack-cli: 5.x.x + "@webpack-cli/info@2.0.2": resolution: { integrity: sha512-zLHQdI/Qs1UyT5UBdWNqsARasIA+AaF8t+4u2aS2nEpBQh2mWIVb8qAklq0eUENnC5mOItrIB4LiS9xMtph18A== } @@ -4549,6 +4440,14 @@ packages: webpack: 5.x.x webpack-cli: 5.x.x + "@webpack-cli/info@3.0.0": + resolution: + { integrity: sha512-HIuVImc5NGeL3NKz5i0GkqfSJ1XsNH4YlpTb1O+TXYUdzTL6ZAZFL9zoVKXxcmSW+HBKkmkUsLWwlyLcFTrArw== } + engines: { node: ">=18.12.0" } + peerDependencies: + webpack: 5.x.x + webpack-cli: 5.x.x + "@webpack-cli/serve@2.0.5": resolution: { integrity: sha512-lqaoKnRYBdo1UgDX8uF24AfGMifWK19TxPmM5FHc2vAGxrJ/qtyUyFBWoY1tISZdelsQ5fBcOusifo5o5wSJxQ== } @@ -4561,6 +4460,18 @@ packages: webpack-dev-server: optional: true + "@webpack-cli/serve@3.0.0": + resolution: + { integrity: sha512-oX0XqXHb0IgD2jfzxM5sOGuwFTrLpOpfyPT0t4QIXHS69eRRliyuKzbavXgDnOENIs9BxbNnAaDFhTpAEPEChQ== } + engines: { node: ">=18.12.0" } + peerDependencies: + webpack: 5.x.x + webpack-cli: 5.x.x + webpack-dev-server: "*" + peerDependenciesMeta: + webpack-dev-server: + optional: true + "@xtuc/ieee754@1.2.0": resolution: { integrity: sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA== } @@ -5920,9 +5831,9 @@ packages: resolution: { integrity: sha512-M+7ph0VGBQqqpTT2YrabjNKSQ2fEl9PVx6AK3N558gDH9NO8O6XN9SXXFWRo9u9PbEg/bWq+tjXQr+eXmxubCw== } - electron@33.0.0: + electron@34.0.0: resolution: - { integrity: sha512-OdLLR/zAVuNfKahSSYokZmSi7uK2wEYTbCoiIdqWLsOWmCqO9j0JC2XkYQmXQcAk2BJY0ri4lxwAfc5pzPDYsA== } + { integrity: sha512-fpaPb0lifoUJ6UJa4Lk8/0B2Ku/xDZWdc1Gkj67jbygTCrvSon0qquju6Ltx1Kz23GRqqlIHXiy9EvrjpY7/Wg== } engines: { node: ">= 12.20.55" } hasBin: true @@ -5997,6 +5908,12 @@ packages: engines: { node: ">=4" } hasBin: true + envinfo@7.14.0: + resolution: + { integrity: sha512-CO40UI41xDQzhLB1hWyqUKgFhs250pNcGbyGKe1l/e4FSaI/+YE4IMG76GDt0In67WLPACIITC+sOi08x4wIvg== } + engines: { node: ">=4" } + hasBin: true + err-code@2.0.3: resolution: { integrity: sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA== } @@ -6042,12 +5959,6 @@ packages: resolution: { integrity: sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg== } - esbuild@0.19.12: - resolution: - { integrity: sha512-aARqgq8roFBj054KvQr5f1sFu0D65G+miZRCuJyJ0G13Zwx7vRar5Zhn2tkQNzIXcBrNVsv/8stehpj+GAjgbg== } - engines: { node: ">=12" } - hasBin: true - esbuild@0.21.5: resolution: { integrity: sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw== } @@ -6090,6 +6001,13 @@ packages: engines: { node: ">=6.0" } hasBin: true + eslint-config-prettier@10.0.1: + resolution: + { integrity: sha512-lZBts941cyJyeaooiKxAtzoPHTN+GbQTJFAIdQbRhA4/8whaAraEh47Whw/ZFfrjNSnlAxqfm9i0XVAEkULjCw== } + hasBin: true + peerDependencies: + eslint: ">=7.0.0" + eslint-config-prettier@9.1.0: resolution: { integrity: sha512-NSWl5BFQWEPi1j4TjVNItzYV7dZXZ+wP6I6ZhrBGpChQhZRUaElihE9uRRkcbRnNb76UMKDF3r+WTmNcGPKsqw== } @@ -6285,6 +6203,11 @@ packages: resolution: { integrity: sha512-yWnriYB4e8G54M5/fAFj7rCIBiKs1HAACaY13kCz6Ku0dezjS9aMcfcdVK2X8Tv2tEV1BPz/wKfQ7WA4S/d8aA== } + expect-type@1.1.0: + resolution: + { integrity: sha512-bFi65yM+xZgk+u/KRIpekdSYkTB5W1pEf0Lt8Q8Msh7b+eQ7LXVtIB1Bkm4fvclDEL1b2CZkMhv2mOeF8tMdkA== } + engines: { node: ">=12.0.0" } + exponential-backoff@3.1.1: resolution: { integrity: sha512-dX7e/LHVJ6W3DE1MHWi9S1EYzDESENfLrYohG2G++ovZrYOkm4Knwa0mc1cn84xJOR4KEU0WSchhLbd0UklbHw== } @@ -7786,6 +7709,11 @@ packages: resolution: { integrity: sha512-zTU3DaZaF3Rt9rhN3uBMGQD3dD2/vFQqnvZCDv4dl5iOzq2IZQqTxu90r4E5J+nP70J3ilqVCrbho2eWaeW8Ow== } + luxon@3.5.0: + resolution: + { integrity: sha512-rh+Zjr6DNfUYR3bPwJEnuwDdqMbxZW7LOQfUN4B54+Cl+0o5zaU9RJ6bcidfDtC1cWCZXQ+nvX8bf6bAji37QQ== } + engines: { node: ">=12" } + madge@6.1.0: resolution: { integrity: sha512-irWhT5RpFOc6lkzGHKLihonCVgM0YtfNUh4IrFeW3EqHpnt/JHUG3z26j8PeJEktCGB4tmGOOOJi1Rl/ACWucQ== } @@ -8352,9 +8280,9 @@ packages: { integrity: sha512-f24vd5/57/MFSXNMfkerdDiK0EvScGOKO71iOWgJNgI1xVweDRmOA/EfjnPMRd5m+pnoPs/4A7DzuwSW0jZVyw== } hasBin: true - nx@19.8.12: + nx@19.8.14: resolution: - { integrity: sha512-FkWEma1CwQKDFrmlimvVVRTn0uj0QIp1PA3P8ynI1z1r/Q2i1qd0FYqOyDTay7mXHfVF4PryfBcoIotWTn+VEw== } + { integrity: sha512-yprBOWV16eQntz5h5SShYHMVeN50fUb6yHfzsqNiFneCJeyVjyJ585m+2TuVbE11vT1amU0xCjHcSGfJBBnm8g== } hasBin: true peerDependencies: "@swc-node/register": ^1.8.0 @@ -8838,6 +8766,13 @@ packages: peerDependencies: prettier: ">=3.0.0" + prettier-plugin-multiline-arrays@4.0.1: + resolution: + { integrity: sha512-NB51ZXCiuh6ojwwI8aJfePVv8gfqDI2Vz//bjTCPfFp+yumm8sxX5tlnGTHGe6DnWr2zKu3vcp5I6dcfjKYuaw== } + engines: { node: ">=22" } + peerDependencies: + prettier: ">=3.0.0" + prettier@3.3.3: resolution: { integrity: sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew== } @@ -8935,6 +8870,11 @@ packages: resolution: { integrity: sha512-WV1gkBxUOwLSz0Bn09tisIqLK7leAqtFm/474t3L0hQKJw7/gdrkGcWw0/OT1PhSy+TDS6swfq7Niuoq3XJhkQ== } + proxy-vir@2.0.1: + resolution: + { integrity: sha512-hjy5mWzHZhgRGh0f90f0Bz3VrGUe0T+AlhwnETakzRdvaN9RtPYLQG1+ZuEzSDK95FAhPYd26nEi1xVrXqvBwg== } + engines: { node: ">=22" } + pstree.remy@1.1.8: resolution: { integrity: sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w== } @@ -10159,6 +10099,11 @@ packages: { integrity: sha512-R6wDsVsoS9xYOpy8vgeBlqpdOyzJ12HNfQhC/aAKWM3YoCV9TtunJzh/QpkMgeDhkoynDcw5f1y+qF9yc/HHyg== } engines: { node: ">=16" } + type-fest@4.30.2: + resolution: + { integrity: sha512-UJShLPYi1aWqCdq9HycOL/gwsuqda1OISdBO3t8RlXQC4QvtuIz4b5FCfe2dQIWEpmlRExKmcTBfP1r9bhY7ig== } + engines: { node: ">=16" } + type-is@1.6.18: resolution: { integrity: sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g== } @@ -10183,6 +10128,11 @@ packages: resolution: { integrity: sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng== } + typed-event-target@4.0.2: + resolution: + { integrity: sha512-vIAqC5HN/yuAn4+K4MFB6QBz4pAjp3se55KkRIbxX+EjGRyBJwbVasj2jgzUDhYeda9b0YbDng2N11A/bXvYwA== } + engines: { node: ">=22" } + typedarray@0.0.6: resolution: { integrity: sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA== } @@ -10442,9 +10392,9 @@ packages: engines: { node: ^18.0.0 || >=20.0.0 } hasBin: true - vite@5.1.8: + vite@5.4.11: resolution: - { integrity: sha512-mB8ToUuSmzODSpENgvpFk2fTiU/YQ1tmcVJJ4WZbq4fPdGJkFNVcmVL5k7iDug6xzWjjuGDKAuSievIsD6H7Xw== } + { integrity: sha512-c7jFQRklXua0mTzneGW9QVyxFjUgwcihC4bXEtujIo2ouWCe1Ajt/amn2PCxYnhYfd5k09JX3SB7OYWFKYqj8Q== } engines: { node: ^18.0.0 || >=20.0.0 } hasBin: true peerDependencies: @@ -10452,6 +10402,7 @@ packages: less: "*" lightningcss: ^1.21.0 sass: "*" + sass-embedded: "*" stylus: "*" sugarss: "*" terser: ^5.4.0 @@ -10464,6 +10415,8 @@ packages: optional: true sass: optional: true + sass-embedded: + optional: true stylus: optional: true sugarss: @@ -10471,23 +10424,28 @@ packages: terser: optional: true - vite@5.4.11: + vite@6.0.3: resolution: - { integrity: sha512-c7jFQRklXua0mTzneGW9QVyxFjUgwcihC4bXEtujIo2ouWCe1Ajt/amn2PCxYnhYfd5k09JX3SB7OYWFKYqj8Q== } - engines: { node: ^18.0.0 || >=20.0.0 } + { integrity: sha512-Cmuo5P0ENTN6HxLSo6IHsjCLn/81Vgrp81oaiFFMRa8gGDj5xEjIcEpf2ZymZtZR8oU0P2JX5WuUp/rlXcHkAw== } + engines: { node: ^18.0.0 || ^20.0.0 || >=22.0.0 } hasBin: true peerDependencies: - "@types/node": ^18.0.0 || >=20.0.0 + "@types/node": ^18.0.0 || ^20.0.0 || >=22.0.0 + jiti: ">=1.21.0" less: "*" lightningcss: ^1.21.0 sass: "*" sass-embedded: "*" stylus: "*" sugarss: "*" - terser: ^5.4.0 + terser: ^5.16.0 + tsx: ^4.8.1 + yaml: ^2.4.2 peerDependenciesMeta: "@types/node": optional: true + jiti: + optional: true less: optional: true lightningcss: @@ -10502,6 +10460,10 @@ packages: optional: true terser: optional: true + tsx: + optional: true + yaml: + optional: true vitest@2.1.2: resolution: @@ -10590,11 +10552,31 @@ packages: webpack-dev-server: optional: true + webpack-cli@6.0.0: + resolution: + { integrity: sha512-4MxiCcVjpl5h88mdrzz+ZQRHiT0JmwImP6Ss3xz0LkPYFR61qxuVx7/IPnwhUyRvXen4v/aLXlJONYmfhgVG7A== } + engines: { node: ">=18.12.0" } + hasBin: true + peerDependencies: + webpack: ^5.82.0 + webpack-bundle-analyzer: "*" + webpack-dev-server: "*" + peerDependenciesMeta: + webpack-bundle-analyzer: + optional: true + webpack-dev-server: + optional: true + webpack-merge@5.9.0: resolution: { integrity: sha512-6NbRQw4+Sy50vYNTw7EyOn41OZItPiXB8GNv3INSoe3PSFaHJEz3SHTrYVaRm2LilNGnFUzh0FAwqPEmU/CwDg== } engines: { node: ">=10.0.0" } + webpack-merge@6.0.1: + resolution: + { integrity: sha512-hXXvrjtx2PLYx4qruKl+kyRSLc52V+cCvMxRjmKwoA+CBbbF5GfIBtR6kCvl0fYGqTUPKB+1ktVmTHqMOzgCBg== } + engines: { node: ">=18.0.0" } + webpack-sources@3.2.3: resolution: { integrity: sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w== } @@ -10829,6 +10811,22 @@ snapshots: "@jridgewell/gen-mapping": 0.3.5 "@jridgewell/trace-mapping": 0.3.25 + "@augment-vir/assert@30.8.4": + dependencies: + "@augment-vir/core": 30.8.4 + "@date-vir/duration": 7.1.1 + deep-eql: 5.0.2 + expect-type: 1.1.0 + type-fest: 4.30.2 + + "@augment-vir/assert@31.2.0": + dependencies: + "@augment-vir/core": 31.2.0 + "@date-vir/duration": 7.1.1 + deep-eql: 5.0.2 + expect-type: 1.1.0 + type-fest: 4.30.2 + "@augment-vir/common@23.4.0": dependencies: browser-or-node: 2.1.1 @@ -10841,6 +10839,40 @@ snapshots: run-time-assertions: 1.5.1 type-fest: 4.20.1 + "@augment-vir/common@30.8.4": + dependencies: + "@augment-vir/assert": 30.8.4 + "@augment-vir/core": 30.8.4 + "@date-vir/duration": 7.1.1 + ansi-styles: 6.2.1 + json5: 2.2.3 + type-fest: 4.30.2 + typed-event-target: 4.0.2 + + "@augment-vir/common@31.2.0": + dependencies: + "@augment-vir/assert": 31.2.0 + "@augment-vir/core": 31.2.0 + "@date-vir/duration": 7.1.1 + ansi-styles: 6.2.1 + json5: 2.2.3 + type-fest: 4.30.2 + typed-event-target: 4.0.2 + + "@augment-vir/core@30.8.4": + dependencies: + "@date-vir/duration": 7.1.1 + browser-or-node: 3.0.0 + json5: 2.2.3 + type-fest: 4.30.2 + + "@augment-vir/core@31.2.0": + dependencies: + "@date-vir/duration": 7.1.1 + browser-or-node: 3.0.0 + json5: 2.2.3 + type-fest: 4.30.2 + "@babel/code-frame@7.25.7": dependencies: "@babel/highlight": 7.25.7 @@ -11772,6 +11804,12 @@ snapshots: transitivePeerDependencies: - encoding + "@date-vir/duration@7.1.1": + dependencies: + "@types/luxon": 3.4.2 + luxon: 3.5.0 + type-fest: 4.30.2 + "@dependents/detective-less@3.0.2": dependencies: gonzales-pe: 4.3.0 @@ -11784,9 +11822,11 @@ snapshots: "@discoveryjs/json-ext@0.5.7": {} + "@discoveryjs/json-ext@0.6.3": {} + "@electron/get@2.0.2": dependencies: - debug: 4.3.6 + debug: 4.3.7 env-paths: 2.2.1 fs-extra: 8.1.0 got: 11.8.6 @@ -11826,162 +11866,108 @@ snapshots: esquery: 1.6.0 jsdoc-type-pratt-parser: 4.1.0 - "@esbuild/aix-ppc64@0.19.12": - optional: true - "@esbuild/aix-ppc64@0.21.5": optional: true "@esbuild/aix-ppc64@0.24.0": optional: true - "@esbuild/android-arm64@0.19.12": - optional: true - "@esbuild/android-arm64@0.21.5": optional: true "@esbuild/android-arm64@0.24.0": optional: true - "@esbuild/android-arm@0.19.12": - optional: true - "@esbuild/android-arm@0.21.5": optional: true "@esbuild/android-arm@0.24.0": optional: true - "@esbuild/android-x64@0.19.12": - optional: true - "@esbuild/android-x64@0.21.5": optional: true "@esbuild/android-x64@0.24.0": optional: true - "@esbuild/darwin-arm64@0.19.12": - optional: true - "@esbuild/darwin-arm64@0.21.5": optional: true "@esbuild/darwin-arm64@0.24.0": optional: true - "@esbuild/darwin-x64@0.19.12": - optional: true - "@esbuild/darwin-x64@0.21.5": optional: true "@esbuild/darwin-x64@0.24.0": optional: true - "@esbuild/freebsd-arm64@0.19.12": - optional: true - "@esbuild/freebsd-arm64@0.21.5": optional: true "@esbuild/freebsd-arm64@0.24.0": optional: true - "@esbuild/freebsd-x64@0.19.12": - optional: true - "@esbuild/freebsd-x64@0.21.5": optional: true "@esbuild/freebsd-x64@0.24.0": optional: true - "@esbuild/linux-arm64@0.19.12": - optional: true - "@esbuild/linux-arm64@0.21.5": optional: true "@esbuild/linux-arm64@0.24.0": optional: true - "@esbuild/linux-arm@0.19.12": - optional: true - "@esbuild/linux-arm@0.21.5": optional: true "@esbuild/linux-arm@0.24.0": optional: true - "@esbuild/linux-ia32@0.19.12": - optional: true - "@esbuild/linux-ia32@0.21.5": optional: true "@esbuild/linux-ia32@0.24.0": optional: true - "@esbuild/linux-loong64@0.19.12": - optional: true - "@esbuild/linux-loong64@0.21.5": optional: true "@esbuild/linux-loong64@0.24.0": optional: true - "@esbuild/linux-mips64el@0.19.12": - optional: true - "@esbuild/linux-mips64el@0.21.5": optional: true "@esbuild/linux-mips64el@0.24.0": optional: true - "@esbuild/linux-ppc64@0.19.12": - optional: true - "@esbuild/linux-ppc64@0.21.5": optional: true "@esbuild/linux-ppc64@0.24.0": optional: true - "@esbuild/linux-riscv64@0.19.12": - optional: true - "@esbuild/linux-riscv64@0.21.5": optional: true "@esbuild/linux-riscv64@0.24.0": optional: true - "@esbuild/linux-s390x@0.19.12": - optional: true - "@esbuild/linux-s390x@0.21.5": optional: true "@esbuild/linux-s390x@0.24.0": optional: true - "@esbuild/linux-x64@0.19.12": - optional: true - "@esbuild/linux-x64@0.21.5": optional: true "@esbuild/linux-x64@0.24.0": optional: true - "@esbuild/netbsd-x64@0.19.12": - optional: true - "@esbuild/netbsd-x64@0.21.5": optional: true @@ -11991,45 +11977,30 @@ snapshots: "@esbuild/openbsd-arm64@0.24.0": optional: true - "@esbuild/openbsd-x64@0.19.12": - optional: true - "@esbuild/openbsd-x64@0.21.5": optional: true "@esbuild/openbsd-x64@0.24.0": optional: true - "@esbuild/sunos-x64@0.19.12": - optional: true - "@esbuild/sunos-x64@0.21.5": optional: true "@esbuild/sunos-x64@0.24.0": optional: true - "@esbuild/win32-arm64@0.19.12": - optional: true - "@esbuild/win32-arm64@0.21.5": optional: true "@esbuild/win32-arm64@0.24.0": optional: true - "@esbuild/win32-ia32@0.19.12": - optional: true - "@esbuild/win32-ia32@0.21.5": optional: true "@esbuild/win32-ia32@0.24.0": optional: true - "@esbuild/win32-x64@0.19.12": - optional: true - "@esbuild/win32-x64@0.21.5": optional: true @@ -12131,7 +12102,7 @@ snapshots: "@npmcli/arborist": 7.5.4 "@npmcli/package-json": 5.2.0 "@npmcli/run-script": 8.1.0 - "@nx/devkit": 19.3.2(nx@19.8.12(@swc/core@1.9.2)) + "@nx/devkit": 19.3.2(nx@19.8.14(@swc/core@1.9.2)) "@octokit/plugin-enterprise-rest": 6.0.1 "@octokit/rest": 19.0.11(encoding@0.1.13) aproba: 2.0.0 @@ -12170,7 +12141,7 @@ snapshots: npm-package-arg: 11.0.2 npm-packlist: 8.0.2 npm-registry-fetch: 17.1.0 - nx: 19.8.12(@swc/core@1.9.2) + nx: 19.8.14(@swc/core@1.9.2) p-map: 4.0.0 p-map-series: 2.1.0 p-queue: 6.6.2 @@ -12405,9 +12376,9 @@ snapshots: - bluebird - supports-color - "@nrwl/devkit@19.3.2(nx@19.8.12(@swc/core@1.9.2))": + "@nrwl/devkit@19.3.2(nx@19.8.14(@swc/core@1.9.2))": dependencies: - "@nx/devkit": 19.3.2(nx@19.8.12(@swc/core@1.9.2)) + "@nx/devkit": 19.3.2(nx@19.8.14(@swc/core@1.9.2)) transitivePeerDependencies: - nx @@ -12423,9 +12394,9 @@ snapshots: transitivePeerDependencies: - debug - "@nrwl/tao@19.8.12(@swc/core@1.9.2)": + "@nrwl/tao@19.8.14(@swc/core@1.9.2)": dependencies: - nx: 19.8.12(@swc/core@1.9.2) + nx: 19.8.14(@swc/core@1.9.2) tslib: 2.6.2 transitivePeerDependencies: - "@swc-node/register" @@ -12449,14 +12420,14 @@ snapshots: - "@swc/core" - debug - "@nx/devkit@19.3.2(nx@19.8.12(@swc/core@1.9.2))": + "@nx/devkit@19.3.2(nx@19.8.14(@swc/core@1.9.2))": dependencies: - "@nrwl/devkit": 19.3.2(nx@19.8.12(@swc/core@1.9.2)) + "@nrwl/devkit": 19.3.2(nx@19.8.14(@swc/core@1.9.2)) ejs: 3.1.9 enquirer: 2.3.6 ignore: 5.3.1 minimatch: 9.0.3 - nx: 19.8.12(@swc/core@1.9.2) + nx: 19.8.14(@swc/core@1.9.2) semver: 7.6.3 tmp: 0.2.1 tslib: 2.6.2 @@ -12475,61 +12446,61 @@ snapshots: tslib: 2.6.2 yargs-parser: 21.1.1 - "@nx/nx-darwin-arm64@19.8.12": + "@nx/nx-darwin-arm64@19.8.14": optional: true "@nx/nx-darwin-arm64@19.8.4": optional: true - "@nx/nx-darwin-x64@19.8.12": + "@nx/nx-darwin-x64@19.8.14": optional: true "@nx/nx-darwin-x64@19.8.4": optional: true - "@nx/nx-freebsd-x64@19.8.12": + "@nx/nx-freebsd-x64@19.8.14": optional: true "@nx/nx-freebsd-x64@19.8.4": optional: true - "@nx/nx-linux-arm-gnueabihf@19.8.12": + "@nx/nx-linux-arm-gnueabihf@19.8.14": optional: true "@nx/nx-linux-arm-gnueabihf@19.8.4": optional: true - "@nx/nx-linux-arm64-gnu@19.8.12": + "@nx/nx-linux-arm64-gnu@19.8.14": optional: true "@nx/nx-linux-arm64-gnu@19.8.4": optional: true - "@nx/nx-linux-arm64-musl@19.8.12": + "@nx/nx-linux-arm64-musl@19.8.14": optional: true "@nx/nx-linux-arm64-musl@19.8.4": optional: true - "@nx/nx-linux-x64-gnu@19.8.12": + "@nx/nx-linux-x64-gnu@19.8.14": optional: true "@nx/nx-linux-x64-gnu@19.8.4": optional: true - "@nx/nx-linux-x64-musl@19.8.12": + "@nx/nx-linux-x64-musl@19.8.14": optional: true "@nx/nx-linux-x64-musl@19.8.4": optional: true - "@nx/nx-win32-arm64-msvc@19.8.12": + "@nx/nx-win32-arm64-msvc@19.8.14": optional: true "@nx/nx-win32-arm64-msvc@19.8.4": optional: true - "@nx/nx-win32-x64-msvc@19.8.12": + "@nx/nx-win32-x64-msvc@19.8.14": optional: true "@nx/nx-win32-x64-msvc@19.8.4": @@ -12891,7 +12862,7 @@ snapshots: "@tsconfig/node16@1.0.4": {} - "@tsparticles/cli@2.3.3(@swc/core@1.9.2)(@types/eslint@8.56.6)(webpack-cli@5.1.4)": + "@tsparticles/cli@2.3.3(@swc/core@1.9.2)(@types/eslint@8.56.6)(webpack-cli@6.0.0)": dependencies: "@tsparticles/eslint-config": 2.3.0(@types/eslint@8.56.6) "@tsparticles/prettier-config": 2.1.6 @@ -12915,7 +12886,7 @@ snapshots: prompts: 2.4.2 rimraf: 5.0.7 typescript: 5.5.2 - webpack: 5.95.0(@swc/core@1.9.2)(webpack-cli@5.1.4) + webpack: 5.95.0(@swc/core@1.9.2)(webpack-cli@6.0.0) transitivePeerDependencies: - "@swc/core" - "@types/eslint" @@ -13082,6 +13053,8 @@ snapshots: dependencies: "@types/ws": 8.5.4 + "@types/luxon@3.4.2": {} + "@types/mdast@4.0.4": dependencies: "@types/unist": 3.0.3 @@ -13270,7 +13243,7 @@ snapshots: dependencies: "@typescript-eslint/types": 7.14.1 "@typescript-eslint/visitor-keys": 7.14.1 - debug: 4.3.4 + debug: 4.3.7 globby: 11.1.0 is-glob: 4.0.3 minimatch: 9.0.5 @@ -13285,7 +13258,7 @@ snapshots: dependencies: "@typescript-eslint/types": 7.18.0 "@typescript-eslint/visitor-keys": 7.18.0 - debug: 4.3.6 + debug: 4.3.7 globby: 11.1.0 is-glob: 4.0.3 minimatch: 9.0.5 @@ -13527,19 +13500,34 @@ snapshots: "@webpack-cli/configtest@2.1.1(webpack-cli@5.1.4)(webpack@5.95.0)": dependencies: - webpack: 5.95.0(@swc/core@1.9.2)(webpack-cli@5.1.4) + webpack: 5.95.0(@swc/core@1.9.2)(webpack-cli@6.0.0) webpack-cli: 5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0) + "@webpack-cli/configtest@3.0.0(webpack-cli@6.0.0)(webpack@5.95.0)": + dependencies: + webpack: 5.95.0(@swc/core@1.9.2)(webpack-cli@6.0.0) + webpack-cli: 6.0.0(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0) + "@webpack-cli/info@2.0.2(webpack-cli@5.1.4)(webpack@5.95.0)": dependencies: - webpack: 5.95.0(@swc/core@1.9.2)(webpack-cli@5.1.4) + webpack: 5.95.0(@swc/core@1.9.2)(webpack-cli@6.0.0) webpack-cli: 5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0) + "@webpack-cli/info@3.0.0(webpack-cli@6.0.0)(webpack@5.95.0)": + dependencies: + webpack: 5.95.0(@swc/core@1.9.2)(webpack-cli@6.0.0) + webpack-cli: 6.0.0(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0) + "@webpack-cli/serve@2.0.5(webpack-cli@5.1.4)(webpack@5.95.0)": dependencies: - webpack: 5.95.0(@swc/core@1.9.2)(webpack-cli@5.1.4) + webpack: 5.95.0(@swc/core@1.9.2)(webpack-cli@6.0.0) webpack-cli: 5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0) + "@webpack-cli/serve@3.0.0(webpack-cli@6.0.0)(webpack@5.95.0)": + dependencies: + webpack: 5.95.0(@swc/core@1.9.2)(webpack-cli@6.0.0) + webpack-cli: 6.0.0(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0) + "@xtuc/ieee754@1.2.0": {} "@xtuc/long@4.2.2": {} @@ -13779,7 +13767,7 @@ snapshots: "@babel/core": 7.25.8 find-cache-dir: 4.0.0 schema-utils: 4.2.0 - webpack: 5.95.0(@swc/core@1.9.2)(webpack-cli@5.1.4) + webpack: 5.95.0(@swc/core@1.9.2)(webpack-cli@6.0.0) babel-plugin-polyfill-corejs2@0.4.10(@babel/core@7.25.8): dependencies: @@ -14626,7 +14614,7 @@ snapshots: electron-to-chromium@1.5.32: {} - electron@33.0.0: + electron@34.0.0: dependencies: "@electron/get": 2.0.2 "@types/node": 20.14.9 @@ -14677,6 +14665,8 @@ snapshots: envinfo@7.13.0: {} + envinfo@7.14.0: {} + err-code@2.0.3: {} error-ex@1.3.2: @@ -14752,32 +14742,6 @@ snapshots: es6-error@4.1.1: optional: true - esbuild@0.19.12: - optionalDependencies: - "@esbuild/aix-ppc64": 0.19.12 - "@esbuild/android-arm": 0.19.12 - "@esbuild/android-arm64": 0.19.12 - "@esbuild/android-x64": 0.19.12 - "@esbuild/darwin-arm64": 0.19.12 - "@esbuild/darwin-x64": 0.19.12 - "@esbuild/freebsd-arm64": 0.19.12 - "@esbuild/freebsd-x64": 0.19.12 - "@esbuild/linux-arm": 0.19.12 - "@esbuild/linux-arm64": 0.19.12 - "@esbuild/linux-ia32": 0.19.12 - "@esbuild/linux-loong64": 0.19.12 - "@esbuild/linux-mips64el": 0.19.12 - "@esbuild/linux-ppc64": 0.19.12 - "@esbuild/linux-riscv64": 0.19.12 - "@esbuild/linux-s390x": 0.19.12 - "@esbuild/linux-x64": 0.19.12 - "@esbuild/netbsd-x64": 0.19.12 - "@esbuild/openbsd-x64": 0.19.12 - "@esbuild/sunos-x64": 0.19.12 - "@esbuild/win32-arm64": 0.19.12 - "@esbuild/win32-ia32": 0.19.12 - "@esbuild/win32-x64": 0.19.12 - esbuild@0.21.5: optionalDependencies: "@esbuild/aix-ppc64": 0.21.5 @@ -14849,6 +14813,10 @@ snapshots: optionalDependencies: source-map: 0.6.1 + eslint-config-prettier@10.0.1(eslint@8.57.1): + dependencies: + eslint: 8.57.1 + eslint-config-prettier@9.1.0(eslint@8.57.1): dependencies: eslint: 8.57.1 @@ -14931,6 +14899,16 @@ snapshots: transitivePeerDependencies: - supports-color + eslint-plugin-prettier@5.2.1(@types/eslint@8.56.6)(eslint-config-prettier@10.0.1(eslint@8.57.1))(eslint@8.57.1)(prettier@3.3.3): + dependencies: + eslint: 8.57.1 + prettier: 3.3.3 + prettier-linter-helpers: 1.0.0 + synckit: 0.9.1 + optionalDependencies: + "@types/eslint": 8.56.6 + eslint-config-prettier: 10.0.1(eslint@8.57.1) + eslint-plugin-prettier@5.2.1(@types/eslint@8.56.6)(eslint-config-prettier@9.1.0(eslint@8.57.1))(eslint@8.57.1)(prettier@3.3.3): dependencies: eslint: 8.57.1 @@ -15070,6 +15048,8 @@ snapshots: expect-type@0.15.0: {} + expect-type@1.1.0: {} + exponential-backoff@3.1.1: {} express-rate-limit@7.1.4(express@4.20.0): @@ -15120,7 +15100,7 @@ snapshots: extract-zip@2.0.1: dependencies: - debug: 4.3.6 + debug: 4.3.7 get-stream: 5.2.0 yauzl: 2.10.0 optionalDependencies: @@ -16169,7 +16149,7 @@ snapshots: "@npmcli/arborist": 7.5.4 "@npmcli/package-json": 5.2.0 "@npmcli/run-script": 8.1.0 - "@nx/devkit": 19.3.2(nx@19.8.12(@swc/core@1.9.2)) + "@nx/devkit": 19.3.2(nx@19.8.14(@swc/core@1.9.2)) "@octokit/plugin-enterprise-rest": 6.0.1 "@octokit/rest": 19.0.11(encoding@0.1.13) aproba: 2.0.0 @@ -16214,7 +16194,7 @@ snapshots: npm-package-arg: 11.0.2 npm-packlist: 8.0.2 npm-registry-fetch: 17.1.0 - nx: 19.8.12(@swc/core@1.9.2) + nx: 19.8.14(@swc/core@1.9.2) p-map: 4.0.0 p-map-series: 2.1.0 p-pipe: 3.1.0 @@ -16442,6 +16422,8 @@ snapshots: lunr@2.3.9: {} + luxon@3.5.0: {} + madge@6.1.0(typescript@5.5.2): dependencies: chalk: 4.1.2 @@ -16983,10 +16965,10 @@ snapshots: transitivePeerDependencies: - debug - nx@19.8.12(@swc/core@1.9.2): + nx@19.8.14(@swc/core@1.9.2): dependencies: "@napi-rs/wasm-runtime": 0.2.4 - "@nrwl/tao": 19.8.12(@swc/core@1.9.2) + "@nrwl/tao": 19.8.14(@swc/core@1.9.2) "@yarnpkg/lockfile": 1.1.0 "@yarnpkg/parsers": 3.0.0-rc.46 "@zkochan/js-yaml": 0.0.7 @@ -17020,16 +17002,16 @@ snapshots: yargs: 17.7.2 yargs-parser: 21.1.1 optionalDependencies: - "@nx/nx-darwin-arm64": 19.8.12 - "@nx/nx-darwin-x64": 19.8.12 - "@nx/nx-freebsd-x64": 19.8.12 - "@nx/nx-linux-arm-gnueabihf": 19.8.12 - "@nx/nx-linux-arm64-gnu": 19.8.12 - "@nx/nx-linux-arm64-musl": 19.8.12 - "@nx/nx-linux-x64-gnu": 19.8.12 - "@nx/nx-linux-x64-musl": 19.8.12 - "@nx/nx-win32-arm64-msvc": 19.8.12 - "@nx/nx-win32-x64-msvc": 19.8.12 + "@nx/nx-darwin-arm64": 19.8.14 + "@nx/nx-darwin-x64": 19.8.14 + "@nx/nx-freebsd-x64": 19.8.14 + "@nx/nx-linux-arm-gnueabihf": 19.8.14 + "@nx/nx-linux-arm64-gnu": 19.8.14 + "@nx/nx-linux-arm64-musl": 19.8.14 + "@nx/nx-linux-x64-gnu": 19.8.14 + "@nx/nx-linux-x64-musl": 19.8.14 + "@nx/nx-win32-arm64-msvc": 19.8.14 + "@nx/nx-win32-x64-msvc": 19.8.14 "@swc/core": 1.9.2 transitivePeerDependencies: - debug @@ -17500,6 +17482,12 @@ snapshots: prettier: 3.3.3 proxy-vir: 1.0.0 + prettier-plugin-multiline-arrays@4.0.1(prettier@3.3.3): + dependencies: + "@augment-vir/common": 31.2.0 + prettier: 3.3.3 + proxy-vir: 2.0.1 + prettier@3.3.3: {} pretty-format@29.7.0: @@ -17561,6 +17549,11 @@ snapshots: dependencies: "@augment-vir/common": 23.4.0 + proxy-vir@2.0.1: + dependencies: + "@augment-vir/assert": 31.2.0 + "@augment-vir/common": 31.2.0 + pstree.remy@1.1.8: {} pug-attrs@3.0.0: @@ -18368,7 +18361,7 @@ snapshots: sumchecker@3.0.1: dependencies: - debug: 4.3.6 + debug: 4.3.7 transitivePeerDependencies: - supports-color @@ -18426,7 +18419,7 @@ snapshots: schema-utils: 3.3.0 serialize-javascript: 6.0.1 terser: 5.26.0 - webpack: 5.95.0(@swc/core@1.9.2)(webpack-cli@5.1.4) + webpack: 5.95.0(@swc/core@1.9.2)(webpack-cli@6.0.0) optionalDependencies: "@swc/core": 1.9.2 @@ -18664,6 +18657,8 @@ snapshots: type-fest@4.20.1: {} + type-fest@4.30.2: {} + type-is@1.6.18: dependencies: media-typer: 0.3.0 @@ -18696,6 +18691,12 @@ snapshots: for-each: 0.3.3 is-typed-array: 1.1.12 + typed-event-target@4.0.2: + dependencies: + "@augment-vir/assert": 30.8.4 + "@augment-vir/common": 30.8.4 + "@augment-vir/core": 30.8.4 + typedarray@0.0.6: {} typedoc-plugin-carbon-ads@1.6.0(typedoc@0.26.8(typescript@5.5.2)): @@ -18892,9 +18893,9 @@ snapshots: - supports-color - terser - vite@5.1.8(@types/node@22.7.5)(lightningcss@1.28.1)(sass@1.69.5)(stylus@0.64.0)(terser@5.36.0): + vite@5.4.11(@types/node@22.7.5)(lightningcss@1.28.1)(sass@1.69.5)(stylus@0.64.0)(terser@5.36.0): dependencies: - esbuild: 0.19.12 + esbuild: 0.21.5 postcss: 8.4.49 rollup: 4.27.3 optionalDependencies: @@ -18905,18 +18906,20 @@ snapshots: stylus: 0.64.0 terser: 5.36.0 - vite@5.4.11(@types/node@22.7.5)(lightningcss@1.28.1)(sass@1.69.5)(stylus@0.64.0)(terser@5.36.0): + vite@6.0.3(@types/node@22.7.5)(jiti@1.21.0)(lightningcss@1.28.1)(sass@1.69.5)(stylus@0.64.0)(terser@5.36.0)(yaml@2.5.1): dependencies: - esbuild: 0.21.5 + esbuild: 0.24.0 postcss: 8.4.49 rollup: 4.27.3 optionalDependencies: "@types/node": 22.7.5 fsevents: 2.3.3 + jiti: 1.21.0 lightningcss: 1.28.1 sass: 1.69.5 stylus: 0.64.0 terser: 5.36.0 + yaml: 2.5.1 vitest@2.1.2(@types/node@22.7.5)(@vitest/ui@2.1.2)(jsdom@25.0.1(canvas@2.11.2(encoding@0.1.13)))(lightningcss@1.28.1)(sass@1.69.5)(stylus@0.64.0)(terser@5.36.0): dependencies: @@ -19009,16 +19012,41 @@ snapshots: import-local: 3.1.0 interpret: 3.1.1 rechoir: 0.8.0 - webpack: 5.95.0(@swc/core@1.9.2)(webpack-cli@5.1.4) + webpack: 5.95.0(@swc/core@1.9.2)(webpack-cli@6.0.0) webpack-merge: 5.9.0 optionalDependencies: webpack-bundle-analyzer: 4.10.2 + webpack-cli@6.0.0(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0): + dependencies: + "@discoveryjs/json-ext": 0.6.3 + "@webpack-cli/configtest": 3.0.0(webpack-cli@6.0.0)(webpack@5.95.0) + "@webpack-cli/info": 3.0.0(webpack-cli@6.0.0)(webpack@5.95.0) + "@webpack-cli/serve": 3.0.0(webpack-cli@6.0.0)(webpack@5.95.0) + colorette: 2.0.20 + commander: 12.1.0 + cross-spawn: 7.0.3 + envinfo: 7.14.0 + fastest-levenshtein: 1.0.16 + import-local: 3.1.0 + interpret: 3.1.1 + rechoir: 0.8.0 + webpack: 5.95.0(@swc/core@1.9.2)(webpack-cli@6.0.0) + webpack-merge: 6.0.1 + optionalDependencies: + webpack-bundle-analyzer: 4.10.2 + webpack-merge@5.9.0: dependencies: clone-deep: 4.0.1 wildcard: 2.0.1 + webpack-merge@6.0.1: + dependencies: + clone-deep: 4.0.1 + flat: 5.0.2 + wildcard: 2.0.1 + webpack-sources@3.2.3: {} webpack@5.95.0(@swc/core@1.9.2)(webpack-cli@5.1.4): @@ -19053,6 +19081,38 @@ snapshots: - esbuild - uglify-js + webpack@5.95.0(@swc/core@1.9.2)(webpack-cli@6.0.0): + dependencies: + "@types/estree": 1.0.5 + "@webassemblyjs/ast": 1.12.1 + "@webassemblyjs/wasm-edit": 1.12.1 + "@webassemblyjs/wasm-parser": 1.12.1 + acorn: 8.12.1 + acorn-import-attributes: 1.9.5(acorn@8.12.1) + browserslist: 4.24.0 + chrome-trace-event: 1.0.3 + enhanced-resolve: 5.17.1 + es-module-lexer: 1.5.4 + eslint-scope: 5.1.1 + events: 3.3.0 + glob-to-regexp: 0.4.1 + graceful-fs: 4.2.11 + json-parse-even-better-errors: 2.3.1 + loader-runner: 4.3.0 + mime-types: 2.1.35 + neo-async: 2.6.2 + schema-utils: 3.3.0 + tapable: 2.2.1 + terser-webpack-plugin: 5.3.10(@swc/core@1.9.2)(webpack@5.95.0) + watchpack: 2.4.1 + webpack-sources: 3.2.3 + optionalDependencies: + webpack-cli: 6.0.0(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0) + transitivePeerDependencies: + - "@swc/core" + - esbuild + - uglify-js + whatwg-encoding@3.1.1: dependencies: iconv-lite: 0.6.3 diff --git a/shapes/arrow/CHANGELOG.md b/shapes/arrow/CHANGELOG.md index 13b9ee24ef6..be9b8b7326b 100644 --- a/shapes/arrow/CHANGELOG.md +++ b/shapes/arrow/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/shape-arrow + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/shapes/arrow/package.dist.json b/shapes/arrow/package.dist.json index 701d15b4d65..bf358baf5ac 100644 --- a/shapes/arrow/package.dist.json +++ b/shapes/arrow/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/shape-arrow", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles arrow shape", "homepage": "https://particles.js.org", "repository": { @@ -100,7 +100,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/shapes/arrow/package.json b/shapes/arrow/package.json index 4c9f3e1a0e1..e2c640ecb75 100644 --- a/shapes/arrow/package.json +++ b/shapes/arrow/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/shape-arrow", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles arrow shape", "homepage": "https://particles.js.org", "scripts": { @@ -108,7 +108,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/shapes/arrow/src/index.ts b/shapes/arrow/src/index.ts index ddb38c2dfab..88b94e67a3f 100644 --- a/shapes/arrow/src/index.ts +++ b/shapes/arrow/src/index.ts @@ -1,5 +1,5 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; import { ArrowDrawer } from "./ArrowDrawer.js"; +import { type Engine } from "@tsparticles/engine"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadArrowShape(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addShape(new ArrowDrawer(), refresh); } diff --git a/shapes/cards/CHANGELOG.md b/shapes/cards/CHANGELOG.md index 8a7e820d4e9..fa23fe1d375 100644 --- a/shapes/cards/CHANGELOG.md +++ b/shapes/cards/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/shape-cards + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/shapes/cards/package.dist.json b/shapes/cards/package.dist.json index cc08040b778..7a570f6c9c9 100644 --- a/shapes/cards/package.dist.json +++ b/shapes/cards/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/shape-cards", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles cards shape", "homepage": "https://particles.js.org", "repository": { @@ -100,7 +100,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/shapes/cards/package.json b/shapes/cards/package.json index e2e85dcf7f6..fdcb57da4bb 100644 --- a/shapes/cards/package.json +++ b/shapes/cards/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/shape-cards", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles cards shape", "homepage": "https://particles.js.org", "scripts": { @@ -108,7 +108,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/shapes/cards/src/index.ts b/shapes/cards/src/index.ts index 475a6aa400c..e9778276e7f 100644 --- a/shapes/cards/src/index.ts +++ b/shapes/cards/src/index.ts @@ -1,6 +1,6 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; import { ClubDrawer } from "./ClubDrawer.js"; import { DiamondDrawer } from "./DiamondDrawer.js"; +import { type Engine } from "@tsparticles/engine"; import { HeartDrawer } from "./HeartDrawer.js"; import { SpadeDrawer } from "./SpadeDrawer.js"; @@ -11,7 +11,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadCardsShape(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addShape(new SpadeDrawer(), refresh); await engine.addShape(new HeartDrawer(), refresh); diff --git a/shapes/circle/CHANGELOG.md b/shapes/circle/CHANGELOG.md index 0c55c454804..a9829251ff5 100644 --- a/shapes/circle/CHANGELOG.md +++ b/shapes/circle/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/shape-circle + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/shapes/circle/package.dist.json b/shapes/circle/package.dist.json index d60aa2a4374..7fa4031b616 100644 --- a/shapes/circle/package.dist.json +++ b/shapes/circle/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/shape-circle", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles circle shape", "homepage": "https://particles.js.org", "repository": { @@ -59,7 +59,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/shapes/circle/package.json b/shapes/circle/package.json index 24b542ced13..7b8b886c91f 100644 --- a/shapes/circle/package.json +++ b/shapes/circle/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/shape-circle", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles circle shape", "homepage": "https://particles.js.org", "scripts": { @@ -64,7 +64,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/shapes/circle/src/index.ts b/shapes/circle/src/index.ts index c6ebdee59aa..f27dc372367 100644 --- a/shapes/circle/src/index.ts +++ b/shapes/circle/src/index.ts @@ -1,5 +1,5 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; import { CircleDrawer } from "./CircleDrawer.js"; +import { type Engine } from "@tsparticles/engine"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadCircleShape(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addShape(new CircleDrawer(), refresh); } diff --git a/shapes/cog/CHANGELOG.md b/shapes/cog/CHANGELOG.md index 6a69328f98b..4f4024374fb 100644 --- a/shapes/cog/CHANGELOG.md +++ b/shapes/cog/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/shape-cog + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/shapes/cog/package.dist.json b/shapes/cog/package.dist.json index 0a7e9939a17..3a4468deb8b 100644 --- a/shapes/cog/package.dist.json +++ b/shapes/cog/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/shape-cog", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles cog shape", "homepage": "https://particles.js.org", "repository": { @@ -100,7 +100,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/shapes/cog/package.json b/shapes/cog/package.json index ea681183ac6..f9db7ee82a2 100644 --- a/shapes/cog/package.json +++ b/shapes/cog/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/shape-cog", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles cog shape", "homepage": "https://particles.js.org", "scripts": { @@ -108,7 +108,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/shapes/cog/src/index.ts b/shapes/cog/src/index.ts index 2160cb8cb1a..942e3bd1788 100644 --- a/shapes/cog/src/index.ts +++ b/shapes/cog/src/index.ts @@ -1,5 +1,5 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; import { CogDrawer } from "./CogDrawer.js"; +import { type Engine } from "@tsparticles/engine"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadCogShape(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addShape(new CogDrawer(), refresh); } diff --git a/shapes/emoji/CHANGELOG.md b/shapes/emoji/CHANGELOG.md index 6556e069aaf..cbd78c45289 100644 --- a/shapes/emoji/CHANGELOG.md +++ b/shapes/emoji/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/shape-emoji + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/shapes/emoji/package.dist.json b/shapes/emoji/package.dist.json index aa931295266..87e747336aa 100644 --- a/shapes/emoji/package.dist.json +++ b/shapes/emoji/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/shape-emoji", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles emoji shape", "homepage": "https://particles.js.org", "repository": { @@ -59,7 +59,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/shapes/emoji/package.json b/shapes/emoji/package.json index 2ba11c49998..a51a46891ca 100644 --- a/shapes/emoji/package.json +++ b/shapes/emoji/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/shape-emoji", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles emoji shape", "homepage": "https://particles.js.org", "scripts": { @@ -67,7 +67,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/shapes/emoji/src/index.ts b/shapes/emoji/src/index.ts index 6abb75ef96b..7b8c1832c83 100644 --- a/shapes/emoji/src/index.ts +++ b/shapes/emoji/src/index.ts @@ -1,5 +1,5 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; import { EmojiDrawer } from "./EmojiDrawer.js"; +import { type Engine } from "@tsparticles/engine"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadEmojiShape(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addShape(new EmojiDrawer(), refresh); } diff --git a/shapes/heart/CHANGELOG.md b/shapes/heart/CHANGELOG.md index 0779811074e..913c5d91e6a 100644 --- a/shapes/heart/CHANGELOG.md +++ b/shapes/heart/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/shape-heart + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/shapes/heart/package.dist.json b/shapes/heart/package.dist.json index b149b404b29..bcadb4be59e 100644 --- a/shapes/heart/package.dist.json +++ b/shapes/heart/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/shape-heart", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles heart shape", "homepage": "https://particles.js.org", "repository": { @@ -100,7 +100,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/shapes/heart/package.json b/shapes/heart/package.json index fc2a8e40aed..a054e92029e 100644 --- a/shapes/heart/package.json +++ b/shapes/heart/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/shape-heart", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles heart shape", "homepage": "https://particles.js.org", "scripts": { @@ -108,7 +108,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/shapes/heart/src/index.ts b/shapes/heart/src/index.ts index b89dfd85f5e..c381f7ad566 100644 --- a/shapes/heart/src/index.ts +++ b/shapes/heart/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { HeartDrawer } from "./HeartDrawer.js"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadHeartShape(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addShape(new HeartDrawer(), refresh); } diff --git a/shapes/image/CHANGELOG.md b/shapes/image/CHANGELOG.md index b5730ee3816..ee9c05f88ba 100644 --- a/shapes/image/CHANGELOG.md +++ b/shapes/image/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/shape-image + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/shapes/image/package.dist.json b/shapes/image/package.dist.json index 615353b0ba0..c8a12d0d170 100644 --- a/shapes/image/package.dist.json +++ b/shapes/image/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/shape-image", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles image shape", "homepage": "https://particles.js.org", "repository": { @@ -59,7 +59,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/shapes/image/package.json b/shapes/image/package.json index a9ffc52f764..99edb777fc0 100644 --- a/shapes/image/package.json +++ b/shapes/image/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/shape-image", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles image shape", "homepage": "https://particles.js.org", "scripts": { @@ -67,7 +67,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/shapes/image/src/index.ts b/shapes/image/src/index.ts index 5e436a87e6f..970b768e580 100644 --- a/shapes/image/src/index.ts +++ b/shapes/image/src/index.ts @@ -1,9 +1,9 @@ import { type IImage, downloadSvgImage, loadImage } from "./Utils.js"; -import { assertValidVersion, errorPrefix } from "@tsparticles/engine"; import type { IPreload } from "./Options/Interfaces/IPreload.js"; import { ImageDrawer } from "./ImageDrawer.js"; import type { ImageEngine } from "./types.js"; import { ImagePreloaderPlugin } from "./ImagePreloader.js"; +import { errorPrefix } from "@tsparticles/engine"; import { loadGifImage } from "./GifUtils/Utils.js"; declare const __VERSION__: string; @@ -67,7 +67,7 @@ function addLoadImageToEngine(engine: ImageEngine): void { * @param refresh - */ export async function loadImageShape(engine: ImageEngine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); addLoadImageToEngine(engine); diff --git a/shapes/infinity/CHANGELOG.md b/shapes/infinity/CHANGELOG.md index edff1fd3e04..84a642033d2 100644 --- a/shapes/infinity/CHANGELOG.md +++ b/shapes/infinity/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/shape-infinity + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/shapes/infinity/package.dist.json b/shapes/infinity/package.dist.json index 8001ebc7892..859b85a68cb 100644 --- a/shapes/infinity/package.dist.json +++ b/shapes/infinity/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/shape-infinity", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles infinity shape", "homepage": "https://particles.js.org", "repository": { @@ -100,7 +100,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/shapes/infinity/package.json b/shapes/infinity/package.json index 6ee6cc06471..0fd3ac2f31b 100644 --- a/shapes/infinity/package.json +++ b/shapes/infinity/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/shape-infinity", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles infinity shape", "homepage": "https://particles.js.org", "scripts": { @@ -108,7 +108,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/shapes/infinity/src/index.ts b/shapes/infinity/src/index.ts index b1eec0ac1af..b8819474a07 100644 --- a/shapes/infinity/src/index.ts +++ b/shapes/infinity/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { InfinityDrawer } from "./InfinityDrawer.js"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadInfinityShape(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addShape(new InfinityDrawer(), refresh); } diff --git a/shapes/line/CHANGELOG.md b/shapes/line/CHANGELOG.md index fc94d80aba8..e0805dffff1 100644 --- a/shapes/line/CHANGELOG.md +++ b/shapes/line/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/shape-line + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/shapes/line/package.dist.json b/shapes/line/package.dist.json index c3213830632..4a71f808ae8 100644 --- a/shapes/line/package.dist.json +++ b/shapes/line/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/shape-line", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles line shape", "homepage": "https://particles.js.org", "repository": { @@ -59,7 +59,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/shapes/line/package.json b/shapes/line/package.json index 347dd71008b..e659092fa69 100644 --- a/shapes/line/package.json +++ b/shapes/line/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/shape-line", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles line shape", "homepage": "https://particles.js.org", "scripts": { @@ -72,6 +72,6 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" } } diff --git a/shapes/line/src/index.ts b/shapes/line/src/index.ts index 71e7f1b49af..8c6805a4ee2 100644 --- a/shapes/line/src/index.ts +++ b/shapes/line/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { LineDrawer } from "./LineDrawer.js"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadLineShape(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addShape(new LineDrawer(), refresh); } diff --git a/shapes/path/CHANGELOG.md b/shapes/path/CHANGELOG.md index 3d96d5ee344..892edb82608 100644 --- a/shapes/path/CHANGELOG.md +++ b/shapes/path/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/shape-path + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/shapes/path/package.dist.json b/shapes/path/package.dist.json index e41d922187b..60f56b850fd 100644 --- a/shapes/path/package.dist.json +++ b/shapes/path/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/shape-path", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles path shape", "homepage": "https://particles.js.org", "repository": { @@ -100,7 +100,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/shapes/path/package.json b/shapes/path/package.json index 2d2d60d47ec..80cd2a950f1 100644 --- a/shapes/path/package.json +++ b/shapes/path/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/shape-path", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles path shape", "homepage": "https://particles.js.org", "scripts": { @@ -108,7 +108,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/shapes/path/src/index.ts b/shapes/path/src/index.ts index f65114279b8..799ae9ae0d8 100644 --- a/shapes/path/src/index.ts +++ b/shapes/path/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { PathDrawer } from "./PathDrawer.js"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadPathShape(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addShape(new PathDrawer(), refresh); } diff --git a/shapes/polygon/CHANGELOG.md b/shapes/polygon/CHANGELOG.md index 23514494918..5d8697cb9cc 100644 --- a/shapes/polygon/CHANGELOG.md +++ b/shapes/polygon/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/shape-polygon + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/shapes/polygon/package.dist.json b/shapes/polygon/package.dist.json index 8bac83b28d1..def262be4ad 100644 --- a/shapes/polygon/package.dist.json +++ b/shapes/polygon/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/shape-polygon", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles polygon shape", "homepage": "https://particles.js.org", "repository": { @@ -59,7 +59,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/shapes/polygon/package.json b/shapes/polygon/package.json index ac569c72a1d..97d18cdf6a2 100644 --- a/shapes/polygon/package.json +++ b/shapes/polygon/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/shape-polygon", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles polygon shape", "homepage": "https://particles.js.org", "scripts": { @@ -67,7 +67,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/shapes/polygon/src/index.ts b/shapes/polygon/src/index.ts index b614e553e84..30933811f14 100644 --- a/shapes/polygon/src/index.ts +++ b/shapes/polygon/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { PolygonDrawer } from "./PolygonDrawer.js"; import { TriangleDrawer } from "./TriangleDrawer.js"; @@ -9,7 +9,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadGenericPolygonShape(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addShape(new PolygonDrawer(), refresh); } @@ -19,7 +19,7 @@ export async function loadGenericPolygonShape(engine: Engine, refresh = true): P * @param refresh - */ export async function loadTriangleShape(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addShape(new TriangleDrawer(), refresh); } @@ -29,7 +29,7 @@ export async function loadTriangleShape(engine: Engine, refresh = true): Promise * @param refresh - */ export async function loadPolygonShape(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await loadGenericPolygonShape(engine, refresh); await loadTriangleShape(engine, refresh); diff --git a/shapes/rounded-polygon/CHANGELOG.md b/shapes/rounded-polygon/CHANGELOG.md index 4c7bb574792..0e1f9bcd293 100644 --- a/shapes/rounded-polygon/CHANGELOG.md +++ b/shapes/rounded-polygon/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/shape-rounded-polygon + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/shapes/rounded-polygon/package.dist.json b/shapes/rounded-polygon/package.dist.json index f6f9b9b12dc..572e96a356b 100644 --- a/shapes/rounded-polygon/package.dist.json +++ b/shapes/rounded-polygon/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/shape-rounded-polygon", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles rounded polygon shape", "homepage": "https://particles.js.org", "repository": { @@ -59,7 +59,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/shapes/rounded-polygon/package.json b/shapes/rounded-polygon/package.json index 132a4cc859c..17174af5fe6 100644 --- a/shapes/rounded-polygon/package.json +++ b/shapes/rounded-polygon/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/shape-rounded-polygon", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles rounded polygon shape", "homepage": "https://particles.js.org", "scripts": { @@ -67,7 +67,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/shapes/rounded-polygon/src/index.ts b/shapes/rounded-polygon/src/index.ts index 0a7e7e330fe..e6d1210d0fc 100644 --- a/shapes/rounded-polygon/src/index.ts +++ b/shapes/rounded-polygon/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { RoundedPolygonDrawer } from "./RoundedPolygonDrawer.js"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadRoundedPolygonShape(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addShape(new RoundedPolygonDrawer(), refresh); } diff --git a/shapes/rounded-rect/CHANGELOG.md b/shapes/rounded-rect/CHANGELOG.md index dc1858e09ac..17995a39562 100644 --- a/shapes/rounded-rect/CHANGELOG.md +++ b/shapes/rounded-rect/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/shape-rounded-rect + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/shapes/rounded-rect/package.dist.json b/shapes/rounded-rect/package.dist.json index 117e6a676d6..1ab4f850b7f 100644 --- a/shapes/rounded-rect/package.dist.json +++ b/shapes/rounded-rect/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/shape-rounded-rect", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles rounded rect shape", "homepage": "https://particles.js.org", "repository": { @@ -100,7 +100,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/shapes/rounded-rect/package.json b/shapes/rounded-rect/package.json index 62023fa2df0..02e6b24adc5 100644 --- a/shapes/rounded-rect/package.json +++ b/shapes/rounded-rect/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/shape-rounded-rect", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles rounded rect shape", "homepage": "https://particles.js.org", "scripts": { @@ -108,7 +108,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/shapes/rounded-rect/src/index.ts b/shapes/rounded-rect/src/index.ts index 8496698b638..4a87898df99 100644 --- a/shapes/rounded-rect/src/index.ts +++ b/shapes/rounded-rect/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { RoundedRectDrawer } from "./RoundedRectDrawer.js"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadRoundedRectShape(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addShape(new RoundedRectDrawer(), refresh); } diff --git a/shapes/spiral/CHANGELOG.md b/shapes/spiral/CHANGELOG.md index 022cbc30c8e..171566b7863 100644 --- a/shapes/spiral/CHANGELOG.md +++ b/shapes/spiral/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/shape-spiral + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/shapes/spiral/package.dist.json b/shapes/spiral/package.dist.json index 0bf942b4620..5c3950050aa 100644 --- a/shapes/spiral/package.dist.json +++ b/shapes/spiral/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/shape-spiral", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles spiral shape", "homepage": "https://particles.js.org", "repository": { @@ -100,7 +100,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/shapes/spiral/package.json b/shapes/spiral/package.json index b80c0c02221..33f5589170c 100644 --- a/shapes/spiral/package.json +++ b/shapes/spiral/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/shape-spiral", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles spiral shape", "homepage": "https://particles.js.org", "scripts": { @@ -108,7 +108,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/shapes/spiral/src/index.ts b/shapes/spiral/src/index.ts index 02ef47dc2e2..e15223ef2cf 100644 --- a/shapes/spiral/src/index.ts +++ b/shapes/spiral/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { SpiralDrawer } from "./SpiralDrawer.js"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadSpiralShape(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addShape(new SpiralDrawer(), refresh); } diff --git a/shapes/square/CHANGELOG.md b/shapes/square/CHANGELOG.md index a0232027e4a..54b78daff5e 100644 --- a/shapes/square/CHANGELOG.md +++ b/shapes/square/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/shape-square + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/shapes/square/package.dist.json b/shapes/square/package.dist.json index 5c3c032bc34..fac923faf7e 100644 --- a/shapes/square/package.dist.json +++ b/shapes/square/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/shape-square", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles square shape", "homepage": "https://particles.js.org", "repository": { @@ -59,7 +59,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/shapes/square/package.json b/shapes/square/package.json index 5b5a6b61b82..3e7c38f08b0 100644 --- a/shapes/square/package.json +++ b/shapes/square/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/shape-square", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles square shape", "homepage": "https://particles.js.org", "scripts": { @@ -72,6 +72,6 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" } } diff --git a/shapes/square/src/index.ts b/shapes/square/src/index.ts index 148c1c9a656..1c4567526af 100644 --- a/shapes/square/src/index.ts +++ b/shapes/square/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { SquareDrawer } from "./SquareDrawer.js"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadSquareShape(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addShape(new SquareDrawer(), refresh); } diff --git a/shapes/star/CHANGELOG.md b/shapes/star/CHANGELOG.md index 07bf1811d8a..a544d7cbea5 100644 --- a/shapes/star/CHANGELOG.md +++ b/shapes/star/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/shape-star + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/shapes/star/package.dist.json b/shapes/star/package.dist.json index e5292450ce1..c25a1ffad94 100644 --- a/shapes/star/package.dist.json +++ b/shapes/star/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/shape-star", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles star shape", "homepage": "https://particles.js.org", "repository": { @@ -59,7 +59,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/shapes/star/package.json b/shapes/star/package.json index da39bd629e2..76f0bbec036 100644 --- a/shapes/star/package.json +++ b/shapes/star/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/shape-star", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles star shape", "homepage": "https://particles.js.org", "scripts": { @@ -67,7 +67,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/shapes/star/src/index.ts b/shapes/star/src/index.ts index 6b9adc10dd9..20c40f325cf 100644 --- a/shapes/star/src/index.ts +++ b/shapes/star/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { StarDrawer } from "./StarDrawer.js"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadStarShape(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addShape(new StarDrawer(), refresh); } diff --git a/shapes/text/CHANGELOG.md b/shapes/text/CHANGELOG.md index 06e0dbbb1b5..2a9a2311aa0 100644 --- a/shapes/text/CHANGELOG.md +++ b/shapes/text/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/shape-text + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/shapes/text/package.dist.json b/shapes/text/package.dist.json index 6a6ecff8383..24ba38a267f 100644 --- a/shapes/text/package.dist.json +++ b/shapes/text/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/shape-text", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles text shape", "homepage": "https://particles.js.org", "repository": { @@ -59,7 +59,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/shapes/text/package.json b/shapes/text/package.json index cadaac50605..4215d240c27 100644 --- a/shapes/text/package.json +++ b/shapes/text/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/shape-text", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles text shape", "homepage": "https://particles.js.org", "scripts": { @@ -67,7 +67,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/shapes/text/src/index.ts b/shapes/text/src/index.ts index e88ac60870e..a0d01ee9df2 100644 --- a/shapes/text/src/index.ts +++ b/shapes/text/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { TextDrawer } from "./TextDrawer.js"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadTextShape(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addShape(new TextDrawer(), refresh); } diff --git a/updaters/color/CHANGELOG.md b/updaters/color/CHANGELOG.md index d4f2d545645..98dd8d9f9b2 100644 --- a/updaters/color/CHANGELOG.md +++ b/updaters/color/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/updater-color + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/updaters/color/package.dist.json b/updaters/color/package.dist.json index 2dfcbfa73de..da73ecbe78a 100644 --- a/updaters/color/package.dist.json +++ b/updaters/color/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/updater-color", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles particles color updater", "homepage": "https://particles.js.org", "repository": { @@ -87,7 +87,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/updaters/color/package.json b/updaters/color/package.json index 172bdf9faa7..df7d19c1a64 100644 --- a/updaters/color/package.json +++ b/updaters/color/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/updater-color", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles particles color updater", "homepage": "https://particles.js.org", "scripts": { @@ -97,6 +97,6 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" } } diff --git a/updaters/color/src/index.ts b/updaters/color/src/index.ts index 87295076e69..c77cbeefd3a 100644 --- a/updaters/color/src/index.ts +++ b/updaters/color/src/index.ts @@ -1,5 +1,5 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; import { ColorUpdater } from "./ColorUpdater.js"; +import { type Engine } from "@tsparticles/engine"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadColorUpdater(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addParticleUpdater( "color", diff --git a/updaters/destroy/CHANGELOG.md b/updaters/destroy/CHANGELOG.md index f5ea94f2c51..c93fe712aad 100644 --- a/updaters/destroy/CHANGELOG.md +++ b/updaters/destroy/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/updater-destroy + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/updaters/destroy/package.dist.json b/updaters/destroy/package.dist.json index f1dd6363ca8..1a9d4f80b96 100644 --- a/updaters/destroy/package.dist.json +++ b/updaters/destroy/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/updater-destroy", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles particles destroy updater", "homepage": "https://particles.js.org", "repository": { @@ -87,7 +87,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/updaters/destroy/package.json b/updaters/destroy/package.json index c9a9791840d..6fa559f4d27 100644 --- a/updaters/destroy/package.json +++ b/updaters/destroy/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/updater-destroy", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles particles destroy updater", "homepage": "https://particles.js.org", "scripts": { @@ -95,7 +95,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/updaters/destroy/src/index.ts b/updaters/destroy/src/index.ts index acf7e58ce25..57a3518bbbb 100644 --- a/updaters/destroy/src/index.ts +++ b/updaters/destroy/src/index.ts @@ -1,5 +1,5 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; import { DestroyUpdater } from "./DestroyUpdater.js"; +import { type Engine } from "@tsparticles/engine"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadDestroyUpdater(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addParticleUpdater( "destroy", diff --git a/updaters/gradient/CHANGELOG.md b/updaters/gradient/CHANGELOG.md index 56891199f1d..ee8297c15e0 100644 --- a/updaters/gradient/CHANGELOG.md +++ b/updaters/gradient/CHANGELOG.md @@ -3,6 +3,18 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +### Bug Fixes + +- fixed imports and constants ([caaf603](https://github.com/tsparticles/tsparticles/commit/caaf603932fb64de5c34bc075e0bbf2fb7821818)) + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/updaters/gradient/package.dist.json b/updaters/gradient/package.dist.json index 41d7d448d7f..9a5b40d11cf 100644 --- a/updaters/gradient/package.dist.json +++ b/updaters/gradient/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/updater-gradient", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles particles gradient updater", "homepage": "https://particles.js.org", "repository": { @@ -101,7 +101,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/updaters/gradient/package.json b/updaters/gradient/package.json index 58cb3bd34c3..2bf709d590c 100644 --- a/updaters/gradient/package.json +++ b/updaters/gradient/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/updater-gradient", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles particles gradient updater", "homepage": "https://particles.js.org", "scripts": { @@ -109,7 +109,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/updaters/gradient/src/GradientUpdater.ts b/updaters/gradient/src/GradientUpdater.ts index 4cd0d5cf2c7..2308f447f94 100644 --- a/updaters/gradient/src/GradientUpdater.ts +++ b/updaters/gradient/src/GradientUpdater.ts @@ -16,7 +16,7 @@ import { getRangeMin, getRangeValue, getStyleFromHsl, - halfRandom, + half, itemFromSingleOrMultiple, millisecondsToSeconds, percentDenominator, @@ -108,7 +108,7 @@ export class GradientUpdater implements IParticleUpdater { let rotateDirection = gradient.angle.direction; if (rotateDirection === RotateDirection.random) { - rotateDirection = getRandom() > halfRandom ? RotateDirection.counterClockwise : RotateDirection.clockwise; + rotateDirection = getRandom() > half ? RotateDirection.counterClockwise : RotateDirection.clockwise; } switch (rotateDirection) { @@ -182,7 +182,7 @@ export class GradientUpdater implements IParticleUpdater { default: addOpacity.value = randomInRange(addOpacity); addOpacity.status = - getRandom() >= halfRandom ? AnimationStatus.increasing : AnimationStatus.decreasing; + getRandom() >= half ? AnimationStatus.increasing : AnimationStatus.decreasing; break; } diff --git a/updaters/gradient/src/index.ts b/updaters/gradient/src/index.ts index be52cac674e..ab1e2251896 100644 --- a/updaters/gradient/src/index.ts +++ b/updaters/gradient/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { GradientUpdater } from "./GradientUpdater.js"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadGradientUpdater(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addParticleUpdater( "gradient", diff --git a/updaters/life/CHANGELOG.md b/updaters/life/CHANGELOG.md index 28dce0059ac..d64b94530f9 100644 --- a/updaters/life/CHANGELOG.md +++ b/updaters/life/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/updater-life + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/updaters/life/package.dist.json b/updaters/life/package.dist.json index 515c660f656..f2862a9bc33 100644 --- a/updaters/life/package.dist.json +++ b/updaters/life/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/updater-life", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles particles life updater", "homepage": "https://particles.js.org", "repository": { @@ -87,7 +87,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/updaters/life/package.json b/updaters/life/package.json index 1b09d940af2..3fd4cbd5b2b 100644 --- a/updaters/life/package.json +++ b/updaters/life/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/updater-life", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles particles life updater", "homepage": "https://particles.js.org", "scripts": { @@ -95,7 +95,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/updaters/life/src/index.ts b/updaters/life/src/index.ts index 017ce3c8024..8543634914f 100644 --- a/updaters/life/src/index.ts +++ b/updaters/life/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { LifeUpdater } from "./LifeUpdater.js"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadLifeUpdater(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addParticleUpdater( "life", diff --git a/updaters/opacity/CHANGELOG.md b/updaters/opacity/CHANGELOG.md index 1248cdaeab2..42ec3464456 100644 --- a/updaters/opacity/CHANGELOG.md +++ b/updaters/opacity/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/updater-opacity + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/updaters/opacity/package.dist.json b/updaters/opacity/package.dist.json index c58f8ed3af0..40f55197c7f 100644 --- a/updaters/opacity/package.dist.json +++ b/updaters/opacity/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/updater-opacity", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles particles opacity updater", "homepage": "https://particles.js.org", "repository": { @@ -87,7 +87,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/updaters/opacity/package.json b/updaters/opacity/package.json index 896156160d5..28768af479d 100644 --- a/updaters/opacity/package.json +++ b/updaters/opacity/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/updater-opacity", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles particles opacity updater", "homepage": "https://particles.js.org", "scripts": { @@ -92,7 +92,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/updaters/opacity/src/index.ts b/updaters/opacity/src/index.ts index 9d71ced9694..c04a3dcb08c 100644 --- a/updaters/opacity/src/index.ts +++ b/updaters/opacity/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { OpacityUpdater } from "./OpacityUpdater.js"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadOpacityUpdater(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addParticleUpdater( "opacity", diff --git a/updaters/orbit/CHANGELOG.md b/updaters/orbit/CHANGELOG.md index 287a81ca5aa..9e65de6f254 100644 --- a/updaters/orbit/CHANGELOG.md +++ b/updaters/orbit/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/updater-orbit + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/updaters/orbit/package.dist.json b/updaters/orbit/package.dist.json index 7dd775eff80..89bdc38f03f 100644 --- a/updaters/orbit/package.dist.json +++ b/updaters/orbit/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/updater-orbit", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles particles orbit updater", "homepage": "https://particles.js.org", "repository": { @@ -101,7 +101,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/updaters/orbit/package.json b/updaters/orbit/package.json index 713ba60c20c..1d1cc84ba66 100644 --- a/updaters/orbit/package.json +++ b/updaters/orbit/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/updater-orbit", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles particles orbit updater", "homepage": "https://particles.js.org", "scripts": { @@ -109,7 +109,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/updaters/orbit/src/index.ts b/updaters/orbit/src/index.ts index 40a577dcd4b..8a4015f3cb6 100644 --- a/updaters/orbit/src/index.ts +++ b/updaters/orbit/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { OrbitUpdater } from "./OrbitUpdater.js"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadOrbitUpdater(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addParticleUpdater( "orbit", diff --git a/updaters/outModes/CHANGELOG.md b/updaters/outModes/CHANGELOG.md index 6d678a5c058..11a150a01ab 100644 --- a/updaters/outModes/CHANGELOG.md +++ b/updaters/outModes/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/updater-out-modes + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/updaters/outModes/package.dist.json b/updaters/outModes/package.dist.json index 182f8296b90..92783b76ae9 100644 --- a/updaters/outModes/package.dist.json +++ b/updaters/outModes/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/updater-out-modes", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles particles out modes updater", "homepage": "https://particles.js.org", "repository": { @@ -87,7 +87,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/updaters/outModes/package.json b/updaters/outModes/package.json index e2f78b2ecc2..58a95e2f2a0 100644 --- a/updaters/outModes/package.json +++ b/updaters/outModes/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/updater-out-modes", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles particles out modes updater", "homepage": "https://particles.js.org", "scripts": { @@ -92,7 +92,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/updaters/outModes/src/index.ts b/updaters/outModes/src/index.ts index cf3fb6fc410..e74f4628ff4 100644 --- a/updaters/outModes/src/index.ts +++ b/updaters/outModes/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { OutOfCanvasUpdater } from "./OutOfCanvasUpdater.js"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadOutModesUpdater(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addParticleUpdater( "outModes", diff --git a/updaters/roll/CHANGELOG.md b/updaters/roll/CHANGELOG.md index 1f3911b7655..99bffcdf492 100644 --- a/updaters/roll/CHANGELOG.md +++ b/updaters/roll/CHANGELOG.md @@ -3,6 +3,18 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +### Bug Fixes + +- fixed imports and constants ([caaf603](https://github.com/tsparticles/tsparticles/commit/caaf603932fb64de5c34bc075e0bbf2fb7821818)) + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/updaters/roll/package.dist.json b/updaters/roll/package.dist.json index 2e375fc1b74..53023d23009 100644 --- a/updaters/roll/package.dist.json +++ b/updaters/roll/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/updater-roll", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles particles roll updater", "homepage": "https://particles.js.org", "repository": { @@ -87,7 +87,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/updaters/roll/package.json b/updaters/roll/package.json index 82b7ec7efd8..24e3788a811 100644 --- a/updaters/roll/package.json +++ b/updaters/roll/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/updater-roll", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles particles roll updater", "homepage": "https://particles.js.org", "scripts": { @@ -95,7 +95,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/updaters/roll/src/Utils.ts b/updaters/roll/src/Utils.ts index 8aa53ef7d28..3ad7d03ddf8 100644 --- a/updaters/roll/src/Utils.ts +++ b/updaters/roll/src/Utils.ts @@ -4,7 +4,7 @@ import { type IDelta, getRandom, getRangeValue, - halfRandom, + half, rangeColorToHsl, } from "@tsparticles/engine"; import { RollMode } from "./RollMode.js"; @@ -44,7 +44,7 @@ export function initParticle(engine: Engine, particle: RollParticle): void { if (rollOpt.backColor) { particle.backColor = rangeColorToHsl(engine, rollOpt.backColor); } else if (rollOpt.darken.enable && rollOpt.enlighten.enable) { - const alterType = getRandom() >= halfRandom ? AlterType.darken : AlterType.enlighten; + const alterType = getRandom() >= half ? AlterType.darken : AlterType.enlighten; particle.roll.alter = { type: alterType, diff --git a/updaters/roll/src/index.ts b/updaters/roll/src/index.ts index 99450edaa44..a4aad4c04e1 100644 --- a/updaters/roll/src/index.ts +++ b/updaters/roll/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { RollUpdater } from "./RollUpdater.js"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadRollUpdater(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addParticleUpdater( "roll", diff --git a/updaters/rotate/CHANGELOG.md b/updaters/rotate/CHANGELOG.md index c26a21978af..51f634bee6a 100644 --- a/updaters/rotate/CHANGELOG.md +++ b/updaters/rotate/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/updater-rotate + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/updaters/rotate/package.dist.json b/updaters/rotate/package.dist.json index 687f0578f5b..e47dc6b7cc9 100644 --- a/updaters/rotate/package.dist.json +++ b/updaters/rotate/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/updater-rotate", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles particles rotate updater", "homepage": "https://particles.js.org", "repository": { @@ -87,7 +87,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/updaters/rotate/package.json b/updaters/rotate/package.json index 3be39dce519..0bbc2154195 100644 --- a/updaters/rotate/package.json +++ b/updaters/rotate/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/updater-rotate", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles particles rotate updater", "homepage": "https://particles.js.org", "scripts": { @@ -95,7 +95,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/updaters/rotate/src/index.ts b/updaters/rotate/src/index.ts index 93b380b9833..2df50238437 100644 --- a/updaters/rotate/src/index.ts +++ b/updaters/rotate/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { RotateUpdater } from "./RotateUpdater.js"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadRotateUpdater(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addParticleUpdater( "rotate", diff --git a/updaters/size/CHANGELOG.md b/updaters/size/CHANGELOG.md index 2e3656d68d6..9459f7be95c 100644 --- a/updaters/size/CHANGELOG.md +++ b/updaters/size/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/updater-size + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/updaters/size/package.dist.json b/updaters/size/package.dist.json index 90609892d9c..84f1ee8de00 100644 --- a/updaters/size/package.dist.json +++ b/updaters/size/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/updater-size", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles particles size updater", "homepage": "https://particles.js.org", "repository": { @@ -87,7 +87,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/updaters/size/package.json b/updaters/size/package.json index 2169ef41215..40516fd8fa5 100644 --- a/updaters/size/package.json +++ b/updaters/size/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/updater-size", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles particles size updater", "homepage": "https://particles.js.org", "scripts": { @@ -92,7 +92,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/updaters/size/src/index.ts b/updaters/size/src/index.ts index d27e2822a9b..965d8ff24a7 100644 --- a/updaters/size/src/index.ts +++ b/updaters/size/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { SizeUpdater } from "./SizeUpdater.js"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadSizeUpdater(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addParticleUpdater( "size", diff --git a/updaters/strokeColor/CHANGELOG.md b/updaters/strokeColor/CHANGELOG.md index ab75e9ad982..389b7a0d0de 100644 --- a/updaters/strokeColor/CHANGELOG.md +++ b/updaters/strokeColor/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/updater-stroke-color + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/updaters/strokeColor/package.dist.json b/updaters/strokeColor/package.dist.json index 7ad85d100ed..fee5c8011bb 100644 --- a/updaters/strokeColor/package.dist.json +++ b/updaters/strokeColor/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/updater-stroke-color", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles particles stroke color updater", "homepage": "https://particles.js.org", "repository": { @@ -87,7 +87,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/updaters/strokeColor/package.json b/updaters/strokeColor/package.json index 3587768bfe8..faf5b69ee53 100644 --- a/updaters/strokeColor/package.json +++ b/updaters/strokeColor/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/updater-stroke-color", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles particles stroke color updater", "homepage": "https://particles.js.org", "scripts": { @@ -95,7 +95,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/updaters/strokeColor/src/index.ts b/updaters/strokeColor/src/index.ts index 4bac2ebbe9c..90d7b605962 100644 --- a/updaters/strokeColor/src/index.ts +++ b/updaters/strokeColor/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { StrokeColorUpdater } from "./StrokeColorUpdater.js"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadStrokeColorUpdater(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addParticleUpdater( "strokeColor", container => { diff --git a/updaters/tilt/CHANGELOG.md b/updaters/tilt/CHANGELOG.md index 934de42c2f5..6105b347346 100644 --- a/updaters/tilt/CHANGELOG.md +++ b/updaters/tilt/CHANGELOG.md @@ -3,6 +3,18 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +### Bug Fixes + +- fixed imports and constants ([caaf603](https://github.com/tsparticles/tsparticles/commit/caaf603932fb64de5c34bc075e0bbf2fb7821818)) + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/updaters/tilt/package.dist.json b/updaters/tilt/package.dist.json index ed7640f6cd0..df0d1d27cc2 100644 --- a/updaters/tilt/package.dist.json +++ b/updaters/tilt/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/updater-tilt", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles particles tilt updater", "homepage": "https://particles.js.org", "repository": { @@ -87,7 +87,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/updaters/tilt/package.json b/updaters/tilt/package.json index be98503ddf0..d17b38582dc 100644 --- a/updaters/tilt/package.json +++ b/updaters/tilt/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/updater-tilt", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles particles tilt updater", "homepage": "https://particles.js.org", "scripts": { @@ -95,7 +95,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/updaters/tilt/src/TiltUpdater.ts b/updaters/tilt/src/TiltUpdater.ts index a375926a0f9..bc64c085ffa 100644 --- a/updaters/tilt/src/TiltUpdater.ts +++ b/updaters/tilt/src/TiltUpdater.ts @@ -9,7 +9,7 @@ import { degToRad, getRandom, getRangeValue, - halfRandom, + half, updateAnimation, } from "@tsparticles/engine"; import type { ITiltParticlesOptions, TiltParticle, TiltParticlesOptions } from "./Types.js"; @@ -47,8 +47,8 @@ export class TiltUpdater implements IParticleUpdater { particle.tilt = { enable: tiltOptions.enable, value: degToRad(getRangeValue(tiltOptions.value)), - sinDirection: getRandom() >= halfRandom ? identity : -identity, - cosDirection: getRandom() >= halfRandom ? identity : -identity, + sinDirection: getRandom() >= half ? identity : -identity, + cosDirection: getRandom() >= half ? identity : -identity, min: 0, max: doublePI, }; diff --git a/updaters/tilt/src/index.ts b/updaters/tilt/src/index.ts index 540f56aeb44..4555c7f718d 100644 --- a/updaters/tilt/src/index.ts +++ b/updaters/tilt/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { TiltUpdater } from "./TiltUpdater.js"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadTiltUpdater(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addParticleUpdater( "tilt", diff --git a/updaters/twinkle/CHANGELOG.md b/updaters/twinkle/CHANGELOG.md index 0685259cb55..5569ff515db 100644 --- a/updaters/twinkle/CHANGELOG.md +++ b/updaters/twinkle/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/updater-twinkle + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/updaters/twinkle/package.dist.json b/updaters/twinkle/package.dist.json index 20ba78927c2..1ea4f09578d 100644 --- a/updaters/twinkle/package.dist.json +++ b/updaters/twinkle/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/updater-twinkle", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles particles twinkle updater", "homepage": "https://particles.js.org", "repository": { @@ -87,7 +87,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/updaters/twinkle/package.json b/updaters/twinkle/package.json index 5754e4d25da..25dd4fb9f51 100644 --- a/updaters/twinkle/package.json +++ b/updaters/twinkle/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/updater-twinkle", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles particles twinkle updater", "homepage": "https://particles.js.org", "scripts": { @@ -95,7 +95,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/updaters/twinkle/src/index.ts b/updaters/twinkle/src/index.ts index 14b5cfe8b16..fcd3b42606c 100644 --- a/updaters/twinkle/src/index.ts +++ b/updaters/twinkle/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { TwinkleUpdater } from "./TwinkleUpdater.js"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadTwinkleUpdater(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addParticleUpdater( "twinkle", diff --git a/updaters/wobble/CHANGELOG.md b/updaters/wobble/CHANGELOG.md index c6967352c16..9581fbbf2bb 100644 --- a/updaters/wobble/CHANGELOG.md +++ b/updaters/wobble/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/updater-wobble + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/updaters/wobble/package.dist.json b/updaters/wobble/package.dist.json index 9d3d5a983c8..8588715e7c1 100644 --- a/updaters/wobble/package.dist.json +++ b/updaters/wobble/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/updater-wobble", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles particles wobble updater", "homepage": "https://particles.js.org", "repository": { @@ -87,7 +87,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/updaters/wobble/package.json b/updaters/wobble/package.json index f3e1411ddbf..e7d397bbc41 100644 --- a/updaters/wobble/package.json +++ b/updaters/wobble/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/updater-wobble", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles particles wobble updater", "homepage": "https://particles.js.org", "scripts": { @@ -95,7 +95,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/updaters/wobble/src/index.ts b/updaters/wobble/src/index.ts index c0f3f49d2ab..bc36ff9c6e9 100644 --- a/updaters/wobble/src/index.ts +++ b/updaters/wobble/src/index.ts @@ -1,4 +1,4 @@ -import { type Engine, assertValidVersion } from "@tsparticles/engine"; +import { type Engine } from "@tsparticles/engine"; import { WobbleUpdater } from "./WobbleUpdater.js"; declare const __VERSION__: string; @@ -8,7 +8,7 @@ declare const __VERSION__: string; * @param refresh - */ export async function loadWobbleUpdater(engine: Engine, refresh = true): Promise { - assertValidVersion(engine, __VERSION__); + engine.checkVersion(__VERSION__); await engine.addParticleUpdater( "wobble", diff --git a/utils/configs/CHANGELOG.md b/utils/configs/CHANGELOG.md index 7fe17c978b8..d3ac0920553 100644 --- a/utils/configs/CHANGELOG.md +++ b/utils/configs/CHANGELOG.md @@ -3,6 +3,32 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +### Bug Fixes + +- fixed clone style, closes [#5443](https://github.com/tsparticles/tsparticles/issues/5443) ([2127236](https://github.com/tsparticles/tsparticles/commit/21272366d002d78ba801ff17262f46b474381e1d)) +- fixed imports and constants ([caaf603](https://github.com/tsparticles/tsparticles/commit/caaf603932fb64de5c34bc075e0bbf2fb7821818)) +- fixed style reparation and full screen toggle issues ([3e4a03a](https://github.com/tsparticles/tsparticles/commit/3e4a03a0c6662873088787502e9c1ee98c8473ca)) + +## [3.7.3](https://github.com/tsparticles/tsparticles/compare/v3.7.2...v3.7.3) (2024-12-13) + +### Bug Fixes + +- fixed some configs ([b421f4c](https://github.com/tsparticles/tsparticles/commit/b421f4c6a6f3fa42970a3a043e391075788c4b86)) + +## [3.7.2](https://github.com/tsparticles/tsparticles/compare/v3.7.1...v3.7.2) (2024-11-26) + +### Bug Fixes + +- fixed light preset ([b621cce](https://github.com/tsparticles/tsparticles/commit/b621cce7d9409676152fa3a4e697137d17420703)) + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/utils/configs/package.dist.json b/utils/configs/package.dist.json index b41154d0b63..bdbda745de5 100644 --- a/utils/configs/package.dist.json +++ b/utils/configs/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/configs", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles demo configurations", "homepage": "https://particles.js.org", "repository": { @@ -99,7 +99,7 @@ "./package.json": "./package.json" }, "dependencies": { - "@tsparticles/engine": "3.7.0" + "@tsparticles/engine": "3.8.0" }, "publishConfig": { "access": "public" diff --git a/utils/configs/package.json b/utils/configs/package.json index 1b7d74f2470..7c116218bed 100644 --- a/utils/configs/package.json +++ b/utils/configs/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/configs", - "version": "3.7.0", + "version": "3.8.0", "homepage": "https://particles.js.org", "scripts": { "build": "tsparticles-cli build", @@ -106,7 +106,7 @@ "./package.json": "./dist/package.json" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0" }, "publishConfig": { "access": "public", diff --git a/utils/configs/src/l/lightHover.ts b/utils/configs/src/l/lightHover.ts index 88ac19f82d3..ecf353b520e 100644 --- a/utils/configs/src/l/lightHover.ts +++ b/utils/configs/src/l/lightHover.ts @@ -55,7 +55,7 @@ const options: ISourceOptions = { light: { area: { gradient: { - start: "3b5e98", + start: "#3b5e98", stop: "#17163e", }, }, diff --git a/utils/configs/src/o/index.ts b/utils/configs/src/o/index.ts index ae8fbad8b24..e6129ce02fd 100644 --- a/utils/configs/src/o/index.ts +++ b/utils/configs/src/o/index.ts @@ -1,4 +1,4 @@ -import oklch from "./oklch"; +import oklch from "./oklch.js"; import orbit from "./orbit.js"; export default { diff --git a/utils/configs/src/p/polygons.ts b/utils/configs/src/p/polygons.ts index b6ec394d957..415f4b04368 100644 --- a/utils/configs/src/p/polygons.ts +++ b/utils/configs/src/p/polygons.ts @@ -33,7 +33,7 @@ const options: ISourceOptions = { }, }, color: { - value: "ff0", + value: "#ff0", }, }, }, @@ -47,7 +47,7 @@ const options: ISourceOptions = { value: 8, }, color: { - value: "0f0", + value: "#0f0", }, }, }, @@ -64,7 +64,7 @@ const options: ISourceOptions = { }, }, color: { - value: "f00", + value: "#f00", }, }, }, diff --git a/utils/configs/src/s/index.ts b/utils/configs/src/s/index.ts index 35853abe6de..273660994d3 100644 --- a/utils/configs/src/s/index.ts +++ b/utils/configs/src/s/index.ts @@ -3,7 +3,7 @@ import shadow from "./shadow.js"; import shapeArrow from "./shapeArrow.js"; import shapeCog from "./shapeCog.js"; import shapeEmoji from "./shapeEmoji.js"; -import shapeEmojiPadding from "./shapeEmojiPadding"; +import shapeEmojiPadding from "./shapeEmojiPadding.js"; import shapeHeart from "./shapeHeart.js"; import shapeInfinity from "./shapeInfinity.js"; import shapeMultilineText from "./shapeMultilineText.js"; diff --git a/utils/configs/src/t/triangles.ts b/utils/configs/src/t/triangles.ts index b9a09994804..c4c71271077 100644 --- a/utils/configs/src/t/triangles.ts +++ b/utils/configs/src/t/triangles.ts @@ -17,14 +17,14 @@ const options: ISourceOptions = { sides: 3, particles: { color: { - value: "f00", + value: "#f00", }, }, }, triangle: { particles: { color: { - value: "0f0", + value: "#0f0", }, }, }, diff --git a/utils/perlinNoise/CHANGELOG.md b/utils/perlinNoise/CHANGELOG.md index b24f8269350..f72656896bb 100644 --- a/utils/perlinNoise/CHANGELOG.md +++ b/utils/perlinNoise/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/perlin-noise + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/utils/perlinNoise/package.dist.json b/utils/perlinNoise/package.dist.json index d4afe261ba7..95853b7e2db 100644 --- a/utils/perlinNoise/package.dist.json +++ b/utils/perlinNoise/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/perlin-noise", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles perlin noise library", "homepage": "https://particles.js.org", "repository": { diff --git a/utils/perlinNoise/package.json b/utils/perlinNoise/package.json index 01c8499b0ea..c0b21d88493 100644 --- a/utils/perlinNoise/package.json +++ b/utils/perlinNoise/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/perlin-noise", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles perlin noise path", "homepage": "https://particles.js.org", "scripts": { diff --git a/utils/simplexNoise/CHANGELOG.md b/utils/simplexNoise/CHANGELOG.md index 2daec00d8e7..2738e044aa9 100644 --- a/utils/simplexNoise/CHANGELOG.md +++ b/utils/simplexNoise/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +**Note:** Version bump only for package @tsparticles/simplex-noise + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +### Bug Fixes + +- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705)) + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) ### Features diff --git a/utils/simplexNoise/package.dist.json b/utils/simplexNoise/package.dist.json index baf04b1eebe..7161e1bcf8f 100644 --- a/utils/simplexNoise/package.dist.json +++ b/utils/simplexNoise/package.dist.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/simplex-noise", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles simplex noise library", "homepage": "https://particles.js.org", "repository": { diff --git a/utils/simplexNoise/package.json b/utils/simplexNoise/package.json index 24dfc1cecb4..91a4ab05511 100644 --- a/utils/simplexNoise/package.json +++ b/utils/simplexNoise/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/simplex-noise", - "version": "3.7.0", + "version": "3.8.0", "description": "tsParticles simplex noise library", "homepage": "https://particles.js.org", "scripts": { diff --git a/utils/tests/CHANGELOG.md b/utils/tests/CHANGELOG.md index 74e583af0e2..38f61c9660b 100644 --- a/utils/tests/CHANGELOG.md +++ b/utils/tests/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23) + +### Bug Fixes + +- fixed imports and constants ([caaf603](https://github.com/tsparticles/tsparticles/commit/caaf603932fb64de5c34bc075e0bbf2fb7821818)) + +## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24) + +**Note:** Version bump only for package @tsparticles/tests + # [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24) **Note:** Version bump only for package @tsparticles/tests diff --git a/utils/tests/package.json b/utils/tests/package.json index c24a55b0c3f..fb791d53b32 100644 --- a/utils/tests/package.json +++ b/utils/tests/package.json @@ -1,7 +1,7 @@ { "name": "@tsparticles/tests", "private": true, - "version": "3.7.0", + "version": "3.8.0", "scripts": { "prettify:ci": "prettier --check ./src", "prettify": "prettier --write ./src", @@ -15,11 +15,11 @@ "test:ci": "vitest run" }, "dependencies": { - "@tsparticles/engine": "workspace:3.7.0", - "@tsparticles/plugin-hex-color": "workspace:3.7.0", - "@tsparticles/plugin-hsl-color": "workspace:3.7.0", - "@tsparticles/plugin-hsv-color": "workspace:3.7.0", - "@tsparticles/plugin-rgb-color": "workspace:3.7.0" + "@tsparticles/engine": "workspace:3.8.0", + "@tsparticles/plugin-hex-color": "workspace:3.8.0", + "@tsparticles/plugin-hsl-color": "workspace:3.8.0", + "@tsparticles/plugin-hsv-color": "workspace:3.8.0", + "@tsparticles/plugin-rgb-color": "workspace:3.8.0" }, "devDependencies": { "skia-canvas": "^1.0.2", diff --git a/utils/tests/src/Fixture/CustomCanvas.ts b/utils/tests/src/Fixture/CustomCanvas.ts index d8de59421bb..75afcf6c511 100644 --- a/utils/tests/src/Fixture/CustomCanvas.ts +++ b/utils/tests/src/Fixture/CustomCanvas.ts @@ -20,6 +20,13 @@ export function createCustomCanvas(width: number, height: number): Canvas { setProperty(property: string, value: string | null, priority?: string): void { this[property] = priority ? `${value} !important` : value; }, + removeProperty(property: string): string { + const value = this[property]; + + delete this[property]; + + return value as string; + }, }; augmentCanvas.dataset = {}; diff --git a/utils/tests/src/tests/Options.ts b/utils/tests/src/tests/Options.ts index 3a04eb2d685..507789aa37f 100644 --- a/utils/tests/src/tests/Options.ts +++ b/utils/tests/src/tests/Options.ts @@ -12,7 +12,7 @@ import { tsParticles, } from "@tsparticles/engine"; import { describe, expect, it } from "vitest"; -import { TestWindow } from "../Fixture/Window"; +import { TestWindow } from "../Fixture/Window.js"; describe("Options tests", () => { // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment diff --git a/utils/tests/src/tests/Particle.ts b/utils/tests/src/tests/Particle.ts index 85d5810f05e..27e9bdfe0e6 100644 --- a/utils/tests/src/tests/Particle.ts +++ b/utils/tests/src/tests/Particle.ts @@ -1,8 +1,8 @@ /* eslint-disable @typescript-eslint/no-magic-numbers,@typescript-eslint/no-unused-expressions */ import { type ICoordinates, calcExactPositionOrRandomFromSize, errorPrefix, tsParticles } from "@tsparticles/engine"; import { afterAll, beforeEach, describe, expect, it } from "vitest"; -import { TestWindow } from "../Fixture/Window"; -import { createCustomCanvas } from "../Fixture/CustomCanvas"; +import { TestWindow } from "../Fixture/Window.js"; +import { createCustomCanvas } from "../Fixture/CustomCanvas.js"; const width = 1920, height = 1080; diff --git a/utils/tests/src/tests/Particles.ts b/utils/tests/src/tests/Particles.ts index cfc8f158fab..c4c5a6d59c7 100644 --- a/utils/tests/src/tests/Particles.ts +++ b/utils/tests/src/tests/Particles.ts @@ -1,8 +1,8 @@ /* eslint-disable */ import { type ICoordinates3d, errorPrefix, getRandom, tsParticles } from "@tsparticles/engine"; import { describe, expect, it } from "vitest"; -import { TestWindow } from "../Fixture/Window"; -import { createCustomCanvas } from "../Fixture/CustomCanvas"; +import { TestWindow } from "../Fixture/Window.js"; +import { createCustomCanvas } from "../Fixture/CustomCanvas.js"; describe("Particles", async () => { // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment diff --git a/utils/tests/src/tests/Utils.ts b/utils/tests/src/tests/Utils.ts index c4cc0580481..b64f019184c 100644 --- a/utils/tests/src/tests/Utils.ts +++ b/utils/tests/src/tests/Utils.ts @@ -18,7 +18,7 @@ import { setRangeValue, tsParticles, } from "@tsparticles/engine"; -import { buildParticleWithDirection, segmentBounce } from "../Fixture/Utils"; +import { buildParticleWithDirection, segmentBounce } from "../Fixture/Utils.js"; import { describe, expect, it } from "vitest"; describe("Utils", () => {