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>
48 lines
819 B
JSON
48 lines
819 B
JSON
{
|
|
"name": "get-stream",
|
|
"version": "6.0.1",
|
|
"description": "Get a stream as a string, buffer, or array",
|
|
"license": "MIT",
|
|
"repository": "sindresorhus/get-stream",
|
|
"funding": "https://github.com/sponsors/sindresorhus",
|
|
"author": {
|
|
"name": "Sindre Sorhus",
|
|
"email": "sindresorhus@gmail.com",
|
|
"url": "https://sindresorhus.com"
|
|
},
|
|
"engines": {
|
|
"node": ">=10"
|
|
},
|
|
"scripts": {
|
|
"test": "xo && ava && tsd"
|
|
},
|
|
"files": [
|
|
"index.js",
|
|
"index.d.ts",
|
|
"buffer-stream.js"
|
|
],
|
|
"keywords": [
|
|
"get",
|
|
"stream",
|
|
"promise",
|
|
"concat",
|
|
"string",
|
|
"text",
|
|
"buffer",
|
|
"read",
|
|
"data",
|
|
"consume",
|
|
"readable",
|
|
"readablestream",
|
|
"array",
|
|
"object"
|
|
],
|
|
"devDependencies": {
|
|
"@types/node": "^14.0.27",
|
|
"ava": "^2.4.0",
|
|
"into-stream": "^5.0.0",
|
|
"tsd": "^0.13.1",
|
|
"xo": "^0.24.0"
|
|
}
|
|
}
|