Socket
Socket
Sign inDemoInstall

tsparticles-shape-square

Package Overview
Dependencies
Maintainers
2
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tsparticles-shape-square - npm Package Compare versions

Comparing version 2.9.3 to 2.10.0

17

cjs/index.js
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.loadSquareShape = void 0;
const SquareDrawer_1 = require("./SquareDrawer");
function loadSquareShape(engine) {
return __awaiter(this, void 0, void 0, function* () {
const drawer = new SquareDrawer_1.SquareDrawer();
yield engine.addShape(["edge", "square"], drawer);
});
async function loadSquareShape(engine) {
const drawer = new SquareDrawer_1.SquareDrawer();
await engine.addShape(["edge", "square"], drawer);
}
exports.loadSquareShape = loadSquareShape;

4

package.json
{
"name": "tsparticles-shape-square",
"version": "2.9.3",
"version": "2.10.0",
"description": "tsParticles square shape",

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

"dependencies": {
"tsparticles-engine": "^2.9.3"
"tsparticles-engine": "^2.10.0"
}
}

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

* How to use? : Check the GitHub README
* v2.9.3
* v2.10.0
*/

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

__webpack_require__.d(__webpack_exports__, {
"loadSquareShape": () => (/* binding */ loadSquareShape)
loadSquareShape: () => (/* binding */ loadSquareShape)
});

@@ -64,0 +64,0 @@

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

/*! tsParticles Square Shape v2.9.3 by Matteo Bruni */
/*! tsParticles Square Shape v2.10.0 by Matteo Bruni */

Sorry, the diff of this file is not supported yet

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