Files
formipay/node_modules/image-ssim/package.json
dwindown e8fbfb14c1 fix: prevent asset conflicts between React and Grid.js versions
Add coexistence checks to all enqueue methods to prevent loading
both React and Grid.js assets simultaneously.

Changes:
- ReactAdmin.php: Only enqueue React assets when ?react=1
- Init.php: Skip Grid.js when React active on admin pages
- Form.php, Coupon.php, Access.php: Restore classic assets when ?react=0
- Customer.php, Product.php, License.php: Add coexistence checks

Now the toggle between Classic and React versions works correctly.

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-18 17:02:14 +07:00

48 lines
1.2 KiB
JSON

{
"name": "image-ssim",
"description": "Image structural similarity (SSIM). In TypeScript/JavaScript. For browser/server.",
"version": "0.2.0",
"author": {
"name": "Jan Forst",
"email": "ensonador@gmail.com",
"url": "https://github.com/darosh"
},
"bugs": "https://github.com/darosh/image-ssim-js/issues",
"dependencies": {},
"devDependencies": {
"browserify": "^10.2.4",
"gulp": "^3.9.0",
"gulp-gh-pages": "^0.5.2",
"gulp-load-plugins": "^0.10.0",
"gulp-rename": "^1.2.2",
"gulp-sourcemaps": "^1.5.2",
"gulp-tslint": "^2.0.0",
"gulp-typedoc": "^1.1.0",
"gulp-typescript": "^2.7.8",
"gulp-uglify": "^1.2.0",
"gulp-util": "^3.0.6",
"merge2": "^0.3.6",
"mocha": "^2.2.5",
"pngjs": "^0.4.0",
"run-sequence": "^1.1.1",
"vinyl-buffer": "^1.0.0",
"vinyl-source-stream": "^1.1.0"
},
"homepage": "https://github.com/darosh/image-ssim-js/issues",
"keywords": [
"browser",
"compare",
"image",
"server",
"similarity",
"ssim",
"typescript"
],
"license": "MIT",
"main": "index.js",
"repository": "darosh/image-ssim-js",
"scripts": {
"test": "mocha"
}
}