tsparticles 3.0.0 → 3.0.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.
@@ -4,7 +4,7 @@
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
- * v3.0.0
7
+ * v3.0.1
8
8
  */
9
9
  (function webpackUniversalModuleDefinition(root, factory) {
10
10
  if(typeof exports === 'object' && typeof module === 'object')
@@ -4258,7 +4258,7 @@ class Particles {
4258
4258
  if (!options.number.density?.enable) {
4259
4259
  if (group === undefined) {
4260
4260
  this._limit = numberOptions.limit.value;
4261
- } else {
4261
+ } else if (numberOptions.limit) {
4262
4262
  this._groupLimits.set(group, numberOptions.limit.value);
4263
4263
  }
4264
4264
  return;
@@ -5147,7 +5147,7 @@ class Engine {
5147
5147
  return res;
5148
5148
  }
5149
5149
  get version() {
5150
- return "3.0.0";
5150
+ return "3.0.1";
5151
5151
  }
5152
5152
  addConfig(config) {
5153
5153
  const name = config.name ?? "default";