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>
40 lines
912 B
JSON
40 lines
912 B
JSON
{
|
|
"name": "spdx-expression-parse",
|
|
"description": "parse SPDX license expressions",
|
|
"version": "4.0.0",
|
|
"author": "Kyle E. Mitchell <kyle@kemitchell.com> (https://kemitchell.com)",
|
|
"files": [
|
|
"AUTHORS",
|
|
"index.js",
|
|
"parse.js",
|
|
"scan.js"
|
|
],
|
|
"dependencies": {
|
|
"spdx-exceptions": "^2.1.0",
|
|
"spdx-license-ids": "^3.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"defence-cli": "^3.0.1",
|
|
"replace-require-self": "^1.0.0",
|
|
"standard": "^14.1.0"
|
|
},
|
|
"keywords": [
|
|
"SPDX",
|
|
"law",
|
|
"legal",
|
|
"license",
|
|
"metadata",
|
|
"package",
|
|
"package.json",
|
|
"standards"
|
|
],
|
|
"license": "MIT",
|
|
"repository": "jslicense/spdx-expression-parse.js",
|
|
"scripts": {
|
|
"lint": "standard",
|
|
"test:readme": "defence -i javascript README.md | replace-require-self | node",
|
|
"test:suite": "node test.js",
|
|
"test": "npm run test:suite && npm run test:readme"
|
|
}
|
|
}
|