@tsparticles/ribbons 4.1.1 → 4.1.2

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/browser/bundle.js CHANGED
@@ -1,5 +1,7 @@
1
1
  import { ribbons } from "./index.js";
2
+ import { tsParticles } from "@tsparticles/engine";
2
3
  export * from "./index.js";
3
4
  export * from "@tsparticles/engine";
4
5
  const globalObject = globalThis;
5
6
  globalObject.ribbons = ribbons;
7
+ globalObject.tsParticles = tsParticles;
@@ -8,7 +8,7 @@ import { loadRibbonShape } from "@tsparticles/shape-ribbon";
8
8
  import { setRibbons } from "./utils.js";
9
9
  let initPromise = null;
10
10
  async function doInitPlugins(engine) {
11
- engine.checkVersion("4.1.1");
11
+ engine.checkVersion("4.1.2");
12
12
  await engine.pluginManager.register(async (e) => {
13
13
  const emittersRegister = async (engine) => {
14
14
  await loadEmittersPluginSimple(engine);
@@ -75,5 +75,5 @@ ribbons.create = async (canvas, options = {}) => {
75
75
  ribbons.init = async () => {
76
76
  await initPlugins(tsParticles);
77
77
  };
78
- ribbons.version = "4.1.1";
78
+ ribbons.version = "4.1.2";
79
79
  globalThis.ribbons = ribbons;
@@ -2,7 +2,7 @@ import { isString, tsParticles } from "@tsparticles/engine/lazy";
2
2
  import { setRibbons } from "./utils.js";
3
3
  let initPromise = null;
4
4
  async function doInitPlugins(engine) {
5
- engine.checkVersion("4.1.1");
5
+ engine.checkVersion("4.1.2");
6
6
  await engine.pluginManager.register(async (e) => {
7
7
  const [{ loadBasic }, { loadEmittersPluginSimple }, { loadEmittersShapeSquare }, { loadMotionPlugin }, { loadRibbonShape }, { loadLifeUpdater },] = await Promise.all([
8
8
  import("@tsparticles/basic/lazy"),
@@ -76,5 +76,5 @@ ribbons.create = async (canvas, options = {}) => {
76
76
  ribbons.init = async () => {
77
77
  await initPlugins(tsParticles);
78
78
  };
79
- ribbons.version = "4.1.1";
79
+ ribbons.version = "4.1.2";
80
80
  globalThis.ribbons = ribbons;
package/cjs/bundle.js CHANGED
@@ -1,5 +1,7 @@
1
1
  import { ribbons } from "./index.js";
2
+ import { tsParticles } from "@tsparticles/engine";
2
3
  export * from "./index.js";
3
4
  export * from "@tsparticles/engine";
4
5
  const globalObject = globalThis;
5
6
  globalObject.ribbons = ribbons;
7
+ globalObject.tsParticles = tsParticles;
package/cjs/ribbons.js CHANGED
@@ -8,7 +8,7 @@ import { loadRibbonShape } from "@tsparticles/shape-ribbon";
8
8
  import { setRibbons } from "./utils.js";
9
9
  let initPromise = null;
10
10
  async function doInitPlugins(engine) {
11
- engine.checkVersion("4.1.1");
11
+ engine.checkVersion("4.1.2");
12
12
  await engine.pluginManager.register(async (e) => {
13
13
  const emittersRegister = async (engine) => {
14
14
  await loadEmittersPluginSimple(engine);
@@ -75,5 +75,5 @@ ribbons.create = async (canvas, options = {}) => {
75
75
  ribbons.init = async () => {
76
76
  await initPlugins(tsParticles);
77
77
  };
78
- ribbons.version = "4.1.1";
78
+ ribbons.version = "4.1.2";
79
79
  globalThis.ribbons = ribbons;
@@ -2,7 +2,7 @@ import { isString, tsParticles } from "@tsparticles/engine/lazy";
2
2
  import { setRibbons } from "./utils.js";
3
3
  let initPromise = null;
4
4
  async function doInitPlugins(engine) {
5
- engine.checkVersion("4.1.1");
5
+ engine.checkVersion("4.1.2");
6
6
  await engine.pluginManager.register(async (e) => {
7
7
  const [{ loadBasic }, { loadEmittersPluginSimple }, { loadEmittersShapeSquare }, { loadMotionPlugin }, { loadRibbonShape }, { loadLifeUpdater },] = await Promise.all([
8
8
  import("@tsparticles/basic/lazy"),
@@ -76,5 +76,5 @@ ribbons.create = async (canvas, options = {}) => {
76
76
  ribbons.init = async () => {
77
77
  await initPlugins(tsParticles);
78
78
  };
79
- ribbons.version = "4.1.1";
79
+ ribbons.version = "4.1.2";
80
80
  globalThis.ribbons = ribbons;
package/esm/bundle.js CHANGED
@@ -1,5 +1,7 @@
1
1
  import { ribbons } from "./index.js";
2
+ import { tsParticles } from "@tsparticles/engine";
2
3
  export * from "./index.js";
3
4
  export * from "@tsparticles/engine";
4
5
  const globalObject = globalThis;
5
6
  globalObject.ribbons = ribbons;
7
+ globalObject.tsParticles = tsParticles;
package/esm/ribbons.js CHANGED
@@ -8,7 +8,7 @@ import { loadRibbonShape } from "@tsparticles/shape-ribbon";
8
8
  import { setRibbons } from "./utils.js";
9
9
  let initPromise = null;
10
10
  async function doInitPlugins(engine) {
11
- engine.checkVersion("4.1.1");
11
+ engine.checkVersion("4.1.2");
12
12
  await engine.pluginManager.register(async (e) => {
13
13
  const emittersRegister = async (engine) => {
14
14
  await loadEmittersPluginSimple(engine);
@@ -75,5 +75,5 @@ ribbons.create = async (canvas, options = {}) => {
75
75
  ribbons.init = async () => {
76
76
  await initPlugins(tsParticles);
77
77
  };
78
- ribbons.version = "4.1.1";
78
+ ribbons.version = "4.1.2";
79
79
  globalThis.ribbons = ribbons;
@@ -2,7 +2,7 @@ import { isString, tsParticles } from "@tsparticles/engine/lazy";
2
2
  import { setRibbons } from "./utils.js";
3
3
  let initPromise = null;
4
4
  async function doInitPlugins(engine) {
5
- engine.checkVersion("4.1.1");
5
+ engine.checkVersion("4.1.2");
6
6
  await engine.pluginManager.register(async (e) => {
7
7
  const [{ loadBasic }, { loadEmittersPluginSimple }, { loadEmittersShapeSquare }, { loadMotionPlugin }, { loadRibbonShape }, { loadLifeUpdater },] = await Promise.all([
8
8
  import("@tsparticles/basic/lazy"),
@@ -76,5 +76,5 @@ ribbons.create = async (canvas, options = {}) => {
76
76
  ribbons.init = async () => {
77
77
  await initPlugins(tsParticles);
78
78
  };
79
- ribbons.version = "4.1.1";
79
+ ribbons.version = "4.1.2";
80
80
  globalThis.ribbons = ribbons;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsparticles/ribbons",
3
- "version": "4.1.1",
3
+ "version": "4.1.2",
4
4
  "description": "Easily create ready to use animated ribbons effects.",
5
5
  "homepage": "https://particles.js.org",
6
6
  "repository": {
@@ -73,13 +73,13 @@
73
73
  "./package.json": "./package.json"
74
74
  },
75
75
  "dependencies": {
76
- "@tsparticles/basic": "4.1.1",
77
- "@tsparticles/engine": "4.1.1",
78
- "@tsparticles/plugin-emitters": "4.1.1",
79
- "@tsparticles/plugin-emitters-shape-square": "4.1.1",
80
- "@tsparticles/plugin-motion": "4.1.1",
81
- "@tsparticles/shape-ribbon": "4.1.1",
82
- "@tsparticles/updater-life": "4.1.1"
76
+ "@tsparticles/basic": "4.1.2",
77
+ "@tsparticles/engine": "4.1.2",
78
+ "@tsparticles/plugin-emitters": "4.1.2",
79
+ "@tsparticles/plugin-emitters-shape-square": "4.1.2",
80
+ "@tsparticles/plugin-motion": "4.1.2",
81
+ "@tsparticles/shape-ribbon": "4.1.2",
82
+ "@tsparticles/updater-life": "4.1.2"
83
83
  },
84
84
  "publishConfig": {
85
85
  "access": "public"