@tsparticles/pjs 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 +3 -9
- package/browser/index.js +1 -1
- package/browser/index.lazy.js +1 -1
- package/cjs/index.js +1 -1
- package/cjs/index.lazy.js +1 -1
- package/esm/index.js +1 -1
- package/esm/index.lazy.js +1 -1
- package/package.json +4 -4
- package/report.html +1 -1
- package/tsparticles.pjs.bundle.js +371 -688
- package/tsparticles.pjs.bundle.min.js +1 -1
- package/tsparticles.pjs.js +2 -2
- package/tsparticles.pjs.min.js +1 -1
package/README.md
CHANGED
|
@@ -86,9 +86,7 @@ import { initPjs } from "@tsparticles/pjs";
|
|
|
86
86
|
|
|
87
87
|
await initPjs(tsParticles);
|
|
88
88
|
|
|
89
|
-
await globalThis.particlesJS("tsparticles", {
|
|
90
|
-
/* particles.js-style options */
|
|
91
|
-
});
|
|
89
|
+
await globalThis.particlesJS("tsparticles", {/* particles.js-style options */});
|
|
92
90
|
```
|
|
93
91
|
|
|
94
92
|
### CDN / Vanilla JS / jQuery
|
|
@@ -117,9 +115,7 @@ Using `particlesJS` compatibility:
|
|
|
117
115
|
(async engine => {
|
|
118
116
|
await initPjs(engine);
|
|
119
117
|
|
|
120
|
-
particlesJS("tsparticles", {
|
|
121
|
-
/* options */
|
|
122
|
-
});
|
|
118
|
+
particlesJS("tsparticles", {/* options */});
|
|
123
119
|
})(tsParticles);
|
|
124
120
|
```
|
|
125
121
|
|
|
@@ -129,9 +125,7 @@ Using `Particles` compatibility:
|
|
|
129
125
|
(async engine => {
|
|
130
126
|
await initPjs(engine);
|
|
131
127
|
|
|
132
|
-
Particles.init({
|
|
133
|
-
/* options */
|
|
134
|
-
});
|
|
128
|
+
Particles.init({/* options */});
|
|
135
129
|
})(tsParticles);
|
|
136
130
|
```
|
|
137
131
|
|
package/browser/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { initParticlesJS } from "./VincentGarreau/particles.js";
|
|
|
3
3
|
import { loadFull } from "tsparticles";
|
|
4
4
|
import { loadResponsivePlugin } from "@tsparticles/plugin-responsive";
|
|
5
5
|
const initPjs = async (engine) => {
|
|
6
|
-
engine.checkVersion("4.
|
|
6
|
+
engine.checkVersion("4.3.1");
|
|
7
7
|
await engine.pluginManager.register(async (e) => {
|
|
8
8
|
await Promise.all([loadFull(e), loadResponsivePlugin(e)]);
|
|
9
9
|
});
|
package/browser/index.lazy.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MBParticles } from "./marcbruederlin/Particles.js";
|
|
2
2
|
import { initParticlesJS } from "./VincentGarreau/particles.js";
|
|
3
3
|
const initPjs = async (engine) => {
|
|
4
|
-
engine.checkVersion("4.
|
|
4
|
+
engine.checkVersion("4.3.1");
|
|
5
5
|
await engine.pluginManager.register(async (e) => {
|
|
6
6
|
const [{ loadFull }, { loadResponsivePlugin },] = await Promise.all([
|
|
7
7
|
import("tsparticles"),
|
package/cjs/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { initParticlesJS } from "./VincentGarreau/particles.js";
|
|
|
3
3
|
import { loadFull } from "tsparticles";
|
|
4
4
|
import { loadResponsivePlugin } from "@tsparticles/plugin-responsive";
|
|
5
5
|
const initPjs = async (engine) => {
|
|
6
|
-
engine.checkVersion("4.
|
|
6
|
+
engine.checkVersion("4.3.1");
|
|
7
7
|
await engine.pluginManager.register(async (e) => {
|
|
8
8
|
await Promise.all([loadFull(e), loadResponsivePlugin(e)]);
|
|
9
9
|
});
|
package/cjs/index.lazy.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MBParticles } from "./marcbruederlin/Particles.js";
|
|
2
2
|
import { initParticlesJS } from "./VincentGarreau/particles.js";
|
|
3
3
|
const initPjs = async (engine) => {
|
|
4
|
-
engine.checkVersion("4.
|
|
4
|
+
engine.checkVersion("4.3.1");
|
|
5
5
|
await engine.pluginManager.register(async (e) => {
|
|
6
6
|
const [{ loadFull }, { loadResponsivePlugin },] = await Promise.all([
|
|
7
7
|
import("tsparticles"),
|
package/esm/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { initParticlesJS } from "./VincentGarreau/particles.js";
|
|
|
3
3
|
import { loadFull } from "tsparticles";
|
|
4
4
|
import { loadResponsivePlugin } from "@tsparticles/plugin-responsive";
|
|
5
5
|
const initPjs = async (engine) => {
|
|
6
|
-
engine.checkVersion("4.
|
|
6
|
+
engine.checkVersion("4.3.1");
|
|
7
7
|
await engine.pluginManager.register(async (e) => {
|
|
8
8
|
await Promise.all([loadFull(e), loadResponsivePlugin(e)]);
|
|
9
9
|
});
|
package/esm/index.lazy.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MBParticles } from "./marcbruederlin/Particles.js";
|
|
2
2
|
import { initParticlesJS } from "./VincentGarreau/particles.js";
|
|
3
3
|
const initPjs = async (engine) => {
|
|
4
|
-
engine.checkVersion("4.
|
|
4
|
+
engine.checkVersion("4.3.1");
|
|
5
5
|
await engine.pluginManager.register(async (e) => {
|
|
6
6
|
const [{ loadFull }, { loadResponsivePlugin },] = await Promise.all([
|
|
7
7
|
import("tsparticles"),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsparticles/pjs",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.3.1",
|
|
4
4
|
"description": "tsParticles particles.js compatibility layer — drop-in replacement for particles.js with full API compatibility and enhanced features. Ready to use components available 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": {
|
|
@@ -98,9 +98,9 @@
|
|
|
98
98
|
"./package.json": "./package.json"
|
|
99
99
|
},
|
|
100
100
|
"dependencies": {
|
|
101
|
-
"@tsparticles/engine": "4.
|
|
102
|
-
"@tsparticles/plugin-responsive": "4.
|
|
103
|
-
"tsparticles": "4.
|
|
101
|
+
"@tsparticles/engine": "4.3.1",
|
|
102
|
+
"@tsparticles/plugin-responsive": "4.3.1",
|
|
103
|
+
"tsparticles": "4.3.1"
|
|
104
104
|
},
|
|
105
105
|
"publishConfig": {
|
|
106
106
|
"access": "public"
|