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

@tsparticles/shape-circle

Package Overview
Dependencies
Maintainers
2
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tsparticles/shape-circle - npm Package Compare versions

Comparing version 3.0.0-beta.0 to 3.0.0-beta.1

browser/package.json

2

browser/index.js

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

import { CircleDrawer } from "./CircleDrawer";
import { CircleDrawer } from "./CircleDrawer.js";
export async function loadCircleShape(engine, refresh = true) {
await engine.addShape("circle", new CircleDrawer(), refresh);
}
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.loadCircleShape = void 0;
const CircleDrawer_1 = require("./CircleDrawer");
const CircleDrawer_js_1 = require("./CircleDrawer.js");
async function loadCircleShape(engine, refresh = true) {
await engine.addShape("circle", new CircleDrawer_1.CircleDrawer(), refresh);
await engine.addShape("circle", new CircleDrawer_js_1.CircleDrawer(), refresh);
}
exports.loadCircleShape = loadCircleShape;

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

import { CircleDrawer } from "./CircleDrawer";
import { CircleDrawer } from "./CircleDrawer.js";
export async function loadCircleShape(engine, refresh = true) {
await engine.addShape("circle", new CircleDrawer(), refresh);
}
{
"name": "@tsparticles/shape-circle",
"version": "3.0.0-beta.0",
"version": "3.0.0-beta.1",
"description": "tsParticles circle shape",

@@ -43,10 +43,22 @@ "homepage": "https://particles.js.org",

},
"main": "cjs/index.js",
"sideEffects": false,
"jsdelivr": "tsparticles.shape.circle.min.js",
"unpkg": "tsparticles.shape.circle.min.js",
"browser": "browser/index.js",
"main": "cjs/index.js",
"module": "esm/index.js",
"types": "types/index.d.ts",
"sideEffects": false,
"exports": {
".": {
"types": "./types/index.d.ts",
"browser": "./browser/index.js",
"import": "./esm/index.js",
"require": "./cjs/index.js",
"umd": "./umd/index.js",
"default": "./cjs/index.js"
},
"./package.json": "./package.json"
},
"dependencies": {
"@tsparticles/engine": "^3.0.0-beta.0"
"@tsparticles/engine": "^3.0.0-beta.1"
},

@@ -53,0 +65,0 @@ "publishConfig": {

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

* How to use? : Check the GitHub README
* v3.0.0-beta.0
* v3.0.0-beta.1
*/

@@ -10,0 +10,0 @@ (function webpackUniversalModuleDefinition(root, factory) {

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

/*! tsParticles Circle Shape v3.0.0-beta.0 by Matteo Bruni */
/*! tsParticles Circle Shape v3.0.0-beta.1 by Matteo Bruni */
import { type Container, type IShapeDrawer } from "@tsparticles/engine";
import type { CircleParticle } from "./CircleParticle";
import type { CircleParticle } from "./CircleParticle.js";
export declare class CircleDrawer implements IShapeDrawer {

@@ -4,0 +4,0 @@ draw(context: CanvasRenderingContext2D, particle: CircleParticle, radius: number): void;

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

else if (typeof define === "function" && define.amd) {
define(["require", "exports", "./CircleDrawer"], factory);
define(["require", "exports", "./CircleDrawer.js"], factory);
}

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

exports.loadCircleShape = void 0;
const CircleDrawer_1 = require("./CircleDrawer");
const CircleDrawer_js_1 = require("./CircleDrawer.js");
async function loadCircleShape(engine, refresh = true) {
await engine.addShape("circle", new CircleDrawer_1.CircleDrawer(), refresh);
await engine.addShape("circle", new CircleDrawer_js_1.CircleDrawer(), refresh);
}
exports.loadCircleShape = loadCircleShape;
});

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