Files
formipay/node_modules/gettext-parser/package.json
dwindown e8fbfb14c1 fix: prevent asset conflicts between React and Grid.js versions
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>
2026-04-18 17:02:14 +07:00

46 lines
1.1 KiB
JSON

{
"name": "gettext-parser",
"description": "Parse and compile gettext po and mo files to/from json, nothing more, nothing less",
"version": "1.4.0",
"author": "Andris Reinman",
"contributors": [
{
"name": "Sam Hauglustaine"
}
],
"homepage": "http://github.com/smhg/gettext-parser",
"repository": {
"type": "git",
"url": "http://github.com/smhg/gettext-parser.git"
},
"scripts": {
"lint": "eslint lib/*.js test/*.js index.js",
"test": "mocha",
"preversion": "npm run lint && npm test",
"postversion": "git push && git push --tags"
},
"main": "./index",
"license": "MIT",
"dependencies": {
"encoding": "^0.1.12",
"safe-buffer": "^5.1.1"
},
"devDependencies": {
"chai": "^3.5.0",
"eslint": "^4.3.0",
"eslint-config-standard": "^10.2.1",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-node": "^6.0.0",
"eslint-plugin-promise": "^3.5.0",
"eslint-plugin-standard": "^3.0.1",
"mocha": "^3.5.3"
},
"keywords": [
"i18n",
"l10n",
"gettext",
"mo",
"po"
]
}