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

71 lines
1.5 KiB
JSON

{
"name": "for-own",
"description": "Iterate over the own enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Exit early by returning `false`. JavaScript/Node.js.",
"version": "0.1.5",
"homepage": "https://github.com/jonschlinkert/for-own",
"author": "Jon Schlinkert (https://github.com/jonschlinkert)",
"contributors": [
"Javier Cejudo <javier@javiercejudo.com> (https://www.javiercejudo.com)",
"Jon Schlinkert <jon.schlinkert@sellside.com> (http://twitter.com/jonschlinkert)"
],
"repository": "jonschlinkert/for-own",
"bugs": {
"url": "https://github.com/jonschlinkert/for-own/issues"
},
"license": "MIT",
"files": [
"index.js"
],
"main": "index.js",
"engines": {
"node": ">=0.10.0"
},
"scripts": {
"test": "mocha"
},
"dependencies": {
"for-in": "^1.0.1"
},
"devDependencies": {
"gulp-format-md": "^0.1.11",
"mocha": "^3.2.0"
},
"keywords": [
"for",
"for-in",
"for-own",
"has",
"has-own",
"hasOwn",
"key",
"keys",
"object",
"own",
"value"
],
"verb": {
"run": true,
"toc": false,
"layout": "default",
"tasks": [
"readme"
],
"plugins": [
"gulp-format-md"
],
"related": {
"list": [
"arr-flatten",
"collection-map",
"for-in"
]
},
"reflinks": [
"verb"
],
"lint": {
"reflinks": true
}
}
}