Skip to content

Commit 0307a89

Browse files
authored
Merge pull request tsparticles#5444 from tsparticles/v3
3.8.0
2 parents 67e16a5 + 2875113 commit 0307a89

460 files changed

Lines changed: 3459 additions & 2088 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,35 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23)
7+
8+
### Bug Fixes
9+
10+
- fixed clone style, closes [#5443](https://github.com/tsparticles/tsparticles/issues/5443) ([2127236](https://github.com/tsparticles/tsparticles/commit/21272366d002d78ba801ff17262f46b474381e1d))
11+
- fixed imports and constants ([caaf603](https://github.com/tsparticles/tsparticles/commit/caaf603932fb64de5c34bc075e0bbf2fb7821818))
12+
- fixed style reparation and full screen toggle issues ([3e4a03a](https://github.com/tsparticles/tsparticles/commit/3e4a03a0c6662873088787502e9c1ee98c8473ca))
13+
- improved spin initial positioning ([43edbbf](https://github.com/tsparticles/tsparticles/commit/43edbbf7e1f58137c3996be2dfbfbc3c5a930ba8))
14+
- improved style duplication ([55a8425](https://github.com/tsparticles/tsparticles/commit/55a84255b013ca6b08b77ef38ba2a1d4a19a0fca))
15+
16+
## [3.7.3](https://github.com/tsparticles/tsparticles/compare/v3.7.2...v3.7.3) (2024-12-13)
17+
18+
### Bug Fixes
19+
20+
- fixed some configs ([b421f4c](https://github.com/tsparticles/tsparticles/commit/b421f4c6a6f3fa42970a3a043e391075788c4b86))
21+
22+
## [3.7.2](https://github.com/tsparticles/tsparticles/compare/v3.7.1...v3.7.2) (2024-11-26)
23+
24+
### Bug Fixes
25+
26+
- fixed light preset ([b621cce](https://github.com/tsparticles/tsparticles/commit/b621cce7d9409676152fa3a4e697137d17420703))
27+
28+
## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24)
29+
30+
### Bug Fixes
31+
32+
- fix resize issues introduced in 3.7.0 with the new size variable ([41b507f](https://github.com/tsparticles/tsparticles/commit/41b507f6fc638a4ce77614621d9300ed7099ebce))
33+
- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705))
34+
635
# [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24)
736

837
### Bug Fixes

bundles/all/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23)
7+
8+
**Note:** Version bump only for package @tsparticles/all
9+
10+
## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24)
11+
12+
### Bug Fixes
13+
14+
- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705))
15+
616
# [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24)
717

818
### Features

bundles/all/package.dist.json

Lines changed: 51 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tsparticles/all",
3-
"version": "3.7.0",
3+
"version": "3.8.0",
44
"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.",
55
"homepage": "https://particles.js.org",
66
"repository": {
@@ -99,56 +99,56 @@
9999
"./package.json": "./package.json"
100100
},
101101
"dependencies": {
102-
"@tsparticles/effect-bubble": "3.7.0",
103-
"@tsparticles/effect-trail": "3.7.0",
104-
"@tsparticles/engine": "3.7.0",
105-
"@tsparticles/interaction-external-particle": "3.7.0",
106-
"@tsparticles/interaction-external-pop": "3.7.0",
107-
"@tsparticles/interaction-light": "3.7.0",
108-
"@tsparticles/interaction-particles-repulse": "3.7.0",
109-
"@tsparticles/path-curl-noise": "3.7.0",
110-
"@tsparticles/path-curves": "3.7.0",
111-
"@tsparticles/path-perlin-noise": "3.7.0",
112-
"@tsparticles/path-polygon": "3.7.0",
113-
"@tsparticles/path-simplex-noise": "3.7.0",
114-
"@tsparticles/path-svg": "3.7.0",
115-
"@tsparticles/path-zig-zag": "3.7.0",
116-
"@tsparticles/pjs": "3.7.0",
117-
"@tsparticles/plugin-canvas-mask": "3.7.0",
118-
"@tsparticles/plugin-easing-back": "3.7.0",
119-
"@tsparticles/plugin-easing-circ": "3.7.0",
120-
"@tsparticles/plugin-easing-cubic": "3.7.0",
121-
"@tsparticles/plugin-easing-expo": "3.7.0",
122-
"@tsparticles/plugin-easing-linear": "3.7.0",
123-
"@tsparticles/plugin-easing-quart": "3.7.0",
124-
"@tsparticles/plugin-easing-quint": "3.7.0",
125-
"@tsparticles/plugin-easing-sine": "3.7.0",
126-
"@tsparticles/plugin-emitters-shape-canvas": "3.7.0",
127-
"@tsparticles/plugin-emitters-shape-path": "3.7.0",
128-
"@tsparticles/plugin-emitters-shape-polygon": "3.7.0",
129-
"@tsparticles/plugin-export-image": "3.7.0",
130-
"@tsparticles/plugin-export-json": "3.7.0",
131-
"@tsparticles/plugin-export-video": "3.7.0",
132-
"@tsparticles/plugin-hsv-color": "3.7.0",
133-
"@tsparticles/plugin-infection": "3.7.0",
134-
"@tsparticles/plugin-motion": "3.7.0",
135-
"@tsparticles/plugin-named-color": "3.7.0",
136-
"@tsparticles/plugin-oklch-color": "3.7.0",
137-
"@tsparticles/plugin-poisson-disc": "3.7.0",
138-
"@tsparticles/plugin-polygon-mask": "3.7.0",
139-
"@tsparticles/plugin-sounds": "3.7.0",
140-
"@tsparticles/shape-arrow": "3.7.0",
141-
"@tsparticles/shape-cards": "3.7.0",
142-
"@tsparticles/shape-cog": "3.7.0",
143-
"@tsparticles/shape-heart": "3.7.0",
144-
"@tsparticles/shape-infinity": "3.7.0",
145-
"@tsparticles/shape-path": "3.7.0",
146-
"@tsparticles/shape-rounded-polygon": "3.7.0",
147-
"@tsparticles/shape-rounded-rect": "3.7.0",
148-
"@tsparticles/shape-spiral": "3.7.0",
149-
"@tsparticles/updater-gradient": "3.7.0",
150-
"@tsparticles/updater-orbit": "3.7.0",
151-
"tsparticles": "3.7.0"
102+
"@tsparticles/effect-bubble": "3.8.0",
103+
"@tsparticles/effect-trail": "3.8.0",
104+
"@tsparticles/engine": "3.8.0",
105+
"@tsparticles/interaction-external-particle": "3.8.0",
106+
"@tsparticles/interaction-external-pop": "3.8.0",
107+
"@tsparticles/interaction-light": "3.8.0",
108+
"@tsparticles/interaction-particles-repulse": "3.8.0",
109+
"@tsparticles/path-curl-noise": "3.8.0",
110+
"@tsparticles/path-curves": "3.8.0",
111+
"@tsparticles/path-perlin-noise": "3.8.0",
112+
"@tsparticles/path-polygon": "3.8.0",
113+
"@tsparticles/path-simplex-noise": "3.8.0",
114+
"@tsparticles/path-svg": "3.8.0",
115+
"@tsparticles/path-zig-zag": "3.8.0",
116+
"@tsparticles/pjs": "3.8.0",
117+
"@tsparticles/plugin-canvas-mask": "3.8.0",
118+
"@tsparticles/plugin-easing-back": "3.8.0",
119+
"@tsparticles/plugin-easing-circ": "3.8.0",
120+
"@tsparticles/plugin-easing-cubic": "3.8.0",
121+
"@tsparticles/plugin-easing-expo": "3.8.0",
122+
"@tsparticles/plugin-easing-linear": "3.8.0",
123+
"@tsparticles/plugin-easing-quart": "3.8.0",
124+
"@tsparticles/plugin-easing-quint": "3.8.0",
125+
"@tsparticles/plugin-easing-sine": "3.8.0",
126+
"@tsparticles/plugin-emitters-shape-canvas": "3.8.0",
127+
"@tsparticles/plugin-emitters-shape-path": "3.8.0",
128+
"@tsparticles/plugin-emitters-shape-polygon": "3.8.0",
129+
"@tsparticles/plugin-export-image": "3.8.0",
130+
"@tsparticles/plugin-export-json": "3.8.0",
131+
"@tsparticles/plugin-export-video": "3.8.0",
132+
"@tsparticles/plugin-hsv-color": "3.8.0",
133+
"@tsparticles/plugin-infection": "3.8.0",
134+
"@tsparticles/plugin-motion": "3.8.0",
135+
"@tsparticles/plugin-named-color": "3.8.0",
136+
"@tsparticles/plugin-oklch-color": "3.8.0",
137+
"@tsparticles/plugin-poisson-disc": "3.8.0",
138+
"@tsparticles/plugin-polygon-mask": "3.8.0",
139+
"@tsparticles/plugin-sounds": "3.8.0",
140+
"@tsparticles/shape-arrow": "3.8.0",
141+
"@tsparticles/shape-cards": "3.8.0",
142+
"@tsparticles/shape-cog": "3.8.0",
143+
"@tsparticles/shape-heart": "3.8.0",
144+
"@tsparticles/shape-infinity": "3.8.0",
145+
"@tsparticles/shape-path": "3.8.0",
146+
"@tsparticles/shape-rounded-polygon": "3.8.0",
147+
"@tsparticles/shape-rounded-rect": "3.8.0",
148+
"@tsparticles/shape-spiral": "3.8.0",
149+
"@tsparticles/updater-gradient": "3.8.0",
150+
"@tsparticles/updater-orbit": "3.8.0",
151+
"tsparticles": "3.8.0"
152152
},
153153
"publishConfig": {
154154
"access": "public"

bundles/all/package.json

Lines changed: 51 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tsparticles/all",
3-
"version": "3.7.0",
3+
"version": "3.8.0",
44
"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.",
55
"homepage": "https://particles.js.org",
66
"scripts": {
@@ -107,56 +107,56 @@
107107
"./package.json": "./dist/package.json"
108108
},
109109
"dependencies": {
110-
"@tsparticles/effect-bubble": "workspace:3.7.0",
111-
"@tsparticles/effect-trail": "workspace:3.7.0",
112-
"@tsparticles/engine": "workspace:3.7.0",
113-
"@tsparticles/interaction-external-particle": "workspace:3.7.0",
114-
"@tsparticles/interaction-external-pop": "workspace:3.7.0",
115-
"@tsparticles/interaction-light": "workspace:3.7.0",
116-
"@tsparticles/interaction-particles-repulse": "workspace:3.7.0",
117-
"@tsparticles/path-curl-noise": "workspace:3.7.0",
118-
"@tsparticles/path-curves": "workspace:3.7.0",
119-
"@tsparticles/path-perlin-noise": "workspace:3.7.0",
120-
"@tsparticles/path-polygon": "workspace:3.7.0",
121-
"@tsparticles/path-simplex-noise": "workspace:3.7.0",
122-
"@tsparticles/path-svg": "workspace:3.7.0",
123-
"@tsparticles/path-zig-zag": "workspace:3.7.0",
124-
"@tsparticles/pjs": "workspace:3.7.0",
125-
"@tsparticles/plugin-canvas-mask": "workspace:3.7.0",
126-
"@tsparticles/plugin-easing-back": "workspace:3.7.0",
127-
"@tsparticles/plugin-easing-circ": "workspace:3.7.0",
128-
"@tsparticles/plugin-easing-cubic": "workspace:3.7.0",
129-
"@tsparticles/plugin-easing-expo": "workspace:3.7.0",
130-
"@tsparticles/plugin-easing-linear": "workspace:3.7.0",
131-
"@tsparticles/plugin-easing-quart": "workspace:3.7.0",
132-
"@tsparticles/plugin-easing-quint": "workspace:3.7.0",
133-
"@tsparticles/plugin-easing-sine": "workspace:3.7.0",
134-
"@tsparticles/plugin-emitters-shape-canvas": "workspace:3.7.0",
135-
"@tsparticles/plugin-emitters-shape-path": "workspace:3.7.0",
136-
"@tsparticles/plugin-emitters-shape-polygon": "workspace:3.7.0",
137-
"@tsparticles/plugin-export-image": "workspace:3.7.0",
138-
"@tsparticles/plugin-export-json": "workspace:3.7.0",
139-
"@tsparticles/plugin-export-video": "workspace:3.7.0",
140-
"@tsparticles/plugin-hsv-color": "workspace:3.7.0",
141-
"@tsparticles/plugin-infection": "workspace:3.7.0",
142-
"@tsparticles/plugin-motion": "workspace:3.7.0",
143-
"@tsparticles/plugin-named-color": "workspace:3.7.0",
144-
"@tsparticles/plugin-oklch-color": "workspace:3.7.0",
145-
"@tsparticles/plugin-poisson-disc": "workspace:3.7.0",
146-
"@tsparticles/plugin-polygon-mask": "workspace:3.7.0",
147-
"@tsparticles/plugin-sounds": "workspace:3.7.0",
148-
"@tsparticles/shape-arrow": "workspace:3.7.0",
149-
"@tsparticles/shape-cards": "workspace:3.7.0",
150-
"@tsparticles/shape-cog": "workspace:3.7.0",
151-
"@tsparticles/shape-heart": "workspace:3.7.0",
152-
"@tsparticles/shape-infinity": "workspace:3.7.0",
153-
"@tsparticles/shape-path": "workspace:3.7.0",
154-
"@tsparticles/shape-rounded-polygon": "workspace:3.7.0",
155-
"@tsparticles/shape-rounded-rect": "workspace:3.7.0",
156-
"@tsparticles/shape-spiral": "workspace:3.7.0",
157-
"@tsparticles/updater-gradient": "workspace:3.7.0",
158-
"@tsparticles/updater-orbit": "workspace:3.7.0",
159-
"tsparticles": "workspace:3.7.0"
110+
"@tsparticles/effect-bubble": "workspace:3.8.0",
111+
"@tsparticles/effect-trail": "workspace:3.8.0",
112+
"@tsparticles/engine": "workspace:3.8.0",
113+
"@tsparticles/interaction-external-particle": "workspace:3.8.0",
114+
"@tsparticles/interaction-external-pop": "workspace:3.8.0",
115+
"@tsparticles/interaction-light": "workspace:3.8.0",
116+
"@tsparticles/interaction-particles-repulse": "workspace:3.8.0",
117+
"@tsparticles/path-curl-noise": "workspace:3.8.0",
118+
"@tsparticles/path-curves": "workspace:3.8.0",
119+
"@tsparticles/path-perlin-noise": "workspace:3.8.0",
120+
"@tsparticles/path-polygon": "workspace:3.8.0",
121+
"@tsparticles/path-simplex-noise": "workspace:3.8.0",
122+
"@tsparticles/path-svg": "workspace:3.8.0",
123+
"@tsparticles/path-zig-zag": "workspace:3.8.0",
124+
"@tsparticles/pjs": "workspace:3.8.0",
125+
"@tsparticles/plugin-canvas-mask": "workspace:3.8.0",
126+
"@tsparticles/plugin-easing-back": "workspace:3.8.0",
127+
"@tsparticles/plugin-easing-circ": "workspace:3.8.0",
128+
"@tsparticles/plugin-easing-cubic": "workspace:3.8.0",
129+
"@tsparticles/plugin-easing-expo": "workspace:3.8.0",
130+
"@tsparticles/plugin-easing-linear": "workspace:3.8.0",
131+
"@tsparticles/plugin-easing-quart": "workspace:3.8.0",
132+
"@tsparticles/plugin-easing-quint": "workspace:3.8.0",
133+
"@tsparticles/plugin-easing-sine": "workspace:3.8.0",
134+
"@tsparticles/plugin-emitters-shape-canvas": "workspace:3.8.0",
135+
"@tsparticles/plugin-emitters-shape-path": "workspace:3.8.0",
136+
"@tsparticles/plugin-emitters-shape-polygon": "workspace:3.8.0",
137+
"@tsparticles/plugin-export-image": "workspace:3.8.0",
138+
"@tsparticles/plugin-export-json": "workspace:3.8.0",
139+
"@tsparticles/plugin-export-video": "workspace:3.8.0",
140+
"@tsparticles/plugin-hsv-color": "workspace:3.8.0",
141+
"@tsparticles/plugin-infection": "workspace:3.8.0",
142+
"@tsparticles/plugin-motion": "workspace:3.8.0",
143+
"@tsparticles/plugin-named-color": "workspace:3.8.0",
144+
"@tsparticles/plugin-oklch-color": "workspace:3.8.0",
145+
"@tsparticles/plugin-poisson-disc": "workspace:3.8.0",
146+
"@tsparticles/plugin-polygon-mask": "workspace:3.8.0",
147+
"@tsparticles/plugin-sounds": "workspace:3.8.0",
148+
"@tsparticles/shape-arrow": "workspace:3.8.0",
149+
"@tsparticles/shape-cards": "workspace:3.8.0",
150+
"@tsparticles/shape-cog": "workspace:3.8.0",
151+
"@tsparticles/shape-heart": "workspace:3.8.0",
152+
"@tsparticles/shape-infinity": "workspace:3.8.0",
153+
"@tsparticles/shape-path": "workspace:3.8.0",
154+
"@tsparticles/shape-rounded-polygon": "workspace:3.8.0",
155+
"@tsparticles/shape-rounded-rect": "workspace:3.8.0",
156+
"@tsparticles/shape-spiral": "workspace:3.8.0",
157+
"@tsparticles/updater-gradient": "workspace:3.8.0",
158+
"@tsparticles/updater-orbit": "workspace:3.8.0",
159+
"tsparticles": "workspace:3.8.0"
160160
},
161161
"publishConfig": {
162162
"access": "public",

bundles/all/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { type Engine, assertValidVersion } from "@tsparticles/engine";
1+
import { type Engine } from "@tsparticles/engine";
22
import { initPjs } from "@tsparticles/pjs";
33
import { loadArrowShape } from "@tsparticles/shape-arrow";
44
import { loadBubbleEffect } from "@tsparticles/effect-bubble";
@@ -61,7 +61,7 @@ declare const __VERSION__: string;
6161
* @param refresh -
6262
*/
6363
export async function loadAll(engine: Engine, refresh = true): Promise<void> {
64-
assertValidVersion(engine, __VERSION__);
64+
engine.checkVersion(__VERSION__);
6565

6666
initPjs(engine);
6767

bundles/basic/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# [3.8.0](https://github.com/tsparticles/tsparticles/compare/v3.7.3...v3.8.0) (2025-01-23)
7+
8+
**Note:** Version bump only for package @tsparticles/basic
9+
10+
## [3.7.1](https://github.com/tsparticles/tsparticles/compare/v3.7.0...v3.7.1) (2024-11-24)
11+
12+
### Bug Fixes
13+
14+
- fixed resize issue in canvas ([e7c816c](https://github.com/tsparticles/tsparticles/commit/e7c816ced7d99c0cb84c79675a0771cd4b833705))
15+
616
# [3.7.0](https://github.com/tsparticles/tsparticles/compare/v3.6.0...v3.7.0) (2024-11-24)
717

818
### Features

bundles/basic/package.dist.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tsparticles/basic",
3-
"version": "3.7.0",
3+
"version": "3.8.0",
44
"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.",
55
"homepage": "https://particles.js.org",
66
"repository": {
@@ -99,16 +99,16 @@
9999
"./package.json": "./package.json"
100100
},
101101
"dependencies": {
102-
"@tsparticles/engine": "3.7.0",
103-
"@tsparticles/move-base": "3.7.0",
104-
"@tsparticles/plugin-hex-color": "3.7.0",
105-
"@tsparticles/plugin-hsl-color": "3.7.0",
106-
"@tsparticles/plugin-rgb-color": "3.7.0",
107-
"@tsparticles/shape-circle": "3.7.0",
108-
"@tsparticles/updater-color": "3.7.0",
109-
"@tsparticles/updater-opacity": "3.7.0",
110-
"@tsparticles/updater-out-modes": "3.7.0",
111-
"@tsparticles/updater-size": "3.7.0"
102+
"@tsparticles/engine": "3.8.0",
103+
"@tsparticles/move-base": "3.8.0",
104+
"@tsparticles/plugin-hex-color": "3.8.0",
105+
"@tsparticles/plugin-hsl-color": "3.8.0",
106+
"@tsparticles/plugin-rgb-color": "3.8.0",
107+
"@tsparticles/shape-circle": "3.8.0",
108+
"@tsparticles/updater-color": "3.8.0",
109+
"@tsparticles/updater-opacity": "3.8.0",
110+
"@tsparticles/updater-out-modes": "3.8.0",
111+
"@tsparticles/updater-size": "3.8.0"
112112
},
113113
"publishConfig": {
114114
"access": "public"

bundles/basic/package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tsparticles/basic",
3-
"version": "3.7.0",
3+
"version": "3.8.0",
44
"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.",
55
"homepage": "https://particles.js.org",
66
"scripts": {
@@ -107,16 +107,16 @@
107107
"./package.json": "./dist/package.json"
108108
},
109109
"dependencies": {
110-
"@tsparticles/engine": "workspace:3.7.0",
111-
"@tsparticles/move-base": "workspace:3.7.0",
112-
"@tsparticles/plugin-hex-color": "workspace:3.7.0",
113-
"@tsparticles/plugin-hsl-color": "workspace:3.7.0",
114-
"@tsparticles/plugin-rgb-color": "workspace:3.7.0",
115-
"@tsparticles/shape-circle": "workspace:3.7.0",
116-
"@tsparticles/updater-color": "workspace:3.7.0",
117-
"@tsparticles/updater-opacity": "workspace:3.7.0",
118-
"@tsparticles/updater-out-modes": "workspace:3.7.0",
119-
"@tsparticles/updater-size": "workspace:3.7.0"
110+
"@tsparticles/engine": "workspace:3.8.0",
111+
"@tsparticles/move-base": "workspace:3.8.0",
112+
"@tsparticles/plugin-hex-color": "workspace:3.8.0",
113+
"@tsparticles/plugin-hsl-color": "workspace:3.8.0",
114+
"@tsparticles/plugin-rgb-color": "workspace:3.8.0",
115+
"@tsparticles/shape-circle": "workspace:3.8.0",
116+
"@tsparticles/updater-color": "workspace:3.8.0",
117+
"@tsparticles/updater-opacity": "workspace:3.8.0",
118+
"@tsparticles/updater-out-modes": "workspace:3.8.0",
119+
"@tsparticles/updater-size": "workspace:3.8.0"
120120
},
121121
"publishConfig": {
122122
"access": "public",

bundles/basic/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { type Engine, assertValidVersion } from "@tsparticles/engine";
1+
import { type Engine } from "@tsparticles/engine";
22
import { loadBaseMover } from "@tsparticles/move-base";
33
import { loadCircleShape } from "@tsparticles/shape-circle";
44
import { loadColorUpdater } from "@tsparticles/updater-color";
@@ -21,7 +21,7 @@ declare const __VERSION__: string;
2121
* @param refresh -
2222
*/
2323
export async function loadBasic(engine: Engine, refresh = true): Promise<void> {
24-
assertValidVersion(engine, __VERSION__);
24+
engine.checkVersion(__VERSION__);
2525

2626
await loadHexColorPlugin(engine, false);
2727
await loadHslColorPlugin(engine, false);

0 commit comments

Comments
 (0)