Files
formipay/node_modules/check-node-version/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

54 lines
1.2 KiB
JSON

{
"name": "check-node-version",
"version": "4.2.1",
"engines": {
"node": ">=8.3.0"
},
"description": "Check installed versions of node and npm",
"main": "index.js",
"bin": {
"check-node-version": "bin.js"
},
"scripts": {
"add-docs": "git add README.md",
"build-readme": "gitdown ./README_src.md --output-file ./README.md",
"test": "ava -v"
},
"husky": {
"hooks": {
"pre-commit": "npx run-s test build-readme add-docs"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/parshap/check-node-version.git"
},
"keywords": [
"version",
"semver"
],
"author": "Parsha Pourkhomami",
"license": "Unlicense",
"types": "./index.d.ts",
"bugs": {
"url": "https://github.com/parshap/check-node-version/issues"
},
"homepage": "https://github.com/parshap/check-node-version#readme",
"dependencies": {
"chalk": "^3.0.0",
"map-values": "^1.0.1",
"minimist": "^1.2.0",
"object-filter": "^1.0.2",
"run-parallel": "^1.1.4",
"semver": "^6.3.0"
},
"devDependencies": {
"ava": "^2.4.0",
"gitdown": "^3.1.2",
"husky": "^3.1.0",
"npm": "6.14.6",
"npm-run-all": "^4.1.5",
"proxyquire": "^2.1.3"
}
}