Socket
Socket
Sign inDemoInstall

tsparticles-preset-fireworks

Package Overview
Dependencies
1
Maintainers
1
Versions
97
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.24.0 to 1.24.1

2

bundle.d.ts

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

import { loadFireworksPreset } from ".";
import { tsParticles } from "tsparticles";
import { loadFireworksPreset } from ".";
export { loadFireworksPreset, tsParticles };

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

import { loadFireworksPreset } from ".";
import { tsParticles } from "tsparticles";
import { loadFireworksPreset } from ".";
loadFireworksPreset(tsParticles);
export { loadFireworksPreset, tsParticles };
import type { Engine } from "tsparticles";
export declare function loadFireworksPreset(tsParticles: Engine): void;
export declare function loadFireworksPreset(engine: Engine): void;
import { options } from "./options";
export function loadFireworksPreset(tsParticles) {
tsParticles.addPreset("fireworks", options);
export function loadFireworksPreset(engine) {
engine.addPreset("fireworks", options);
}
{
"name": "tsparticles-preset-fireworks",
"version": "1.24.0",
"version": "1.24.1",
"description": "tsParticles fireworks preset",

@@ -48,4 +48,4 @@ "homepage": "https://particles.js.org/",

"dependencies": {
"tsparticles": "^1.39.0"
"tsparticles": "^1.39.1"
}
}

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

[![jsDelivr](https://data.jsdelivr.com/v1/package/npm/tsparticles-preset-fireworks/badge)](https://www.jsdelivr.com/package/npm/tsparticles) [![npmjs](https://badge.fury.io/js/tsparticles-preset-fireworks.svg)](https://www.npmjs.com/package/tsparticles-preset-fireworks) [![npmjs](https://img.shields.io/npm/dt/tsparticles-preset-fireworks)](https://www.npmjs.com/package/tsparticles-preset-fireworks)
[![jsDelivr](https://data.jsdelivr.com/v1/package/npm/tsparticles-preset-fireworks/badge)](https://www.jsdelivr.com/package/npm/tsparticles-preset-fireworks) [![npmjs](https://badge.fury.io/js/tsparticles-preset-fireworks.svg)](https://www.npmjs.com/package/tsparticles-preset-fireworks) [![npmjs](https://img.shields.io/npm/dt/tsparticles-preset-fireworks)](https://www.npmjs.com/package/tsparticles-preset-fireworks)

@@ -12,3 +12,3 @@ [tsParticles](https://github.com/matteobruni/tsparticles) preset for fireworks effects.

![demo](https://raw.githubusercontent.com/matteobruni/tsparticles/v1/presets/fireworks/images/sample.png)
[![demo](https://raw.githubusercontent.com/matteobruni/tsparticles/main/presets/fireworks/images/sample.png)](https://particles.js.org/samples/presets/fireworks)

@@ -26,4 +26,4 @@ ## How to use it

```html
<script src="https://cdn.jsdelivr.net/npm/tsparticles"></script>
<script src="https://cdn.jsdelivr.net/npm/tsparticles-preset-fireworks"></script>
<script src="https://cdn.jsdelivr.net/npm/tsparticles@1/tsparticles.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/tsparticles-preset-fireworks@1/tsparticles.preset.fireworks.min.js"></script>
```

@@ -38,3 +38,3 @@

```html
<script src="https://cdn.jsdelivr.net/npm/tsparticles-preset-fireworks/dist/tsparticles.preset.fireworks.bundle.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/tsparticles-preset-fireworks@1/tsparticles.preset.fireworks.bundle.min.js"></script>
```

@@ -41,0 +41,0 @@

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

* How to use? : Check the GitHub README
* v1.24.0
* v1.24.1
*/

@@ -217,4 +217,4 @@ (function webpackUniversalModuleDefinition(root, factory) {

function loadFireworksPreset(tsParticles) {
tsParticles.addPreset("fireworks", options);
function loadFireworksPreset(engine) {
engine.addPreset("fireworks", options);
}

@@ -221,0 +221,0 @@ /******/ return __webpack_exports__;

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

/*! tsParticles Fireworks Preset v1.24.0 by Matteo Bruni */
/*! tsParticles Fireworks Preset v1.24.1 by Matteo Bruni */
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var o=t();for(var n in o)("object"==typeof exports?exports:e)[n]=o[n]}}(this,(function(){return function(){"use strict";var e={d:function(t,o){for(var n in o)e.o(o,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:o[n]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{loadFireworksPreset:function(){return n}});const o={detectRetina:!0,background:{color:"#000"},fpsLimit:60,emitters:{direction:"top",life:{count:0,duration:.1,delay:.1},rate:{delay:.5,quantity:1},size:{width:100,height:0},position:{y:100,x:50}},particles:{number:{value:0},destroy:{mode:"split",split:{count:1,factor:{value:.333333},rate:{value:100},particles:{stroke:{width:0},color:{value:["#ff595e","#ffca3a","#8ac926","#1982c4","#6a4c93"]},number:{value:0},collisions:{enable:!1},opacity:{value:{min:.1,max:1},animation:{enable:!0,speed:.7,sync:!1,startValue:"max",destroy:"min"}},shape:{type:"circle"},size:{value:2,animation:{enable:!1}},life:{count:1,duration:{value:{min:1,max:2}}},move:{enable:!0,gravity:{enable:!1},speed:2,direction:"none",random:!0,straight:!1,outMode:"destroy"}}}},life:{count:1},shape:{type:"line"},size:{value:{min:.1,max:50},animation:{enable:!0,sync:!0,speed:90,startValue:"max",destroy:"min"}},stroke:{color:{value:"#ffffff"},width:1},rotate:{path:!0},move:{enable:!0,gravity:{acceleration:15,enable:!0,inverse:!0,maxSpeed:100},speed:{min:10,max:20},outModes:{default:"destroy",top:"none"},trail:{fillColor:"#000",enable:!0,length:10}}}};function n(e){e.addPreset("fireworks",o)}return t}()}));

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc