webgl-fluid
Advanced tools
Comparing version 0.3.3 to 0.3.4
{ | ||
"name": "webgl-fluid", | ||
"PascalCasedName": "WebGLFluid", | ||
"version": "0.3.3", | ||
"version": "0.3.4", | ||
"private": false, | ||
"packageManager": "pnpm@7.29.3", | ||
"description": "ES Module support for https://github.com/PavelDoGreat/WebGL-Fluid-Simulation.", | ||
@@ -12,10 +11,13 @@ "author": "Cloyd Lau", | ||
"keywords": [ | ||
"webgl", | ||
"background", | ||
"fluid", | ||
"background" | ||
"gpu", | ||
"navier-stokes", | ||
"simulation", | ||
"webgl" | ||
], | ||
"exports": { | ||
".": { | ||
"require": "./dist/webgl-fluid.umd.js", | ||
"import": "./dist/webgl-fluid.mjs" | ||
"import": "./dist/webgl-fluid.mjs", | ||
"require": "./dist/webgl-fluid.umd.js" | ||
}, | ||
@@ -33,7 +35,8 @@ "./*": "./*" | ||
"scripts": { | ||
"dev": "vite --open", | ||
"build": "vite build", | ||
"serve": "vite preview", | ||
"doc": "vitepress dev --open /README", | ||
"release": "npx case-police --ignore ./src --fix && pnpm build && cl release" | ||
"release": "esno ./scripts/release.mts", | ||
"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" | ||
}, | ||
@@ -44,9 +47,20 @@ "devDependencies": { | ||
"case-police": "latest", | ||
"cross-spawn": "latest", | ||
"del": "latest", | ||
"esno": "latest", | ||
"husky": "latest", | ||
"kolorist": "latest", | ||
"lint-staged": "latest", | ||
"prompts": "latest", | ||
"semver": "latest", | ||
"simple-git-hooks": "latest", | ||
"vite": "latest", | ||
"vitepress": "latest" | ||
}, | ||
"publishConfig": { | ||
"registry": "https://registry.npmjs.org" | ||
"simple-git-hooks": { | ||
"commit-msg": "npx --no -- commitlint --edit ${1}" | ||
}, | ||
"lint-staged": { | ||
"*.md": "case-police --fix" | ||
} | ||
} |
<h1 align="center"> | ||
<a href="https://npmjs.com/package/webgl-fluid" target="_blank" rel="noopener noreferrer"> | ||
WebGL Fluid <sup><img alt="version" src="https://versionbadg.es/cloydlau/webgl-fluid.svg"></sup> | ||
WebGL Fluid <sup><img alt="version" src="https://img.shields.io/npm/v/webgl-fluid.svg?style=flat-square&color=white&label="></sup> | ||
</a> | ||
@@ -17,3 +17,3 @@ </h1> | ||
<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> | ||
<a href="https://conventionalcommits.org"><img alt="conventional commits" src="https://img.shields.io/badge/commits-Conventional-FE5196.svg?logo=conventionalcommits&logoColor=white"></a> | ||
<a href="https://conventionalcommits.org"><img alt="conventional commits" src="https://img.shields.io/badge/commits-Conventional-FE5196.svg?logo=conventionalcommits"></a> | ||
</p> | ||
@@ -28,2 +28,3 @@ | ||
- Control whether to trigger multiple random splats initially | ||
- Control initial splats count | ||
@@ -114,2 +115,3 @@ <br> | ||
SPLAT_FORCE: 6000, | ||
SPLAT_COUNT: parseInt(Math.random() * 20) + 5, // Initial splats count (when IMMEDIATE is set to true) | ||
SHADING: true, | ||
@@ -116,0 +118,0 @@ COLORFUL: true, |
Sorry, the diff of this file is not supported yet
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 not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 2 instances in 1 package
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 1 instance in 1 package
548490
2506
254
14
2