Files
formipay/node_modules/@leichtgewicht/ip-codec/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

49 lines
1.2 KiB
JSON

{
"name": "@leichtgewicht/ip-codec",
"version": "2.0.5",
"description": "Small package to encode or decode IP addresses from buffers to strings.",
"main": "index.cjs",
"types": "types",
"exports": {
".": {
"types": "./types/index.d.ts",
"import": "./index.mjs",
"require": "./index.cjs"
}
},
"scripts": {
"lint": "standard && dtslint --localTs node_modules/typescript/lib types",
"test": "npm run lint && npm run unit",
"unit": "fresh-tape test.mjs",
"coverage": "c8 npm run unit",
"prepare": "npx @leichtgewicht/esm2umd ipCodec"
},
"repository": {
"type": "git",
"url": "git+https://github.com/martinheidegger/ip-codec.git"
},
"keywords": [
"ip",
"ipv4",
"ipv6",
"codec",
"codecs",
"buffer",
"conversion"
],
"author": "Martin Heidegger",
"license": "MIT",
"bugs": {
"url": "https://github.com/martinheidegger/ip-codec/issues"
},
"homepage": "https://github.com/martinheidegger/ip-codec#readme",
"devDependencies": {
"@definitelytyped/dtslint": "0.2.19",
"@leichtgewicht/esm2umd": "^0.4.0",
"c8": "^9.1.0",
"fresh-tape": "^5.5.3",
"standard": "^17.1.0",
"typescript": "^5.4.3"
}
}