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>
38 lines
864 B
JSON
38 lines
864 B
JSON
{
|
|
"name": "http-link-header",
|
|
"version": "1.1.3",
|
|
"description": "Parse & format HTTP link headers according to RFC 8288",
|
|
"author": "Jonas Hermsmeier <jhermsmeier@gmail.com> (https://jhermsmeier.de)",
|
|
"license": "MIT",
|
|
"keywords": [
|
|
"rfc5988",
|
|
"rfc8288",
|
|
"rfc",
|
|
"5988",
|
|
"8288",
|
|
"http",
|
|
"link",
|
|
"header"
|
|
],
|
|
"main": "lib/link.js",
|
|
"scripts": {
|
|
"benchmark": "node benchmark",
|
|
"test": "control"
|
|
},
|
|
"devDependencies": {
|
|
"@jhermsmeier/control": "2.0.2",
|
|
"nanobench": "2.1.1"
|
|
},
|
|
"homepage": "https://github.com/jhermsmeier/node-http-link-header",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/jhermsmeier/node-http-link-header.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/jhermsmeier/node-http-link-header/issues"
|
|
},
|
|
"engines": {
|
|
"node": ">=6.0.0"
|
|
}
|
|
}
|