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>
45 lines
1.2 KiB
JSON
45 lines
1.2 KiB
JSON
{
|
|
"name": "intl-messageformat-parser",
|
|
"version": "1.8.1",
|
|
"description": "Parses ICU Message strings into an AST via JavaScript.",
|
|
"main": "index.js",
|
|
"module": "src/parser.js",
|
|
"scripts": {
|
|
"clean": "rimraf dist lib",
|
|
"build": "./build.js",
|
|
"benchmark": "./test/benchmark.js",
|
|
"prepublish": "npm run build",
|
|
"test": "mocha --opts ../../mocha.opts tests/index.ts"
|
|
},
|
|
"contributors": [
|
|
"Eric Ferraiuolo <eferraiuolo@gmail.com>",
|
|
"Long Ho <holevietlong@gmail.com>",
|
|
"Ryuichi Okumura <okuryu@okuryu.com>",
|
|
"Seth Bertalotto <seth@bertalotto.net>",
|
|
"Song Seunggeun <giff.song@gmail.com>",
|
|
"Tobias Bieniek <tobias.bieniek@gmail.com>"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/formatjs/formatjs.git"
|
|
},
|
|
"keywords": [
|
|
"i18n",
|
|
"intl",
|
|
"internationalization",
|
|
"localization",
|
|
"globalization",
|
|
"messageformat",
|
|
"parser",
|
|
"plural",
|
|
"icu"
|
|
],
|
|
"author": "Eric Ferraiuolo <eferraiuolo@gmail.com>",
|
|
"license": "BSD-3-Clause",
|
|
"bugs": {
|
|
"url": "https://github.com/formatjs/formatjs/issues"
|
|
},
|
|
"homepage": "https://github.com/formatjs/formatjs",
|
|
"gitHead": "60ddf374ed659ffe2f3807c3c7df411c80492761"
|
|
}
|