tsparticles 4.2.1 → 4.3.1
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/README.md +3 -9
- package/browser/index.js +1 -1
- package/browser/index.lazy.js +1 -1
- package/cjs/index.js +1 -1
- package/cjs/index.lazy.js +1 -1
- package/esm/index.js +1 -1
- package/esm/index.lazy.js +1 -1
- package/package.json +15 -15
- package/report.html +1 -1
- package/tsparticles.bundle.js +369 -686
- package/tsparticles.bundle.min.js +1 -1
- package/tsparticles.js +2 -2
- package/tsparticles.min.js +1 -1
package/README.md
CHANGED
|
@@ -113,9 +113,7 @@ Once the scripts are loaded you can set up `tsParticles` like this:
|
|
|
113
113
|
|
|
114
114
|
await tsParticles.load({
|
|
115
115
|
id: "tsparticles",
|
|
116
|
-
options: {
|
|
117
|
-
/* options */
|
|
118
|
-
},
|
|
116
|
+
options: {/* options */},
|
|
119
117
|
});
|
|
120
118
|
})();
|
|
121
119
|
```
|
|
@@ -199,9 +197,7 @@ async function particlesInit(engine: Engine): Promise<void> {
|
|
|
199
197
|
```
|
|
200
198
|
|
|
201
199
|
```ts
|
|
202
|
-
const options = {
|
|
203
|
-
/* custom options */
|
|
204
|
-
};
|
|
200
|
+
const options = {/* custom options */};
|
|
205
201
|
|
|
206
202
|
async function particlesInit(engine: Engine): Promise<void> {
|
|
207
203
|
await loadFull(engine);
|
|
@@ -220,9 +216,7 @@ async function particlesInit(engine: Engine): Promise<void> {
|
|
|
220
216
|
```
|
|
221
217
|
|
|
222
218
|
```js
|
|
223
|
-
let options = {
|
|
224
|
-
/* custom options */
|
|
225
|
-
};
|
|
219
|
+
let options = {/* custom options */};
|
|
226
220
|
|
|
227
221
|
let particlesInit = async engine => {
|
|
228
222
|
await loadFull(engine);
|
package/browser/index.js
CHANGED
|
@@ -12,7 +12,7 @@ import { loadTiltUpdater } from "@tsparticles/updater-tilt";
|
|
|
12
12
|
import { loadTwinkleUpdater } from "@tsparticles/updater-twinkle";
|
|
13
13
|
import { loadWobbleUpdater } from "@tsparticles/updater-wobble";
|
|
14
14
|
export async function loadFull(engine) {
|
|
15
|
-
engine.checkVersion("4.
|
|
15
|
+
engine.checkVersion("4.3.1");
|
|
16
16
|
await engine.pluginManager.register(async (e) => {
|
|
17
17
|
const loadEmittersPluginBundle = async (e) => {
|
|
18
18
|
await loadEmittersPlugin(e);
|
package/browser/index.lazy.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export async function loadFull(engine) {
|
|
2
|
-
engine.checkVersion("4.
|
|
2
|
+
engine.checkVersion("4.3.1");
|
|
3
3
|
await engine.pluginManager.register(async (e) => {
|
|
4
4
|
const [{ loadSlim }, { loadExternalDragInteraction }, { loadExternalTrailInteraction }, { loadAbsorbersPlugin }, { loadEmittersPlugin }, { loadEmittersShapeCircle }, { loadEmittersShapeSquare }, { loadTextShape }, { loadDestroyUpdater }, { loadRollUpdater }, { loadTiltUpdater }, { loadTwinkleUpdater }, { loadWobbleUpdater },] = await Promise.all([
|
|
5
5
|
import("@tsparticles/slim/lazy"),
|
package/cjs/index.js
CHANGED
|
@@ -12,7 +12,7 @@ import { loadTiltUpdater } from "@tsparticles/updater-tilt";
|
|
|
12
12
|
import { loadTwinkleUpdater } from "@tsparticles/updater-twinkle";
|
|
13
13
|
import { loadWobbleUpdater } from "@tsparticles/updater-wobble";
|
|
14
14
|
export async function loadFull(engine) {
|
|
15
|
-
engine.checkVersion("4.
|
|
15
|
+
engine.checkVersion("4.3.1");
|
|
16
16
|
await engine.pluginManager.register(async (e) => {
|
|
17
17
|
const loadEmittersPluginBundle = async (e) => {
|
|
18
18
|
await loadEmittersPlugin(e);
|
package/cjs/index.lazy.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export async function loadFull(engine) {
|
|
2
|
-
engine.checkVersion("4.
|
|
2
|
+
engine.checkVersion("4.3.1");
|
|
3
3
|
await engine.pluginManager.register(async (e) => {
|
|
4
4
|
const [{ loadSlim }, { loadExternalDragInteraction }, { loadExternalTrailInteraction }, { loadAbsorbersPlugin }, { loadEmittersPlugin }, { loadEmittersShapeCircle }, { loadEmittersShapeSquare }, { loadTextShape }, { loadDestroyUpdater }, { loadRollUpdater }, { loadTiltUpdater }, { loadTwinkleUpdater }, { loadWobbleUpdater },] = await Promise.all([
|
|
5
5
|
import("@tsparticles/slim/lazy"),
|
package/esm/index.js
CHANGED
|
@@ -12,7 +12,7 @@ import { loadTiltUpdater } from "@tsparticles/updater-tilt";
|
|
|
12
12
|
import { loadTwinkleUpdater } from "@tsparticles/updater-twinkle";
|
|
13
13
|
import { loadWobbleUpdater } from "@tsparticles/updater-wobble";
|
|
14
14
|
export async function loadFull(engine) {
|
|
15
|
-
engine.checkVersion("4.
|
|
15
|
+
engine.checkVersion("4.3.1");
|
|
16
16
|
await engine.pluginManager.register(async (e) => {
|
|
17
17
|
const loadEmittersPluginBundle = async (e) => {
|
|
18
18
|
await loadEmittersPlugin(e);
|
package/esm/index.lazy.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export async function loadFull(engine) {
|
|
2
|
-
engine.checkVersion("4.
|
|
2
|
+
engine.checkVersion("4.3.1");
|
|
3
3
|
await engine.pluginManager.register(async (e) => {
|
|
4
4
|
const [{ loadSlim }, { loadExternalDragInteraction }, { loadExternalTrailInteraction }, { loadAbsorbersPlugin }, { loadEmittersPlugin }, { loadEmittersShapeCircle }, { loadEmittersShapeSquare }, { loadTextShape }, { loadDestroyUpdater }, { loadRollUpdater }, { loadTiltUpdater }, { loadTwinkleUpdater }, { loadWobbleUpdater },] = await Promise.all([
|
|
5
5
|
import("@tsparticles/slim/lazy"),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tsparticles",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.3.1",
|
|
4
4
|
"description": "Full-featured tsParticles bundle — create stunning particle, confetti and fireworks animations with all official plugins and presets included. 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": {
|
|
@@ -105,20 +105,20 @@
|
|
|
105
105
|
"./package.json": "./package.json"
|
|
106
106
|
},
|
|
107
107
|
"dependencies": {
|
|
108
|
-
"@tsparticles/engine": "4.
|
|
109
|
-
"@tsparticles/interaction-external-drag": "4.
|
|
110
|
-
"@tsparticles/interaction-external-trail": "4.
|
|
111
|
-
"@tsparticles/plugin-absorbers": "4.
|
|
112
|
-
"@tsparticles/plugin-emitters": "4.
|
|
113
|
-
"@tsparticles/plugin-emitters-shape-circle": "4.
|
|
114
|
-
"@tsparticles/plugin-emitters-shape-square": "4.
|
|
115
|
-
"@tsparticles/shape-text": "4.
|
|
116
|
-
"@tsparticles/slim": "4.
|
|
117
|
-
"@tsparticles/updater-destroy": "4.
|
|
118
|
-
"@tsparticles/updater-roll": "4.
|
|
119
|
-
"@tsparticles/updater-tilt": "4.
|
|
120
|
-
"@tsparticles/updater-twinkle": "4.
|
|
121
|
-
"@tsparticles/updater-wobble": "4.
|
|
108
|
+
"@tsparticles/engine": "4.3.1",
|
|
109
|
+
"@tsparticles/interaction-external-drag": "4.3.1",
|
|
110
|
+
"@tsparticles/interaction-external-trail": "4.3.1",
|
|
111
|
+
"@tsparticles/plugin-absorbers": "4.3.1",
|
|
112
|
+
"@tsparticles/plugin-emitters": "4.3.1",
|
|
113
|
+
"@tsparticles/plugin-emitters-shape-circle": "4.3.1",
|
|
114
|
+
"@tsparticles/plugin-emitters-shape-square": "4.3.1",
|
|
115
|
+
"@tsparticles/shape-text": "4.3.1",
|
|
116
|
+
"@tsparticles/slim": "4.3.1",
|
|
117
|
+
"@tsparticles/updater-destroy": "4.3.1",
|
|
118
|
+
"@tsparticles/updater-roll": "4.3.1",
|
|
119
|
+
"@tsparticles/updater-tilt": "4.3.1",
|
|
120
|
+
"@tsparticles/updater-twinkle": "4.3.1",
|
|
121
|
+
"@tsparticles/updater-wobble": "4.3.1"
|
|
122
122
|
},
|
|
123
123
|
"publishConfig": {
|
|
124
124
|
"access": "public"
|