tsparticles 2.9.2 → 2.10.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/cjs/index.js +10 -21
- package/package.json +25 -15
- package/report.html +3 -3
- package/tsparticles.bundle.js +3290 -2922
- package/tsparticles.bundle.min.js +1 -1
- package/tsparticles.bundle.min.js.LICENSE.txt +1 -1
- package/tsparticles.js +2 -2
- package/tsparticles.min.js.LICENSE.txt +1 -1
package/cjs/index.js
CHANGED
|
@@ -1,13 +1,4 @@
|
|
|
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
|
-
};
|
|
11
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
3
|
exports.loadFull = void 0;
|
|
13
4
|
const tsparticles_plugin_absorbers_1 = require("tsparticles-plugin-absorbers");
|
|
@@ -19,17 +10,15 @@ const tsparticles_slim_1 = require("tsparticles-slim");
|
|
|
19
10
|
const tsparticles_updater_tilt_1 = require("tsparticles-updater-tilt");
|
|
20
11
|
const tsparticles_updater_twinkle_1 = require("tsparticles-updater-twinkle");
|
|
21
12
|
const tsparticles_updater_wobble_1 = require("tsparticles-updater-wobble");
|
|
22
|
-
function loadFull(engine) {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
yield (0, tsparticles_plugin_emitters_1.loadEmittersPlugin)(engine);
|
|
33
|
-
});
|
|
13
|
+
async function loadFull(engine) {
|
|
14
|
+
await (0, tsparticles_slim_1.loadSlim)(engine);
|
|
15
|
+
await (0, tsparticles_updater_destroy_1.loadDestroyUpdater)(engine);
|
|
16
|
+
await (0, tsparticles_updater_roll_1.loadRollUpdater)(engine);
|
|
17
|
+
await (0, tsparticles_updater_tilt_1.loadTiltUpdater)(engine);
|
|
18
|
+
await (0, tsparticles_updater_twinkle_1.loadTwinkleUpdater)(engine);
|
|
19
|
+
await (0, tsparticles_updater_wobble_1.loadWobbleUpdater)(engine);
|
|
20
|
+
await (0, tsparticles_interaction_external_trail_1.loadExternalTrailInteraction)(engine);
|
|
21
|
+
await (0, tsparticles_plugin_absorbers_1.loadAbsorbersPlugin)(engine);
|
|
22
|
+
await (0, tsparticles_plugin_emitters_1.loadEmittersPlugin)(engine);
|
|
34
23
|
}
|
|
35
24
|
exports.loadFull = loadFull;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tsparticles",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.10.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": {
|
|
@@ -66,25 +66,35 @@
|
|
|
66
66
|
"bugs": {
|
|
67
67
|
"url": "https://github.com/matteobruni/tsparticles/issues"
|
|
68
68
|
},
|
|
69
|
-
"funding":
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
69
|
+
"funding": [
|
|
70
|
+
{
|
|
71
|
+
"type": "github",
|
|
72
|
+
"url": "https://github.com/sponsors/matteobruni"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"type": "github",
|
|
76
|
+
"url": "https://github.com/sponsors/tsparticles"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"type": "buymeacoffee",
|
|
80
|
+
"url": "https://www.buymeacoffee.com/matteobruni"
|
|
81
|
+
}
|
|
82
|
+
],
|
|
73
83
|
"main": "cjs/index.js",
|
|
74
84
|
"module": "esm/index.js",
|
|
75
85
|
"jsdelivr": "tsparticles.bundle.min.js",
|
|
76
86
|
"unpkg": "tsparticles.bundle.min.js",
|
|
77
87
|
"types": "types/index.d.ts",
|
|
78
88
|
"dependencies": {
|
|
79
|
-
"tsparticles-engine": "^2.
|
|
80
|
-
"tsparticles-interaction-external-trail": "^2.
|
|
81
|
-
"tsparticles-plugin-absorbers": "^2.
|
|
82
|
-
"tsparticles-plugin-emitters": "^2.
|
|
83
|
-
"tsparticles-slim": "^2.
|
|
84
|
-
"tsparticles-updater-destroy": "^2.
|
|
85
|
-
"tsparticles-updater-roll": "^2.
|
|
86
|
-
"tsparticles-updater-tilt": "^2.
|
|
87
|
-
"tsparticles-updater-twinkle": "^2.
|
|
88
|
-
"tsparticles-updater-wobble": "^2.
|
|
89
|
+
"tsparticles-engine": "^2.10.0",
|
|
90
|
+
"tsparticles-interaction-external-trail": "^2.10.0",
|
|
91
|
+
"tsparticles-plugin-absorbers": "^2.10.0",
|
|
92
|
+
"tsparticles-plugin-emitters": "^2.10.0",
|
|
93
|
+
"tsparticles-slim": "^2.10.0",
|
|
94
|
+
"tsparticles-updater-destroy": "^2.10.0",
|
|
95
|
+
"tsparticles-updater-roll": "^2.10.0",
|
|
96
|
+
"tsparticles-updater-tilt": "^2.10.0",
|
|
97
|
+
"tsparticles-updater-twinkle": "^2.10.0",
|
|
98
|
+
"tsparticles-updater-wobble": "^2.10.0"
|
|
89
99
|
}
|
|
90
100
|
}
|