tsparticles 2.3.4 → 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 +6392 -11387
- 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/tsparticles.js
CHANGED
|
@@ -4,18 +4,18 @@
|
|
|
4
4
|
* Demo / Generator : https://particles.js.org/
|
|
5
5
|
* GitHub : https://www.github.com/matteobruni/tsparticles
|
|
6
6
|
* How to use? : Check the GitHub README
|
|
7
|
-
* v2.
|
|
7
|
+
* v2.4.0
|
|
8
8
|
*/
|
|
9
9
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
10
10
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
11
|
-
module.exports = factory(require("tsparticles-plugin-absorbers"), require("tsparticles-updater-destroy"), require("tsparticles-plugin-emitters"), require("tsparticles-interaction-external-trail"), require("tsparticles-
|
|
11
|
+
module.exports = factory(require("tsparticles-plugin-absorbers"), require("tsparticles-updater-destroy"), require("tsparticles-plugin-emitters"), require("tsparticles-interaction-external-trail"), require("tsparticles-updater-roll"), require("tsparticles-slim"), require("tsparticles-updater-tilt"), require("tsparticles-updater-twinkle"), require("tsparticles-updater-wobble"));
|
|
12
12
|
else if(typeof define === 'function' && define.amd)
|
|
13
|
-
define(["tsparticles-plugin-absorbers", "tsparticles-updater-destroy", "tsparticles-plugin-emitters", "tsparticles-interaction-external-trail", "tsparticles-
|
|
13
|
+
define(["tsparticles-plugin-absorbers", "tsparticles-updater-destroy", "tsparticles-plugin-emitters", "tsparticles-interaction-external-trail", "tsparticles-updater-roll", "tsparticles-slim", "tsparticles-updater-tilt", "tsparticles-updater-twinkle", "tsparticles-updater-wobble"], factory);
|
|
14
14
|
else {
|
|
15
|
-
var a = typeof exports === 'object' ? factory(require("tsparticles-plugin-absorbers"), require("tsparticles-updater-destroy"), require("tsparticles-plugin-emitters"), require("tsparticles-interaction-external-trail"), require("tsparticles-
|
|
15
|
+
var a = typeof exports === 'object' ? factory(require("tsparticles-plugin-absorbers"), require("tsparticles-updater-destroy"), require("tsparticles-plugin-emitters"), require("tsparticles-interaction-external-trail"), require("tsparticles-updater-roll"), require("tsparticles-slim"), require("tsparticles-updater-tilt"), require("tsparticles-updater-twinkle"), require("tsparticles-updater-wobble")) : factory(root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"]);
|
|
16
16
|
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
|
17
17
|
}
|
|
18
|
-
})(this, (__WEBPACK_EXTERNAL_MODULE__359__, __WEBPACK_EXTERNAL_MODULE__731__, __WEBPACK_EXTERNAL_MODULE__716__, __WEBPACK_EXTERNAL_MODULE__955__,
|
|
18
|
+
})(this, (__WEBPACK_EXTERNAL_MODULE__359__, __WEBPACK_EXTERNAL_MODULE__731__, __WEBPACK_EXTERNAL_MODULE__716__, __WEBPACK_EXTERNAL_MODULE__955__, __WEBPACK_EXTERNAL_MODULE__852__, __WEBPACK_EXTERNAL_MODULE__353__, __WEBPACK_EXTERNAL_MODULE__95__, __WEBPACK_EXTERNAL_MODULE__765__, __WEBPACK_EXTERNAL_MODULE__585__) => {
|
|
19
19
|
return /******/ (() => { // webpackBootstrap
|
|
20
20
|
/******/ "use strict";
|
|
21
21
|
/******/ var __webpack_modules__ = ({
|
|
@@ -41,13 +41,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__716__;
|
|
|
41
41
|
|
|
42
42
|
/***/ }),
|
|
43
43
|
|
|
44
|
-
/***/ 149:
|
|
45
|
-
/***/ ((module) => {
|
|
46
|
-
|
|
47
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__149__;
|
|
48
|
-
|
|
49
|
-
/***/ }),
|
|
50
|
-
|
|
51
44
|
/***/ 353:
|
|
52
45
|
/***/ ((module) => {
|
|
53
46
|
|
|
@@ -173,19 +166,16 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
173
166
|
/* harmony import */ var tsparticles_plugin_emitters__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(tsparticles_plugin_emitters__WEBPACK_IMPORTED_MODULE_2__);
|
|
174
167
|
/* harmony import */ var tsparticles_interaction_external_trail__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(955);
|
|
175
168
|
/* harmony import */ var tsparticles_interaction_external_trail__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(tsparticles_interaction_external_trail__WEBPACK_IMPORTED_MODULE_3__);
|
|
176
|
-
/* harmony import */ var
|
|
177
|
-
/* harmony import */ var
|
|
178
|
-
/* harmony import */ var
|
|
179
|
-
/* harmony import */ var
|
|
180
|
-
/* harmony import */ var
|
|
181
|
-
/* harmony import */ var
|
|
182
|
-
/* harmony import */ var
|
|
183
|
-
/* harmony import */ var
|
|
184
|
-
/* harmony import */ var
|
|
185
|
-
/* harmony import */ var
|
|
186
|
-
/* harmony import */ var tsparticles_updater_wobble__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(585);
|
|
187
|
-
/* harmony import */ var tsparticles_updater_wobble__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(tsparticles_updater_wobble__WEBPACK_IMPORTED_MODULE_9__);
|
|
188
|
-
|
|
169
|
+
/* harmony import */ var tsparticles_updater_roll__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(852);
|
|
170
|
+
/* harmony import */ var tsparticles_updater_roll__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(tsparticles_updater_roll__WEBPACK_IMPORTED_MODULE_4__);
|
|
171
|
+
/* harmony import */ var tsparticles_slim__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(353);
|
|
172
|
+
/* harmony import */ var tsparticles_slim__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(tsparticles_slim__WEBPACK_IMPORTED_MODULE_5__);
|
|
173
|
+
/* harmony import */ var tsparticles_updater_tilt__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(95);
|
|
174
|
+
/* harmony import */ var tsparticles_updater_tilt__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(tsparticles_updater_tilt__WEBPACK_IMPORTED_MODULE_6__);
|
|
175
|
+
/* harmony import */ var tsparticles_updater_twinkle__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(765);
|
|
176
|
+
/* harmony import */ var tsparticles_updater_twinkle__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(tsparticles_updater_twinkle__WEBPACK_IMPORTED_MODULE_7__);
|
|
177
|
+
/* harmony import */ var tsparticles_updater_wobble__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(585);
|
|
178
|
+
/* harmony import */ var tsparticles_updater_wobble__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(tsparticles_updater_wobble__WEBPACK_IMPORTED_MODULE_8__);
|
|
189
179
|
|
|
190
180
|
|
|
191
181
|
|
|
@@ -196,16 +186,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
196
186
|
|
|
197
187
|
|
|
198
188
|
async function loadFull(engine) {
|
|
199
|
-
await (0,
|
|
189
|
+
await (0,tsparticles_slim__WEBPACK_IMPORTED_MODULE_5__.loadSlim)(engine);
|
|
200
190
|
await (0,tsparticles_updater_destroy__WEBPACK_IMPORTED_MODULE_1__.loadDestroyUpdater)(engine);
|
|
201
|
-
await (0,
|
|
202
|
-
await (0,
|
|
203
|
-
await (0,
|
|
204
|
-
await (0,
|
|
191
|
+
await (0,tsparticles_updater_roll__WEBPACK_IMPORTED_MODULE_4__.loadRollUpdater)(engine);
|
|
192
|
+
await (0,tsparticles_updater_tilt__WEBPACK_IMPORTED_MODULE_6__.loadTiltUpdater)(engine);
|
|
193
|
+
await (0,tsparticles_updater_twinkle__WEBPACK_IMPORTED_MODULE_7__.loadTwinkleUpdater)(engine);
|
|
194
|
+
await (0,tsparticles_updater_wobble__WEBPACK_IMPORTED_MODULE_8__.loadWobbleUpdater)(engine);
|
|
205
195
|
await (0,tsparticles_interaction_external_trail__WEBPACK_IMPORTED_MODULE_3__.loadExternalTrailInteraction)(engine);
|
|
206
196
|
await (0,tsparticles_plugin_absorbers__WEBPACK_IMPORTED_MODULE_0__.loadAbsorbersPlugin)(engine);
|
|
207
197
|
await (0,tsparticles_plugin_emitters__WEBPACK_IMPORTED_MODULE_2__.loadEmittersPlugin)(engine);
|
|
208
|
-
await (0,tsparticles_plugin_polygon_mask__WEBPACK_IMPORTED_MODULE_4__.loadPolygonMaskPlugin)(engine);
|
|
209
198
|
}
|
|
210
199
|
})();
|
|
211
200
|
|
package/tsparticles.min.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see tsparticles.min.js.LICENSE.txt */
|
|
2
|
-
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("tsparticles-plugin-absorbers"),require("tsparticles-updater-destroy"),require("tsparticles-plugin-emitters"),require("tsparticles-interaction-external-trail"),require("tsparticles-
|
|
2
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("tsparticles-plugin-absorbers"),require("tsparticles-updater-destroy"),require("tsparticles-plugin-emitters"),require("tsparticles-interaction-external-trail"),require("tsparticles-updater-roll"),require("tsparticles-slim"),require("tsparticles-updater-tilt"),require("tsparticles-updater-twinkle"),require("tsparticles-updater-wobble"));else if("function"==typeof define&&define.amd)define(["tsparticles-plugin-absorbers","tsparticles-updater-destroy","tsparticles-plugin-emitters","tsparticles-interaction-external-trail","tsparticles-updater-roll","tsparticles-slim","tsparticles-updater-tilt","tsparticles-updater-twinkle","tsparticles-updater-wobble"],t);else{var r="object"==typeof exports?t(require("tsparticles-plugin-absorbers"),require("tsparticles-updater-destroy"),require("tsparticles-plugin-emitters"),require("tsparticles-interaction-external-trail"),require("tsparticles-updater-roll"),require("tsparticles-slim"),require("tsparticles-updater-tilt"),require("tsparticles-updater-twinkle"),require("tsparticles-updater-wobble")):t(e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window);for(var i in r)("object"==typeof exports?exports:e)[i]=r[i]}}(this,((e,t,r,i,a,s,l,o,p)=>(()=>{"use strict";var d={955:e=>{e.exports=i},359:t=>{t.exports=e},716:e=>{e.exports=r},353:e=>{e.exports=s},731:e=>{e.exports=t},852:e=>{e.exports=a},95:e=>{e.exports=l},765:e=>{e.exports=o},585:e=>{e.exports=p}},n={};function u(e){var t=n[e];if(void 0!==t)return t.exports;var r=n[e]={exports:{}};return d[e](r,r.exports,u),r.exports}u.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return u.d(t,{a:t}),t},u.d=(e,t)=>{for(var r in t)u.o(t,r)&&!u.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},u.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),u.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var c={};return(()=>{u.r(c),u.d(c,{loadFull:()=>d});var e=u(359),t=u(731),r=u(716),i=u(955),a=u(852),s=u(353),l=u(95),o=u(765),p=u(585);async function d(d){await(0,s.loadSlim)(d),await(0,t.loadDestroyUpdater)(d),await(0,a.loadRollUpdater)(d),await(0,l.loadTiltUpdater)(d),await(0,o.loadTwinkleUpdater)(d),await(0,p.loadWobbleUpdater)(d),await(0,i.loadExternalTrailInteraction)(d),await(0,e.loadAbsorbersPlugin)(d),await(0,r.loadEmittersPlugin)(d)}})(),c})()));
|
package/umd/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
if (v !== undefined) module.exports = v;
|
|
5
5
|
}
|
|
6
6
|
else if (typeof define === "function" && define.amd) {
|
|
7
|
-
define(["require", "exports", "tsparticles-plugin-absorbers", "tsparticles-updater-destroy", "tsparticles-plugin-emitters", "tsparticles-interaction-external-trail", "tsparticles-
|
|
7
|
+
define(["require", "exports", "tsparticles-plugin-absorbers", "tsparticles-updater-destroy", "tsparticles-plugin-emitters", "tsparticles-interaction-external-trail", "tsparticles-updater-roll", "tsparticles-slim", "tsparticles-updater-tilt", "tsparticles-updater-twinkle", "tsparticles-updater-wobble"], factory);
|
|
8
8
|
}
|
|
9
9
|
})(function (require, exports) {
|
|
10
10
|
"use strict";
|
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
const tsparticles_updater_destroy_1 = require("tsparticles-updater-destroy");
|
|
15
15
|
const tsparticles_plugin_emitters_1 = require("tsparticles-plugin-emitters");
|
|
16
16
|
const tsparticles_interaction_external_trail_1 = require("tsparticles-interaction-external-trail");
|
|
17
|
-
const tsparticles_plugin_polygon_mask_1 = require("tsparticles-plugin-polygon-mask");
|
|
18
17
|
const tsparticles_updater_roll_1 = require("tsparticles-updater-roll");
|
|
19
18
|
const tsparticles_slim_1 = require("tsparticles-slim");
|
|
20
19
|
const tsparticles_updater_tilt_1 = require("tsparticles-updater-tilt");
|
|
@@ -30,7 +29,6 @@
|
|
|
30
29
|
await (0, tsparticles_interaction_external_trail_1.loadExternalTrailInteraction)(engine);
|
|
31
30
|
await (0, tsparticles_plugin_absorbers_1.loadAbsorbersPlugin)(engine);
|
|
32
31
|
await (0, tsparticles_plugin_emitters_1.loadEmittersPlugin)(engine);
|
|
33
|
-
await (0, tsparticles_plugin_polygon_mask_1.loadPolygonMaskPlugin)(engine);
|
|
34
32
|
}
|
|
35
33
|
exports.loadFull = loadFull;
|
|
36
34
|
});
|