@tsparticles/particles 4.3.2 → 4.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/browser/particles.js +2 -2
- package/browser/particles.lazy.js +2 -2
- package/cjs/particles.js +2 -2
- package/cjs/particles.lazy.js +2 -2
- package/esm/particles.js +2 -2
- package/esm/particles.lazy.js +2 -2
- package/package.json +6 -6
- package/report.html +1 -1
- package/tsparticles.particles.bundle.js +260 -60
- package/tsparticles.particles.bundle.min.js +1 -1
- package/tsparticles.particles.js +3 -3
- package/tsparticles.particles.min.js +1 -1
package/browser/particles.js
CHANGED
|
@@ -6,7 +6,7 @@ import { loadParticlesCollisionsInteraction } from "@tsparticles/interaction-par
|
|
|
6
6
|
import { loadParticlesLinksInteraction } from "@tsparticles/interaction-particles-links";
|
|
7
7
|
let initPromise = null;
|
|
8
8
|
async function doInitPlugins(engine) {
|
|
9
|
-
engine.checkVersion("4.
|
|
9
|
+
engine.checkVersion("4.4.0");
|
|
10
10
|
await engine.pluginManager.register(async (e) => {
|
|
11
11
|
const loadParticlesInteractivity = async (e) => {
|
|
12
12
|
await loadInteractivityPlugin(e);
|
|
@@ -49,5 +49,5 @@ particles.create = async (canvas, options) => {
|
|
|
49
49
|
particles.init = async () => {
|
|
50
50
|
await initPlugins(tsParticles);
|
|
51
51
|
};
|
|
52
|
-
particles.version = "4.
|
|
52
|
+
particles.version = "4.4.0";
|
|
53
53
|
globalThis.particles = particles;
|
|
@@ -2,7 +2,7 @@ import { isString, tsParticles } from "@tsparticles/engine/lazy";
|
|
|
2
2
|
import { getParticlesInstance } from "./utils.js";
|
|
3
3
|
let initPromise = null;
|
|
4
4
|
async function doInitPlugins(engine) {
|
|
5
|
-
engine.checkVersion("4.
|
|
5
|
+
engine.checkVersion("4.4.0");
|
|
6
6
|
await engine.pluginManager.register(async (e) => {
|
|
7
7
|
const [{ loadBasic }, { loadInteractivityPlugin }, { loadParticlesCollisionsInteraction }, { loadParticlesLinksInteraction },] = await Promise.all([
|
|
8
8
|
import("@tsparticles/basic/lazy"),
|
|
@@ -50,5 +50,5 @@ particles.create = async (canvas, options) => {
|
|
|
50
50
|
particles.init = async () => {
|
|
51
51
|
await initPlugins(tsParticles);
|
|
52
52
|
};
|
|
53
|
-
particles.version = "4.
|
|
53
|
+
particles.version = "4.4.0";
|
|
54
54
|
globalThis.particles = particles;
|
package/cjs/particles.js
CHANGED
|
@@ -6,7 +6,7 @@ import { loadParticlesCollisionsInteraction } from "@tsparticles/interaction-par
|
|
|
6
6
|
import { loadParticlesLinksInteraction } from "@tsparticles/interaction-particles-links";
|
|
7
7
|
let initPromise = null;
|
|
8
8
|
async function doInitPlugins(engine) {
|
|
9
|
-
engine.checkVersion("4.
|
|
9
|
+
engine.checkVersion("4.4.0");
|
|
10
10
|
await engine.pluginManager.register(async (e) => {
|
|
11
11
|
const loadParticlesInteractivity = async (e) => {
|
|
12
12
|
await loadInteractivityPlugin(e);
|
|
@@ -49,5 +49,5 @@ particles.create = async (canvas, options) => {
|
|
|
49
49
|
particles.init = async () => {
|
|
50
50
|
await initPlugins(tsParticles);
|
|
51
51
|
};
|
|
52
|
-
particles.version = "4.
|
|
52
|
+
particles.version = "4.4.0";
|
|
53
53
|
globalThis.particles = particles;
|
package/cjs/particles.lazy.js
CHANGED
|
@@ -2,7 +2,7 @@ import { isString, tsParticles } from "@tsparticles/engine/lazy";
|
|
|
2
2
|
import { getParticlesInstance } from "./utils.js";
|
|
3
3
|
let initPromise = null;
|
|
4
4
|
async function doInitPlugins(engine) {
|
|
5
|
-
engine.checkVersion("4.
|
|
5
|
+
engine.checkVersion("4.4.0");
|
|
6
6
|
await engine.pluginManager.register(async (e) => {
|
|
7
7
|
const [{ loadBasic }, { loadInteractivityPlugin }, { loadParticlesCollisionsInteraction }, { loadParticlesLinksInteraction },] = await Promise.all([
|
|
8
8
|
import("@tsparticles/basic/lazy"),
|
|
@@ -50,5 +50,5 @@ particles.create = async (canvas, options) => {
|
|
|
50
50
|
particles.init = async () => {
|
|
51
51
|
await initPlugins(tsParticles);
|
|
52
52
|
};
|
|
53
|
-
particles.version = "4.
|
|
53
|
+
particles.version = "4.4.0";
|
|
54
54
|
globalThis.particles = particles;
|
package/esm/particles.js
CHANGED
|
@@ -6,7 +6,7 @@ import { loadParticlesCollisionsInteraction } from "@tsparticles/interaction-par
|
|
|
6
6
|
import { loadParticlesLinksInteraction } from "@tsparticles/interaction-particles-links";
|
|
7
7
|
let initPromise = null;
|
|
8
8
|
async function doInitPlugins(engine) {
|
|
9
|
-
engine.checkVersion("4.
|
|
9
|
+
engine.checkVersion("4.4.0");
|
|
10
10
|
await engine.pluginManager.register(async (e) => {
|
|
11
11
|
const loadParticlesInteractivity = async (e) => {
|
|
12
12
|
await loadInteractivityPlugin(e);
|
|
@@ -49,5 +49,5 @@ particles.create = async (canvas, options) => {
|
|
|
49
49
|
particles.init = async () => {
|
|
50
50
|
await initPlugins(tsParticles);
|
|
51
51
|
};
|
|
52
|
-
particles.version = "4.
|
|
52
|
+
particles.version = "4.4.0";
|
|
53
53
|
globalThis.particles = particles;
|
package/esm/particles.lazy.js
CHANGED
|
@@ -2,7 +2,7 @@ import { isString, tsParticles } from "@tsparticles/engine/lazy";
|
|
|
2
2
|
import { getParticlesInstance } from "./utils.js";
|
|
3
3
|
let initPromise = null;
|
|
4
4
|
async function doInitPlugins(engine) {
|
|
5
|
-
engine.checkVersion("4.
|
|
5
|
+
engine.checkVersion("4.4.0");
|
|
6
6
|
await engine.pluginManager.register(async (e) => {
|
|
7
7
|
const [{ loadBasic }, { loadInteractivityPlugin }, { loadParticlesCollisionsInteraction }, { loadParticlesLinksInteraction },] = await Promise.all([
|
|
8
8
|
import("@tsparticles/basic/lazy"),
|
|
@@ -50,5 +50,5 @@ particles.create = async (canvas, options) => {
|
|
|
50
50
|
particles.init = async () => {
|
|
51
51
|
await initPlugins(tsParticles);
|
|
52
52
|
};
|
|
53
|
-
particles.version = "4.
|
|
53
|
+
particles.version = "4.4.0";
|
|
54
54
|
globalThis.particles = particles;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsparticles/particles",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.4.0",
|
|
4
4
|
"description": "Minimal tsParticles particles bundle — lightweight particle engine without confetti or fireworks extras. Perfect for pure particle backgrounds. Ready to use components available for React, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Riot.js, Inferno.",
|
|
5
5
|
"homepage": "https://particles.js.org",
|
|
6
6
|
"repository": {
|
|
@@ -81,11 +81,11 @@
|
|
|
81
81
|
"./package.json": "./package.json"
|
|
82
82
|
},
|
|
83
83
|
"dependencies": {
|
|
84
|
-
"@tsparticles/basic": "4.
|
|
85
|
-
"@tsparticles/engine": "4.
|
|
86
|
-
"@tsparticles/interaction-particles-collisions": "4.
|
|
87
|
-
"@tsparticles/interaction-particles-links": "4.
|
|
88
|
-
"@tsparticles/plugin-interactivity": "4.
|
|
84
|
+
"@tsparticles/basic": "4.4.0",
|
|
85
|
+
"@tsparticles/engine": "4.4.0",
|
|
86
|
+
"@tsparticles/interaction-particles-collisions": "4.4.0",
|
|
87
|
+
"@tsparticles/interaction-particles-links": "4.4.0",
|
|
88
|
+
"@tsparticles/plugin-interactivity": "4.4.0"
|
|
89
89
|
},
|
|
90
90
|
"publishConfig": {
|
|
91
91
|
"access": "public"
|