Socket
Socket
Sign inDemoInstall

@tsparticles/updater-stroke-color

Package Overview
Dependencies
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tsparticles/updater-stroke-color - 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 { StrokeColorUpdater } from "./StrokeColorUpdater";
import { StrokeColorUpdater } from "./StrokeColorUpdater.js";
export async function loadStrokeColorUpdater(engine, refresh = true) {
await engine.addParticleUpdater("strokeColor", (container) => new StrokeColorUpdater(container), refresh);
}
import { getHslAnimationFromHsl, getRangeValue, itemFromSingleOrMultiple, rangeColorToHsl, } from "@tsparticles/engine";
import { updateStrokeColor } from "./Utils";
import { updateStrokeColor } from "./Utils.js";
export class StrokeColorUpdater {

@@ -4,0 +4,0 @@ constructor(container) {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.loadStrokeColorUpdater = void 0;
const StrokeColorUpdater_1 = require("./StrokeColorUpdater");
const StrokeColorUpdater_js_1 = require("./StrokeColorUpdater.js");
async function loadStrokeColorUpdater(engine, refresh = true) {
await engine.addParticleUpdater("strokeColor", (container) => new StrokeColorUpdater_1.StrokeColorUpdater(container), refresh);
await engine.addParticleUpdater("strokeColor", (container) => new StrokeColorUpdater_js_1.StrokeColorUpdater(container), refresh);
}
exports.loadStrokeColorUpdater = loadStrokeColorUpdater;

@@ -5,3 +5,3 @@ "use strict";

const engine_1 = require("@tsparticles/engine");
const Utils_1 = require("./Utils");
const Utils_js_1 = require("./Utils.js");
class StrokeColorUpdater {

@@ -35,5 +35,5 @@ constructor(container) {

}
(0, Utils_1.updateStrokeColor)(particle, delta);
(0, Utils_js_1.updateStrokeColor)(particle, delta);
}
}
exports.StrokeColorUpdater = StrokeColorUpdater;

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

import { StrokeColorUpdater } from "./StrokeColorUpdater";
import { StrokeColorUpdater } from "./StrokeColorUpdater.js";
export async function loadStrokeColorUpdater(engine, refresh = true) {
await engine.addParticleUpdater("strokeColor", (container) => new StrokeColorUpdater(container), refresh);
}
import { getHslAnimationFromHsl, getRangeValue, itemFromSingleOrMultiple, rangeColorToHsl, } from "@tsparticles/engine";
import { updateStrokeColor } from "./Utils";
import { updateStrokeColor } from "./Utils.js";
export class StrokeColorUpdater {

@@ -4,0 +4,0 @@ constructor(container) {

{
"name": "@tsparticles/updater-stroke-color",
"version": "3.0.0-beta.0",
"version": "3.0.0-beta.1",
"description": "tsParticles particles stroke color updater",

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

},
"main": "cjs/index.js",
"sideEffects": false,
"jsdelivr": "tsparticles.updater.stroke-color.min.js",
"unpkg": "tsparticles.updater.stroke-color.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"
},

@@ -81,0 +93,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 Stroke Color Updater v3.0.0-beta.0 by Matteo Bruni */
/*! tsParticles Stroke Color Updater v3.0.0-beta.1 by Matteo Bruni */
import { type Container, type IDelta, type IParticleUpdater, type Particle } from "@tsparticles/engine";
import type { StrokeParticle } from "./Types";
import type { StrokeParticle } from "./Types.js";
export declare class StrokeColorUpdater implements IParticleUpdater {

@@ -4,0 +4,0 @@ private readonly container;

import { type IDelta } from "@tsparticles/engine";
import type { StrokeParticle } from "./Types";
import type { StrokeParticle } from "./Types.js";
export declare function updateStrokeColor(particle: StrokeParticle, delta: IDelta): void;

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

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

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

exports.loadStrokeColorUpdater = void 0;
const StrokeColorUpdater_1 = require("./StrokeColorUpdater");
const StrokeColorUpdater_js_1 = require("./StrokeColorUpdater.js");
async function loadStrokeColorUpdater(engine, refresh = true) {
await engine.addParticleUpdater("strokeColor", (container) => new StrokeColorUpdater_1.StrokeColorUpdater(container), refresh);
await engine.addParticleUpdater("strokeColor", (container) => new StrokeColorUpdater_js_1.StrokeColorUpdater(container), refresh);
}
exports.loadStrokeColorUpdater = loadStrokeColorUpdater;
});

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

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

@@ -15,3 +15,3 @@ })(function (require, exports) {

const engine_1 = require("@tsparticles/engine");
const Utils_1 = require("./Utils");
const Utils_js_1 = require("./Utils.js");
class StrokeColorUpdater {

@@ -45,3 +45,3 @@ constructor(container) {

}
(0, Utils_1.updateStrokeColor)(particle, delta);
(0, Utils_js_1.updateStrokeColor)(particle, delta);
}

@@ -48,0 +48,0 @@ }

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