tsparticles 2.3.3 → 2.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/README.md +0 -1
- package/browser/index.js +0 -2
- package/cjs/index.js +21 -12
- package/esm/index.js +0 -2
- package/package.json +11 -12
- package/report.html +5 -4
- package/tsparticles.bundle.js +6457 -11444
- package/tsparticles.bundle.min.js +1 -1
- package/tsparticles.bundle.min.js.LICENSE.txt +1 -1
- package/tsparticles.js +20 -31
- package/tsparticles.min.js +1 -1
- package/tsparticles.min.js.LICENSE.txt +1 -1
- package/umd/index.js +1 -3
package/README.md
CHANGED
|
@@ -14,7 +14,6 @@ a `tsparticles-engine` instance.
|
|
|
14
14
|
- [tsparticles-interaction-external-trail](https://github.com/matteobruni/tsparticles/tree/main/interactions/external/trail)
|
|
15
15
|
- [tsparticles-plugin-absorbers](https://github.com/matteobruni/tsparticles/tree/main/plugins/absorbers)
|
|
16
16
|
- [tsparticles-plugin-emitters](https://github.com/matteobruni/tsparticles/tree/main/plugins/emitters)
|
|
17
|
-
- [tsparticles-plugin-polygon-mask](https://github.com/matteobruni/tsparticles/tree/main/plugins/polygonMask)
|
|
18
17
|
- [tsparticles-updater-roll](https://github.com/matteobruni/tsparticles/tree/main/updaters/roll)
|
|
19
18
|
- [tsparticles-updater-tilt](https://github.com/matteobruni/tsparticles/tree/main/updaters/tilt)
|
|
20
19
|
- [tsparticles-updater-wobble](https://github.com/matteobruni/tsparticles/tree/main/updaters/wobble)
|
package/browser/index.js
CHANGED
|
@@ -2,7 +2,6 @@ import { loadAbsorbersPlugin } from "tsparticles-plugin-absorbers";
|
|
|
2
2
|
import { loadDestroyUpdater } from "tsparticles-updater-destroy";
|
|
3
3
|
import { loadEmittersPlugin } from "tsparticles-plugin-emitters";
|
|
4
4
|
import { loadExternalTrailInteraction } from "tsparticles-interaction-external-trail";
|
|
5
|
-
import { loadPolygonMaskPlugin } from "tsparticles-plugin-polygon-mask";
|
|
6
5
|
import { loadRollUpdater } from "tsparticles-updater-roll";
|
|
7
6
|
import { loadSlim } from "tsparticles-slim";
|
|
8
7
|
import { loadTiltUpdater } from "tsparticles-updater-tilt";
|
|
@@ -18,5 +17,4 @@ export async function loadFull(engine) {
|
|
|
18
17
|
await loadExternalTrailInteraction(engine);
|
|
19
18
|
await loadAbsorbersPlugin(engine);
|
|
20
19
|
await loadEmittersPlugin(engine);
|
|
21
|
-
await loadPolygonMaskPlugin(engine);
|
|
22
20
|
}
|
package/cjs/index.js
CHANGED
|
@@ -1,26 +1,35 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
2
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
12
|
exports.loadFull = void 0;
|
|
4
13
|
const tsparticles_plugin_absorbers_1 = require("tsparticles-plugin-absorbers");
|
|
5
14
|
const tsparticles_updater_destroy_1 = require("tsparticles-updater-destroy");
|
|
6
15
|
const tsparticles_plugin_emitters_1 = require("tsparticles-plugin-emitters");
|
|
7
16
|
const tsparticles_interaction_external_trail_1 = require("tsparticles-interaction-external-trail");
|
|
8
|
-
const tsparticles_plugin_polygon_mask_1 = require("tsparticles-plugin-polygon-mask");
|
|
9
17
|
const tsparticles_updater_roll_1 = require("tsparticles-updater-roll");
|
|
10
18
|
const tsparticles_slim_1 = require("tsparticles-slim");
|
|
11
19
|
const tsparticles_updater_tilt_1 = require("tsparticles-updater-tilt");
|
|
12
20
|
const tsparticles_updater_twinkle_1 = require("tsparticles-updater-twinkle");
|
|
13
21
|
const tsparticles_updater_wobble_1 = require("tsparticles-updater-wobble");
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
function loadFull(engine) {
|
|
23
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
24
|
+
yield (0, tsparticles_slim_1.loadSlim)(engine);
|
|
25
|
+
yield (0, tsparticles_updater_destroy_1.loadDestroyUpdater)(engine);
|
|
26
|
+
yield (0, tsparticles_updater_roll_1.loadRollUpdater)(engine);
|
|
27
|
+
yield (0, tsparticles_updater_tilt_1.loadTiltUpdater)(engine);
|
|
28
|
+
yield (0, tsparticles_updater_twinkle_1.loadTwinkleUpdater)(engine);
|
|
29
|
+
yield (0, tsparticles_updater_wobble_1.loadWobbleUpdater)(engine);
|
|
30
|
+
yield (0, tsparticles_interaction_external_trail_1.loadExternalTrailInteraction)(engine);
|
|
31
|
+
yield (0, tsparticles_plugin_absorbers_1.loadAbsorbersPlugin)(engine);
|
|
32
|
+
yield (0, tsparticles_plugin_emitters_1.loadEmittersPlugin)(engine);
|
|
33
|
+
});
|
|
25
34
|
}
|
|
26
35
|
exports.loadFull = loadFull;
|
package/esm/index.js
CHANGED
|
@@ -2,7 +2,6 @@ import { loadAbsorbersPlugin } from "tsparticles-plugin-absorbers";
|
|
|
2
2
|
import { loadDestroyUpdater } from "tsparticles-updater-destroy";
|
|
3
3
|
import { loadEmittersPlugin } from "tsparticles-plugin-emitters";
|
|
4
4
|
import { loadExternalTrailInteraction } from "tsparticles-interaction-external-trail";
|
|
5
|
-
import { loadPolygonMaskPlugin } from "tsparticles-plugin-polygon-mask";
|
|
6
5
|
import { loadRollUpdater } from "tsparticles-updater-roll";
|
|
7
6
|
import { loadSlim } from "tsparticles-slim";
|
|
8
7
|
import { loadTiltUpdater } from "tsparticles-updater-tilt";
|
|
@@ -18,5 +17,4 @@ export async function loadFull(engine) {
|
|
|
18
17
|
await loadExternalTrailInteraction(engine);
|
|
19
18
|
await loadAbsorbersPlugin(engine);
|
|
20
19
|
await loadEmittersPlugin(engine);
|
|
21
|
-
await loadPolygonMaskPlugin(engine);
|
|
22
20
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tsparticles",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.0",
|
|
4
4
|
"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.",
|
|
5
5
|
"homepage": "https://particles.js.org",
|
|
6
6
|
"repository": {
|
|
@@ -76,16 +76,15 @@
|
|
|
76
76
|
"unpkg": "tsparticles.min.js",
|
|
77
77
|
"types": "types/index.d.ts",
|
|
78
78
|
"dependencies": {
|
|
79
|
-
"tsparticles-engine": "^2.
|
|
80
|
-
"tsparticles-interaction-external-trail": "^2.
|
|
81
|
-
"tsparticles-plugin-absorbers": "^2.
|
|
82
|
-
"tsparticles-plugin-emitters": "^2.
|
|
83
|
-
"tsparticles-
|
|
84
|
-
"tsparticles-
|
|
85
|
-
"tsparticles-updater-
|
|
86
|
-
"tsparticles-updater-
|
|
87
|
-
"tsparticles-updater-
|
|
88
|
-
"tsparticles-updater-
|
|
89
|
-
"tsparticles-updater-wobble": "^2.3.3"
|
|
79
|
+
"tsparticles-engine": "^2.4.0",
|
|
80
|
+
"tsparticles-interaction-external-trail": "^2.4.0",
|
|
81
|
+
"tsparticles-plugin-absorbers": "^2.4.0",
|
|
82
|
+
"tsparticles-plugin-emitters": "^2.4.0",
|
|
83
|
+
"tsparticles-slim": "^2.4.0",
|
|
84
|
+
"tsparticles-updater-destroy": "^2.4.0",
|
|
85
|
+
"tsparticles-updater-roll": "^2.4.0",
|
|
86
|
+
"tsparticles-updater-tilt": "^2.4.0",
|
|
87
|
+
"tsparticles-updater-twinkle": "^2.4.0",
|
|
88
|
+
"tsparticles-updater-wobble": "^2.4.0"
|
|
90
89
|
}
|
|
91
90
|
}
|