Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tsparticles/basic

Package Overview
Dependencies
Maintainers
2
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tsparticles/basic - npm Package Compare versions

Comparing version 3.6.0 to 3.7.0

8

browser/index.js

@@ -0,8 +1,16 @@

import { assertValidVersion } from "@tsparticles/engine";
import { loadBaseMover } from "@tsparticles/move-base";
import { loadCircleShape } from "@tsparticles/shape-circle";
import { loadColorUpdater } from "@tsparticles/updater-color";
import { loadHexColorPlugin } from "@tsparticles/plugin-hex-color";
import { loadHslColorPlugin } from "@tsparticles/plugin-hsl-color";
import { loadOpacityUpdater } from "@tsparticles/updater-opacity";
import { loadOutModesUpdater } from "@tsparticles/updater-out-modes";
import { loadRgbColorPlugin } from "@tsparticles/plugin-rgb-color";
import { loadSizeUpdater } from "@tsparticles/updater-size";
export async function loadBasic(engine, refresh = true) {
assertValidVersion(engine, "3.7.0");
await loadHexColorPlugin(engine, false);
await loadHslColorPlugin(engine, false);
await loadRgbColorPlugin(engine, false);
await loadBaseMover(engine, false);

@@ -9,0 +17,0 @@ await loadCircleShape(engine, false);

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.loadBasic = loadBasic;
const engine_1 = require("@tsparticles/engine");
const move_base_1 = require("@tsparticles/move-base");
const shape_circle_1 = require("@tsparticles/shape-circle");
const updater_color_1 = require("@tsparticles/updater-color");
const plugin_hex_color_1 = require("@tsparticles/plugin-hex-color");
const plugin_hsl_color_1 = require("@tsparticles/plugin-hsl-color");
const updater_opacity_1 = require("@tsparticles/updater-opacity");
const updater_out_modes_1 = require("@tsparticles/updater-out-modes");
const plugin_rgb_color_1 = require("@tsparticles/plugin-rgb-color");
const updater_size_1 = require("@tsparticles/updater-size");
async function loadBasic(engine, refresh = true) {
(0, engine_1.assertValidVersion)(engine, "3.7.0");
await (0, plugin_hex_color_1.loadHexColorPlugin)(engine, false);
await (0, plugin_hsl_color_1.loadHslColorPlugin)(engine, false);
await (0, plugin_rgb_color_1.loadRgbColorPlugin)(engine, false);
await (0, move_base_1.loadBaseMover)(engine, false);

@@ -12,0 +20,0 @@ await (0, shape_circle_1.loadCircleShape)(engine, false);

@@ -0,8 +1,16 @@

import { assertValidVersion } from "@tsparticles/engine";
import { loadBaseMover } from "@tsparticles/move-base";
import { loadCircleShape } from "@tsparticles/shape-circle";
import { loadColorUpdater } from "@tsparticles/updater-color";
import { loadHexColorPlugin } from "@tsparticles/plugin-hex-color";
import { loadHslColorPlugin } from "@tsparticles/plugin-hsl-color";
import { loadOpacityUpdater } from "@tsparticles/updater-opacity";
import { loadOutModesUpdater } from "@tsparticles/updater-out-modes";
import { loadRgbColorPlugin } from "@tsparticles/plugin-rgb-color";
import { loadSizeUpdater } from "@tsparticles/updater-size";
export async function loadBasic(engine, refresh = true) {
assertValidVersion(engine, "3.7.0");
await loadHexColorPlugin(engine, false);
await loadHslColorPlugin(engine, false);
await loadRgbColorPlugin(engine, false);
await loadBaseMover(engine, false);

@@ -9,0 +17,0 @@ await loadCircleShape(engine, false);

19

package.json
{
"name": "@tsparticles/basic",
"version": "3.6.0",
"version": "3.7.0",
"description": "Easily create highly customizable particle animations and use them as animated backgrounds for your website. Ready to use components available also for React, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Riot.js, Inferno.",

@@ -102,9 +102,12 @@ "homepage": "https://particles.js.org",

"dependencies": {
"@tsparticles/engine": "^3.6.0",
"@tsparticles/move-base": "^3.6.0",
"@tsparticles/shape-circle": "^3.6.0",
"@tsparticles/updater-color": "^3.6.0",
"@tsparticles/updater-opacity": "^3.6.0",
"@tsparticles/updater-out-modes": "^3.6.0",
"@tsparticles/updater-size": "^3.6.0"
"@tsparticles/engine": "3.7.0",
"@tsparticles/move-base": "3.7.0",
"@tsparticles/plugin-hex-color": "3.7.0",
"@tsparticles/plugin-hsl-color": "3.7.0",
"@tsparticles/plugin-rgb-color": "3.7.0",
"@tsparticles/shape-circle": "3.7.0",
"@tsparticles/updater-color": "3.7.0",
"@tsparticles/updater-opacity": "3.7.0",
"@tsparticles/updater-out-modes": "3.7.0",
"@tsparticles/updater-size": "3.7.0"
},

@@ -111,0 +114,0 @@ "publishConfig": {

@@ -13,2 +13,5 @@ [![banner](https://particles.js.org/images/banner2.png)](https://particles.js.org)

- [@tsparticles/move-base](https://github.com/tsparticles/tsparticles/tree/main/move/base)
- [@tsparticles/plugin-hex-color](https://github.com/tsparticles/tsparticles/tree/main/plugins/colors/hexColor)
- [@tsparticles/plugin-hsl-color](https://github.com/tsparticles/tsparticles/tree/main/plugins/colors/hslColor)
- [@tsparticles/plugin-rgb-color](https://github.com/tsparticles/tsparticles/tree/main/plugins/colors/rgbColor)
- [@tsparticles/shape-circle](https://github.com/tsparticles/tsparticles/tree/main/shapes/circle)

@@ -15,0 +18,0 @@ - [@tsparticles/updater-color](https://github.com/tsparticles/tsparticles/tree/main/updaters/color)

@@ -1,1 +0,1 @@

/*! tsParticles Basic v3.6.0 by Matteo Bruni */
/*! tsParticles Basic v3.7.0 by Matteo Bruni */

@@ -7,3 +7,3 @@ /*!

* How to use? : Check the GitHub README
* v3.6.0
* v3.7.0
*/

@@ -20,10 +20,10 @@ /*

if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("@tsparticles/move-base"), require("@tsparticles/shape-circle"), require("@tsparticles/updater-color"), require("@tsparticles/updater-opacity"), require("@tsparticles/updater-out-modes"), require("@tsparticles/updater-size"));
module.exports = factory(require("@tsparticles/engine"), require("@tsparticles/move-base"), require("@tsparticles/shape-circle"), require("@tsparticles/updater-color"), require("@tsparticles/plugin-hex-color"), require("@tsparticles/plugin-hsl-color"), require("@tsparticles/updater-opacity"), require("@tsparticles/updater-out-modes"), require("@tsparticles/plugin-rgb-color"), require("@tsparticles/updater-size"));
else if(typeof define === 'function' && define.amd)
define(["@tsparticles/move-base", "@tsparticles/shape-circle", "@tsparticles/updater-color", "@tsparticles/updater-opacity", "@tsparticles/updater-out-modes", "@tsparticles/updater-size"], factory);
define(["@tsparticles/engine", "@tsparticles/move-base", "@tsparticles/shape-circle", "@tsparticles/updater-color", "@tsparticles/plugin-hex-color", "@tsparticles/plugin-hsl-color", "@tsparticles/updater-opacity", "@tsparticles/updater-out-modes", "@tsparticles/plugin-rgb-color", "@tsparticles/updater-size"], factory);
else {
var a = typeof exports === 'object' ? factory(require("@tsparticles/move-base"), require("@tsparticles/shape-circle"), require("@tsparticles/updater-color"), require("@tsparticles/updater-opacity"), require("@tsparticles/updater-out-modes"), require("@tsparticles/updater-size")) : factory(root["window"], root["window"], root["window"], root["window"], root["window"], root["window"]);
var a = typeof exports === 'object' ? factory(require("@tsparticles/engine"), require("@tsparticles/move-base"), require("@tsparticles/shape-circle"), require("@tsparticles/updater-color"), require("@tsparticles/plugin-hex-color"), require("@tsparticles/plugin-hsl-color"), require("@tsparticles/updater-opacity"), require("@tsparticles/updater-out-modes"), require("@tsparticles/plugin-rgb-color"), require("@tsparticles/updater-size")) : factory(root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"]);
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
}
})(this, (__WEBPACK_EXTERNAL_MODULE__tsparticles_move_base__, __WEBPACK_EXTERNAL_MODULE__tsparticles_shape_circle__, __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_color__, __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_opacity__, __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_out_modes__, __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_size__) => {
})(this, (__WEBPACK_EXTERNAL_MODULE__tsparticles_engine__, __WEBPACK_EXTERNAL_MODULE__tsparticles_move_base__, __WEBPACK_EXTERNAL_MODULE__tsparticles_shape_circle__, __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_color__, __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_hex_color__, __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_hsl_color__, __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_opacity__, __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_out_modes__, __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_rgb_color__, __WEBPACK_EXTERNAL_MODULE__tsparticles_updater_size__) => {
return /******/ (() => { // webpackBootstrap

@@ -39,6 +39,16 @@ /******/ "use strict";

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadBasic: () => (/* binding */ loadBasic)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_move_base__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/move-base */ \"@tsparticles/move-base\");\n/* harmony import */ var _tsparticles_move_base__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_move_base__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _tsparticles_shape_circle__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @tsparticles/shape-circle */ \"@tsparticles/shape-circle\");\n/* harmony import */ var _tsparticles_shape_circle__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_shape_circle__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _tsparticles_updater_color__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @tsparticles/updater-color */ \"@tsparticles/updater-color\");\n/* harmony import */ var _tsparticles_updater_color__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_updater_color__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _tsparticles_updater_opacity__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @tsparticles/updater-opacity */ \"@tsparticles/updater-opacity\");\n/* harmony import */ var _tsparticles_updater_opacity__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_updater_opacity__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _tsparticles_updater_out_modes__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @tsparticles/updater-out-modes */ \"@tsparticles/updater-out-modes\");\n/* harmony import */ var _tsparticles_updater_out_modes__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_updater_out_modes__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _tsparticles_updater_size__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @tsparticles/updater-size */ \"@tsparticles/updater-size\");\n/* harmony import */ var _tsparticles_updater_size__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_updater_size__WEBPACK_IMPORTED_MODULE_5__);\n\n\n\n\n\n\nasync function loadBasic(engine, refresh = true) {\n await (0,_tsparticles_move_base__WEBPACK_IMPORTED_MODULE_0__.loadBaseMover)(engine, false);\n await (0,_tsparticles_shape_circle__WEBPACK_IMPORTED_MODULE_1__.loadCircleShape)(engine, false);\n await (0,_tsparticles_updater_color__WEBPACK_IMPORTED_MODULE_2__.loadColorUpdater)(engine, false);\n await (0,_tsparticles_updater_opacity__WEBPACK_IMPORTED_MODULE_3__.loadOpacityUpdater)(engine, false);\n await (0,_tsparticles_updater_out_modes__WEBPACK_IMPORTED_MODULE_4__.loadOutModesUpdater)(engine, false);\n await (0,_tsparticles_updater_size__WEBPACK_IMPORTED_MODULE_5__.loadSizeUpdater)(engine, false);\n await engine.refresh(refresh);\n}\n\n//# sourceURL=webpack://@tsparticles/basic/./dist/browser/index.js?");
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadBasic: () => (/* binding */ loadBasic)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"@tsparticles/engine\");\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _tsparticles_move_base__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @tsparticles/move-base */ \"@tsparticles/move-base\");\n/* harmony import */ var _tsparticles_move_base__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_move_base__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _tsparticles_shape_circle__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @tsparticles/shape-circle */ \"@tsparticles/shape-circle\");\n/* harmony import */ var _tsparticles_shape_circle__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_shape_circle__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _tsparticles_updater_color__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @tsparticles/updater-color */ \"@tsparticles/updater-color\");\n/* harmony import */ var _tsparticles_updater_color__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_updater_color__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _tsparticles_plugin_hex_color__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @tsparticles/plugin-hex-color */ \"@tsparticles/plugin-hex-color\");\n/* harmony import */ var _tsparticles_plugin_hex_color__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_plugin_hex_color__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _tsparticles_plugin_hsl_color__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @tsparticles/plugin-hsl-color */ \"@tsparticles/plugin-hsl-color\");\n/* harmony import */ var _tsparticles_plugin_hsl_color__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_plugin_hsl_color__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _tsparticles_updater_opacity__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @tsparticles/updater-opacity */ \"@tsparticles/updater-opacity\");\n/* harmony import */ var _tsparticles_updater_opacity__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_updater_opacity__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _tsparticles_updater_out_modes__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @tsparticles/updater-out-modes */ \"@tsparticles/updater-out-modes\");\n/* harmony import */ var _tsparticles_updater_out_modes__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_updater_out_modes__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _tsparticles_plugin_rgb_color__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @tsparticles/plugin-rgb-color */ \"@tsparticles/plugin-rgb-color\");\n/* harmony import */ var _tsparticles_plugin_rgb_color__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_plugin_rgb_color__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _tsparticles_updater_size__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @tsparticles/updater-size */ \"@tsparticles/updater-size\");\n/* harmony import */ var _tsparticles_updater_size__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_updater_size__WEBPACK_IMPORTED_MODULE_9__);\n\n\n\n\n\n\n\n\n\n\nasync function loadBasic(engine, refresh = true) {\n (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.assertValidVersion)(engine, \"3.7.0\");\n await (0,_tsparticles_plugin_hex_color__WEBPACK_IMPORTED_MODULE_4__.loadHexColorPlugin)(engine, false);\n await (0,_tsparticles_plugin_hsl_color__WEBPACK_IMPORTED_MODULE_5__.loadHslColorPlugin)(engine, false);\n await (0,_tsparticles_plugin_rgb_color__WEBPACK_IMPORTED_MODULE_8__.loadRgbColorPlugin)(engine, false);\n await (0,_tsparticles_move_base__WEBPACK_IMPORTED_MODULE_1__.loadBaseMover)(engine, false);\n await (0,_tsparticles_shape_circle__WEBPACK_IMPORTED_MODULE_2__.loadCircleShape)(engine, false);\n await (0,_tsparticles_updater_color__WEBPACK_IMPORTED_MODULE_3__.loadColorUpdater)(engine, false);\n await (0,_tsparticles_updater_opacity__WEBPACK_IMPORTED_MODULE_6__.loadOpacityUpdater)(engine, false);\n await (0,_tsparticles_updater_out_modes__WEBPACK_IMPORTED_MODULE_7__.loadOutModesUpdater)(engine, false);\n await (0,_tsparticles_updater_size__WEBPACK_IMPORTED_MODULE_9__.loadSizeUpdater)(engine, false);\n await engine.refresh(refresh);\n}\n\n//# sourceURL=webpack://@tsparticles/basic/./dist/browser/index.js?");
/***/ }),
/***/ "@tsparticles/engine":
/*!*********************************************************************************************************************************!*\
!*** external {"commonjs":"@tsparticles/engine","commonjs2":"@tsparticles/engine","amd":"@tsparticles/engine","root":"window"} ***!
\*********************************************************************************************************************************/
/***/ ((module) => {
module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_engine__;
/***/ }),
/***/ "@tsparticles/move-base":

@@ -54,2 +64,32 @@ /*!******************************************************************************************************************************************!*\

/***/ "@tsparticles/plugin-hex-color":
/*!***************************************************************************************************************************************************************!*\
!*** external {"commonjs":"@tsparticles/plugin-hex-color","commonjs2":"@tsparticles/plugin-hex-color","amd":"@tsparticles/plugin-hex-color","root":"window"} ***!
\***************************************************************************************************************************************************************/
/***/ ((module) => {
module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_hex_color__;
/***/ }),
/***/ "@tsparticles/plugin-hsl-color":
/*!***************************************************************************************************************************************************************!*\
!*** external {"commonjs":"@tsparticles/plugin-hsl-color","commonjs2":"@tsparticles/plugin-hsl-color","amd":"@tsparticles/plugin-hsl-color","root":"window"} ***!
\***************************************************************************************************************************************************************/
/***/ ((module) => {
module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_hsl_color__;
/***/ }),
/***/ "@tsparticles/plugin-rgb-color":
/*!***************************************************************************************************************************************************************!*\
!*** external {"commonjs":"@tsparticles/plugin-rgb-color","commonjs2":"@tsparticles/plugin-rgb-color","amd":"@tsparticles/plugin-rgb-color","root":"window"} ***!
\***************************************************************************************************************************************************************/
/***/ ((module) => {
module.exports = __WEBPACK_EXTERNAL_MODULE__tsparticles_plugin_rgb_color__;
/***/ }),
/***/ "@tsparticles/shape-circle":

@@ -56,0 +96,0 @@ /*!***************************************************************************************************************************************************!*\

/*! For license information please see tsparticles.basic.min.js.LICENSE.txt */
!function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("@tsparticles/move-base"),require("@tsparticles/shape-circle"),require("@tsparticles/updater-color"),require("@tsparticles/updater-opacity"),require("@tsparticles/updater-out-modes"),require("@tsparticles/updater-size"));else if("function"==typeof define&&define.amd)define(["@tsparticles/move-base","@tsparticles/shape-circle","@tsparticles/updater-color","@tsparticles/updater-opacity","@tsparticles/updater-out-modes","@tsparticles/updater-size"],r);else{var t="object"==typeof exports?r(require("@tsparticles/move-base"),require("@tsparticles/shape-circle"),require("@tsparticles/updater-color"),require("@tsparticles/updater-opacity"),require("@tsparticles/updater-out-modes"),require("@tsparticles/updater-size")):r(e.window,e.window,e.window,e.window,e.window,e.window);for(var a in t)("object"==typeof exports?exports:e)[a]=t[a]}}(this,((e,r,t,a,o,i)=>(()=>{var s={522:r=>{r.exports=e},969:e=>{e.exports=r},116:e=>{e.exports=t},898:e=>{e.exports=a},694:e=>{e.exports=o},394:e=>{e.exports=i}},p={};function d(e){var r=p[e];if(void 0!==r)return r.exports;var t=p[e]={exports:{}};return s[e](t,t.exports,d),t.exports}d.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return d.d(r,{a:r}),r},d.d=(e,r)=>{for(var t in r)d.o(r,t)&&!d.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},d.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),d.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var l={};d.r(l),d.d(l,{loadBasic:()=>v});var c=d(522),u=d(969),n=d(116),f=d(898),w=d(694),y=d(394);async function v(e,r=!0){await(0,c.loadBaseMover)(e,!1),await(0,u.loadCircleShape)(e,!1),await(0,n.loadColorUpdater)(e,!1),await(0,f.loadOpacityUpdater)(e,!1),await(0,w.loadOutModesUpdater)(e,!1),await(0,y.loadSizeUpdater)(e,!1),await e.refresh(r)}return l})()));
!function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("@tsparticles/engine"),require("@tsparticles/move-base"),require("@tsparticles/shape-circle"),require("@tsparticles/updater-color"),require("@tsparticles/plugin-hex-color"),require("@tsparticles/plugin-hsl-color"),require("@tsparticles/updater-opacity"),require("@tsparticles/updater-out-modes"),require("@tsparticles/plugin-rgb-color"),require("@tsparticles/updater-size"));else if("function"==typeof define&&define.amd)define(["@tsparticles/engine","@tsparticles/move-base","@tsparticles/shape-circle","@tsparticles/updater-color","@tsparticles/plugin-hex-color","@tsparticles/plugin-hsl-color","@tsparticles/updater-opacity","@tsparticles/updater-out-modes","@tsparticles/plugin-rgb-color","@tsparticles/updater-size"],r);else{var t="object"==typeof exports?r(require("@tsparticles/engine"),require("@tsparticles/move-base"),require("@tsparticles/shape-circle"),require("@tsparticles/updater-color"),require("@tsparticles/plugin-hex-color"),require("@tsparticles/plugin-hsl-color"),require("@tsparticles/updater-opacity"),require("@tsparticles/updater-out-modes"),require("@tsparticles/plugin-rgb-color"),require("@tsparticles/updater-size")):r(e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window);for(var o in t)("object"==typeof exports?exports:e)[o]=t[o]}}(this,((e,r,t,o,i,a,s,p,l,c)=>(()=>{var u={303:r=>{r.exports=e},522:e=>{e.exports=r},126:e=>{e.exports=i},308:e=>{e.exports=a},872:e=>{e.exports=l},969:e=>{e.exports=t},116:e=>{e.exports=o},898:e=>{e.exports=s},694:e=>{e.exports=p},394:e=>{e.exports=c}},d={};function n(e){var r=d[e];if(void 0!==r)return r.exports;var t=d[e]={exports:{}};return u[e](t,t.exports,n),t.exports}n.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return n.d(r,{a:r}),r},n.d=(e,r)=>{for(var t in r)n.o(r,t)&&!n.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},n.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var w={};n.r(w),n.d(w,{loadBasic:()=>O});var f=n(303),g=n(522),x=n(969),q=n(116),b=n(126),y=n(308),v=n(898),h=n(694),m=n(872),j=n(394);async function O(e,r=!0){(0,f.assertValidVersion)(e,"3.7.0"),await(0,b.loadHexColorPlugin)(e,!1),await(0,y.loadHslColorPlugin)(e,!1),await(0,m.loadRgbColorPlugin)(e,!1),await(0,g.loadBaseMover)(e,!1),await(0,x.loadCircleShape)(e,!1),await(0,q.loadColorUpdater)(e,!1),await(0,v.loadOpacityUpdater)(e,!1),await(0,h.loadOutModesUpdater)(e,!1),await(0,j.loadSizeUpdater)(e,!1),await e.refresh(r)}return w})()));

@@ -1,1 +0,1 @@

/*! tsParticles Basic v3.6.0 by Matteo Bruni */
/*! tsParticles Basic v3.7.0 by Matteo Bruni */

@@ -1,2 +0,2 @@

import type { Engine } from "@tsparticles/engine";
import { type Engine } from "@tsparticles/engine";
export declare function loadBasic(engine: Engine, refresh?: boolean): Promise<void>;

@@ -7,3 +7,3 @@ (function (factory) {

else if (typeof define === "function" && define.amd) {
define(["require", "exports", "@tsparticles/move-base", "@tsparticles/shape-circle", "@tsparticles/updater-color", "@tsparticles/updater-opacity", "@tsparticles/updater-out-modes", "@tsparticles/updater-size"], factory);
define(["require", "exports", "@tsparticles/engine", "@tsparticles/move-base", "@tsparticles/shape-circle", "@tsparticles/updater-color", "@tsparticles/plugin-hex-color", "@tsparticles/plugin-hsl-color", "@tsparticles/updater-opacity", "@tsparticles/updater-out-modes", "@tsparticles/plugin-rgb-color", "@tsparticles/updater-size"], factory);
}

@@ -14,9 +14,17 @@ })(function (require, exports) {

exports.loadBasic = loadBasic;
const engine_1 = require("@tsparticles/engine");
const move_base_1 = require("@tsparticles/move-base");
const shape_circle_1 = require("@tsparticles/shape-circle");
const updater_color_1 = require("@tsparticles/updater-color");
const plugin_hex_color_1 = require("@tsparticles/plugin-hex-color");
const plugin_hsl_color_1 = require("@tsparticles/plugin-hsl-color");
const updater_opacity_1 = require("@tsparticles/updater-opacity");
const updater_out_modes_1 = require("@tsparticles/updater-out-modes");
const plugin_rgb_color_1 = require("@tsparticles/plugin-rgb-color");
const updater_size_1 = require("@tsparticles/updater-size");
async function loadBasic(engine, refresh = true) {
(0, engine_1.assertValidVersion)(engine, "3.7.0");
await (0, plugin_hex_color_1.loadHexColorPlugin)(engine, false);
await (0, plugin_hsl_color_1.loadHslColorPlugin)(engine, false);
await (0, plugin_rgb_color_1.loadRgbColorPlugin)(engine, false);
await (0, move_base_1.loadBaseMover)(engine, false);

@@ -23,0 +31,0 @@ await (0, shape_circle_1.loadCircleShape)(engine, false);

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc