Files
formipay/node_modules/css-declaration-sorter/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

63 lines
1.5 KiB
JSON

{
"name": "css-declaration-sorter",
"version": "7.4.0",
"description": "Sorts CSS declarations fast and automatically in a certain order.",
"type": "module",
"exports": {
"import": {
"types": "./src/core/main.d.mts",
"default": "./src/core/main.mjs"
},
"require": {
"types": "./src/core/main.d.cts",
"default": "./dist/main.cjs"
}
},
"types": "./src/core/main.d.cts",
"main": "./dist/main.cjs",
"files": [
"src/core/",
"src/orders/",
"dist/"
],
"scripts": {
"build": "rollup -c",
"preversion": "npm test",
"test": "uvu src .+\\.test\\.mjs",
"test:ci": "npm test && npm run lint -- --max-warnings 0",
"lint": "eslint src/core/*.mjs",
"scrape": "node src/property-scraper.mjs",
"prepack": "npm run build"
},
"devDependencies": {
"@eslint/js": "^9.39.2",
"@mdn/browser-compat-data": "^7.3.6",
"@rollup/plugin-dynamic-import-vars": "^2.1.5",
"eslint": "^10.1.0",
"postcss": "^8.5.6",
"rollup": "^4.52.4",
"uvu": "^0.5.6"
},
"peerDependencies": {
"postcss": "^8.0.9"
},
"engines": {
"node": "^14 || ^16 || >=18"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Siilwyn/css-declaration-sorter.git"
},
"author": "Selwyn <talk@selwyn.cc> (https://selwyn.cc/)",
"license": "ISC",
"keywords": [
"postcss",
"postcss-plugin",
"css",
"declaration",
"sorter",
"property",
"order"
]
}