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>
51 lines
1.4 KiB
JSON
51 lines
1.4 KiB
JSON
{
|
|
"name": "intl-messageformat",
|
|
"version": "4.4.0",
|
|
"description": "Formats ICU Message strings with number, date, plural, and select placeholders to create localized messages.",
|
|
"keywords": [
|
|
"i18n",
|
|
"intl",
|
|
"internationalization",
|
|
"localization",
|
|
"globalization",
|
|
"messageformat",
|
|
"parser",
|
|
"plural",
|
|
"icu"
|
|
],
|
|
"author": "Eric Ferraiuolo <eferraiuolo@gmail.com>",
|
|
"contributors": [
|
|
"Anthony Pipkin <a.pipkin@yahoo.com>",
|
|
"Caridy Patino <caridy@gmail.com>",
|
|
"Drew Folta <drew@folta.net>",
|
|
"Long Ho <holevietlong@gmail.com"
|
|
],
|
|
"bugs": {
|
|
"url": "https://github.com/formatjs/formatjs/issues"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git@github.com:formatjs/formatjs.git"
|
|
},
|
|
"main": "index.js",
|
|
"module": "lib/index.js",
|
|
"typings": "lib/index.d.ts",
|
|
"dependencies": {
|
|
"intl-messageformat-parser": "^1.8.1"
|
|
},
|
|
"scripts": {
|
|
"clean": "rimraf dist lib",
|
|
"benchmark": "ts-node --project ./tsconfig.cjs.json tests/benchmark",
|
|
"build": "tsc && tsc -p tsconfig.cjs.json && rollup -c rollup.config.js",
|
|
"test": "mocha --opts ../../mocha.opts tests/index.ts",
|
|
"karma:local": "karma start karma.conf.js",
|
|
"karma:ci": "karma start karma.conf-ci.js"
|
|
},
|
|
"homepage": "https://github.com/formatjs/formatjs",
|
|
"directories": {
|
|
"test": "tests"
|
|
},
|
|
"license": "BSD-3-Clause",
|
|
"gitHead": "60ddf374ed659ffe2f3807c3c7df411c80492761"
|
|
}
|