@tsparticles/canvas-utils 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 CHANGED
@@ -36,9 +36,7 @@ Once the scripts are loaded you can set up `tsParticles` and the canvas utils li
36
36
 
37
37
  await tsParticles.load({
38
38
  id: "tsparticles",
39
- options: {
40
- /* options */
41
- },
39
+ options: {/* options */},
42
40
  });
43
41
  })();
44
42
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsparticles/canvas-utils",
3
- "version": "4.2.1",
3
+ "version": "4.3.1",
4
4
  "description": "tsParticles canvas utils library",
5
5
  "homepage": "https://particles.js.org",
6
6
  "repository": {
@@ -109,7 +109,7 @@
109
109
  "./package.json": "./package.json"
110
110
  },
111
111
  "peerDependencies": {
112
- "@tsparticles/engine": "4.2.1"
112
+ "@tsparticles/engine": "4.3.1"
113
113
  },
114
114
  "type": "module"
115
115
  }
package/report.html CHANGED
@@ -4930,7 +4930,7 @@ var drawChart = (function (exports) {
4930
4930
  </script>
4931
4931
  <script>
4932
4932
  /*<!--*/
4933
- const data = {"version":2,"tree":{"name":"root","children":[{"name":"tsparticles.canvas.utils.js","children":[{"name":"dist/browser","children":[{"uid":"9dd2968e-1","name":"Utils.js"},{"uid":"9dd2968e-3","name":"browser.js"}]}]}],"isRoot":true},"nodeParts":{"9dd2968e-1":{"renderedLength":4664,"gzipLength":0,"brotliLength":0,"metaUid":"9dd2968e-0"},"9dd2968e-3":{"renderedLength":121,"gzipLength":0,"brotliLength":0,"metaUid":"9dd2968e-2"}},"nodeMetas":{"9dd2968e-0":{"id":"/dist/browser/Utils.js","moduleParts":{"tsparticles.canvas.utils.js":"9dd2968e-1"},"imported":[{"uid":"9dd2968e-5"}],"importedBy":[{"uid":"9dd2968e-4"}]},"9dd2968e-2":{"id":"/dist/browser/browser.js","moduleParts":{"tsparticles.canvas.utils.js":"9dd2968e-3"},"imported":[{"uid":"9dd2968e-4"}],"importedBy":[],"isEntry":true},"9dd2968e-4":{"id":"/dist/browser/index.js","moduleParts":{},"imported":[{"uid":"9dd2968e-0"}],"importedBy":[{"uid":"9dd2968e-2"}]},"9dd2968e-5":{"id":"@tsparticles/engine","moduleParts":{},"imported":[],"importedBy":[{"uid":"9dd2968e-0"}],"isExternal":true}},"env":{"rollup":"4.62.0"},"options":{"gzip":false,"brotli":false,"sourcemap":false}};
4933
+ const data = {"version":2,"tree":{"name":"root","children":[{"name":"tsparticles.canvas.utils.js","children":[{"name":"dist/browser","children":[{"uid":"a81ac9c8-1","name":"Utils.js"},{"uid":"a81ac9c8-3","name":"browser.js"}]}]}],"isRoot":true},"nodeParts":{"a81ac9c8-1":{"renderedLength":4664,"gzipLength":0,"brotliLength":0,"metaUid":"a81ac9c8-0"},"a81ac9c8-3":{"renderedLength":121,"gzipLength":0,"brotliLength":0,"metaUid":"a81ac9c8-2"}},"nodeMetas":{"a81ac9c8-0":{"id":"/dist/browser/Utils.js","moduleParts":{"tsparticles.canvas.utils.js":"a81ac9c8-1"},"imported":[{"uid":"a81ac9c8-5"}],"importedBy":[{"uid":"a81ac9c8-4"}]},"a81ac9c8-2":{"id":"/dist/browser/browser.js","moduleParts":{"tsparticles.canvas.utils.js":"a81ac9c8-3"},"imported":[{"uid":"a81ac9c8-4"}],"importedBy":[],"isEntry":true},"a81ac9c8-4":{"id":"/dist/browser/index.js","moduleParts":{},"imported":[{"uid":"a81ac9c8-0"}],"importedBy":[{"uid":"a81ac9c8-2"}]},"a81ac9c8-5":{"id":"@tsparticles/engine","moduleParts":{},"imported":[],"importedBy":[{"uid":"a81ac9c8-0"}],"isExternal":true}},"env":{"rollup":"4.62.2"},"options":{"gzip":false,"brotli":false,"sourcemap":false}};
4934
4934
 
4935
4935
  const run = () => {
4936
4936
  const width = window.innerWidth;
@@ -1,5 +1,5 @@
1
1
  (function(g){g.__tsParticlesInternals=g.__tsParticlesInternals||{};g.__tsParticlesInternals.bundles=g.__tsParticlesInternals.bundles||{};g.__tsParticlesInternals.effects=g.__tsParticlesInternals.effects||{};g.__tsParticlesInternals.engine=g.__tsParticlesInternals.engine||{};g.__tsParticlesInternals.interactions=g.__tsParticlesInternals.interactions||{};g.__tsParticlesInternals.palettes=g.__tsParticlesInternals.palettes||{};g.__tsParticlesInternals.paths=g.__tsParticlesInternals.paths||{};g.__tsParticlesInternals.plugins=g.__tsParticlesInternals.plugins||{};g.__tsParticlesInternals.plugins=g.__tsParticlesInternals.plugins||{};g.__tsParticlesInternals.plugins.emittersShapes=g.__tsParticlesInternals.plugins.emittersShapes||{};g.__tsParticlesInternals.presets=g.__tsParticlesInternals.presets||{};g.__tsParticlesInternals.shapes=g.__tsParticlesInternals.shapes||{};g.__tsParticlesInternals.updaters=g.__tsParticlesInternals.updaters||{};g.__tsParticlesInternals.utils=g.__tsParticlesInternals.utils||{};g.__tsParticlesInternals.canvas=g.__tsParticlesInternals.canvas||{};g.__tsParticlesInternals.canvas=g.__tsParticlesInternals.canvas||{};g.__tsParticlesInternals.canvas.utils=g.__tsParticlesInternals.canvas.utils||{};g.__tsParticlesInternals.path=g.__tsParticlesInternals.path||{};g.__tsParticlesInternals.path=g.__tsParticlesInternals.path||{};g.__tsParticlesInternals.path.utils=g.__tsParticlesInternals.path.utils||{};var __tsProxyFactory=typeof Proxy!=="undefined"?function(obj){return new Proxy(obj,{get:function(target,key){if(!(key in target)){target[key]={};}return target[key];}});}:function(obj){return obj;};g.__tsParticlesInternals.bundles=__tsProxyFactory(g.__tsParticlesInternals.bundles);g.__tsParticlesInternals.effects=__tsProxyFactory(g.__tsParticlesInternals.effects);g.__tsParticlesInternals.interactions=__tsProxyFactory(g.__tsParticlesInternals.interactions);g.__tsParticlesInternals.palettes=__tsProxyFactory(g.__tsParticlesInternals.palettes);g.__tsParticlesInternals.paths=__tsProxyFactory(g.__tsParticlesInternals.paths);g.__tsParticlesInternals.plugins=__tsProxyFactory(g.__tsParticlesInternals.plugins);g.__tsParticlesInternals.plugins.emittersShapes=__tsProxyFactory(g.__tsParticlesInternals.plugins.emittersShapes);g.__tsParticlesInternals.presets=__tsProxyFactory(g.__tsParticlesInternals.presets);g.__tsParticlesInternals.shapes=__tsProxyFactory(g.__tsParticlesInternals.shapes);g.__tsParticlesInternals.updaters=__tsProxyFactory(g.__tsParticlesInternals.updaters);g.__tsParticlesInternals.utils=__tsProxyFactory(g.__tsParticlesInternals.utils);g.__tsParticlesInternals.canvas=__tsProxyFactory(g.__tsParticlesInternals.canvas);g.__tsParticlesInternals.path=__tsProxyFactory(g.__tsParticlesInternals.path);g.tsparticlesInternalExports=g.tsparticlesInternalExports||{};})(typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:this);
2
- /* Utility v4.2.1 */
2
+ /* Utility v4.3.1 */
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@tsparticles/engine')) :
5
5
  typeof define === 'function' && define.amd ? define(['exports', '@tsparticles/engine'], factory) :