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

webgl-fluid

Package Overview
Dependencies
Maintainers
0
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webgl-fluid - npm Package Compare versions

Comparing version 0.3.8 to 0.3.9

45

package.json
{
"name": "webgl-fluid",
"PascalCasedName": "WebGLFluid",
"version": "0.3.8",
"type": "commonjs",
"version": "0.3.9",
"private": false,

@@ -12,3 +13,6 @@ "description": "ESM support for https://github.com/PavelDoGreat/WebGL-Fluid-Simulation.",

"license": "MIT",
"repository": "https://github.com/cloydlau/webgl-fluid",
"repository": {
"type": "git",
"url": "git+https://github.com/cloydlau/webgl-fluid.git"
},
"keywords": [

@@ -24,4 +28,8 @@ "background",

".": {
"import": "./dist/webgl-fluid.mjs",
"require": "./dist/webgl-fluid.umd.js"
"import": {
"default": "./dist/webgl-fluid.mjs"
},
"require": {
"default": "./dist/webgl-fluid.umd.js"
}
},

@@ -40,31 +48,34 @@ "./*": "./*"

"build": "vite build",
"license-scan": "license-checker --summary --out ./depencency-licenses.txt",
"serve": "vite preview",
"doc": "vitepress dev --open /README",
"release": "esno ./scripts/release.mts",
"sync-to-cnpm": "npx cnpm sync && curl -L https://npmmirror.com/sync/webgl-fluid",
"lint": "eslint \"**/*.{js,mjs,cjs,jsx,ts,mts,cts,tsx,vue,json,md,html,css,scss,sass}\" --ignore-pattern stats.html",
"lint:fix": "eslint \"**/*.{js,mjs,cjs,jsx,ts,mts,cts,tsx,vue,json,md,html,css,scss,sass}\" --ignore-pattern stats.html --fix",
"preinstall": "node -e \"if (process.env.INIT_CWD === process.cwd()) { process.exit(1) }\" || npx only-allow pnpm",
"postinstall": "node -e \"if (process.env.INIT_CWD === process.cwd()) { process.exit(1) }\" || npx simple-git-hooks"
"postinstall": "node -e \"if (process.env.INIT_CWD === process.cwd()) { process.exit(1) }\" || (npx simple-git-hooks && pnpm license-scan)"
},
"devDependencies": {
"@antfu/eslint-config": "^2.14.0",
"@commitlint/cli": "^19.2.2",
"@commitlint/config-conventional": "^19.2.2",
"case-police": "^0.6.1",
"@antfu/eslint-config": "^3.7.3",
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"case-police": "^0.7.0",
"cnpm": "^9.4.0",
"cross-spawn": "^7.0.3",
"del": "^7.1.0",
"eslint": "npm:eslint-ts-patch@8.57.0-0",
"eslint-plugin-format": "^0.1.0",
"eslint-ts-patch": "8.57.0-0",
"esno": "^4.7.0",
"del": "^8.0.0",
"eslint-plugin-format": "^0.1.2",
"esno": "^4.8.0",
"kolorist": "^1.8.0",
"lint-staged": "^15.2.2",
"license-checker": "^25.0.1",
"lint-staged": "^15.2.10",
"only-allow": "^1.2.1",
"open": "^10.1.0",
"prompts": "^2.4.2",
"publint": "^0.2.11",
"rollup-plugin-visualizer": "^5.12.0",
"semver": "^7.6.0",
"semver": "^7.6.3",
"simple-git-hooks": "^2.11.1",
"vite": "^4",
"vitepress": "^1.1.0"
"vitepress": "^1.4.0"
},

@@ -71,0 +82,0 @@ "simple-git-hooks": {

@@ -12,10 +12,15 @@ <h1 align="center">

<p align="center">
<a href="https://cloydlau.github.io/demo/webgl-fluid.html"><img alt="playground" src="https://img.shields.io/badge/Playground-blue?color=9BE4E0"></a>
<a href="https://cloydlau.github.io/playground/webgl-fluid/"><img alt="playground" src="https://img.shields.io/badge/Playground-blue?color=9BE4E0&logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxnIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzNiNDAzZiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjIiPjxwYXRoIGQ9Ik0xMiA1aDMuNWE1IDUgMCAwIDEgMCAxMEgxMGwtNC4wMTUgNC4yMjdhMi4zIDIuMyAwIDAgMS0zLjkyMy0yLjAzNWwxLjYzNC04LjE3M0E1IDUgMCAwIDEgOC42IDV6Ii8+PHBhdGggZD0ibTE0IDE1bDQuMDcgNC4yODRhMi4zIDIuMyAwIDAgMCAzLjkyNS0yLjAyM2wtMS42LTguMjMyTTggOXYybS0xLTFoMm01IDBoMiIvPjwvZz48L3N2Zz4="></a>
<br>
<a href="https://conventionalcommits.org"><img alt="conventional commits" src="https://img.shields.io/badge/commits-Conventional-FE5196.svg?logo=conventionalcommits"></a>
<a href="https://github.com/antfu/eslint-config"><img alt="code style" src="https://antfu.me/badge-code-style.svg"></a>
<br>
<a href="https://www.npmjs.com/package/webgl-fluid?activeTab=dependencies"><img alt="zero dependencies" src="https://badgen.net/bundlephobia/dependency-count/webgl-fluid"></a>
<!-- <a href="https://www.npmjs.com/package/webgl-fluid?activeTab=dependencies"><img alt="zero dependencies" src="https://badgen.net/bundlephobia/dependency-count/webgl-fluid"></a> -->
<a href="https://app.fossa.com/projects/git%2Bgithub.com%2Fcloydlau%2Fwebgl-fluid?ref=badge_shield&issueType=license" alt="FOSSA Status"><img src="https://app.fossa.com/api/projects/git%2Bgithub.com%2Fcloydlau%2Fwebgl-fluid.svg?type=shield&issueType=license"/></a>
<a href="https://bundlephobia.com/package/webgl-fluid"><img alt="minzipped size" src="https://img.shields.io/bundlephobia/minzip/webgl-fluid"></a>
<a href="https://www.jsdelivr.com/package/npm/webgl-fluid"><img alt="jsDelivr downloads" src="https://data.jsdelivr.com/v1/package/npm/webgl-fluid/badge?period=all&style=rounded"></a>
<a href="https://npmcharts.com/compare/webgl-fluid"><img alt="npm downloads" src="https://img.shields.io/npm/dt/webgl-fluid?logo=npm&color=rgba(203,0,0,0.9)"></a>
<br>
<a href="https://www.npmjs.com/package/webgl-fluid?activeTab=versions"><img alt="created at" src="https://img.shields.io/github/created-at/cloydlau/webgl-fluid?&color=1C404E&logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgNDggNDgiPjxnIGZpbGw9Im5vbmUiPjxwYXRoIGQ9Ik04IDQwaDMyVjI0SDh6Ii8+PHBhdGggc3Ryb2tlPSIjZmZmZmZmIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iNCIgZD0iTTQwIDQwSDhtMzIgMEg0aDRtMzIgMGg0bS00IDBWMjRIOHYxNiIvPjxwYXRoIHN0cm9rZT0iI2ZmZmZmZiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjQiIGQ9Im00MCAzNGwtNC0ybC00IDJsLTQtMmwtNCAybC00LTJsLTQgMmwtNC0ybC00IDJtMjQtMTB2LTltLTggOXYtOW0tOCA5di05bTE2LTVWOG0tOCAyVjhtLTggMlY4TTggMjR2MTZtMzItMTZ2MTYiLz48L2c+PC9zdmc+"></a>
<a href="https://github.com/antfu/eslint-config"><img alt="code style" src="https://antfu.me/badge-code-style.svg"></a>
<a href="https://conventionalcommits.org"><img alt="conventional commits" src="https://img.shields.io/badge/commits-Conventional-FE5196.svg?logo=conventionalcommits"></a>
<a href="https://semantic-release.gitbook.io"><img alt="semantic release" src="https://img.shields.io/badge/release-semantic-e10079?logo=semantic-release"></a>
<a href="https://pr.new"><img src="https://developer.stackblitz.com/img/start_pr_dark_small.svg" alt="Start new PR in StackBlitz Codeflow"></a>
</p>

@@ -27,5 +32,5 @@

- 👆 Hover to activate by default, can also be click
- ✨ Control whether to generate **configurable number** of random splats at **initialization** and at **intervals**
- 🖼️ Background image
- Hover to activate by default, can also be click
- Control whether to generate **configurable number** of random splats at **initialization** and at **intervals**
- Background image

@@ -112,3 +117,3 @@ <br>

SPLAT_FORCE: 6000,
SPLAT_COUNT: Number.parseInt(Math.random() * 20) + 5, // Initial or automatic splats' count
SPLAT_COUNT: Number.parseInt(Math.random() * 20) + 5,
SHADING: true,

@@ -115,0 +120,0 @@ COLORFUL: true,

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