Files
formipay/node_modules/graphemer/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

55 lines
1.4 KiB
JSON

{
"name": "graphemer",
"version": "1.4.0",
"description": "A JavaScript library that breaks strings into their individual user-perceived characters (including emojis!)",
"homepage": "https://github.com/flmnt/graphemer",
"author": "Matt Davies <matt@filament.so> (https://github.com/mattpauldavies)",
"contributors": [
"Orlin Georgiev (https://github.com/orling)",
"Huáng Jùnliàng (https://github.com/JLHwung)"
],
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"files": [
"lib"
],
"license": "MIT",
"keywords": [
"utf-8",
"strings",
"emoji",
"split"
],
"scripts": {
"prepublishOnly": "npm run build",
"build": "tsc --project tsconfig.json",
"pretest": "npm run build",
"test": "ts-node node_modules/tape/bin/tape tests/**.ts",
"prettier:check": "prettier --check .",
"prettier:fix": "prettier --write ."
},
"repository": {
"type": "git",
"url": "https://github.com/flmnt/graphemer.git"
},
"bugs": "https://github.com/flmnt/graphemer/issues",
"devDependencies": {
"@types/tape": "^4.13.0",
"husky": "^4.3.0",
"lint-staged": "^10.3.0",
"prettier": "^2.1.1",
"tape": "^4.6.3",
"ts-node": "^9.0.0",
"typescript": "^4.0.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm test"
}
},
"lint-staged": {
"*.{js,ts,md,json}": "prettier --write"
}
}