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

74 lines
1.5 KiB
JSON

{
"name": "interpret",
"version": "3.1.1",
"description": "A dictionary of file extensions and associated module loaders.",
"author": "Gulp Team <team@gulpjs.com> (https://gulpjs.com/)",
"contributors": [
"Blaine Bublitz <blaine.bublitz@gmail.com>",
"Tyler Kellen <tyler@sleekcode.net> (http://goingslowly.com/)"
],
"repository": "gulpjs/interpret",
"license": "MIT",
"engines": {
"node": ">=10.13.0"
},
"main": "index.js",
"files": [
"LICENSE",
"index.js",
"cjs-stub.js",
"mjs-stub.js"
],
"scripts": {
"readme": "remark README.md --use ./scripts/plugin.mjs --output",
"lint": "eslint .",
"pretest": "npm run lint",
"test": "nyc mocha --async-only"
},
"devDependencies": {
"eslint": "^7.0.0",
"eslint-config-gulp": "^5.0.0",
"eslint-plugin-node": "^11.1.0",
"expect": "^27.0.0",
"js-yaml": "^4.1.0",
"mocha": "^8.0.0",
"nyc": "^15.0.0",
"parse-node-version": "^2.0.0",
"rechoir": "^0.8.0",
"remark-cli": "^10.0.1",
"remark-code-import": "^1.1.0",
"shelljs": "0.8.5"
},
"nyc": {
"extension": [
".js"
],
"reporter": [
"lcov",
"text-summary"
]
},
"prettier": {
"singleQuote": true
},
"keywords": [
"coffee",
"coffee.md",
"coffeescript",
"es",
"es6",
"js",
"json",
"json5",
"jsx",
"react",
"litcoffee",
"toml",
"ts",
"typescript",
"xml",
"yaml",
"yml"
]
}