Socket
Socket
Sign inDemoInstall

tsparticles-preset-fire

Package Overview
Dependencies
1
Maintainers
1
Versions
211
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.42.4 to 1.43.0

browser/bundle.d.ts

2

252.js

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

* How to use? : Check the GitHub README
* v1.42.4
* v1.43.0
*/

@@ -10,0 +10,0 @@ "use strict";

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

import { loadFirePreset } from ".";
import { tsParticles } from "tsparticles";
loadFirePreset(tsParticles);
export { loadFirePreset, tsParticles };
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.tsParticles = exports.loadFirePreset = void 0;
const _1 = require(".");
Object.defineProperty(exports, "loadFirePreset", { enumerable: true, get: function () { return _1.loadFirePreset; } });
const tsparticles_1 = require("tsparticles");
Object.defineProperty(exports, "tsParticles", { enumerable: true, get: function () { return tsparticles_1.tsParticles; } });
(0, _1.loadFirePreset)(tsparticles_1.tsParticles);

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

import { options } from "./options";
export function loadFirePreset(engine) {
engine.addPreset("fire", options);
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.loadFirePreset = void 0;
const options_1 = require("./options");
function loadFirePreset(engine) {
engine.addPreset("fire", options_1.options);
}
exports.loadFirePreset = loadFirePreset;

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

export const options = {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.options = void 0;
exports.options = {
fpsLimit: 40,

@@ -3,0 +6,0 @@ particles: {

{
"name": "tsparticles-preset-fire",
"version": "1.42.4",
"version": "1.43.0",
"description": "tsParticles fire preset",

@@ -81,7 +81,7 @@ "homepage": "https://particles.js.org/",

"unpkg": "tsparticles.preset.fire.min.js",
"module": "index.js",
"module": "esm/index.js",
"types": "index.d.ts",
"dependencies": {
"tsparticles": "^1.42.4"
"tsparticles": "^1.43.0"
}
}

@@ -29,4 +29,4 @@ [![banner](https://particles.js.org/images/banner3.png)](https://particles.js.org)

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

@@ -41,3 +41,3 @@

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

@@ -44,0 +44,0 @@

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

* How to use? : Check the GitHub README
* v1.42.4
* v1.43.0
*/

@@ -64,3 +64,3 @@ (function webpackUniversalModuleDefinition(root, factory) {

;// CONCATENATED MODULE: ./dist/options.js
;// CONCATENATED MODULE: ./dist/browser/options.js
const options = {

@@ -98,2 +98,4 @@ fpsLimit: 40,

mode: "push"
/* push */
},

@@ -107,3 +109,3 @@ resize: true

};
;// CONCATENATED MODULE: ./dist/index.js
;// CONCATENATED MODULE: ./dist/browser/index.js

@@ -110,0 +112,0 @@ function loadFirePreset(engine) {

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

/*! tsParticles Fire Preset v1.42.4 by Matteo Bruni */
/*! tsParticles Fire Preset v1.43.0 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,{loadFirePreset:function(){return n}});const o={fpsLimit:40,particles:{number:{value:80,density:{enable:!0,area:800}},color:{value:["#fdcf58","#757676","#f27d0c","#800909","#f07f13"]},opacity:{value:.5,random:!0},size:{value:3,random:!0},move:{enable:!0,speed:6,random:!1}},interactivity:{events:{onClick:{enable:!0,mode:"push"},resize:!0}},background:{image:"radial-gradient(#4a0000, #000)"}};function n(e){e.addPreset("fire",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