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>
35 lines
823 B
JSON
35 lines
823 B
JSON
{
|
|
"name": "string_decoder",
|
|
"version": "1.3.0",
|
|
"description": "The string_decoder module from Node core",
|
|
"main": "lib/string_decoder.js",
|
|
"files": [
|
|
"lib"
|
|
],
|
|
"dependencies": {
|
|
"safe-buffer": "~5.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"babel-polyfill": "^6.23.0",
|
|
"core-util-is": "^1.0.2",
|
|
"inherits": "^2.0.3",
|
|
"tap": "~0.4.8"
|
|
},
|
|
"scripts": {
|
|
"test": "tap test/parallel/*.js && node test/verify-dependencies",
|
|
"ci": "tap test/parallel/*.js test/ours/*.js --tap | tee test.tap && node test/verify-dependencies.js"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/nodejs/string_decoder.git"
|
|
},
|
|
"homepage": "https://github.com/nodejs/string_decoder",
|
|
"keywords": [
|
|
"string",
|
|
"decoder",
|
|
"browser",
|
|
"browserify"
|
|
],
|
|
"license": "MIT"
|
|
}
|