Files
formipay/node_modules/ajv-errors/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

59 lines
1.3 KiB
JSON

{
"name": "ajv-errors",
"version": "1.0.1",
"description": "Custom error messages in JSON-Schema for Ajv validator",
"main": "index.js",
"files": [
"lib"
],
"scripts": {
"build": "node node_modules/ajv/scripts/compile-dots.js node_modules/ajv/lib lib",
"eslint": "eslint *.js spec",
"test-spec": "mocha spec/*.spec.js -R spec",
"test-cov": "nyc npm run test-spec",
"test": "npm run eslint && npm run build && npm run test-cov",
"prepublish": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/epoberezkin/ajv-errors.git"
},
"keywords": [
"ajv",
"json-schema",
"validator",
"error",
"messages"
],
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/epoberezkin/ajv-errors/issues"
},
"homepage": "https://github.com/epoberezkin/ajv-errors#readme",
"peerDependencies": {
"ajv": ">=5.0.0"
},
"devDependencies": {
"ajv": "^5.0.0",
"coveralls": "^2.11.16",
"dot": "^1.1.1",
"eslint": "^3.17.0",
"glob": "^7.1.1",
"js-beautify": "^1.6.12",
"mocha": "^3.2.0",
"nyc": "^10.1.2",
"pre-commit": "^1.2.2"
},
"nyc": {
"exclude": [
"**/spec/**",
"node_modules"
],
"reporter": [
"lcov",
"text-summary"
]
}
}